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,java.io.Serializable
@Generated(value="protoc", comments="annotations:LogRecord.java.pb.meta") public final class LogRecord extends com.google.protobuf.GeneratedMessageV3 implements LogRecordOrBuilderLogRecord represents an audit log entry from Temporal, structured for easy parsing and analysis.
Protobuf typetemporal.api.cloud.auditlog.v1.LogRecord- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLogRecord.BuilderLogRecord 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
-
-
Field Summary
Fields Modifier and Type Field Description static intASYNC_OPERATION_ID_FIELD_NUMBERstatic intEMIT_TIME_FIELD_NUMBERstatic intLOG_ID_FIELD_NUMBERstatic intOPERATION_FIELD_NUMBERstatic intPRINCIPAL_FIELD_NUMBERstatic intRAW_DETAILS_FIELD_NUMBERstatic intSTATUS_FIELD_NUMBERstatic intVERSION_FIELD_NUMBERstatic intX_FORWARDED_FOR_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetAsyncOperationId()The ID of the async operation.com.google.protobuf.ByteStringgetAsyncOperationIdBytes()The ID of the async operation.static LogRecordgetDefaultInstance()LogRecordgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.TimestampgetEmitTime()Time when the log was emitted.com.google.protobuf.TimestampOrBuildergetEmitTimeOrBuilder()Time when the log was emitted.java.lang.StringgetLogId()Unique ID for the log record.com.google.protobuf.ByteStringgetLogIdBytes()Unique ID for the log record.java.lang.StringgetOperation()The operation performed.com.google.protobuf.ByteStringgetOperationBytes()The operation performed.com.google.protobuf.Parser<LogRecord>getParserForType()PrincipalgetPrincipal()The principal that performed the operation.PrincipalOrBuildergetPrincipalOrBuilder()The principal that performed the operation.com.google.protobuf.StructgetRawDetails()The raw details of the operation.com.google.protobuf.StructOrBuildergetRawDetailsOrBuilder()The raw details of the operation.intgetSerializedSize()java.lang.StringgetStatus()The status of the operation.com.google.protobuf.ByteStringgetStatusBytes()The status of the operation.intgetVersion()The internal version of the log message.java.lang.StringgetXForwardedFor()The originating IP address of the request.com.google.protobuf.ByteStringgetXForwardedForBytes()The originating IP address of the request.booleanhasEmitTime()Time when the log was emitted.inthashCode()booleanhasPrincipal()The principal that performed the operation.booleanhasRawDetails()The raw details of the operation.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static LogRecord.BuildernewBuilder()static LogRecord.BuildernewBuilder(LogRecord prototype)LogRecord.BuildernewBuilderForType()protected LogRecord.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static LogRecordparseDelimitedFrom(java.io.InputStream input)static LogRecordparseDelimitedFrom(java.io.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(java.io.InputStream input)static LogRecordparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LogRecordparseFrom(java.nio.ByteBuffer data)static LogRecordparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<LogRecord>parser()LogRecord.BuildertoBuilder()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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
EMIT_TIME_FIELD_NUMBER
public static final int EMIT_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OPERATION_FIELD_NUMBER
public static final int OPERATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOG_ID_FIELD_NUMBER
public static final int LOG_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRINCIPAL_FIELD_NUMBER
public static final int PRINCIPAL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RAW_DETAILS_FIELD_NUMBER
public static final int RAW_DETAILS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
X_FORWARDED_FOR_FIELD_NUMBER
public static final int X_FORWARDED_FOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ASYNC_OPERATION_ID_FIELD_NUMBER
public static final int ASYNC_OPERATION_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- 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
public java.lang.String 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
public java.lang.String 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
public java.lang.String 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
public Principal getPrincipal()
The principal that performed the operation.
.temporal.api.cloud.auditlog.v1.Principal principal = 12;- Specified by:
getPrincipalin interfaceLogRecordOrBuilder- Returns:
- The principal.
-
getPrincipalOrBuilder
public PrincipalOrBuilder 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
public java.lang.String 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
public java.lang.String 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
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- 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(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LogRecord parseFrom(java.nio.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
public static LogRecord parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static LogRecord parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static LogRecord parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static LogRecord parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static LogRecord parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static LogRecord parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public LogRecord.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static LogRecord.Builder newBuilder()
-
newBuilder
public static LogRecord.Builder newBuilder(LogRecord prototype)
-
toBuilder
public LogRecord.Builder 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
public static LogRecord getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<LogRecord> parser()
-
getParserForType
public com.google.protobuf.Parser<LogRecord> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public LogRecord getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-