Class InstanceAuditLogResponse.AuditLogEntry.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<InstanceAuditLogResponse.AuditLogEntry.Builder>
com.google.protobuf.GeneratedMessage.Builder<InstanceAuditLogResponse.AuditLogEntry.Builder>
com.soulfiremc.grpc.generated.InstanceAuditLogResponse.AuditLogEntry.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, InstanceAuditLogResponse.AuditLogEntryOrBuilder, Cloneable
- Enclosing class:
InstanceAuditLogResponse.AuditLogEntry
public static final class InstanceAuditLogResponse.AuditLogEntry.Builder
extends com.google.protobuf.GeneratedMessage.Builder<InstanceAuditLogResponse.AuditLogEntry.Builder>
implements InstanceAuditLogResponse.AuditLogEntryOrBuilder
A single entry in the audit log.Protobuf type
soulfire.v1.InstanceAuditLogResponse.AuditLogEntry-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Additional data about the action (e.g., command text for EXECUTE_COMMAND).clearId()Unique identifier for this audit log entry.When the action was performed.The type of action that was performed.The user who performed the action.getData()Additional data about the action (e.g., command text for EXECUTE_COMMAND).com.google.protobuf.ByteStringAdditional data about the action (e.g., command text for EXECUTE_COMMAND).static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetId()Unique identifier for this audit log entry.com.google.protobuf.ByteStringUnique identifier for this audit log entry.com.google.protobuf.TimestampWhen the action was performed.com.google.protobuf.Timestamp.BuilderWhen the action was performed.com.google.protobuf.TimestampOrBuilderWhen the action was performed.getType()The type of action that was performed.intThe type of action that was performed.getUser()The user who performed the action.The user who performed the action.The user who performed the action.booleanWhen the action was performed.booleanhasUser()The user who performed the action.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeTimestamp(com.google.protobuf.Timestamp value) When the action was performed.mergeUser(InstanceUser value) The user who performed the action.Additional data about the action (e.g., command text for EXECUTE_COMMAND).setDataBytes(com.google.protobuf.ByteString value) Additional data about the action (e.g., command text for EXECUTE_COMMAND).Unique identifier for this audit log entry.setIdBytes(com.google.protobuf.ByteString value) Unique identifier for this audit log entry.setTimestamp(com.google.protobuf.Timestamp value) When the action was performed.setTimestamp(com.google.protobuf.Timestamp.Builder builderForValue) When the action was performed.The type of action that was performed.setTypeValue(int value) The type of action that was performed.setUser(InstanceUser value) The user who performed the action.setUser(InstanceUser.Builder builderForValue) The user who performed the action.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<InstanceAuditLogResponse.AuditLogEntry.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<InstanceAuditLogResponse.AuditLogEntry.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<InstanceAuditLogResponse.AuditLogEntry.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InstanceAuditLogResponse.AuditLogEntry.Builder>
-
mergeFrom
public InstanceAuditLogResponse.AuditLogEntry.Builder mergeFrom(InstanceAuditLogResponse.AuditLogEntry other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<InstanceAuditLogResponse.AuditLogEntry.Builder>
-
mergeFrom
public InstanceAuditLogResponse.AuditLogEntry.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InstanceAuditLogResponse.AuditLogEntry.Builder>- Throws:
IOException
-
getId
Unique identifier for this audit log entry.
string id = 1;- Specified by:
getIdin interfaceInstanceAuditLogResponse.AuditLogEntryOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()Unique identifier for this audit log entry.
string id = 1;- Specified by:
getIdBytesin interfaceInstanceAuditLogResponse.AuditLogEntryOrBuilder- Returns:
- The bytes for id.
-
setId
Unique identifier for this audit log entry.
string id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
Unique identifier for this audit log entry.
string id = 1;- Returns:
- This builder for chaining.
-
setIdBytes
public InstanceAuditLogResponse.AuditLogEntry.Builder setIdBytes(com.google.protobuf.ByteString value) Unique identifier for this audit log entry.
string id = 1;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
hasUser
public boolean hasUser()The user who performed the action.
.soulfire.v1.InstanceUser user = 2;- Specified by:
hasUserin interfaceInstanceAuditLogResponse.AuditLogEntryOrBuilder- Returns:
- Whether the user field is set.
-
getUser
The user who performed the action.
.soulfire.v1.InstanceUser user = 2;- Specified by:
getUserin interfaceInstanceAuditLogResponse.AuditLogEntryOrBuilder- Returns:
- The user.
-
setUser
The user who performed the action.
.soulfire.v1.InstanceUser user = 2; -
setUser
The user who performed the action.
.soulfire.v1.InstanceUser user = 2; -
mergeUser
The user who performed the action.
.soulfire.v1.InstanceUser user = 2; -
clearUser
The user who performed the action.
.soulfire.v1.InstanceUser user = 2; -
getUserBuilder
The user who performed the action.
.soulfire.v1.InstanceUser user = 2; -
getUserOrBuilder
The user who performed the action.
.soulfire.v1.InstanceUser user = 2;- Specified by:
getUserOrBuilderin interfaceInstanceAuditLogResponse.AuditLogEntryOrBuilder
-
getTypeValue
public int getTypeValue()The type of action that was performed.
.soulfire.v1.InstanceAuditLogResponse.AuditLogEntryType type = 3;- Specified by:
getTypeValuein interfaceInstanceAuditLogResponse.AuditLogEntryOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
The type of action that was performed.
.soulfire.v1.InstanceAuditLogResponse.AuditLogEntryType type = 3;- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
The type of action that was performed.
.soulfire.v1.InstanceAuditLogResponse.AuditLogEntryType type = 3;- Specified by:
getTypein interfaceInstanceAuditLogResponse.AuditLogEntryOrBuilder- Returns:
- The type.
-
setType
public InstanceAuditLogResponse.AuditLogEntry.Builder setType(InstanceAuditLogResponse.AuditLogEntryType value) The type of action that was performed.
.soulfire.v1.InstanceAuditLogResponse.AuditLogEntryType type = 3;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
The type of action that was performed.
.soulfire.v1.InstanceAuditLogResponse.AuditLogEntryType type = 3;- Returns:
- This builder for chaining.
-
hasTimestamp
public boolean hasTimestamp()When the action was performed.
.google.protobuf.Timestamp timestamp = 4;- Specified by:
hasTimestampin interfaceInstanceAuditLogResponse.AuditLogEntryOrBuilder- Returns:
- Whether the timestamp field is set.
-
getTimestamp
public com.google.protobuf.Timestamp getTimestamp()When the action was performed.
.google.protobuf.Timestamp timestamp = 4;- Specified by:
getTimestampin interfaceInstanceAuditLogResponse.AuditLogEntryOrBuilder- Returns:
- The timestamp.
-
setTimestamp
public InstanceAuditLogResponse.AuditLogEntry.Builder setTimestamp(com.google.protobuf.Timestamp value) When the action was performed.
.google.protobuf.Timestamp timestamp = 4; -
setTimestamp
public InstanceAuditLogResponse.AuditLogEntry.Builder setTimestamp(com.google.protobuf.Timestamp.Builder builderForValue) When the action was performed.
.google.protobuf.Timestamp timestamp = 4; -
mergeTimestamp
public InstanceAuditLogResponse.AuditLogEntry.Builder mergeTimestamp(com.google.protobuf.Timestamp value) When the action was performed.
.google.protobuf.Timestamp timestamp = 4; -
clearTimestamp
When the action was performed.
.google.protobuf.Timestamp timestamp = 4; -
getTimestampBuilder
public com.google.protobuf.Timestamp.Builder getTimestampBuilder()When the action was performed.
.google.protobuf.Timestamp timestamp = 4; -
getTimestampOrBuilder
public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()When the action was performed.
.google.protobuf.Timestamp timestamp = 4;- Specified by:
getTimestampOrBuilderin interfaceInstanceAuditLogResponse.AuditLogEntryOrBuilder
-
getData
Additional data about the action (e.g., command text for EXECUTE_COMMAND). May be empty for some action types.
string data = 5;- Specified by:
getDatain interfaceInstanceAuditLogResponse.AuditLogEntryOrBuilder- Returns:
- The data.
-
getDataBytes
public com.google.protobuf.ByteString getDataBytes()Additional data about the action (e.g., command text for EXECUTE_COMMAND). May be empty for some action types.
string data = 5;- Specified by:
getDataBytesin interfaceInstanceAuditLogResponse.AuditLogEntryOrBuilder- Returns:
- The bytes for data.
-
setData
Additional data about the action (e.g., command text for EXECUTE_COMMAND). May be empty for some action types.
string data = 5;- Parameters:
value- The data to set.- Returns:
- This builder for chaining.
-
clearData
Additional data about the action (e.g., command text for EXECUTE_COMMAND). May be empty for some action types.
string data = 5;- Returns:
- This builder for chaining.
-
setDataBytes
public InstanceAuditLogResponse.AuditLogEntry.Builder setDataBytes(com.google.protobuf.ByteString value) Additional data about the action (e.g., command text for EXECUTE_COMMAND). May be empty for some action types.
string data = 5;- Parameters:
value- The bytes for data to set.- Returns:
- This builder for chaining.
-