Class Timestamp

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.atomix.api.runtime.v1.Timestamp
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, TimestampOrBuilder, Serializable

public final class Timestamp extends com.google.protobuf.GeneratedMessageV3 implements TimestampOrBuilder
Protobuf type atomix.runtime.v1.Timestamp
See Also:
  • Field Details

    • PHYSICAL_TIMESTAMP_FIELD_NUMBER

      public static final int PHYSICAL_TIMESTAMP_FIELD_NUMBER
      See Also:
    • LOGICAL_TIMESTAMP_FIELD_NUMBER

      public static final int LOGICAL_TIMESTAMP_FIELD_NUMBER
      See Also:
    • VECTOR_TIMESTAMP_FIELD_NUMBER

      public static final int VECTOR_TIMESTAMP_FIELD_NUMBER
      See Also:
    • EPOCH_TIMESTAMP_FIELD_NUMBER

      public static final int EPOCH_TIMESTAMP_FIELD_NUMBER
      See Also:
    • COMPOSITE_TIMESTAMP_FIELD_NUMBER

      public static final int COMPOSITE_TIMESTAMP_FIELD_NUMBER
      See Also:
  • Method Details

    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

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

      public Timestamp.TimestampCase getTimestampCase()
      Specified by:
      getTimestampCase in interface TimestampOrBuilder
    • hasPhysicalTimestamp

      public boolean hasPhysicalTimestamp()
      .atomix.runtime.v1.PhysicalTimestamp physical_timestamp = 1;
      Specified by:
      hasPhysicalTimestamp in interface TimestampOrBuilder
      Returns:
      Whether the physicalTimestamp field is set.
    • getPhysicalTimestamp

      public PhysicalTimestamp getPhysicalTimestamp()
      .atomix.runtime.v1.PhysicalTimestamp physical_timestamp = 1;
      Specified by:
      getPhysicalTimestamp in interface TimestampOrBuilder
      Returns:
      The physicalTimestamp.
    • getPhysicalTimestampOrBuilder

      public PhysicalTimestampOrBuilder getPhysicalTimestampOrBuilder()
      .atomix.runtime.v1.PhysicalTimestamp physical_timestamp = 1;
      Specified by:
      getPhysicalTimestampOrBuilder in interface TimestampOrBuilder
    • hasLogicalTimestamp

      public boolean hasLogicalTimestamp()
      .atomix.runtime.v1.LogicalTimestamp logical_timestamp = 2;
      Specified by:
      hasLogicalTimestamp in interface TimestampOrBuilder
      Returns:
      Whether the logicalTimestamp field is set.
    • getLogicalTimestamp

      public LogicalTimestamp getLogicalTimestamp()
      .atomix.runtime.v1.LogicalTimestamp logical_timestamp = 2;
      Specified by:
      getLogicalTimestamp in interface TimestampOrBuilder
      Returns:
      The logicalTimestamp.
    • getLogicalTimestampOrBuilder

      public LogicalTimestampOrBuilder getLogicalTimestampOrBuilder()
      .atomix.runtime.v1.LogicalTimestamp logical_timestamp = 2;
      Specified by:
      getLogicalTimestampOrBuilder in interface TimestampOrBuilder
    • hasVectorTimestamp

      public boolean hasVectorTimestamp()
      .atomix.runtime.v1.VectorTimestamp vector_timestamp = 3;
      Specified by:
      hasVectorTimestamp in interface TimestampOrBuilder
      Returns:
      Whether the vectorTimestamp field is set.
    • getVectorTimestamp

      public VectorTimestamp getVectorTimestamp()
      .atomix.runtime.v1.VectorTimestamp vector_timestamp = 3;
      Specified by:
      getVectorTimestamp in interface TimestampOrBuilder
      Returns:
      The vectorTimestamp.
    • getVectorTimestampOrBuilder

      public VectorTimestampOrBuilder getVectorTimestampOrBuilder()
      .atomix.runtime.v1.VectorTimestamp vector_timestamp = 3;
      Specified by:
      getVectorTimestampOrBuilder in interface TimestampOrBuilder
    • hasEpochTimestamp

      public boolean hasEpochTimestamp()
      .atomix.runtime.v1.EpochTimestamp epoch_timestamp = 4;
      Specified by:
      hasEpochTimestamp in interface TimestampOrBuilder
      Returns:
      Whether the epochTimestamp field is set.
    • getEpochTimestamp

      public EpochTimestamp getEpochTimestamp()
      .atomix.runtime.v1.EpochTimestamp epoch_timestamp = 4;
      Specified by:
      getEpochTimestamp in interface TimestampOrBuilder
      Returns:
      The epochTimestamp.
    • getEpochTimestampOrBuilder

      public EpochTimestampOrBuilder getEpochTimestampOrBuilder()
      .atomix.runtime.v1.EpochTimestamp epoch_timestamp = 4;
      Specified by:
      getEpochTimestampOrBuilder in interface TimestampOrBuilder
    • hasCompositeTimestamp

      public boolean hasCompositeTimestamp()
      .atomix.runtime.v1.CompositeTimestamp composite_timestamp = 5;
      Specified by:
      hasCompositeTimestamp in interface TimestampOrBuilder
      Returns:
      Whether the compositeTimestamp field is set.
    • getCompositeTimestamp

      public CompositeTimestamp getCompositeTimestamp()
      .atomix.runtime.v1.CompositeTimestamp composite_timestamp = 5;
      Specified by:
      getCompositeTimestamp in interface TimestampOrBuilder
      Returns:
      The compositeTimestamp.
    • getCompositeTimestampOrBuilder

      public CompositeTimestampOrBuilder getCompositeTimestampOrBuilder()
      .atomix.runtime.v1.CompositeTimestamp composite_timestamp = 5;
      Specified by:
      getCompositeTimestampOrBuilder in interface TimestampOrBuilder
    • 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 Timestamp parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Timestamp parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Timestamp parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Timestamp parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Timestamp parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Timestamp parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

      public static Timestamp.Builder newBuilder()
    • newBuilder

      public static Timestamp.Builder newBuilder(Timestamp prototype)
    • toBuilder

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

      public static Timestamp getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Timestamp> parser()
    • getParserForType

      public com.google.protobuf.Parser<Timestamp> 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 Timestamp getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder