Class ClusterMetricsMessages.AdaptiveLoadBalancingPool.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<ClusterMetricsMessages.AdaptiveLoadBalancingPool.Builder>
-
- org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool.Builder
-
- All Implemented Interfaces:
java.lang.Cloneable
,ClusterMetricsMessages.AdaptiveLoadBalancingPoolOrBuilder
,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:
- ClusterMetricsMessages.AdaptiveLoadBalancingPool
public static final class ClusterMetricsMessages.AdaptiveLoadBalancingPool.Builder extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMetricsMessages.AdaptiveLoadBalancingPool.Builder> implements ClusterMetricsMessages.AdaptiveLoadBalancingPoolOrBuilder
Protobuf typeAdaptiveLoadBalancingPool
-
-
Method Summary
-
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<ClusterMetricsMessages.AdaptiveLoadBalancingPool.Builder>
-
clear
public ClusterMetricsMessages.AdaptiveLoadBalancingPool.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<ClusterMetricsMessages.AdaptiveLoadBalancingPool.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<ClusterMetricsMessages.AdaptiveLoadBalancingPool.Builder>
-
getDefaultInstanceForType
public ClusterMetricsMessages.AdaptiveLoadBalancingPool getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
-
build
public ClusterMetricsMessages.AdaptiveLoadBalancingPool 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 ClusterMetricsMessages.AdaptiveLoadBalancingPool 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 ClusterMetricsMessages.AdaptiveLoadBalancingPool.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<ClusterMetricsMessages.AdaptiveLoadBalancingPool.Builder>
-
setField
public ClusterMetricsMessages.AdaptiveLoadBalancingPool.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<ClusterMetricsMessages.AdaptiveLoadBalancingPool.Builder>
-
clearField
public ClusterMetricsMessages.AdaptiveLoadBalancingPool.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<ClusterMetricsMessages.AdaptiveLoadBalancingPool.Builder>
-
clearOneof
public ClusterMetricsMessages.AdaptiveLoadBalancingPool.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<ClusterMetricsMessages.AdaptiveLoadBalancingPool.Builder>
-
setRepeatedField
public ClusterMetricsMessages.AdaptiveLoadBalancingPool.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<ClusterMetricsMessages.AdaptiveLoadBalancingPool.Builder>
-
addRepeatedField
public ClusterMetricsMessages.AdaptiveLoadBalancingPool.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<ClusterMetricsMessages.AdaptiveLoadBalancingPool.Builder>
-
mergeFrom
public ClusterMetricsMessages.AdaptiveLoadBalancingPool.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<ClusterMetricsMessages.AdaptiveLoadBalancingPool.Builder>
-
mergeFrom
public ClusterMetricsMessages.AdaptiveLoadBalancingPool.Builder mergeFrom(ClusterMetricsMessages.AdaptiveLoadBalancingPool 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<ClusterMetricsMessages.AdaptiveLoadBalancingPool.Builder>
-
mergeFrom
public ClusterMetricsMessages.AdaptiveLoadBalancingPool.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<ClusterMetricsMessages.AdaptiveLoadBalancingPool.Builder>
- Throws:
java.io.IOException
-
hasMetricsSelector
public boolean hasMetricsSelector()
omitted if default
optional .MetricsSelector metricsSelector = 1;
- Specified by:
hasMetricsSelector
in interfaceClusterMetricsMessages.AdaptiveLoadBalancingPoolOrBuilder
- Returns:
- Whether the metricsSelector field is set.
-
getMetricsSelector
public ClusterMetricsMessages.MetricsSelector getMetricsSelector()
omitted if default
optional .MetricsSelector metricsSelector = 1;
- Specified by:
getMetricsSelector
in interfaceClusterMetricsMessages.AdaptiveLoadBalancingPoolOrBuilder
- Returns:
- The metricsSelector.
-
setMetricsSelector
public ClusterMetricsMessages.AdaptiveLoadBalancingPool.Builder setMetricsSelector(ClusterMetricsMessages.MetricsSelector value)
omitted if default
optional .MetricsSelector metricsSelector = 1;
-
setMetricsSelector
public ClusterMetricsMessages.AdaptiveLoadBalancingPool.Builder setMetricsSelector(ClusterMetricsMessages.MetricsSelector.Builder builderForValue)
omitted if default
optional .MetricsSelector metricsSelector = 1;
-
mergeMetricsSelector
public ClusterMetricsMessages.AdaptiveLoadBalancingPool.Builder mergeMetricsSelector(ClusterMetricsMessages.MetricsSelector value)
omitted if default
optional .MetricsSelector metricsSelector = 1;
-
clearMetricsSelector
public ClusterMetricsMessages.AdaptiveLoadBalancingPool.Builder clearMetricsSelector()
omitted if default
optional .MetricsSelector metricsSelector = 1;
-
getMetricsSelectorBuilder
public ClusterMetricsMessages.MetricsSelector.Builder getMetricsSelectorBuilder()
omitted if default
optional .MetricsSelector metricsSelector = 1;
-
getMetricsSelectorOrBuilder
public ClusterMetricsMessages.MetricsSelectorOrBuilder getMetricsSelectorOrBuilder()
omitted if default
optional .MetricsSelector metricsSelector = 1;
- Specified by:
getMetricsSelectorOrBuilder
in interfaceClusterMetricsMessages.AdaptiveLoadBalancingPoolOrBuilder
-
hasNrOfInstances
public boolean hasNrOfInstances()
required uint32 nrOfInstances = 2;
- Specified by:
hasNrOfInstances
in interfaceClusterMetricsMessages.AdaptiveLoadBalancingPoolOrBuilder
- Returns:
- Whether the nrOfInstances field is set.
-
getNrOfInstances
public int getNrOfInstances()
required uint32 nrOfInstances = 2;
- Specified by:
getNrOfInstances
in interfaceClusterMetricsMessages.AdaptiveLoadBalancingPoolOrBuilder
- Returns:
- The nrOfInstances.
-
setNrOfInstances
public ClusterMetricsMessages.AdaptiveLoadBalancingPool.Builder setNrOfInstances(int value)
required uint32 nrOfInstances = 2;
- Parameters:
value
- The nrOfInstances to set.- Returns:
- This builder for chaining.
-
clearNrOfInstances
public ClusterMetricsMessages.AdaptiveLoadBalancingPool.Builder clearNrOfInstances()
required uint32 nrOfInstances = 2;
- Returns:
- This builder for chaining.
-
hasRouterDispatcher
public boolean hasRouterDispatcher()
omitted if default
optional string routerDispatcher = 3;
- Specified by:
hasRouterDispatcher
in interfaceClusterMetricsMessages.AdaptiveLoadBalancingPoolOrBuilder
- Returns:
- Whether the routerDispatcher field is set.
-
getRouterDispatcher
public java.lang.String getRouterDispatcher()
omitted if default
optional string routerDispatcher = 3;
- Specified by:
getRouterDispatcher
in interfaceClusterMetricsMessages.AdaptiveLoadBalancingPoolOrBuilder
- Returns:
- The routerDispatcher.
-
getRouterDispatcherBytes
public org.apache.pekko.protobufv3.internal.ByteString getRouterDispatcherBytes()
omitted if default
optional string routerDispatcher = 3;
- Specified by:
getRouterDispatcherBytes
in interfaceClusterMetricsMessages.AdaptiveLoadBalancingPoolOrBuilder
- Returns:
- The bytes for routerDispatcher.
-
setRouterDispatcher
public ClusterMetricsMessages.AdaptiveLoadBalancingPool.Builder setRouterDispatcher(java.lang.String value)
omitted if default
optional string routerDispatcher = 3;
- Parameters:
value
- The routerDispatcher to set.- Returns:
- This builder for chaining.
-
clearRouterDispatcher
public ClusterMetricsMessages.AdaptiveLoadBalancingPool.Builder clearRouterDispatcher()
omitted if default
optional string routerDispatcher = 3;
- Returns:
- This builder for chaining.
-
setRouterDispatcherBytes
public ClusterMetricsMessages.AdaptiveLoadBalancingPool.Builder setRouterDispatcherBytes(org.apache.pekko.protobufv3.internal.ByteString value)
omitted if default
optional string routerDispatcher = 3;
- Parameters:
value
- The bytes for routerDispatcher to set.- Returns:
- This builder for chaining.
-
hasUsePoolDispatcher
public boolean hasUsePoolDispatcher()
required bool usePoolDispatcher = 4;
- Specified by:
hasUsePoolDispatcher
in interfaceClusterMetricsMessages.AdaptiveLoadBalancingPoolOrBuilder
- Returns:
- Whether the usePoolDispatcher field is set.
-
getUsePoolDispatcher
public boolean getUsePoolDispatcher()
required bool usePoolDispatcher = 4;
- Specified by:
getUsePoolDispatcher
in interfaceClusterMetricsMessages.AdaptiveLoadBalancingPoolOrBuilder
- Returns:
- The usePoolDispatcher.
-
setUsePoolDispatcher
public ClusterMetricsMessages.AdaptiveLoadBalancingPool.Builder setUsePoolDispatcher(boolean value)
required bool usePoolDispatcher = 4;
- Parameters:
value
- The usePoolDispatcher to set.- Returns:
- This builder for chaining.
-
clearUsePoolDispatcher
public ClusterMetricsMessages.AdaptiveLoadBalancingPool.Builder clearUsePoolDispatcher()
required bool usePoolDispatcher = 4;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final ClusterMetricsMessages.AdaptiveLoadBalancingPool.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<ClusterMetricsMessages.AdaptiveLoadBalancingPool.Builder>
-
mergeUnknownFields
public final ClusterMetricsMessages.AdaptiveLoadBalancingPool.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<ClusterMetricsMessages.AdaptiveLoadBalancingPool.Builder>
-
-