Package akka.cluster.protobuf.msg
Class ClusterMessages.ClusterRouterPoolSettings.Builder
- java.lang.Object
-
- akka.protobufv3.internal.AbstractMessageLite.Builder
-
- akka.protobufv3.internal.AbstractMessage.Builder<BuilderT>
-
- akka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.ClusterRouterPoolSettings.Builder>
-
- akka.cluster.protobuf.msg.ClusterMessages.ClusterRouterPoolSettings.Builder
-
- All Implemented Interfaces:
ClusterMessages.ClusterRouterPoolSettingsOrBuilder
,akka.protobufv3.internal.Message.Builder
,akka.protobufv3.internal.MessageLite.Builder
,akka.protobufv3.internal.MessageLiteOrBuilder
,akka.protobufv3.internal.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- ClusterMessages.ClusterRouterPoolSettings
public static final class ClusterMessages.ClusterRouterPoolSettings.Builder extends akka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.ClusterRouterPoolSettings.Builder> implements ClusterMessages.ClusterRouterPoolSettingsOrBuilder
Protobuf typeClusterRouterPoolSettings
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterMessages.ClusterRouterPoolSettings.Builder
addAllUseRoles(java.lang.Iterable<java.lang.String> values)
repeated string useRoles = 5;
ClusterMessages.ClusterRouterPoolSettings.Builder
addRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
ClusterMessages.ClusterRouterPoolSettings.Builder
addUseRoles(java.lang.String value)
repeated string useRoles = 5;
ClusterMessages.ClusterRouterPoolSettings.Builder
addUseRolesBytes(akka.protobufv3.internal.ByteString value)
repeated string useRoles = 5;
ClusterMessages.ClusterRouterPoolSettings
build()
ClusterMessages.ClusterRouterPoolSettings
buildPartial()
ClusterMessages.ClusterRouterPoolSettings.Builder
clear()
ClusterMessages.ClusterRouterPoolSettings.Builder
clearAllowLocalRoutees()
required bool allowLocalRoutees = 3;
ClusterMessages.ClusterRouterPoolSettings.Builder
clearField(akka.protobufv3.internal.Descriptors.FieldDescriptor field)
ClusterMessages.ClusterRouterPoolSettings.Builder
clearMaxInstancesPerNode()
required uint32 maxInstancesPerNode = 2;
ClusterMessages.ClusterRouterPoolSettings.Builder
clearOneof(akka.protobufv3.internal.Descriptors.OneofDescriptor oneof)
ClusterMessages.ClusterRouterPoolSettings.Builder
clearTotalInstances()
required uint32 totalInstances = 1;
ClusterMessages.ClusterRouterPoolSettings.Builder
clearUseRole()
optional string useRole = 4;
ClusterMessages.ClusterRouterPoolSettings.Builder
clearUseRoles()
repeated string useRoles = 5;
ClusterMessages.ClusterRouterPoolSettings.Builder
clone()
boolean
getAllowLocalRoutees()
required bool allowLocalRoutees = 3;
ClusterMessages.ClusterRouterPoolSettings
getDefaultInstanceForType()
static akka.protobufv3.internal.Descriptors.Descriptor
getDescriptor()
akka.protobufv3.internal.Descriptors.Descriptor
getDescriptorForType()
int
getMaxInstancesPerNode()
required uint32 maxInstancesPerNode = 2;
int
getTotalInstances()
required uint32 totalInstances = 1;
java.lang.String
getUseRole()
optional string useRole = 4;
akka.protobufv3.internal.ByteString
getUseRoleBytes()
optional string useRole = 4;
java.lang.String
getUseRoles(int index)
repeated string useRoles = 5;
akka.protobufv3.internal.ByteString
getUseRolesBytes(int index)
repeated string useRoles = 5;
int
getUseRolesCount()
repeated string useRoles = 5;
akka.protobufv3.internal.ProtocolStringList
getUseRolesList()
repeated string useRoles = 5;
boolean
hasAllowLocalRoutees()
required bool allowLocalRoutees = 3;
boolean
hasMaxInstancesPerNode()
required uint32 maxInstancesPerNode = 2;
boolean
hasTotalInstances()
required uint32 totalInstances = 1;
boolean
hasUseRole()
optional string useRole = 4;
protected akka.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ClusterMessages.ClusterRouterPoolSettings.Builder
mergeFrom(ClusterMessages.ClusterRouterPoolSettings other)
ClusterMessages.ClusterRouterPoolSettings.Builder
mergeFrom(akka.protobufv3.internal.CodedInputStream input, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
ClusterMessages.ClusterRouterPoolSettings.Builder
mergeFrom(akka.protobufv3.internal.Message other)
ClusterMessages.ClusterRouterPoolSettings.Builder
mergeUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
ClusterMessages.ClusterRouterPoolSettings.Builder
setAllowLocalRoutees(boolean value)
required bool allowLocalRoutees = 3;
ClusterMessages.ClusterRouterPoolSettings.Builder
setField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
ClusterMessages.ClusterRouterPoolSettings.Builder
setMaxInstancesPerNode(int value)
required uint32 maxInstancesPerNode = 2;
ClusterMessages.ClusterRouterPoolSettings.Builder
setRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ClusterMessages.ClusterRouterPoolSettings.Builder
setTotalInstances(int value)
required uint32 totalInstances = 1;
ClusterMessages.ClusterRouterPoolSettings.Builder
setUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
ClusterMessages.ClusterRouterPoolSettings.Builder
setUseRole(java.lang.String value)
optional string useRole = 4;
ClusterMessages.ClusterRouterPoolSettings.Builder
setUseRoleBytes(akka.protobufv3.internal.ByteString value)
optional string useRole = 4;
ClusterMessages.ClusterRouterPoolSettings.Builder
setUseRoles(int index, java.lang.String value)
repeated string useRoles = 5;
-
Methods inherited from class akka.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 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.ClusterRouterPoolSettings.Builder>
-
clear
public ClusterMessages.ClusterRouterPoolSettings.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.ClusterRouterPoolSettings.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.ClusterRouterPoolSettings.Builder>
-
getDefaultInstanceForType
public ClusterMessages.ClusterRouterPoolSettings getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageOrBuilder
-
build
public ClusterMessages.ClusterRouterPoolSettings build()
- Specified by:
build
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
build
in interfaceakka.protobufv3.internal.MessageLite.Builder
-
buildPartial
public ClusterMessages.ClusterRouterPoolSettings buildPartial()
- Specified by:
buildPartial
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
buildPartial
in interfaceakka.protobufv3.internal.MessageLite.Builder
-
clone
public ClusterMessages.ClusterRouterPoolSettings.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.ClusterRouterPoolSettings.Builder>
-
setField
public ClusterMessages.ClusterRouterPoolSettings.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.ClusterRouterPoolSettings.Builder>
-
clearField
public ClusterMessages.ClusterRouterPoolSettings.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.ClusterRouterPoolSettings.Builder>
-
clearOneof
public ClusterMessages.ClusterRouterPoolSettings.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.ClusterRouterPoolSettings.Builder>
-
setRepeatedField
public ClusterMessages.ClusterRouterPoolSettings.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.ClusterRouterPoolSettings.Builder>
-
addRepeatedField
public ClusterMessages.ClusterRouterPoolSettings.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.ClusterRouterPoolSettings.Builder>
-
mergeFrom
public ClusterMessages.ClusterRouterPoolSettings.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.ClusterRouterPoolSettings.Builder>
-
mergeFrom
public ClusterMessages.ClusterRouterPoolSettings.Builder mergeFrom(ClusterMessages.ClusterRouterPoolSettings other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Overrides:
isInitialized
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.ClusterRouterPoolSettings.Builder>
-
mergeFrom
public ClusterMessages.ClusterRouterPoolSettings.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.ClusterRouterPoolSettings.Builder>
- Throws:
java.io.IOException
-
hasTotalInstances
public boolean hasTotalInstances()
required uint32 totalInstances = 1;
- Specified by:
hasTotalInstances
in interfaceClusterMessages.ClusterRouterPoolSettingsOrBuilder
- Returns:
- Whether the totalInstances field is set.
-
getTotalInstances
public int getTotalInstances()
required uint32 totalInstances = 1;
- Specified by:
getTotalInstances
in interfaceClusterMessages.ClusterRouterPoolSettingsOrBuilder
- Returns:
- The totalInstances.
-
setTotalInstances
public ClusterMessages.ClusterRouterPoolSettings.Builder setTotalInstances(int value)
required uint32 totalInstances = 1;
- Parameters:
value
- The totalInstances to set.- Returns:
- This builder for chaining.
-
clearTotalInstances
public ClusterMessages.ClusterRouterPoolSettings.Builder clearTotalInstances()
required uint32 totalInstances = 1;
- Returns:
- This builder for chaining.
-
hasMaxInstancesPerNode
public boolean hasMaxInstancesPerNode()
required uint32 maxInstancesPerNode = 2;
- Specified by:
hasMaxInstancesPerNode
in interfaceClusterMessages.ClusterRouterPoolSettingsOrBuilder
- Returns:
- Whether the maxInstancesPerNode field is set.
-
getMaxInstancesPerNode
public int getMaxInstancesPerNode()
required uint32 maxInstancesPerNode = 2;
- Specified by:
getMaxInstancesPerNode
in interfaceClusterMessages.ClusterRouterPoolSettingsOrBuilder
- Returns:
- The maxInstancesPerNode.
-
setMaxInstancesPerNode
public ClusterMessages.ClusterRouterPoolSettings.Builder setMaxInstancesPerNode(int value)
required uint32 maxInstancesPerNode = 2;
- Parameters:
value
- The maxInstancesPerNode to set.- Returns:
- This builder for chaining.
-
clearMaxInstancesPerNode
public ClusterMessages.ClusterRouterPoolSettings.Builder clearMaxInstancesPerNode()
required uint32 maxInstancesPerNode = 2;
- Returns:
- This builder for chaining.
-
hasAllowLocalRoutees
public boolean hasAllowLocalRoutees()
required bool allowLocalRoutees = 3;
- Specified by:
hasAllowLocalRoutees
in interfaceClusterMessages.ClusterRouterPoolSettingsOrBuilder
- Returns:
- Whether the allowLocalRoutees field is set.
-
getAllowLocalRoutees
public boolean getAllowLocalRoutees()
required bool allowLocalRoutees = 3;
- Specified by:
getAllowLocalRoutees
in interfaceClusterMessages.ClusterRouterPoolSettingsOrBuilder
- Returns:
- The allowLocalRoutees.
-
setAllowLocalRoutees
public ClusterMessages.ClusterRouterPoolSettings.Builder setAllowLocalRoutees(boolean value)
required bool allowLocalRoutees = 3;
- Parameters:
value
- The allowLocalRoutees to set.- Returns:
- This builder for chaining.
-
clearAllowLocalRoutees
public ClusterMessages.ClusterRouterPoolSettings.Builder clearAllowLocalRoutees()
required bool allowLocalRoutees = 3;
- Returns:
- This builder for chaining.
-
hasUseRole
public boolean hasUseRole()
optional string useRole = 4;
- Specified by:
hasUseRole
in interfaceClusterMessages.ClusterRouterPoolSettingsOrBuilder
- Returns:
- Whether the useRole field is set.
-
getUseRole
public java.lang.String getUseRole()
optional string useRole = 4;
- Specified by:
getUseRole
in interfaceClusterMessages.ClusterRouterPoolSettingsOrBuilder
- Returns:
- The useRole.
-
getUseRoleBytes
public akka.protobufv3.internal.ByteString getUseRoleBytes()
optional string useRole = 4;
- Specified by:
getUseRoleBytes
in interfaceClusterMessages.ClusterRouterPoolSettingsOrBuilder
- Returns:
- The bytes for useRole.
-
setUseRole
public ClusterMessages.ClusterRouterPoolSettings.Builder setUseRole(java.lang.String value)
optional string useRole = 4;
- Parameters:
value
- The useRole to set.- Returns:
- This builder for chaining.
-
clearUseRole
public ClusterMessages.ClusterRouterPoolSettings.Builder clearUseRole()
optional string useRole = 4;
- Returns:
- This builder for chaining.
-
setUseRoleBytes
public ClusterMessages.ClusterRouterPoolSettings.Builder setUseRoleBytes(akka.protobufv3.internal.ByteString value)
optional string useRole = 4;
- Parameters:
value
- The bytes for useRole to set.- Returns:
- This builder for chaining.
-
getUseRolesList
public akka.protobufv3.internal.ProtocolStringList getUseRolesList()
repeated string useRoles = 5;
- Specified by:
getUseRolesList
in interfaceClusterMessages.ClusterRouterPoolSettingsOrBuilder
- Returns:
- A list containing the useRoles.
-
getUseRolesCount
public int getUseRolesCount()
repeated string useRoles = 5;
- Specified by:
getUseRolesCount
in interfaceClusterMessages.ClusterRouterPoolSettingsOrBuilder
- Returns:
- The count of useRoles.
-
getUseRoles
public java.lang.String getUseRoles(int index)
repeated string useRoles = 5;
- Specified by:
getUseRoles
in interfaceClusterMessages.ClusterRouterPoolSettingsOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The useRoles at the given index.
-
getUseRolesBytes
public akka.protobufv3.internal.ByteString getUseRolesBytes(int index)
repeated string useRoles = 5;
- Specified by:
getUseRolesBytes
in interfaceClusterMessages.ClusterRouterPoolSettingsOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the useRoles at the given index.
-
setUseRoles
public ClusterMessages.ClusterRouterPoolSettings.Builder setUseRoles(int index, java.lang.String value)
repeated string useRoles = 5;
- Parameters:
index
- The index to set the value at.value
- The useRoles to set.- Returns:
- This builder for chaining.
-
addUseRoles
public ClusterMessages.ClusterRouterPoolSettings.Builder addUseRoles(java.lang.String value)
repeated string useRoles = 5;
- Parameters:
value
- The useRoles to add.- Returns:
- This builder for chaining.
-
addAllUseRoles
public ClusterMessages.ClusterRouterPoolSettings.Builder addAllUseRoles(java.lang.Iterable<java.lang.String> values)
repeated string useRoles = 5;
- Parameters:
values
- The useRoles to add.- Returns:
- This builder for chaining.
-
clearUseRoles
public ClusterMessages.ClusterRouterPoolSettings.Builder clearUseRoles()
repeated string useRoles = 5;
- Returns:
- This builder for chaining.
-
addUseRolesBytes
public ClusterMessages.ClusterRouterPoolSettings.Builder addUseRolesBytes(akka.protobufv3.internal.ByteString value)
repeated string useRoles = 5;
- Parameters:
value
- The bytes of the useRoles to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ClusterMessages.ClusterRouterPoolSettings.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.ClusterRouterPoolSettings.Builder>
-
mergeUnknownFields
public final ClusterMessages.ClusterRouterPoolSettings.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.ClusterRouterPoolSettings.Builder>
-
-