Package io.atomix.api.runtime.v1
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeatomix.runtime.v1.Timestampstatic enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionboolean.atomix.runtime.v1.CompositeTimestamp composite_timestamp = 5;.atomix.runtime.v1.CompositeTimestamp composite_timestamp = 5;static Timestampstatic final com.google.protobuf.Descriptors.Descriptor.atomix.runtime.v1.EpochTimestamp epoch_timestamp = 4;.atomix.runtime.v1.EpochTimestamp epoch_timestamp = 4;.atomix.runtime.v1.LogicalTimestamp logical_timestamp = 2;.atomix.runtime.v1.LogicalTimestamp logical_timestamp = 2;com.google.protobuf.Parser<Timestamp>.atomix.runtime.v1.PhysicalTimestamp physical_timestamp = 1;.atomix.runtime.v1.PhysicalTimestamp physical_timestamp = 1;intfinal com.google.protobuf.UnknownFieldSet.atomix.runtime.v1.VectorTimestamp vector_timestamp = 3;.atomix.runtime.v1.VectorTimestamp vector_timestamp = 3;boolean.atomix.runtime.v1.CompositeTimestamp composite_timestamp = 5;boolean.atomix.runtime.v1.EpochTimestamp epoch_timestamp = 4;inthashCode()boolean.atomix.runtime.v1.LogicalTimestamp logical_timestamp = 2;boolean.atomix.runtime.v1.PhysicalTimestamp physical_timestamp = 1;boolean.atomix.runtime.v1.VectorTimestamp vector_timestamp = 3;final booleanstatic Timestamp.Builderstatic Timestamp.BuildernewBuilder(Timestamp prototype) static TimestampparseDelimitedFrom(InputStream input) static TimestampparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TimestampparseFrom(byte[] data) static TimestampparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TimestampparseFrom(com.google.protobuf.ByteString data) static TimestampparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TimestampparseFrom(com.google.protobuf.CodedInputStream input) static TimestampparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TimestampparseFrom(InputStream input) static TimestampparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TimestampparseFrom(ByteBuffer data) static TimestampparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Timestamp>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneofMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods 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, hasField, hasOneof
-
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:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
getTimestampCase
- Specified by:
getTimestampCasein interfaceTimestampOrBuilder
-
hasPhysicalTimestamp
public boolean hasPhysicalTimestamp().atomix.runtime.v1.PhysicalTimestamp physical_timestamp = 1;- Specified by:
hasPhysicalTimestampin interfaceTimestampOrBuilder- Returns:
- Whether the physicalTimestamp field is set.
-
getPhysicalTimestamp
.atomix.runtime.v1.PhysicalTimestamp physical_timestamp = 1;- Specified by:
getPhysicalTimestampin interfaceTimestampOrBuilder- Returns:
- The physicalTimestamp.
-
getPhysicalTimestampOrBuilder
.atomix.runtime.v1.PhysicalTimestamp physical_timestamp = 1;- Specified by:
getPhysicalTimestampOrBuilderin interfaceTimestampOrBuilder
-
hasLogicalTimestamp
public boolean hasLogicalTimestamp().atomix.runtime.v1.LogicalTimestamp logical_timestamp = 2;- Specified by:
hasLogicalTimestampin interfaceTimestampOrBuilder- Returns:
- Whether the logicalTimestamp field is set.
-
getLogicalTimestamp
.atomix.runtime.v1.LogicalTimestamp logical_timestamp = 2;- Specified by:
getLogicalTimestampin interfaceTimestampOrBuilder- Returns:
- The logicalTimestamp.
-
getLogicalTimestampOrBuilder
.atomix.runtime.v1.LogicalTimestamp logical_timestamp = 2;- Specified by:
getLogicalTimestampOrBuilderin interfaceTimestampOrBuilder
-
hasVectorTimestamp
public boolean hasVectorTimestamp().atomix.runtime.v1.VectorTimestamp vector_timestamp = 3;- Specified by:
hasVectorTimestampin interfaceTimestampOrBuilder- Returns:
- Whether the vectorTimestamp field is set.
-
getVectorTimestamp
.atomix.runtime.v1.VectorTimestamp vector_timestamp = 3;- Specified by:
getVectorTimestampin interfaceTimestampOrBuilder- Returns:
- The vectorTimestamp.
-
getVectorTimestampOrBuilder
.atomix.runtime.v1.VectorTimestamp vector_timestamp = 3;- Specified by:
getVectorTimestampOrBuilderin interfaceTimestampOrBuilder
-
hasEpochTimestamp
public boolean hasEpochTimestamp().atomix.runtime.v1.EpochTimestamp epoch_timestamp = 4;- Specified by:
hasEpochTimestampin interfaceTimestampOrBuilder- Returns:
- Whether the epochTimestamp field is set.
-
getEpochTimestamp
.atomix.runtime.v1.EpochTimestamp epoch_timestamp = 4;- Specified by:
getEpochTimestampin interfaceTimestampOrBuilder- Returns:
- The epochTimestamp.
-
getEpochTimestampOrBuilder
.atomix.runtime.v1.EpochTimestamp epoch_timestamp = 4;- Specified by:
getEpochTimestampOrBuilderin interfaceTimestampOrBuilder
-
hasCompositeTimestamp
public boolean hasCompositeTimestamp().atomix.runtime.v1.CompositeTimestamp composite_timestamp = 5;- Specified by:
hasCompositeTimestampin interfaceTimestampOrBuilder- Returns:
- Whether the compositeTimestamp field is set.
-
getCompositeTimestamp
.atomix.runtime.v1.CompositeTimestamp composite_timestamp = 5;- Specified by:
getCompositeTimestampin interfaceTimestampOrBuilder- Returns:
- The compositeTimestamp.
-
getCompositeTimestampOrBuilder
.atomix.runtime.v1.CompositeTimestamp composite_timestamp = 5;- Specified by:
getCompositeTimestampOrBuilderin interfaceTimestampOrBuilder
-
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 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
- Throws:
IOException
-
parseFrom
public static Timestamp parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Timestamp parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Timestamp 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
-
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
-