Class ClusterMessages.Member.Builder
- java.lang.Object
-
- org.apache.pekko.protobufv3.internal.AbstractMessageLite.Builder
-
- org.apache.pekko.protobufv3.internal.AbstractMessage.Builder<BuilderT>
-
- org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.Member.Builder>
-
- org.apache.pekko.cluster.protobuf.msg.ClusterMessages.Member.Builder
-
- All Implemented Interfaces:
java.lang.Cloneable
,ClusterMessages.MemberOrBuilder
,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.Member
public static final class ClusterMessages.Member.Builder extends org.apache.pekko.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(org.apache.pekko.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(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field)
ClusterMessages.Member.Builder
clearOneof(org.apache.pekko.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 org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptor()
org.apache.pekko.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 org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ClusterMessages.Member.Builder
mergeFrom(ClusterMessages.Member other)
ClusterMessages.Member.Builder
mergeFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
ClusterMessages.Member.Builder
mergeFrom(org.apache.pekko.protobufv3.internal.Message other)
ClusterMessages.Member.Builder
mergeUnknownFields(org.apache.pekko.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(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
ClusterMessages.Member.Builder
setRepeatedField(org.apache.pekko.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(org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields)
ClusterMessages.Member.Builder
setUpNumber(int value)
required int32 upNumber = 2;
-
Methods inherited from class org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class org.apache.pekko.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 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.Member.Builder>
-
clear
public ClusterMessages.Member.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.Member.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.Member.Builder>
-
getDefaultInstanceForType
public ClusterMessages.Member getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
-
build
public ClusterMessages.Member 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.Member 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.Member.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.Member.Builder>
-
setField
public ClusterMessages.Member.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.Member.Builder>
-
clearField
public ClusterMessages.Member.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.Member.Builder>
-
clearOneof
public ClusterMessages.Member.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.Member.Builder>
-
setRepeatedField
public ClusterMessages.Member.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.Member.Builder>
-
addRepeatedField
public ClusterMessages.Member.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.Member.Builder>
-
mergeFrom
public ClusterMessages.Member.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.Member.Builder>
-
mergeFrom
public ClusterMessages.Member.Builder mergeFrom(ClusterMessages.Member 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.Member.Builder>
-
mergeFrom
public ClusterMessages.Member.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.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(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.Member.Builder>
-
mergeUnknownFields
public final ClusterMessages.Member.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.Member.Builder>
-
-