Interface ClusterMessages.VectorClockOrBuilder
- All Superinterfaces:
org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder,org.apache.pekko.protobufv3.internal.MessageOrBuilder
- All Known Implementing Classes:
ClusterMessages.VectorClock,ClusterMessages.VectorClock.Builder
- Enclosing class:
- ClusterMessages
public static interface ClusterMessages.VectorClockOrBuilder
extends org.apache.pekko.protobufv3.internal.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongthe timestamp could be removed but left for test data compatibilitygetVersions(int index) repeated .VectorClock.Version versions = 2;intrepeated .VectorClock.Version versions = 2;repeated .VectorClock.Version versions = 2;getVersionsOrBuilder(int index) repeated .VectorClock.Version versions = 2;List<? extends ClusterMessages.VectorClock.VersionOrBuilder>repeated .VectorClock.Version versions = 2;booleanthe timestamp could be removed but left for test data compatibilityMethods inherited from interface org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
isInitializedMethods inherited from interface org.apache.pekko.protobufv3.internal.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasTimestamp
boolean hasTimestamp()the timestamp could be removed but left for test data compatibility
optional int64 timestamp = 1;- Returns:
- Whether the timestamp field is set.
-
getTimestamp
long getTimestamp()the timestamp could be removed but left for test data compatibility
optional int64 timestamp = 1;- Returns:
- The timestamp.
-
getVersionsList
List<ClusterMessages.VectorClock.Version> getVersionsList()repeated .VectorClock.Version versions = 2; -
getVersions
repeated .VectorClock.Version versions = 2; -
getVersionsCount
int getVersionsCount()repeated .VectorClock.Version versions = 2; -
getVersionsOrBuilderList
List<? extends ClusterMessages.VectorClock.VersionOrBuilder> getVersionsOrBuilderList()repeated .VectorClock.Version versions = 2; -
getVersionsOrBuilder
repeated .VectorClock.Version versions = 2;
-