Package org.apache.pekko.remote
Class WireFormats.DefaultResizer.Builder
- java.lang.Object
-
- org.apache.pekko.protobufv3.internal.AbstractMessageLite.Builder
-
- org.apache.pekko.protobufv3.internal.AbstractMessage.Builder<BuilderType>
-
- org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.DefaultResizer.Builder>
-
- org.apache.pekko.remote.WireFormats.DefaultResizer.Builder
-
- All Implemented Interfaces:
java.lang.Cloneable
,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
,WireFormats.DefaultResizerOrBuilder
- Enclosing class:
- WireFormats.DefaultResizer
public static final class WireFormats.DefaultResizer.Builder extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.DefaultResizer.Builder> implements WireFormats.DefaultResizerOrBuilder
Protobuf typeDefaultResizer
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description WireFormats.DefaultResizer.Builder
addRepeatedField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
WireFormats.DefaultResizer
build()
WireFormats.DefaultResizer
buildPartial()
WireFormats.DefaultResizer.Builder
clear()
WireFormats.DefaultResizer.Builder
clearBackoffRate()
required double backoffRate = 6;
WireFormats.DefaultResizer.Builder
clearBackoffThreshold()
required double backoffThreshold = 5;
WireFormats.DefaultResizer.Builder
clearField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field)
WireFormats.DefaultResizer.Builder
clearLowerBound()
required uint32 lowerBound = 1;
WireFormats.DefaultResizer.Builder
clearMessagesPerResize()
required uint32 messagesPerResize = 7;
WireFormats.DefaultResizer.Builder
clearOneof(org.apache.pekko.protobufv3.internal.Descriptors.OneofDescriptor oneof)
WireFormats.DefaultResizer.Builder
clearPressureThreshold()
required uint32 pressureThreshold = 3;
WireFormats.DefaultResizer.Builder
clearRampupRate()
required double rampupRate = 4;
WireFormats.DefaultResizer.Builder
clearUpperBound()
required uint32 upperBound = 2;
WireFormats.DefaultResizer.Builder
clone()
double
getBackoffRate()
required double backoffRate = 6;
double
getBackoffThreshold()
required double backoffThreshold = 5;
WireFormats.DefaultResizer
getDefaultInstanceForType()
static org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptor()
org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptorForType()
int
getLowerBound()
required uint32 lowerBound = 1;
int
getMessagesPerResize()
required uint32 messagesPerResize = 7;
int
getPressureThreshold()
required uint32 pressureThreshold = 3;
double
getRampupRate()
required double rampupRate = 4;
int
getUpperBound()
required uint32 upperBound = 2;
boolean
hasBackoffRate()
required double backoffRate = 6;
boolean
hasBackoffThreshold()
required double backoffThreshold = 5;
boolean
hasLowerBound()
required uint32 lowerBound = 1;
boolean
hasMessagesPerResize()
required uint32 messagesPerResize = 7;
boolean
hasPressureThreshold()
required uint32 pressureThreshold = 3;
boolean
hasRampupRate()
required double rampupRate = 4;
boolean
hasUpperBound()
required uint32 upperBound = 2;
protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
WireFormats.DefaultResizer.Builder
mergeFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
WireFormats.DefaultResizer.Builder
mergeFrom(org.apache.pekko.protobufv3.internal.Message other)
WireFormats.DefaultResizer.Builder
mergeFrom(WireFormats.DefaultResizer other)
WireFormats.DefaultResizer.Builder
mergeUnknownFields(org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields)
WireFormats.DefaultResizer.Builder
setBackoffRate(double value)
required double backoffRate = 6;
WireFormats.DefaultResizer.Builder
setBackoffThreshold(double value)
required double backoffThreshold = 5;
WireFormats.DefaultResizer.Builder
setField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
WireFormats.DefaultResizer.Builder
setLowerBound(int value)
required uint32 lowerBound = 1;
WireFormats.DefaultResizer.Builder
setMessagesPerResize(int value)
required uint32 messagesPerResize = 7;
WireFormats.DefaultResizer.Builder
setPressureThreshold(int value)
required uint32 pressureThreshold = 3;
WireFormats.DefaultResizer.Builder
setRampupRate(double value)
required double rampupRate = 4;
WireFormats.DefaultResizer.Builder
setRepeatedField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
WireFormats.DefaultResizer.Builder
setUnknownFields(org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields)
WireFormats.DefaultResizer.Builder
setUpperBound(int value)
required uint32 upperBound = 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, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
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<WireFormats.DefaultResizer.Builder>
-
clear
public WireFormats.DefaultResizer.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<WireFormats.DefaultResizer.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<WireFormats.DefaultResizer.Builder>
-
getDefaultInstanceForType
public WireFormats.DefaultResizer getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
-
build
public WireFormats.DefaultResizer 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 WireFormats.DefaultResizer 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 WireFormats.DefaultResizer.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<WireFormats.DefaultResizer.Builder>
-
setField
public WireFormats.DefaultResizer.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<WireFormats.DefaultResizer.Builder>
-
clearField
public WireFormats.DefaultResizer.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<WireFormats.DefaultResizer.Builder>
-
clearOneof
public WireFormats.DefaultResizer.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<WireFormats.DefaultResizer.Builder>
-
setRepeatedField
public WireFormats.DefaultResizer.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<WireFormats.DefaultResizer.Builder>
-
addRepeatedField
public WireFormats.DefaultResizer.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<WireFormats.DefaultResizer.Builder>
-
mergeFrom
public WireFormats.DefaultResizer.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<WireFormats.DefaultResizer.Builder>
-
mergeFrom
public WireFormats.DefaultResizer.Builder mergeFrom(WireFormats.DefaultResizer 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<WireFormats.DefaultResizer.Builder>
-
mergeFrom
public WireFormats.DefaultResizer.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<WireFormats.DefaultResizer.Builder>
- Throws:
java.io.IOException
-
hasLowerBound
public boolean hasLowerBound()
required uint32 lowerBound = 1;
- Specified by:
hasLowerBound
in interfaceWireFormats.DefaultResizerOrBuilder
- Returns:
- Whether the lowerBound field is set.
-
getLowerBound
public int getLowerBound()
required uint32 lowerBound = 1;
- Specified by:
getLowerBound
in interfaceWireFormats.DefaultResizerOrBuilder
- Returns:
- The lowerBound.
-
setLowerBound
public WireFormats.DefaultResizer.Builder setLowerBound(int value)
required uint32 lowerBound = 1;
- Parameters:
value
- The lowerBound to set.- Returns:
- This builder for chaining.
-
clearLowerBound
public WireFormats.DefaultResizer.Builder clearLowerBound()
required uint32 lowerBound = 1;
- Returns:
- This builder for chaining.
-
hasUpperBound
public boolean hasUpperBound()
required uint32 upperBound = 2;
- Specified by:
hasUpperBound
in interfaceWireFormats.DefaultResizerOrBuilder
- Returns:
- Whether the upperBound field is set.
-
getUpperBound
public int getUpperBound()
required uint32 upperBound = 2;
- Specified by:
getUpperBound
in interfaceWireFormats.DefaultResizerOrBuilder
- Returns:
- The upperBound.
-
setUpperBound
public WireFormats.DefaultResizer.Builder setUpperBound(int value)
required uint32 upperBound = 2;
- Parameters:
value
- The upperBound to set.- Returns:
- This builder for chaining.
-
clearUpperBound
public WireFormats.DefaultResizer.Builder clearUpperBound()
required uint32 upperBound = 2;
- Returns:
- This builder for chaining.
-
hasPressureThreshold
public boolean hasPressureThreshold()
required uint32 pressureThreshold = 3;
- Specified by:
hasPressureThreshold
in interfaceWireFormats.DefaultResizerOrBuilder
- Returns:
- Whether the pressureThreshold field is set.
-
getPressureThreshold
public int getPressureThreshold()
required uint32 pressureThreshold = 3;
- Specified by:
getPressureThreshold
in interfaceWireFormats.DefaultResizerOrBuilder
- Returns:
- The pressureThreshold.
-
setPressureThreshold
public WireFormats.DefaultResizer.Builder setPressureThreshold(int value)
required uint32 pressureThreshold = 3;
- Parameters:
value
- The pressureThreshold to set.- Returns:
- This builder for chaining.
-
clearPressureThreshold
public WireFormats.DefaultResizer.Builder clearPressureThreshold()
required uint32 pressureThreshold = 3;
- Returns:
- This builder for chaining.
-
hasRampupRate
public boolean hasRampupRate()
required double rampupRate = 4;
- Specified by:
hasRampupRate
in interfaceWireFormats.DefaultResizerOrBuilder
- Returns:
- Whether the rampupRate field is set.
-
getRampupRate
public double getRampupRate()
required double rampupRate = 4;
- Specified by:
getRampupRate
in interfaceWireFormats.DefaultResizerOrBuilder
- Returns:
- The rampupRate.
-
setRampupRate
public WireFormats.DefaultResizer.Builder setRampupRate(double value)
required double rampupRate = 4;
- Parameters:
value
- The rampupRate to set.- Returns:
- This builder for chaining.
-
clearRampupRate
public WireFormats.DefaultResizer.Builder clearRampupRate()
required double rampupRate = 4;
- Returns:
- This builder for chaining.
-
hasBackoffThreshold
public boolean hasBackoffThreshold()
required double backoffThreshold = 5;
- Specified by:
hasBackoffThreshold
in interfaceWireFormats.DefaultResizerOrBuilder
- Returns:
- Whether the backoffThreshold field is set.
-
getBackoffThreshold
public double getBackoffThreshold()
required double backoffThreshold = 5;
- Specified by:
getBackoffThreshold
in interfaceWireFormats.DefaultResizerOrBuilder
- Returns:
- The backoffThreshold.
-
setBackoffThreshold
public WireFormats.DefaultResizer.Builder setBackoffThreshold(double value)
required double backoffThreshold = 5;
- Parameters:
value
- The backoffThreshold to set.- Returns:
- This builder for chaining.
-
clearBackoffThreshold
public WireFormats.DefaultResizer.Builder clearBackoffThreshold()
required double backoffThreshold = 5;
- Returns:
- This builder for chaining.
-
hasBackoffRate
public boolean hasBackoffRate()
required double backoffRate = 6;
- Specified by:
hasBackoffRate
in interfaceWireFormats.DefaultResizerOrBuilder
- Returns:
- Whether the backoffRate field is set.
-
getBackoffRate
public double getBackoffRate()
required double backoffRate = 6;
- Specified by:
getBackoffRate
in interfaceWireFormats.DefaultResizerOrBuilder
- Returns:
- The backoffRate.
-
setBackoffRate
public WireFormats.DefaultResizer.Builder setBackoffRate(double value)
required double backoffRate = 6;
- Parameters:
value
- The backoffRate to set.- Returns:
- This builder for chaining.
-
clearBackoffRate
public WireFormats.DefaultResizer.Builder clearBackoffRate()
required double backoffRate = 6;
- Returns:
- This builder for chaining.
-
hasMessagesPerResize
public boolean hasMessagesPerResize()
required uint32 messagesPerResize = 7;
- Specified by:
hasMessagesPerResize
in interfaceWireFormats.DefaultResizerOrBuilder
- Returns:
- Whether the messagesPerResize field is set.
-
getMessagesPerResize
public int getMessagesPerResize()
required uint32 messagesPerResize = 7;
- Specified by:
getMessagesPerResize
in interfaceWireFormats.DefaultResizerOrBuilder
- Returns:
- The messagesPerResize.
-
setMessagesPerResize
public WireFormats.DefaultResizer.Builder setMessagesPerResize(int value)
required uint32 messagesPerResize = 7;
- Parameters:
value
- The messagesPerResize to set.- Returns:
- This builder for chaining.
-
clearMessagesPerResize
public WireFormats.DefaultResizer.Builder clearMessagesPerResize()
required uint32 messagesPerResize = 7;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final WireFormats.DefaultResizer.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<WireFormats.DefaultResizer.Builder>
-
mergeUnknownFields
public final WireFormats.DefaultResizer.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<WireFormats.DefaultResizer.Builder>
-
-