Class ClusterMessages.GossipStatus.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.GossipStatus.Builder>
-
- org.apache.pekko.cluster.protobuf.msg.ClusterMessages.GossipStatus.Builder
-
- All Implemented Interfaces:
java.lang.Cloneable
,ClusterMessages.GossipStatusOrBuilder
,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.GossipStatus
public static final class ClusterMessages.GossipStatus.Builder extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.GossipStatus.Builder> implements ClusterMessages.GossipStatusOrBuilder
Gossip Status
Protobuf typeGossipStatus
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterMessages.GossipStatus.Builder
addAllAllHashes(java.lang.Iterable<java.lang.String> values)
repeated string allHashes = 2;
ClusterMessages.GossipStatus.Builder
addAllHashes(java.lang.String value)
repeated string allHashes = 2;
ClusterMessages.GossipStatus.Builder
addAllHashesBytes(org.apache.pekko.protobufv3.internal.ByteString value)
repeated string allHashes = 2;
ClusterMessages.GossipStatus.Builder
addRepeatedField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
ClusterMessages.GossipStatus
build()
ClusterMessages.GossipStatus
buildPartial()
ClusterMessages.GossipStatus.Builder
clear()
ClusterMessages.GossipStatus.Builder
clearAllHashes()
repeated string allHashes = 2;
ClusterMessages.GossipStatus.Builder
clearField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field)
ClusterMessages.GossipStatus.Builder
clearFrom()
required .UniqueAddress from = 1;
ClusterMessages.GossipStatus.Builder
clearOneof(org.apache.pekko.protobufv3.internal.Descriptors.OneofDescriptor oneof)
ClusterMessages.GossipStatus.Builder
clearSeenDigest()
optional bytes seenDigest = 4;
ClusterMessages.GossipStatus.Builder
clearVersion()
required .VectorClock version = 3;
ClusterMessages.GossipStatus.Builder
clone()
java.lang.String
getAllHashes(int index)
repeated string allHashes = 2;
org.apache.pekko.protobufv3.internal.ByteString
getAllHashesBytes(int index)
repeated string allHashes = 2;
int
getAllHashesCount()
repeated string allHashes = 2;
org.apache.pekko.protobufv3.internal.ProtocolStringList
getAllHashesList()
repeated string allHashes = 2;
ClusterMessages.GossipStatus
getDefaultInstanceForType()
static org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptor()
org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptorForType()
ClusterMessages.UniqueAddress
getFrom()
required .UniqueAddress from = 1;
ClusterMessages.UniqueAddress.Builder
getFromBuilder()
required .UniqueAddress from = 1;
ClusterMessages.UniqueAddressOrBuilder
getFromOrBuilder()
required .UniqueAddress from = 1;
org.apache.pekko.protobufv3.internal.ByteString
getSeenDigest()
optional bytes seenDigest = 4;
ClusterMessages.VectorClock
getVersion()
required .VectorClock version = 3;
ClusterMessages.VectorClock.Builder
getVersionBuilder()
required .VectorClock version = 3;
ClusterMessages.VectorClockOrBuilder
getVersionOrBuilder()
required .VectorClock version = 3;
boolean
hasFrom()
required .UniqueAddress from = 1;
boolean
hasSeenDigest()
optional bytes seenDigest = 4;
boolean
hasVersion()
required .VectorClock version = 3;
protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ClusterMessages.GossipStatus.Builder
mergeFrom(ClusterMessages.GossipStatus other)
ClusterMessages.GossipStatus.Builder
mergeFrom(ClusterMessages.UniqueAddress value)
required .UniqueAddress from = 1;
ClusterMessages.GossipStatus.Builder
mergeFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
ClusterMessages.GossipStatus.Builder
mergeFrom(org.apache.pekko.protobufv3.internal.Message other)
ClusterMessages.GossipStatus.Builder
mergeUnknownFields(org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields)
ClusterMessages.GossipStatus.Builder
mergeVersion(ClusterMessages.VectorClock value)
required .VectorClock version = 3;
ClusterMessages.GossipStatus.Builder
setAllHashes(int index, java.lang.String value)
repeated string allHashes = 2;
ClusterMessages.GossipStatus.Builder
setField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
ClusterMessages.GossipStatus.Builder
setFrom(ClusterMessages.UniqueAddress value)
required .UniqueAddress from = 1;
ClusterMessages.GossipStatus.Builder
setFrom(ClusterMessages.UniqueAddress.Builder builderForValue)
required .UniqueAddress from = 1;
ClusterMessages.GossipStatus.Builder
setRepeatedField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ClusterMessages.GossipStatus.Builder
setSeenDigest(org.apache.pekko.protobufv3.internal.ByteString value)
optional bytes seenDigest = 4;
ClusterMessages.GossipStatus.Builder
setUnknownFields(org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields)
ClusterMessages.GossipStatus.Builder
setVersion(ClusterMessages.VectorClock value)
required .VectorClock version = 3;
ClusterMessages.GossipStatus.Builder
setVersion(ClusterMessages.VectorClock.Builder builderForValue)
required .VectorClock version = 3;
-
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.GossipStatus.Builder>
-
clear
public ClusterMessages.GossipStatus.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.GossipStatus.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.GossipStatus.Builder>
-
getDefaultInstanceForType
public ClusterMessages.GossipStatus getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
-
build
public ClusterMessages.GossipStatus 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.GossipStatus 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.GossipStatus.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.GossipStatus.Builder>
-
setField
public ClusterMessages.GossipStatus.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.GossipStatus.Builder>
-
clearField
public ClusterMessages.GossipStatus.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.GossipStatus.Builder>
-
clearOneof
public ClusterMessages.GossipStatus.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.GossipStatus.Builder>
-
setRepeatedField
public ClusterMessages.GossipStatus.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.GossipStatus.Builder>
-
addRepeatedField
public ClusterMessages.GossipStatus.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.GossipStatus.Builder>
-
mergeFrom
public ClusterMessages.GossipStatus.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.GossipStatus.Builder>
-
mergeFrom
public ClusterMessages.GossipStatus.Builder mergeFrom(ClusterMessages.GossipStatus 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.GossipStatus.Builder>
-
mergeFrom
public ClusterMessages.GossipStatus.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.GossipStatus.Builder>
- Throws:
java.io.IOException
-
hasFrom
public boolean hasFrom()
required .UniqueAddress from = 1;
- Specified by:
hasFrom
in interfaceClusterMessages.GossipStatusOrBuilder
- Returns:
- Whether the from field is set.
-
getFrom
public ClusterMessages.UniqueAddress getFrom()
required .UniqueAddress from = 1;
- Specified by:
getFrom
in interfaceClusterMessages.GossipStatusOrBuilder
- Returns:
- The from.
-
setFrom
public ClusterMessages.GossipStatus.Builder setFrom(ClusterMessages.UniqueAddress value)
required .UniqueAddress from = 1;
-
setFrom
public ClusterMessages.GossipStatus.Builder setFrom(ClusterMessages.UniqueAddress.Builder builderForValue)
required .UniqueAddress from = 1;
-
mergeFrom
public ClusterMessages.GossipStatus.Builder mergeFrom(ClusterMessages.UniqueAddress value)
required .UniqueAddress from = 1;
-
clearFrom
public ClusterMessages.GossipStatus.Builder clearFrom()
required .UniqueAddress from = 1;
-
getFromBuilder
public ClusterMessages.UniqueAddress.Builder getFromBuilder()
required .UniqueAddress from = 1;
-
getFromOrBuilder
public ClusterMessages.UniqueAddressOrBuilder getFromOrBuilder()
required .UniqueAddress from = 1;
- Specified by:
getFromOrBuilder
in interfaceClusterMessages.GossipStatusOrBuilder
-
getAllHashesList
public org.apache.pekko.protobufv3.internal.ProtocolStringList getAllHashesList()
repeated string allHashes = 2;
- Specified by:
getAllHashesList
in interfaceClusterMessages.GossipStatusOrBuilder
- Returns:
- A list containing the allHashes.
-
getAllHashesCount
public int getAllHashesCount()
repeated string allHashes = 2;
- Specified by:
getAllHashesCount
in interfaceClusterMessages.GossipStatusOrBuilder
- Returns:
- The count of allHashes.
-
getAllHashes
public java.lang.String getAllHashes(int index)
repeated string allHashes = 2;
- Specified by:
getAllHashes
in interfaceClusterMessages.GossipStatusOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The allHashes at the given index.
-
getAllHashesBytes
public org.apache.pekko.protobufv3.internal.ByteString getAllHashesBytes(int index)
repeated string allHashes = 2;
- Specified by:
getAllHashesBytes
in interfaceClusterMessages.GossipStatusOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the allHashes at the given index.
-
setAllHashes
public ClusterMessages.GossipStatus.Builder setAllHashes(int index, java.lang.String value)
repeated string allHashes = 2;
- Parameters:
index
- The index to set the value at.value
- The allHashes to set.- Returns:
- This builder for chaining.
-
addAllHashes
public ClusterMessages.GossipStatus.Builder addAllHashes(java.lang.String value)
repeated string allHashes = 2;
- Parameters:
value
- The allHashes to add.- Returns:
- This builder for chaining.
-
addAllAllHashes
public ClusterMessages.GossipStatus.Builder addAllAllHashes(java.lang.Iterable<java.lang.String> values)
repeated string allHashes = 2;
- Parameters:
values
- The allHashes to add.- Returns:
- This builder for chaining.
-
clearAllHashes
public ClusterMessages.GossipStatus.Builder clearAllHashes()
repeated string allHashes = 2;
- Returns:
- This builder for chaining.
-
addAllHashesBytes
public ClusterMessages.GossipStatus.Builder addAllHashesBytes(org.apache.pekko.protobufv3.internal.ByteString value)
repeated string allHashes = 2;
- Parameters:
value
- The bytes of the allHashes to add.- Returns:
- This builder for chaining.
-
hasVersion
public boolean hasVersion()
required .VectorClock version = 3;
- Specified by:
hasVersion
in interfaceClusterMessages.GossipStatusOrBuilder
- Returns:
- Whether the version field is set.
-
getVersion
public ClusterMessages.VectorClock getVersion()
required .VectorClock version = 3;
- Specified by:
getVersion
in interfaceClusterMessages.GossipStatusOrBuilder
- Returns:
- The version.
-
setVersion
public ClusterMessages.GossipStatus.Builder setVersion(ClusterMessages.VectorClock value)
required .VectorClock version = 3;
-
setVersion
public ClusterMessages.GossipStatus.Builder setVersion(ClusterMessages.VectorClock.Builder builderForValue)
required .VectorClock version = 3;
-
mergeVersion
public ClusterMessages.GossipStatus.Builder mergeVersion(ClusterMessages.VectorClock value)
required .VectorClock version = 3;
-
clearVersion
public ClusterMessages.GossipStatus.Builder clearVersion()
required .VectorClock version = 3;
-
getVersionBuilder
public ClusterMessages.VectorClock.Builder getVersionBuilder()
required .VectorClock version = 3;
-
getVersionOrBuilder
public ClusterMessages.VectorClockOrBuilder getVersionOrBuilder()
required .VectorClock version = 3;
- Specified by:
getVersionOrBuilder
in interfaceClusterMessages.GossipStatusOrBuilder
-
hasSeenDigest
public boolean hasSeenDigest()
optional bytes seenDigest = 4;
- Specified by:
hasSeenDigest
in interfaceClusterMessages.GossipStatusOrBuilder
- Returns:
- Whether the seenDigest field is set.
-
getSeenDigest
public org.apache.pekko.protobufv3.internal.ByteString getSeenDigest()
optional bytes seenDigest = 4;
- Specified by:
getSeenDigest
in interfaceClusterMessages.GossipStatusOrBuilder
- Returns:
- The seenDigest.
-
setSeenDigest
public ClusterMessages.GossipStatus.Builder setSeenDigest(org.apache.pekko.protobufv3.internal.ByteString value)
optional bytes seenDigest = 4;
- Parameters:
value
- The seenDigest to set.- Returns:
- This builder for chaining.
-
clearSeenDigest
public ClusterMessages.GossipStatus.Builder clearSeenDigest()
optional bytes seenDigest = 4;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final ClusterMessages.GossipStatus.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.GossipStatus.Builder>
-
mergeUnknownFields
public final ClusterMessages.GossipStatus.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.GossipStatus.Builder>
-
-