Class ClusterMessages.VectorClock.Version.Builder
- java.lang.Object
-
- org.apache.pekko.protobufv3.internal.AbstractMessageLite.Builder
-
- org.apache.pekko.protobufv3.internal.AbstractMessage.Builder<BuilderType>
-
- org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.VectorClock.Version.Builder>
-
- org.apache.pekko.cluster.protobuf.msg.ClusterMessages.VectorClock.Version.Builder
-
- All Implemented Interfaces:
java.lang.Cloneable
,ClusterMessages.VectorClock.VersionOrBuilder
,org.apache.pekko.protobufv3.internal.Message.Builder
,org.apache.pekko.protobufv3.internal.MessageLite.Builder
,org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
,org.apache.pekko.protobufv3.internal.MessageOrBuilder
- Enclosing class:
- ClusterMessages.VectorClock.Version
public static final class ClusterMessages.VectorClock.Version.Builder extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.VectorClock.Version.Builder> implements ClusterMessages.VectorClock.VersionOrBuilder
Protobuf typeVectorClock.Version
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterMessages.VectorClock.Version.Builder
addRepeatedField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
ClusterMessages.VectorClock.Version
build()
ClusterMessages.VectorClock.Version
buildPartial()
ClusterMessages.VectorClock.Version.Builder
clear()
ClusterMessages.VectorClock.Version.Builder
clearField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field)
ClusterMessages.VectorClock.Version.Builder
clearHashIndex()
required int32 hashIndex = 1;
ClusterMessages.VectorClock.Version.Builder
clearOneof(org.apache.pekko.protobufv3.internal.Descriptors.OneofDescriptor oneof)
ClusterMessages.VectorClock.Version.Builder
clearTimestamp()
required int64 timestamp = 2;
ClusterMessages.VectorClock.Version.Builder
clone()
ClusterMessages.VectorClock.Version
getDefaultInstanceForType()
static org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptor()
org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptorForType()
int
getHashIndex()
required int32 hashIndex = 1;
long
getTimestamp()
required int64 timestamp = 2;
boolean
hasHashIndex()
required int32 hashIndex = 1;
boolean
hasTimestamp()
required int64 timestamp = 2;
protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ClusterMessages.VectorClock.Version.Builder
mergeFrom(ClusterMessages.VectorClock.Version other)
ClusterMessages.VectorClock.Version.Builder
mergeFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
ClusterMessages.VectorClock.Version.Builder
mergeFrom(org.apache.pekko.protobufv3.internal.Message other)
ClusterMessages.VectorClock.Version.Builder
mergeUnknownFields(org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields)
ClusterMessages.VectorClock.Version.Builder
setField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
ClusterMessages.VectorClock.Version.Builder
setHashIndex(int value)
required int32 hashIndex = 1;
ClusterMessages.VectorClock.Version.Builder
setRepeatedField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ClusterMessages.VectorClock.Version.Builder
setTimestamp(long value)
required int64 timestamp = 2;
ClusterMessages.VectorClock.Version.Builder
setUnknownFields(org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields)
-
Methods inherited from class org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.VectorClock.Version.Builder>
-
clear
public ClusterMessages.VectorClock.Version.Builder clear()
- Specified by:
clear
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Specified by:
clear
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
- Overrides:
clear
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.VectorClock.Version.Builder>
-
getDescriptorForType
public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Specified by:
getDescriptorForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
- Overrides:
getDescriptorForType
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.VectorClock.Version.Builder>
-
getDefaultInstanceForType
public ClusterMessages.VectorClock.Version getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
-
build
public ClusterMessages.VectorClock.Version build()
- Specified by:
build
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Specified by:
build
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
-
buildPartial
public ClusterMessages.VectorClock.Version buildPartial()
- Specified by:
buildPartial
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Specified by:
buildPartial
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
-
clone
public ClusterMessages.VectorClock.Version.Builder clone()
- Specified by:
clone
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Specified by:
clone
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
- Overrides:
clone
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.VectorClock.Version.Builder>
-
setField
public ClusterMessages.VectorClock.Version.Builder setField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
setField
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.VectorClock.Version.Builder>
-
clearField
public ClusterMessages.VectorClock.Version.Builder clearField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
clearField
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.VectorClock.Version.Builder>
-
clearOneof
public ClusterMessages.VectorClock.Version.Builder clearOneof(org.apache.pekko.protobufv3.internal.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
clearOneof
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.VectorClock.Version.Builder>
-
setRepeatedField
public ClusterMessages.VectorClock.Version.Builder setRepeatedField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
setRepeatedField
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.VectorClock.Version.Builder>
-
addRepeatedField
public ClusterMessages.VectorClock.Version.Builder addRepeatedField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
addRepeatedField
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.VectorClock.Version.Builder>
-
mergeFrom
public ClusterMessages.VectorClock.Version.Builder mergeFrom(org.apache.pekko.protobufv3.internal.Message other)
- Specified by:
mergeFrom
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
mergeFrom
in classorg.apache.pekko.protobufv3.internal.AbstractMessage.Builder<ClusterMessages.VectorClock.Version.Builder>
-
mergeFrom
public ClusterMessages.VectorClock.Version.Builder mergeFrom(ClusterMessages.VectorClock.Version other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
- Overrides:
isInitialized
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.VectorClock.Version.Builder>
-
mergeFrom
public ClusterMessages.VectorClock.Version.Builder mergeFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Specified by:
mergeFrom
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
- Overrides:
mergeFrom
in classorg.apache.pekko.protobufv3.internal.AbstractMessage.Builder<ClusterMessages.VectorClock.Version.Builder>
- Throws:
java.io.IOException
-
hasHashIndex
public boolean hasHashIndex()
required int32 hashIndex = 1;
- Specified by:
hasHashIndex
in interfaceClusterMessages.VectorClock.VersionOrBuilder
- Returns:
- Whether the hashIndex field is set.
-
getHashIndex
public int getHashIndex()
required int32 hashIndex = 1;
- Specified by:
getHashIndex
in interfaceClusterMessages.VectorClock.VersionOrBuilder
- Returns:
- The hashIndex.
-
setHashIndex
public ClusterMessages.VectorClock.Version.Builder setHashIndex(int value)
required int32 hashIndex = 1;
- Parameters:
value
- The hashIndex to set.- Returns:
- This builder for chaining.
-
clearHashIndex
public ClusterMessages.VectorClock.Version.Builder clearHashIndex()
required int32 hashIndex = 1;
- Returns:
- This builder for chaining.
-
hasTimestamp
public boolean hasTimestamp()
required int64 timestamp = 2;
- Specified by:
hasTimestamp
in interfaceClusterMessages.VectorClock.VersionOrBuilder
- Returns:
- Whether the timestamp field is set.
-
getTimestamp
public long getTimestamp()
required int64 timestamp = 2;
- Specified by:
getTimestamp
in interfaceClusterMessages.VectorClock.VersionOrBuilder
- Returns:
- The timestamp.
-
setTimestamp
public ClusterMessages.VectorClock.Version.Builder setTimestamp(long value)
required int64 timestamp = 2;
- Parameters:
value
- The timestamp to set.- Returns:
- This builder for chaining.
-
clearTimestamp
public ClusterMessages.VectorClock.Version.Builder clearTimestamp()
required int64 timestamp = 2;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final ClusterMessages.VectorClock.Version.Builder setUnknownFields(org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
setUnknownFields
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.VectorClock.Version.Builder>
-
mergeUnknownFields
public final ClusterMessages.VectorClock.Version.Builder mergeUnknownFields(org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
mergeUnknownFields
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.VectorClock.Version.Builder>
-
-