Package akka.cluster.protobuf.msg
Class ClusterMessages.GossipStatus.Builder
- java.lang.Object
-
- akka.protobufv3.internal.AbstractMessageLite.Builder
-
- akka.protobufv3.internal.AbstractMessage.Builder<BuilderT>
-
- akka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.GossipStatus.Builder>
-
- akka.cluster.protobuf.msg.ClusterMessages.GossipStatus.Builder
-
- All Implemented Interfaces:
ClusterMessages.GossipStatusOrBuilder
,akka.protobufv3.internal.Message.Builder
,akka.protobufv3.internal.MessageLite.Builder
,akka.protobufv3.internal.MessageLiteOrBuilder
,akka.protobufv3.internal.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- ClusterMessages.GossipStatus
public static final class ClusterMessages.GossipStatus.Builder extends akka.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(akka.protobufv3.internal.ByteString value)
repeated string allHashes = 2;
ClusterMessages.GossipStatus.Builder
addRepeatedField(akka.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(akka.protobufv3.internal.Descriptors.FieldDescriptor field)
ClusterMessages.GossipStatus.Builder
clearFrom()
required .UniqueAddress from = 1;
ClusterMessages.GossipStatus.Builder
clearOneof(akka.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;
akka.protobufv3.internal.ByteString
getAllHashesBytes(int index)
repeated string allHashes = 2;
int
getAllHashesCount()
repeated string allHashes = 2;
akka.protobufv3.internal.ProtocolStringList
getAllHashesList()
repeated string allHashes = 2;
ClusterMessages.GossipStatus
getDefaultInstanceForType()
static akka.protobufv3.internal.Descriptors.Descriptor
getDescriptor()
akka.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;
akka.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 akka.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(akka.protobufv3.internal.CodedInputStream input, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
ClusterMessages.GossipStatus.Builder
mergeFrom(akka.protobufv3.internal.Message other)
ClusterMessages.GossipStatus.Builder
mergeUnknownFields(akka.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(akka.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(akka.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ClusterMessages.GossipStatus.Builder
setSeenDigest(akka.protobufv3.internal.ByteString value)
optional bytes seenDigest = 4;
ClusterMessages.GossipStatus.Builder
setUnknownFields(akka.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 akka.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 akka.protobufv3.internal.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class akka.protobufv3.internal.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final akka.protobufv3.internal.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected akka.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.GossipStatus.Builder>
-
clear
public ClusterMessages.GossipStatus.Builder clear()
- Specified by:
clear
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
clear
in interfaceakka.protobufv3.internal.MessageLite.Builder
- Overrides:
clear
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.GossipStatus.Builder>
-
getDescriptorForType
public akka.protobufv3.internal.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
getDescriptorForType
in interfaceakka.protobufv3.internal.MessageOrBuilder
- Overrides:
getDescriptorForType
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.GossipStatus.Builder>
-
getDefaultInstanceForType
public ClusterMessages.GossipStatus getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageOrBuilder
-
build
public ClusterMessages.GossipStatus build()
- Specified by:
build
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
build
in interfaceakka.protobufv3.internal.MessageLite.Builder
-
buildPartial
public ClusterMessages.GossipStatus buildPartial()
- Specified by:
buildPartial
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
buildPartial
in interfaceakka.protobufv3.internal.MessageLite.Builder
-
clone
public ClusterMessages.GossipStatus.Builder clone()
- Specified by:
clone
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
clone
in interfaceakka.protobufv3.internal.MessageLite.Builder
- Overrides:
clone
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.GossipStatus.Builder>
-
setField
public ClusterMessages.GossipStatus.Builder setField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
setField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.GossipStatus.Builder>
-
clearField
public ClusterMessages.GossipStatus.Builder clearField(akka.protobufv3.internal.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
clearField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.GossipStatus.Builder>
-
clearOneof
public ClusterMessages.GossipStatus.Builder clearOneof(akka.protobufv3.internal.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
clearOneof
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.GossipStatus.Builder>
-
setRepeatedField
public ClusterMessages.GossipStatus.Builder setRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
setRepeatedField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.GossipStatus.Builder>
-
addRepeatedField
public ClusterMessages.GossipStatus.Builder addRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
addRepeatedField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.GossipStatus.Builder>
-
mergeFrom
public ClusterMessages.GossipStatus.Builder mergeFrom(akka.protobufv3.internal.Message other)
- Specified by:
mergeFrom
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
mergeFrom
in classakka.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 interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Overrides:
isInitialized
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.GossipStatus.Builder>
-
mergeFrom
public ClusterMessages.GossipStatus.Builder mergeFrom(akka.protobufv3.internal.CodedInputStream input, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
mergeFrom
in interfaceakka.protobufv3.internal.MessageLite.Builder
- Overrides:
mergeFrom
in classakka.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 akka.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 akka.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(akka.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 akka.protobufv3.internal.ByteString getSeenDigest()
optional bytes seenDigest = 4;
- Specified by:
getSeenDigest
in interfaceClusterMessages.GossipStatusOrBuilder
- Returns:
- The seenDigest.
-
setSeenDigest
public ClusterMessages.GossipStatus.Builder setSeenDigest(akka.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(akka.protobufv3.internal.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
setUnknownFields
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.GossipStatus.Builder>
-
mergeUnknownFields
public final ClusterMessages.GossipStatus.Builder mergeUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
mergeUnknownFields
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.GossipStatus.Builder>
-
-