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:
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 type
ClusterRouterPoolSettings- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeClusterRouterPoolSettingsNested 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 Object>, org.apache.pekko.protobufv3.internal.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class org.apache.pekko.protobufv3.internal.AbstractMessage
org.apache.pekko.protobufv3.internal.AbstractMessage.BuilderParentNested classes/interfaces inherited from class org.apache.pekko.protobufv3.internal.AbstractMessageLite
org.apache.pekko.protobufv3.internal.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class org.apache.pekko.protobufv3.internal.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class org.apache.pekko.protobufv3.internal.AbstractMessage
memoizedSizeFields inherited from class org.apache.pekko.protobufv3.internal.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanrequired bool allowLocalRoutees = 3;static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptorintrequired uint32 maxInstancesPerNode = 2;org.apache.pekko.protobufv3.internal.Parser<ClusterMessages.ClusterRouterPoolSettings>intintrequired uint32 totalInstances = 1;optional string useRole = 4;org.apache.pekko.protobufv3.internal.ByteStringoptional string useRole = 4;getUseRoles(int index) repeated string useRoles = 5;org.apache.pekko.protobufv3.internal.ByteStringgetUseRolesBytes(int index) repeated string useRoles = 5;intrepeated string useRoles = 5;org.apache.pekko.protobufv3.internal.ProtocolStringListrepeated string useRoles = 5;booleanrequired bool allowLocalRoutees = 3;inthashCode()booleanrequired uint32 maxInstancesPerNode = 2;booleanrequired uint32 totalInstances = 1;booleanoptional string useRole = 4;protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTablefinal booleannewBuilderForType(org.apache.pekko.protobufv3.internal.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) parseFrom(org.apache.pekko.protobufv3.internal.ByteString data) parseFrom(org.apache.pekko.protobufv3.internal.ByteString data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input) 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()voidwriteTo(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, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.pekko.protobufv3.internal.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface org.apache.pekko.protobufv3.internal.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
TOTALINSTANCES_FIELD_NUMBER
public static final int TOTALINSTANCES_FIELD_NUMBER- See Also:
-
MAXINSTANCESPERNODE_FIELD_NUMBER
public static final int MAXINSTANCESPERNODE_FIELD_NUMBER- See Also:
-
ALLOWLOCALROUTEES_FIELD_NUMBER
public static final int ALLOWLOCALROUTEES_FIELD_NUMBER- See Also:
-
USEROLE_FIELD_NUMBER
public static final int USEROLE_FIELD_NUMBER- See Also:
-
USEROLES_FIELD_NUMBER
public static final int USEROLES_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classorg.apache.pekko.protobufv3.internal.GeneratedMessage
-
hasTotalInstances
public boolean hasTotalInstances()required uint32 totalInstances = 1;- Specified by:
hasTotalInstancesin interfaceClusterMessages.ClusterRouterPoolSettingsOrBuilder- Returns:
- Whether the totalInstances field is set.
-
getTotalInstances
public int getTotalInstances()required uint32 totalInstances = 1;- Specified by:
getTotalInstancesin interfaceClusterMessages.ClusterRouterPoolSettingsOrBuilder- Returns:
- The totalInstances.
-
hasMaxInstancesPerNode
public boolean hasMaxInstancesPerNode()required uint32 maxInstancesPerNode = 2;- Specified by:
hasMaxInstancesPerNodein interfaceClusterMessages.ClusterRouterPoolSettingsOrBuilder- Returns:
- Whether the maxInstancesPerNode field is set.
-
getMaxInstancesPerNode
public int getMaxInstancesPerNode()required uint32 maxInstancesPerNode = 2;- Specified by:
getMaxInstancesPerNodein interfaceClusterMessages.ClusterRouterPoolSettingsOrBuilder- Returns:
- The maxInstancesPerNode.
-
hasAllowLocalRoutees
public boolean hasAllowLocalRoutees()required bool allowLocalRoutees = 3;- Specified by:
hasAllowLocalRouteesin interfaceClusterMessages.ClusterRouterPoolSettingsOrBuilder- Returns:
- Whether the allowLocalRoutees field is set.
-
getAllowLocalRoutees
public boolean getAllowLocalRoutees()required bool allowLocalRoutees = 3;- Specified by:
getAllowLocalRouteesin interfaceClusterMessages.ClusterRouterPoolSettingsOrBuilder- Returns:
- The allowLocalRoutees.
-
hasUseRole
public boolean hasUseRole()optional string useRole = 4;- Specified by:
hasUseRolein interfaceClusterMessages.ClusterRouterPoolSettingsOrBuilder- Returns:
- Whether the useRole field is set.
-
getUseRole
optional string useRole = 4;- Specified by:
getUseRolein interfaceClusterMessages.ClusterRouterPoolSettingsOrBuilder- Returns:
- The useRole.
-
getUseRoleBytes
public org.apache.pekko.protobufv3.internal.ByteString getUseRoleBytes()optional string useRole = 4;- Specified by:
getUseRoleBytesin interfaceClusterMessages.ClusterRouterPoolSettingsOrBuilder- Returns:
- The bytes for useRole.
-
getUseRolesList
public org.apache.pekko.protobufv3.internal.ProtocolStringList getUseRolesList()repeated string useRoles = 5;- Specified by:
getUseRolesListin interfaceClusterMessages.ClusterRouterPoolSettingsOrBuilder- Returns:
- A list containing the useRoles.
-
getUseRolesCount
public int getUseRolesCount()repeated string useRoles = 5;- Specified by:
getUseRolesCountin interfaceClusterMessages.ClusterRouterPoolSettingsOrBuilder- Returns:
- The count of useRoles.
-
getUseRoles
repeated string useRoles = 5;- Specified by:
getUseRolesin 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:
getUseRolesBytesin 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:
isInitializedin interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.apache.pekko.protobufv3.internal.GeneratedMessage
-
writeTo
public void writeTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output) throws IOException - Specified by:
writeToin interfaceorg.apache.pekko.protobufv3.internal.MessageLite- Overrides:
writeToin classorg.apache.pekko.protobufv3.internal.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfaceorg.apache.pekko.protobufv3.internal.MessageLite- Overrides:
getSerializedSizein classorg.apache.pekko.protobufv3.internal.GeneratedMessage
-
equals
- Specified by:
equalsin interfaceorg.apache.pekko.protobufv3.internal.Message- Overrides:
equalsin classorg.apache.pekko.protobufv3.internal.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceorg.apache.pekko.protobufv3.internal.Message- Overrides:
hashCodein classorg.apache.pekko.protobufv3.internal.AbstractMessage
-
parseFrom
public static ClusterMessages.ClusterRouterPoolSettings parseFrom(ByteBuffer data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException - Throws:
org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static ClusterMessages.ClusterRouterPoolSettings parseFrom(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(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ClusterMessages.ClusterRouterPoolSettings parseFrom(InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static ClusterMessages.ClusterRouterPoolSettings parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static ClusterMessages.ClusterRouterPoolSettings parseDelimitedFrom(InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ClusterMessages.ClusterRouterPoolSettings parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ClusterMessages.ClusterRouterPoolSettings parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfaceorg.apache.pekko.protobufv3.internal.Message- Specified by:
newBuilderForTypein interfaceorg.apache.pekko.protobufv3.internal.MessageLite
-
newBuilder
-
newBuilder
public static ClusterMessages.ClusterRouterPoolSettings.Builder newBuilder(ClusterMessages.ClusterRouterPoolSettings prototype) -
toBuilder
- Specified by:
toBuilderin interfaceorg.apache.pekko.protobufv3.internal.Message- Specified by:
toBuilderin interfaceorg.apache.pekko.protobufv3.internal.MessageLite
-
newBuilderForType
protected ClusterMessages.ClusterRouterPoolSettings.Builder newBuilderForType(org.apache.pekko.protobufv3.internal.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classorg.apache.pekko.protobufv3.internal.AbstractMessage
-
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:
getParserForTypein interfaceorg.apache.pekko.protobufv3.internal.Message- Specified by:
getParserForTypein interfaceorg.apache.pekko.protobufv3.internal.MessageLite- Overrides:
getParserForTypein classorg.apache.pekko.protobufv3.internal.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
-