Class 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 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:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  LogRecord.Builder
      LogRecord 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
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.String getAsyncOperationId()
      The ID of the async operation.
      com.google.protobuf.ByteString getAsyncOperationIdBytes()
      The ID of the async operation.
      static LogRecord getDefaultInstance()  
      LogRecord getDefaultInstanceForType()  
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      com.google.protobuf.Timestamp getEmitTime()
      Time when the log was emitted.
      com.google.protobuf.TimestampOrBuilder getEmitTimeOrBuilder()
      Time when the log was emitted.
      java.lang.String getLogId()
      Unique ID for the log record.
      com.google.protobuf.ByteString getLogIdBytes()
      Unique ID for the log record.
      java.lang.String getOperation()
      The operation performed.
      com.google.protobuf.ByteString getOperationBytes()
      The operation performed.
      com.google.protobuf.Parser<LogRecord> getParserForType()  
      Principal getPrincipal()
      The principal that performed the operation.
      PrincipalOrBuilder getPrincipalOrBuilder()
      The principal that performed the operation.
      com.google.protobuf.Struct getRawDetails()
      The raw details of the operation.
      com.google.protobuf.StructOrBuilder getRawDetailsOrBuilder()
      The raw details of the operation.
      int getSerializedSize()  
      java.lang.String getStatus()
      The status of the operation.
      com.google.protobuf.ByteString getStatusBytes()
      The status of the operation.
      int getVersion()
      The internal version of the log message.
      java.lang.String getXForwardedFor()
      The originating IP address of the request.
      com.google.protobuf.ByteString getXForwardedForBytes()
      The originating IP address of the request.
      boolean hasEmitTime()
      Time when the log was emitted.
      int hashCode()  
      boolean hasPrincipal()
      The principal that performed the operation.
      boolean hasRawDetails()
      The raw details of the operation.
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()  
      boolean isInitialized()  
      static LogRecord.Builder newBuilder()  
      static LogRecord.Builder newBuilder​(LogRecord prototype)  
      LogRecord.Builder newBuilderForType()  
      protected LogRecord.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)  
      protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)  
      static LogRecord parseDelimitedFrom​(java.io.InputStream input)  
      static LogRecord parseDelimitedFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static LogRecord parseFrom​(byte[] data)  
      static LogRecord parseFrom​(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static LogRecord parseFrom​(com.google.protobuf.ByteString data)  
      static LogRecord parseFrom​(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static LogRecord parseFrom​(com.google.protobuf.CodedInputStream input)  
      static LogRecord parseFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static LogRecord parseFrom​(java.io.InputStream input)  
      static LogRecord parseFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static LogRecord parseFrom​(java.nio.ByteBuffer data)  
      static LogRecord parseFrom​(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static com.google.protobuf.Parser<LogRecord> parser()  
      LogRecord.Builder toBuilder()  
      void writeTo​(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
      • Methods inherited from interface com.google.protobuf.MessageLite

        toByteArray, toByteString, writeDelimitedTo, writeTo
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • hasEmitTime

        public boolean hasEmitTime()
         Time when the log was emitted.
         
        .google.protobuf.Timestamp emit_time = 1;
        Specified by:
        hasEmitTime in interface LogRecordOrBuilder
        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:
        getEmitTime in interface LogRecordOrBuilder
        Returns:
        The emitTime.
      • getEmitTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getEmitTimeOrBuilder()
         Time when the log was emitted.
         
        .google.protobuf.Timestamp emit_time = 1;
        Specified by:
        getEmitTimeOrBuilder in interface LogRecordOrBuilder
      • getOperation

        public java.lang.String getOperation()
         The operation performed.
         
        string operation = 5;
        Specified by:
        getOperation in interface LogRecordOrBuilder
        Returns:
        The operation.
      • getOperationBytes

        public com.google.protobuf.ByteString getOperationBytes()
         The operation performed.
         
        string operation = 5;
        Specified by:
        getOperationBytes in interface LogRecordOrBuilder
        Returns:
        The bytes for operation.
      • getStatus

        public java.lang.String getStatus()
         The status of the operation.
         
        string status = 7;
        Specified by:
        getStatus in interface LogRecordOrBuilder
        Returns:
        The status.
      • getStatusBytes

        public com.google.protobuf.ByteString getStatusBytes()
         The status of the operation.
         
        string status = 7;
        Specified by:
        getStatusBytes in interface LogRecordOrBuilder
        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:
        getVersion in interface LogRecordOrBuilder
        Returns:
        The version.
      • getLogId

        public java.lang.String getLogId()
         Unique ID for the log record.
         
        string log_id = 10;
        Specified by:
        getLogId in interface LogRecordOrBuilder
        Returns:
        The logId.
      • getLogIdBytes

        public com.google.protobuf.ByteString getLogIdBytes()
         Unique ID for the log record.
         
        string log_id = 10;
        Specified by:
        getLogIdBytes in interface LogRecordOrBuilder
        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:
        hasPrincipal in interface LogRecordOrBuilder
        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:
        getPrincipal in interface LogRecordOrBuilder
        Returns:
        The principal.
      • hasRawDetails

        public boolean hasRawDetails()
         The raw details of the operation.
         
        .google.protobuf.Struct raw_details = 13;
        Specified by:
        hasRawDetails in interface LogRecordOrBuilder
        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:
        getRawDetails in interface LogRecordOrBuilder
        Returns:
        The rawDetails.
      • getRawDetailsOrBuilder

        public com.google.protobuf.StructOrBuilder getRawDetailsOrBuilder()
         The raw details of the operation.
         
        .google.protobuf.Struct raw_details = 13;
        Specified by:
        getRawDetailsOrBuilder in interface LogRecordOrBuilder
      • getXForwardedFor

        public java.lang.String getXForwardedFor()
         The originating IP address of the request.
         
        string x_forwarded_for = 14;
        Specified by:
        getXForwardedFor in interface LogRecordOrBuilder
        Returns:
        The xForwardedFor.
      • getXForwardedForBytes

        public com.google.protobuf.ByteString getXForwardedForBytes()
         The originating IP address of the request.
         
        string x_forwarded_for = 14;
        Specified by:
        getXForwardedForBytes in interface LogRecordOrBuilder
        Returns:
        The bytes for xForwardedFor.
      • getAsyncOperationId

        public java.lang.String getAsyncOperationId()
         The ID of the async operation.
         
        string async_operation_id = 15;
        Specified by:
        getAsyncOperationId in interface LogRecordOrBuilder
        Returns:
        The asyncOperationId.
      • getAsyncOperationIdBytes

        public com.google.protobuf.ByteString getAsyncOperationIdBytes()
         The ID of the async operation.
         
        string async_operation_id = 15;
        Specified by:
        getAsyncOperationIdBytes in interface LogRecordOrBuilder
        Returns:
        The bytes for asyncOperationId.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.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:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public LogRecord.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected LogRecord.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.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:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public LogRecord getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder