Class ClusterMessages.ClusterRouterPoolSettings
- java.lang.Object
-
- org.apache.pekko.protobufv3.internal.AbstractMessageLite
-
- org.apache.pekko.protobufv3.internal.AbstractMessage
-
- org.apache.pekko.protobufv3.internal.GeneratedMessage
-
- org.apache.pekko.cluster.protobuf.msg.ClusterMessages.ClusterRouterPoolSettings
-
- All Implemented Interfaces:
java.io.Serializable
,ClusterMessages.ClusterRouterPoolSettingsOrBuilder
,org.apache.pekko.protobufv3.internal.Message
,org.apache.pekko.protobufv3.internal.MessageLite
,org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
,org.apache.pekko.protobufv3.internal.MessageOrBuilder
- Enclosing class:
- ClusterMessages
public static final class ClusterMessages.ClusterRouterPoolSettings extends org.apache.pekko.protobufv3.internal.GeneratedMessage implements ClusterMessages.ClusterRouterPoolSettingsOrBuilder
Protobuf typeClusterRouterPoolSettings
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClusterMessages.ClusterRouterPoolSettings.Builder
Protobuf typeClusterRouterPoolSettings
-
Nested classes/interfaces inherited from class org.apache.pekko.protobufv3.internal.GeneratedMessage
org.apache.pekko.protobufv3.internal.GeneratedMessage.ExtendableBuilder<MessageT extends org.apache.pekko.protobufv3.internal.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends org.apache.pekko.protobufv3.internal.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, org.apache.pekko.protobufv3.internal.GeneratedMessage.ExtendableMessage<MessageT extends org.apache.pekko.protobufv3.internal.GeneratedMessage.ExtendableMessage<MessageT>>, org.apache.pekko.protobufv3.internal.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends org.apache.pekko.protobufv3.internal.GeneratedMessage.ExtendableMessage<MessageT>>, org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable, org.apache.pekko.protobufv3.internal.GeneratedMessage.GeneratedExtension<ContainingT extends org.apache.pekko.protobufv3.internal.Message,T extends java.lang.Object>, org.apache.pekko.protobufv3.internal.GeneratedMessage.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ALLOWLOCALROUTEES_FIELD_NUMBER
static int
MAXINSTANCESPERNODE_FIELD_NUMBER
static int
TOTALINSTANCES_FIELD_NUMBER
static int
USEROLE_FIELD_NUMBER
static int
USEROLES_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
boolean
getAllowLocalRoutees()
required bool allowLocalRoutees = 3;
static ClusterMessages.ClusterRouterPoolSettings
getDefaultInstance()
ClusterMessages.ClusterRouterPoolSettings
getDefaultInstanceForType()
static org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptor()
int
getMaxInstancesPerNode()
required uint32 maxInstancesPerNode = 2;
org.apache.pekko.protobufv3.internal.Parser<ClusterMessages.ClusterRouterPoolSettings>
getParserForType()
int
getSerializedSize()
int
getTotalInstances()
required uint32 totalInstances = 1;
java.lang.String
getUseRole()
optional string useRole = 4;
org.apache.pekko.protobufv3.internal.ByteString
getUseRoleBytes()
optional string useRole = 4;
java.lang.String
getUseRoles(int index)
repeated string useRoles = 5;
org.apache.pekko.protobufv3.internal.ByteString
getUseRolesBytes(int index)
repeated string useRoles = 5;
int
getUseRolesCount()
repeated string useRoles = 5;
org.apache.pekko.protobufv3.internal.ProtocolStringList
getUseRolesList()
repeated string useRoles = 5;
boolean
hasAllowLocalRoutees()
required bool allowLocalRoutees = 3;
int
hashCode()
boolean
hasMaxInstancesPerNode()
required uint32 maxInstancesPerNode = 2;
boolean
hasTotalInstances()
required uint32 totalInstances = 1;
boolean
hasUseRole()
optional string useRole = 4;
protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static ClusterMessages.ClusterRouterPoolSettings.Builder
newBuilder()
static ClusterMessages.ClusterRouterPoolSettings.Builder
newBuilder(ClusterMessages.ClusterRouterPoolSettings prototype)
ClusterMessages.ClusterRouterPoolSettings.Builder
newBuilderForType()
protected ClusterMessages.ClusterRouterPoolSettings.Builder
newBuilderForType(org.apache.pekko.protobufv3.internal.AbstractMessage.BuilderParent parent)
static ClusterMessages.ClusterRouterPoolSettings
parseDelimitedFrom(java.io.InputStream input)
static ClusterMessages.ClusterRouterPoolSettings
parseDelimitedFrom(java.io.InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
static ClusterMessages.ClusterRouterPoolSettings
parseFrom(byte[] data)
static ClusterMessages.ClusterRouterPoolSettings
parseFrom(byte[] data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
static ClusterMessages.ClusterRouterPoolSettings
parseFrom(java.io.InputStream input)
static ClusterMessages.ClusterRouterPoolSettings
parseFrom(java.io.InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
static ClusterMessages.ClusterRouterPoolSettings
parseFrom(java.nio.ByteBuffer data)
static ClusterMessages.ClusterRouterPoolSettings
parseFrom(java.nio.ByteBuffer data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
static ClusterMessages.ClusterRouterPoolSettings
parseFrom(org.apache.pekko.protobufv3.internal.ByteString data)
static ClusterMessages.ClusterRouterPoolSettings
parseFrom(org.apache.pekko.protobufv3.internal.ByteString data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
static ClusterMessages.ClusterRouterPoolSettings
parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input)
static ClusterMessages.ClusterRouterPoolSettings
parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
static org.apache.pekko.protobufv3.internal.Parser<ClusterMessages.ClusterRouterPoolSettings>
parser()
ClusterMessages.ClusterRouterPoolSettings.Builder
toBuilder()
void
writeTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output)
-
Methods inherited from class org.apache.pekko.protobufv3.internal.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
-
Methods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
TOTALINSTANCES_FIELD_NUMBER
public static final int TOTALINSTANCES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAXINSTANCESPERNODE_FIELD_NUMBER
public static final int MAXINSTANCESPERNODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ALLOWLOCALROUTEES_FIELD_NUMBER
public static final int ALLOWLOCALROUTEES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USEROLE_FIELD_NUMBER
public static final int USEROLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USEROLES_FIELD_NUMBER
public static final int USEROLES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDescriptor
public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classorg.apache.pekko.protobufv3.internal.GeneratedMessage
-
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.
-
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.
-
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.
-
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 org.apache.pekko.protobufv3.internal.ByteString getUseRoleBytes()
optional string useRole = 4;
- Specified by:
getUseRoleBytes
in interfaceClusterMessages.ClusterRouterPoolSettingsOrBuilder
- Returns:
- The bytes for useRole.
-
getUseRolesList
public org.apache.pekko.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 org.apache.pekko.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.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
- Overrides:
isInitialized
in classorg.apache.pekko.protobufv3.internal.GeneratedMessage
-
writeTo
public void writeTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite
- Overrides:
writeTo
in classorg.apache.pekko.protobufv3.internal.GeneratedMessage
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite
- Overrides:
getSerializedSize
in classorg.apache.pekko.protobufv3.internal.GeneratedMessage
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfaceorg.apache.pekko.protobufv3.internal.Message
- Overrides:
equals
in classorg.apache.pekko.protobufv3.internal.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfaceorg.apache.pekko.protobufv3.internal.Message
- Overrides:
hashCode
in classorg.apache.pekko.protobufv3.internal.AbstractMessage
-
parseFrom
public static ClusterMessages.ClusterRouterPoolSettings parseFrom(java.nio.ByteBuffer data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
- Throws:
org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static ClusterMessages.ClusterRouterPoolSettings parseFrom(java.nio.ByteBuffer data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
- Throws:
org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static ClusterMessages.ClusterRouterPoolSettings parseFrom(org.apache.pekko.protobufv3.internal.ByteString data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
- Throws:
org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static ClusterMessages.ClusterRouterPoolSettings parseFrom(org.apache.pekko.protobufv3.internal.ByteString data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
- Throws:
org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static ClusterMessages.ClusterRouterPoolSettings parseFrom(byte[] data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
- Throws:
org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static ClusterMessages.ClusterRouterPoolSettings parseFrom(byte[] data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
- Throws:
org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static ClusterMessages.ClusterRouterPoolSettings parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ClusterMessages.ClusterRouterPoolSettings parseFrom(java.io.InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ClusterMessages.ClusterRouterPoolSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ClusterMessages.ClusterRouterPoolSettings parseDelimitedFrom(java.io.InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ClusterMessages.ClusterRouterPoolSettings parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ClusterMessages.ClusterRouterPoolSettings parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public ClusterMessages.ClusterRouterPoolSettings.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfaceorg.apache.pekko.protobufv3.internal.Message
- Specified by:
newBuilderForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite
-
newBuilder
public static ClusterMessages.ClusterRouterPoolSettings.Builder newBuilder()
-
newBuilder
public static ClusterMessages.ClusterRouterPoolSettings.Builder newBuilder(ClusterMessages.ClusterRouterPoolSettings prototype)
-
toBuilder
public ClusterMessages.ClusterRouterPoolSettings.Builder toBuilder()
- Specified by:
toBuilder
in interfaceorg.apache.pekko.protobufv3.internal.Message
- Specified by:
toBuilder
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite
-
newBuilderForType
protected ClusterMessages.ClusterRouterPoolSettings.Builder newBuilderForType(org.apache.pekko.protobufv3.internal.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForType
in classorg.apache.pekko.protobufv3.internal.AbstractMessage
-
getDefaultInstance
public static ClusterMessages.ClusterRouterPoolSettings getDefaultInstance()
-
parser
public static org.apache.pekko.protobufv3.internal.Parser<ClusterMessages.ClusterRouterPoolSettings> parser()
-
getParserForType
public org.apache.pekko.protobufv3.internal.Parser<ClusterMessages.ClusterRouterPoolSettings> getParserForType()
- Specified by:
getParserForType
in interfaceorg.apache.pekko.protobufv3.internal.Message
- Specified by:
getParserForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite
- Overrides:
getParserForType
in classorg.apache.pekko.protobufv3.internal.GeneratedMessage
-
getDefaultInstanceForType
public ClusterMessages.ClusterRouterPoolSettings getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
-
-