public static final class AutoscalingSettings.Thresholds.Builder extends GeneratedMessageV3.Builder<AutoscalingSettings.Thresholds.Builder> implements AutoscalingSettings.ThresholdsOrBuilder
Thresholds define the utilization of resources triggering scale-out and scale-in operations.
Protobuf type google.cloud.vmwareengine.v1.AutoscalingSettings.Thresholds
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AutoscalingSettings.Thresholds.BuilderImplements
AutoscalingSettings.ThresholdsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AutoscalingSettings.Thresholds.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AutoscalingSettings.Thresholds.Builder |
build()
public AutoscalingSettings.Thresholds build()
Returns | |
---|---|
Type | Description |
AutoscalingSettings.Thresholds |
buildPartial()
public AutoscalingSettings.Thresholds buildPartial()
Returns | |
---|---|
Type | Description |
AutoscalingSettings.Thresholds |
clear()
public AutoscalingSettings.Thresholds.Builder clear()
Returns | |
---|---|
Type | Description |
AutoscalingSettings.Thresholds.Builder |
clearField(Descriptors.FieldDescriptor field)
public AutoscalingSettings.Thresholds.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
AutoscalingSettings.Thresholds.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AutoscalingSettings.Thresholds.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
AutoscalingSettings.Thresholds.Builder |
clearScaleIn()
public AutoscalingSettings.Thresholds.Builder clearScaleIn()
Required. The utilization triggering the scale-in operation in percent.
int32 scale_in = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
AutoscalingSettings.Thresholds.Builder |
This builder for chaining. |
clearScaleOut()
public AutoscalingSettings.Thresholds.Builder clearScaleOut()
Required. The utilization triggering the scale-out operation in percent.
int32 scale_out = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
AutoscalingSettings.Thresholds.Builder |
This builder for chaining. |
clone()
public AutoscalingSettings.Thresholds.Builder clone()
Returns | |
---|---|
Type | Description |
AutoscalingSettings.Thresholds.Builder |
getDefaultInstanceForType()
public AutoscalingSettings.Thresholds getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AutoscalingSettings.Thresholds |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getScaleIn()
public int getScaleIn()
Required. The utilization triggering the scale-in operation in percent.
int32 scale_in = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
The scaleIn. |
getScaleOut()
public int getScaleOut()
Required. The utilization triggering the scale-out operation in percent.
int32 scale_out = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
The scaleOut. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(AutoscalingSettings.Thresholds other)
public AutoscalingSettings.Thresholds.Builder mergeFrom(AutoscalingSettings.Thresholds other)
Parameter | |
---|---|
Name | Description |
other |
AutoscalingSettings.Thresholds |
Returns | |
---|---|
Type | Description |
AutoscalingSettings.Thresholds.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AutoscalingSettings.Thresholds.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AutoscalingSettings.Thresholds.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AutoscalingSettings.Thresholds.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
AutoscalingSettings.Thresholds.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AutoscalingSettings.Thresholds.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AutoscalingSettings.Thresholds.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public AutoscalingSettings.Thresholds.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AutoscalingSettings.Thresholds.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AutoscalingSettings.Thresholds.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
AutoscalingSettings.Thresholds.Builder |
setScaleIn(int value)
public AutoscalingSettings.Thresholds.Builder setScaleIn(int value)
Required. The utilization triggering the scale-in operation in percent.
int32 scale_in = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
int The scaleIn to set. |
Returns | |
---|---|
Type | Description |
AutoscalingSettings.Thresholds.Builder |
This builder for chaining. |
setScaleOut(int value)
public AutoscalingSettings.Thresholds.Builder setScaleOut(int value)
Required. The utilization triggering the scale-out operation in percent.
int32 scale_out = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
int The scaleOut to set. |
Returns | |
---|---|
Type | Description |
AutoscalingSettings.Thresholds.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final AutoscalingSettings.Thresholds.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AutoscalingSettings.Thresholds.Builder |