Package akka.cluster.protobuf.msg
Class ClusterMessages.Join.Builder
- java.lang.Object
-
- akka.protobufv3.internal.AbstractMessageLite.Builder
-
- akka.protobufv3.internal.AbstractMessage.Builder<BuilderT>
-
- akka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.Join.Builder>
-
- akka.cluster.protobuf.msg.ClusterMessages.Join.Builder
-
- All Implemented Interfaces:
ClusterMessages.JoinOrBuilder
,akka.protobufv3.internal.Message.Builder
,akka.protobufv3.internal.MessageLite.Builder
,akka.protobufv3.internal.MessageLiteOrBuilder
,akka.protobufv3.internal.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- ClusterMessages.Join
public static final class ClusterMessages.Join.Builder extends akka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.Join.Builder> implements ClusterMessages.JoinOrBuilder
Join
Protobuf typeJoin
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterMessages.Join.Builder
addAllRoles(java.lang.Iterable<java.lang.String> values)
repeated string roles = 2;
ClusterMessages.Join.Builder
addRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
ClusterMessages.Join.Builder
addRoles(java.lang.String value)
repeated string roles = 2;
ClusterMessages.Join.Builder
addRolesBytes(akka.protobufv3.internal.ByteString value)
repeated string roles = 2;
ClusterMessages.Join
build()
ClusterMessages.Join
buildPartial()
ClusterMessages.Join.Builder
clear()
ClusterMessages.Join.Builder
clearAppVersion()
optional string appVersion = 3;
ClusterMessages.Join.Builder
clearField(akka.protobufv3.internal.Descriptors.FieldDescriptor field)
ClusterMessages.Join.Builder
clearNode()
required .UniqueAddress node = 1;
ClusterMessages.Join.Builder
clearOneof(akka.protobufv3.internal.Descriptors.OneofDescriptor oneof)
ClusterMessages.Join.Builder
clearRoles()
repeated string roles = 2;
ClusterMessages.Join.Builder
clone()
java.lang.String
getAppVersion()
optional string appVersion = 3;
akka.protobufv3.internal.ByteString
getAppVersionBytes()
optional string appVersion = 3;
ClusterMessages.Join
getDefaultInstanceForType()
static akka.protobufv3.internal.Descriptors.Descriptor
getDescriptor()
akka.protobufv3.internal.Descriptors.Descriptor
getDescriptorForType()
ClusterMessages.UniqueAddress
getNode()
required .UniqueAddress node = 1;
ClusterMessages.UniqueAddress.Builder
getNodeBuilder()
required .UniqueAddress node = 1;
ClusterMessages.UniqueAddressOrBuilder
getNodeOrBuilder()
required .UniqueAddress node = 1;
java.lang.String
getRoles(int index)
repeated string roles = 2;
akka.protobufv3.internal.ByteString
getRolesBytes(int index)
repeated string roles = 2;
int
getRolesCount()
repeated string roles = 2;
akka.protobufv3.internal.ProtocolStringList
getRolesList()
repeated string roles = 2;
boolean
hasAppVersion()
optional string appVersion = 3;
boolean
hasNode()
required .UniqueAddress node = 1;
protected akka.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ClusterMessages.Join.Builder
mergeFrom(ClusterMessages.Join other)
ClusterMessages.Join.Builder
mergeFrom(akka.protobufv3.internal.CodedInputStream input, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
ClusterMessages.Join.Builder
mergeFrom(akka.protobufv3.internal.Message other)
ClusterMessages.Join.Builder
mergeNode(ClusterMessages.UniqueAddress value)
required .UniqueAddress node = 1;
ClusterMessages.Join.Builder
mergeUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
ClusterMessages.Join.Builder
setAppVersion(java.lang.String value)
optional string appVersion = 3;
ClusterMessages.Join.Builder
setAppVersionBytes(akka.protobufv3.internal.ByteString value)
optional string appVersion = 3;
ClusterMessages.Join.Builder
setField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
ClusterMessages.Join.Builder
setNode(ClusterMessages.UniqueAddress value)
required .UniqueAddress node = 1;
ClusterMessages.Join.Builder
setNode(ClusterMessages.UniqueAddress.Builder builderForValue)
required .UniqueAddress node = 1;
ClusterMessages.Join.Builder
setRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ClusterMessages.Join.Builder
setRoles(int index, java.lang.String value)
repeated string roles = 2;
ClusterMessages.Join.Builder
setUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
-
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.Join.Builder>
-
clear
public ClusterMessages.Join.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.Join.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.Join.Builder>
-
getDefaultInstanceForType
public ClusterMessages.Join getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageOrBuilder
-
build
public ClusterMessages.Join build()
- Specified by:
build
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
build
in interfaceakka.protobufv3.internal.MessageLite.Builder
-
buildPartial
public ClusterMessages.Join buildPartial()
- Specified by:
buildPartial
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
buildPartial
in interfaceakka.protobufv3.internal.MessageLite.Builder
-
clone
public ClusterMessages.Join.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.Join.Builder>
-
setField
public ClusterMessages.Join.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.Join.Builder>
-
clearField
public ClusterMessages.Join.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.Join.Builder>
-
clearOneof
public ClusterMessages.Join.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.Join.Builder>
-
setRepeatedField
public ClusterMessages.Join.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.Join.Builder>
-
addRepeatedField
public ClusterMessages.Join.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.Join.Builder>
-
mergeFrom
public ClusterMessages.Join.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.Join.Builder>
-
mergeFrom
public ClusterMessages.Join.Builder mergeFrom(ClusterMessages.Join other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Overrides:
isInitialized
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.Join.Builder>
-
mergeFrom
public ClusterMessages.Join.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.Join.Builder>
- Throws:
java.io.IOException
-
hasNode
public boolean hasNode()
required .UniqueAddress node = 1;
- Specified by:
hasNode
in interfaceClusterMessages.JoinOrBuilder
- Returns:
- Whether the node field is set.
-
getNode
public ClusterMessages.UniqueAddress getNode()
required .UniqueAddress node = 1;
- Specified by:
getNode
in interfaceClusterMessages.JoinOrBuilder
- Returns:
- The node.
-
setNode
public ClusterMessages.Join.Builder setNode(ClusterMessages.UniqueAddress value)
required .UniqueAddress node = 1;
-
setNode
public ClusterMessages.Join.Builder setNode(ClusterMessages.UniqueAddress.Builder builderForValue)
required .UniqueAddress node = 1;
-
mergeNode
public ClusterMessages.Join.Builder mergeNode(ClusterMessages.UniqueAddress value)
required .UniqueAddress node = 1;
-
clearNode
public ClusterMessages.Join.Builder clearNode()
required .UniqueAddress node = 1;
-
getNodeBuilder
public ClusterMessages.UniqueAddress.Builder getNodeBuilder()
required .UniqueAddress node = 1;
-
getNodeOrBuilder
public ClusterMessages.UniqueAddressOrBuilder getNodeOrBuilder()
required .UniqueAddress node = 1;
- Specified by:
getNodeOrBuilder
in interfaceClusterMessages.JoinOrBuilder
-
getRolesList
public akka.protobufv3.internal.ProtocolStringList getRolesList()
repeated string roles = 2;
- Specified by:
getRolesList
in interfaceClusterMessages.JoinOrBuilder
- Returns:
- A list containing the roles.
-
getRolesCount
public int getRolesCount()
repeated string roles = 2;
- Specified by:
getRolesCount
in interfaceClusterMessages.JoinOrBuilder
- Returns:
- The count of roles.
-
getRoles
public java.lang.String getRoles(int index)
repeated string roles = 2;
- Specified by:
getRoles
in interfaceClusterMessages.JoinOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The roles at the given index.
-
getRolesBytes
public akka.protobufv3.internal.ByteString getRolesBytes(int index)
repeated string roles = 2;
- Specified by:
getRolesBytes
in interfaceClusterMessages.JoinOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the roles at the given index.
-
setRoles
public ClusterMessages.Join.Builder setRoles(int index, java.lang.String value)
repeated string roles = 2;
- Parameters:
index
- The index to set the value at.value
- The roles to set.- Returns:
- This builder for chaining.
-
addRoles
public ClusterMessages.Join.Builder addRoles(java.lang.String value)
repeated string roles = 2;
- Parameters:
value
- The roles to add.- Returns:
- This builder for chaining.
-
addAllRoles
public ClusterMessages.Join.Builder addAllRoles(java.lang.Iterable<java.lang.String> values)
repeated string roles = 2;
- Parameters:
values
- The roles to add.- Returns:
- This builder for chaining.
-
clearRoles
public ClusterMessages.Join.Builder clearRoles()
repeated string roles = 2;
- Returns:
- This builder for chaining.
-
addRolesBytes
public ClusterMessages.Join.Builder addRolesBytes(akka.protobufv3.internal.ByteString value)
repeated string roles = 2;
- Parameters:
value
- The bytes of the roles to add.- Returns:
- This builder for chaining.
-
hasAppVersion
public boolean hasAppVersion()
optional string appVersion = 3;
- Specified by:
hasAppVersion
in interfaceClusterMessages.JoinOrBuilder
- Returns:
- Whether the appVersion field is set.
-
getAppVersion
public java.lang.String getAppVersion()
optional string appVersion = 3;
- Specified by:
getAppVersion
in interfaceClusterMessages.JoinOrBuilder
- Returns:
- The appVersion.
-
getAppVersionBytes
public akka.protobufv3.internal.ByteString getAppVersionBytes()
optional string appVersion = 3;
- Specified by:
getAppVersionBytes
in interfaceClusterMessages.JoinOrBuilder
- Returns:
- The bytes for appVersion.
-
setAppVersion
public ClusterMessages.Join.Builder setAppVersion(java.lang.String value)
optional string appVersion = 3;
- Parameters:
value
- The appVersion to set.- Returns:
- This builder for chaining.
-
clearAppVersion
public ClusterMessages.Join.Builder clearAppVersion()
optional string appVersion = 3;
- Returns:
- This builder for chaining.
-
setAppVersionBytes
public ClusterMessages.Join.Builder setAppVersionBytes(akka.protobufv3.internal.ByteString value)
optional string appVersion = 3;
- Parameters:
value
- The bytes for appVersion to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ClusterMessages.Join.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.Join.Builder>
-
mergeUnknownFields
public final ClusterMessages.Join.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.Join.Builder>
-
-