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 Classes
    Modifier and Type
    Class
    Description
    static final class 
    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
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    The ID of the async operation.
    com.google.protobuf.ByteString
    The ID of the async operation.
    static LogRecord
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Timestamp
    Time when the log was emitted.
    com.google.protobuf.TimestampOrBuilder
    Time when the log was emitted.
    Unique ID for the log record.
    com.google.protobuf.ByteString
    Unique ID for the log record.
    The operation performed.
    com.google.protobuf.ByteString
    The operation performed.
    com.google.protobuf.Parser<LogRecord>
     
    The principal that performed the operation.
    The principal that performed the operation.
    com.google.protobuf.Struct
    The raw details of the operation.
    com.google.protobuf.StructOrBuilder
    The raw details of the operation.
    int
     
    The status of the operation.
    com.google.protobuf.ByteString
    The status of the operation.
    int
    The internal version of the log message.
    The originating IP address of the request.
    com.google.protobuf.ByteString
    The originating IP address of the request.
    boolean
    Time when the log was emitted.
    int
     
    boolean
    The principal that performed the operation.
    boolean
    The raw details of the operation.
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
    newBuilder(LogRecord prototype)
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
    static LogRecord
     
    static LogRecord
    parseDelimitedFrom(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
     
    static LogRecord
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static LogRecord
     
    static LogRecord
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<LogRecord>
     
     
    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
  • 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

      protected 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 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 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 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.
    • getPrincipalOrBuilder

      public PrincipalOrBuilder getPrincipalOrBuilder()
       The principal that performed the operation.
       
      .temporal.api.cloud.auditlog.v1.Principal principal = 12;
      Specified by:
      getPrincipalOrBuilder in interface LogRecordOrBuilder
    • 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 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 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 IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      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(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(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

      public static LogRecord parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static LogRecord parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static LogRecord parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static LogRecord parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static LogRecord parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static LogRecord parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static LogRecord.Builder newBuilder()
    • newBuilder

      public static LogRecord.Builder newBuilder(LogRecord prototype)
    • 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