Class LogRecord
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.temporal.api.cloud.auditlog.v1.LogRecord
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,LogRecordOrBuilder,Serializable
@Generated(value="protoc",
comments="annotations:LogRecord.java.pb.meta")
public final class LogRecord
extends com.google.protobuf.GeneratedMessageV3
implements LogRecordOrBuilder
LogRecord represents an audit log entry from Temporal, structured for easy parsing and analysis.Protobuf type
temporal.api.cloud.auditlog.v1.LogRecord- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classLogRecord represents an audit log entry from Temporal, structured for easy parsing and analysis.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe ID of the async operation.com.google.protobuf.ByteStringThe ID of the async operation.static LogRecordstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampTime when the log was emitted.com.google.protobuf.TimestampOrBuilderTime when the log was emitted.getLogId()Unique ID for the log record.com.google.protobuf.ByteStringUnique ID for the log record.The operation performed.com.google.protobuf.ByteStringThe operation performed.com.google.protobuf.Parser<LogRecord> The principal that performed the operation.The principal that performed the operation.com.google.protobuf.StructThe raw details of the operation.com.google.protobuf.StructOrBuilderThe raw details of the operation.intThe status of the operation.com.google.protobuf.ByteStringThe status of the operation.intThe internal version of the log message.The originating IP address of the request.com.google.protobuf.ByteStringThe originating IP address of the request.booleanTime when the log was emitted.inthashCode()booleanThe principal that performed the operation.booleanThe raw details of the operation.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic LogRecord.Builderstatic LogRecord.BuildernewBuilder(LogRecord prototype) protected LogRecord.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static LogRecordparseDelimitedFrom(InputStream input) static LogRecordparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LogRecordparseFrom(byte[] data) static LogRecordparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LogRecordparseFrom(com.google.protobuf.ByteString data) static LogRecordparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LogRecordparseFrom(com.google.protobuf.CodedInputStream input) static LogRecordparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LogRecordparseFrom(InputStream input) static LogRecordparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LogRecordparseFrom(ByteBuffer data) static LogRecordparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<LogRecord> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
EMIT_TIME_FIELD_NUMBER
public static final int EMIT_TIME_FIELD_NUMBER- See Also:
-
OPERATION_FIELD_NUMBER
public static final int OPERATION_FIELD_NUMBER- See Also:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER- See Also:
-
LOG_ID_FIELD_NUMBER
public static final int LOG_ID_FIELD_NUMBER- See Also:
-
PRINCIPAL_FIELD_NUMBER
public static final int PRINCIPAL_FIELD_NUMBER- See Also:
-
RAW_DETAILS_FIELD_NUMBER
public static final int RAW_DETAILS_FIELD_NUMBER- See Also:
-
X_FORWARDED_FOR_FIELD_NUMBER
public static final int X_FORWARDED_FOR_FIELD_NUMBER- See Also:
-
ASYNC_OPERATION_ID_FIELD_NUMBER
public static final int ASYNC_OPERATION_ID_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasEmitTime
public boolean hasEmitTime()Time when the log was emitted.
.google.protobuf.Timestamp emit_time = 1;- Specified by:
hasEmitTimein interfaceLogRecordOrBuilder- Returns:
- Whether the emitTime field is set.
-
getEmitTime
public com.google.protobuf.Timestamp getEmitTime()Time when the log was emitted.
.google.protobuf.Timestamp emit_time = 1;- Specified by:
getEmitTimein interfaceLogRecordOrBuilder- Returns:
- The emitTime.
-
getEmitTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getEmitTimeOrBuilder()Time when the log was emitted.
.google.protobuf.Timestamp emit_time = 1;- Specified by:
getEmitTimeOrBuilderin interfaceLogRecordOrBuilder
-
getOperation
The operation performed.
string operation = 5;- Specified by:
getOperationin interfaceLogRecordOrBuilder- Returns:
- The operation.
-
getOperationBytes
public com.google.protobuf.ByteString getOperationBytes()The operation performed.
string operation = 5;- Specified by:
getOperationBytesin interfaceLogRecordOrBuilder- Returns:
- The bytes for operation.
-
getStatus
The status of the operation.
string status = 7;- Specified by:
getStatusin interfaceLogRecordOrBuilder- Returns:
- The status.
-
getStatusBytes
public com.google.protobuf.ByteString getStatusBytes()The status of the operation.
string status = 7;- Specified by:
getStatusBytesin interfaceLogRecordOrBuilder- Returns:
- The bytes for status.
-
getVersion
public int getVersion()The internal version of the log message. Can be used in deduplication if needed.
int32 version = 9;- Specified by:
getVersionin interfaceLogRecordOrBuilder- Returns:
- The version.
-
getLogId
Unique ID for the log record.
string log_id = 10;- Specified by:
getLogIdin interfaceLogRecordOrBuilder- Returns:
- The logId.
-
getLogIdBytes
public com.google.protobuf.ByteString getLogIdBytes()Unique ID for the log record.
string log_id = 10;- Specified by:
getLogIdBytesin interfaceLogRecordOrBuilder- Returns:
- The bytes for logId.
-
hasPrincipal
public boolean hasPrincipal()The principal that performed the operation.
.temporal.api.cloud.auditlog.v1.Principal principal = 12;- Specified by:
hasPrincipalin interfaceLogRecordOrBuilder- Returns:
- Whether the principal field is set.
-
getPrincipal
The principal that performed the operation.
.temporal.api.cloud.auditlog.v1.Principal principal = 12;- Specified by:
getPrincipalin interfaceLogRecordOrBuilder- Returns:
- The principal.
-
getPrincipalOrBuilder
The principal that performed the operation.
.temporal.api.cloud.auditlog.v1.Principal principal = 12;- Specified by:
getPrincipalOrBuilderin interfaceLogRecordOrBuilder
-
hasRawDetails
public boolean hasRawDetails()The raw details of the operation.
.google.protobuf.Struct raw_details = 13;- Specified by:
hasRawDetailsin interfaceLogRecordOrBuilder- Returns:
- Whether the rawDetails field is set.
-
getRawDetails
public com.google.protobuf.Struct getRawDetails()The raw details of the operation.
.google.protobuf.Struct raw_details = 13;- Specified by:
getRawDetailsin interfaceLogRecordOrBuilder- Returns:
- The rawDetails.
-
getRawDetailsOrBuilder
public com.google.protobuf.StructOrBuilder getRawDetailsOrBuilder()The raw details of the operation.
.google.protobuf.Struct raw_details = 13;- Specified by:
getRawDetailsOrBuilderin interfaceLogRecordOrBuilder
-
getXForwardedFor
The originating IP address of the request.
string x_forwarded_for = 14;- Specified by:
getXForwardedForin interfaceLogRecordOrBuilder- Returns:
- The xForwardedFor.
-
getXForwardedForBytes
public com.google.protobuf.ByteString getXForwardedForBytes()The originating IP address of the request.
string x_forwarded_for = 14;- Specified by:
getXForwardedForBytesin interfaceLogRecordOrBuilder- Returns:
- The bytes for xForwardedFor.
-
getAsyncOperationId
The ID of the async operation.
string async_operation_id = 15;- Specified by:
getAsyncOperationIdin interfaceLogRecordOrBuilder- Returns:
- The asyncOperationId.
-
getAsyncOperationIdBytes
public com.google.protobuf.ByteString getAsyncOperationIdBytes()The ID of the async operation.
string async_operation_id = 15;- Specified by:
getAsyncOperationIdBytesin interfaceLogRecordOrBuilder- Returns:
- The bytes for asyncOperationId.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static LogRecord parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LogRecord parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LogRecord parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LogRecord parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LogRecord parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LogRecord parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static LogRecord parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static LogRecord parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static LogRecord parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected LogRecord.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-