Package akka.cluster.protobuf.msg
Class ClusterMessages.Member.Builder
- java.lang.Object
-
- akka.protobufv3.internal.AbstractMessageLite.Builder
-
- akka.protobufv3.internal.AbstractMessage.Builder<BuilderT>
-
- akka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.Member.Builder>
-
- akka.cluster.protobuf.msg.ClusterMessages.Member.Builder
-
- All Implemented Interfaces:
ClusterMessages.MemberOrBuilder
,akka.protobufv3.internal.Message.Builder
,akka.protobufv3.internal.MessageLite.Builder
,akka.protobufv3.internal.MessageLiteOrBuilder
,akka.protobufv3.internal.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- ClusterMessages.Member
public static final class ClusterMessages.Member.Builder extends akka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.Member.Builder> implements ClusterMessages.MemberOrBuilder
Member
Protobuf typeMember
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterMessages.Member.Builder
addAllRolesIndexes(java.lang.Iterable<? extends java.lang.Integer> values)
repeated int32 rolesIndexes = 4 [packed = true];
ClusterMessages.Member.Builder
addRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
ClusterMessages.Member.Builder
addRolesIndexes(int value)
repeated int32 rolesIndexes = 4 [packed = true];
ClusterMessages.Member
build()
ClusterMessages.Member
buildPartial()
ClusterMessages.Member.Builder
clear()
ClusterMessages.Member.Builder
clearAddressIndex()
required int32 addressIndex = 1;
ClusterMessages.Member.Builder
clearAppVersionIndex()
optional int32 appVersionIndex = 5;
ClusterMessages.Member.Builder
clearField(akka.protobufv3.internal.Descriptors.FieldDescriptor field)
ClusterMessages.Member.Builder
clearOneof(akka.protobufv3.internal.Descriptors.OneofDescriptor oneof)
ClusterMessages.Member.Builder
clearRolesIndexes()
repeated int32 rolesIndexes = 4 [packed = true];
ClusterMessages.Member.Builder
clearStatus()
required .MemberStatus status = 3;
ClusterMessages.Member.Builder
clearUpNumber()
required int32 upNumber = 2;
ClusterMessages.Member.Builder
clone()
int
getAddressIndex()
required int32 addressIndex = 1;
int
getAppVersionIndex()
optional int32 appVersionIndex = 5;
ClusterMessages.Member
getDefaultInstanceForType()
static akka.protobufv3.internal.Descriptors.Descriptor
getDescriptor()
akka.protobufv3.internal.Descriptors.Descriptor
getDescriptorForType()
int
getRolesIndexes(int index)
repeated int32 rolesIndexes = 4 [packed = true];
int
getRolesIndexesCount()
repeated int32 rolesIndexes = 4 [packed = true];
java.util.List<java.lang.Integer>
getRolesIndexesList()
repeated int32 rolesIndexes = 4 [packed = true];
ClusterMessages.MemberStatus
getStatus()
required .MemberStatus status = 3;
int
getUpNumber()
required int32 upNumber = 2;
boolean
hasAddressIndex()
required int32 addressIndex = 1;
boolean
hasAppVersionIndex()
optional int32 appVersionIndex = 5;
boolean
hasStatus()
required .MemberStatus status = 3;
boolean
hasUpNumber()
required int32 upNumber = 2;
protected akka.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ClusterMessages.Member.Builder
mergeFrom(ClusterMessages.Member other)
ClusterMessages.Member.Builder
mergeFrom(akka.protobufv3.internal.CodedInputStream input, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
ClusterMessages.Member.Builder
mergeFrom(akka.protobufv3.internal.Message other)
ClusterMessages.Member.Builder
mergeUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
ClusterMessages.Member.Builder
setAddressIndex(int value)
required int32 addressIndex = 1;
ClusterMessages.Member.Builder
setAppVersionIndex(int value)
optional int32 appVersionIndex = 5;
ClusterMessages.Member.Builder
setField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
ClusterMessages.Member.Builder
setRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ClusterMessages.Member.Builder
setRolesIndexes(int index, int value)
repeated int32 rolesIndexes = 4 [packed = true];
ClusterMessages.Member.Builder
setStatus(ClusterMessages.MemberStatus value)
required .MemberStatus status = 3;
ClusterMessages.Member.Builder
setUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
ClusterMessages.Member.Builder
setUpNumber(int value)
required int32 upNumber = 2;
-
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.Member.Builder>
-
clear
public ClusterMessages.Member.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.Member.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.Member.Builder>
-
getDefaultInstanceForType
public ClusterMessages.Member getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageOrBuilder
-
build
public ClusterMessages.Member build()
- Specified by:
build
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
build
in interfaceakka.protobufv3.internal.MessageLite.Builder
-
buildPartial
public ClusterMessages.Member buildPartial()
- Specified by:
buildPartial
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
buildPartial
in interfaceakka.protobufv3.internal.MessageLite.Builder
-
clone
public ClusterMessages.Member.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.Member.Builder>
-
setField
public ClusterMessages.Member.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.Member.Builder>
-
clearField
public ClusterMessages.Member.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.Member.Builder>
-
clearOneof
public ClusterMessages.Member.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.Member.Builder>
-
setRepeatedField
public ClusterMessages.Member.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.Member.Builder>
-
addRepeatedField
public ClusterMessages.Member.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.Member.Builder>
-
mergeFrom
public ClusterMessages.Member.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.Member.Builder>
-
mergeFrom
public ClusterMessages.Member.Builder mergeFrom(ClusterMessages.Member other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Overrides:
isInitialized
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.Member.Builder>
-
mergeFrom
public ClusterMessages.Member.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.Member.Builder>
- Throws:
java.io.IOException
-
hasAddressIndex
public boolean hasAddressIndex()
required int32 addressIndex = 1;
- Specified by:
hasAddressIndex
in interfaceClusterMessages.MemberOrBuilder
- Returns:
- Whether the addressIndex field is set.
-
getAddressIndex
public int getAddressIndex()
required int32 addressIndex = 1;
- Specified by:
getAddressIndex
in interfaceClusterMessages.MemberOrBuilder
- Returns:
- The addressIndex.
-
setAddressIndex
public ClusterMessages.Member.Builder setAddressIndex(int value)
required int32 addressIndex = 1;
- Parameters:
value
- The addressIndex to set.- Returns:
- This builder for chaining.
-
clearAddressIndex
public ClusterMessages.Member.Builder clearAddressIndex()
required int32 addressIndex = 1;
- Returns:
- This builder for chaining.
-
hasUpNumber
public boolean hasUpNumber()
required int32 upNumber = 2;
- Specified by:
hasUpNumber
in interfaceClusterMessages.MemberOrBuilder
- Returns:
- Whether the upNumber field is set.
-
getUpNumber
public int getUpNumber()
required int32 upNumber = 2;
- Specified by:
getUpNumber
in interfaceClusterMessages.MemberOrBuilder
- Returns:
- The upNumber.
-
setUpNumber
public ClusterMessages.Member.Builder setUpNumber(int value)
required int32 upNumber = 2;
- Parameters:
value
- The upNumber to set.- Returns:
- This builder for chaining.
-
clearUpNumber
public ClusterMessages.Member.Builder clearUpNumber()
required int32 upNumber = 2;
- Returns:
- This builder for chaining.
-
hasStatus
public boolean hasStatus()
required .MemberStatus status = 3;
- Specified by:
hasStatus
in interfaceClusterMessages.MemberOrBuilder
- Returns:
- Whether the status field is set.
-
getStatus
public ClusterMessages.MemberStatus getStatus()
required .MemberStatus status = 3;
- Specified by:
getStatus
in interfaceClusterMessages.MemberOrBuilder
- Returns:
- The status.
-
setStatus
public ClusterMessages.Member.Builder setStatus(ClusterMessages.MemberStatus value)
required .MemberStatus status = 3;
- Parameters:
value
- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
public ClusterMessages.Member.Builder clearStatus()
required .MemberStatus status = 3;
- Returns:
- This builder for chaining.
-
getRolesIndexesList
public java.util.List<java.lang.Integer> getRolesIndexesList()
repeated int32 rolesIndexes = 4 [packed = true];
- Specified by:
getRolesIndexesList
in interfaceClusterMessages.MemberOrBuilder
- Returns:
- A list containing the rolesIndexes.
-
getRolesIndexesCount
public int getRolesIndexesCount()
repeated int32 rolesIndexes = 4 [packed = true];
- Specified by:
getRolesIndexesCount
in interfaceClusterMessages.MemberOrBuilder
- Returns:
- The count of rolesIndexes.
-
getRolesIndexes
public int getRolesIndexes(int index)
repeated int32 rolesIndexes = 4 [packed = true];
- Specified by:
getRolesIndexes
in interfaceClusterMessages.MemberOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The rolesIndexes at the given index.
-
setRolesIndexes
public ClusterMessages.Member.Builder setRolesIndexes(int index, int value)
repeated int32 rolesIndexes = 4 [packed = true];
- Parameters:
index
- The index to set the value at.value
- The rolesIndexes to set.- Returns:
- This builder for chaining.
-
addRolesIndexes
public ClusterMessages.Member.Builder addRolesIndexes(int value)
repeated int32 rolesIndexes = 4 [packed = true];
- Parameters:
value
- The rolesIndexes to add.- Returns:
- This builder for chaining.
-
addAllRolesIndexes
public ClusterMessages.Member.Builder addAllRolesIndexes(java.lang.Iterable<? extends java.lang.Integer> values)
repeated int32 rolesIndexes = 4 [packed = true];
- Parameters:
values
- The rolesIndexes to add.- Returns:
- This builder for chaining.
-
clearRolesIndexes
public ClusterMessages.Member.Builder clearRolesIndexes()
repeated int32 rolesIndexes = 4 [packed = true];
- Returns:
- This builder for chaining.
-
hasAppVersionIndex
public boolean hasAppVersionIndex()
optional int32 appVersionIndex = 5;
- Specified by:
hasAppVersionIndex
in interfaceClusterMessages.MemberOrBuilder
- Returns:
- Whether the appVersionIndex field is set.
-
getAppVersionIndex
public int getAppVersionIndex()
optional int32 appVersionIndex = 5;
- Specified by:
getAppVersionIndex
in interfaceClusterMessages.MemberOrBuilder
- Returns:
- The appVersionIndex.
-
setAppVersionIndex
public ClusterMessages.Member.Builder setAppVersionIndex(int value)
optional int32 appVersionIndex = 5;
- Parameters:
value
- The appVersionIndex to set.- Returns:
- This builder for chaining.
-
clearAppVersionIndex
public ClusterMessages.Member.Builder clearAppVersionIndex()
optional int32 appVersionIndex = 5;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final ClusterMessages.Member.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.Member.Builder>
-
mergeUnknownFields
public final ClusterMessages.Member.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.Member.Builder>
-
-