public static final class AutoscalingPolicyScaleInControl.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AutoscalingPolicyScaleInControl.Builder> implements AutoscalingPolicyScaleInControlOrBuilder
Configuration that allows for slower scale in so that even if Autoscaler recommends an abrupt scale in of a MIG, it will be throttled as specified by the parameters below.Protobuf type
google.cloud.compute.v1.AutoscalingPolicyScaleInControl| Modifier and Type | Method and Description |
|---|---|
AutoscalingPolicyScaleInControl.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AutoscalingPolicyScaleInControl |
build() |
AutoscalingPolicyScaleInControl |
buildPartial() |
AutoscalingPolicyScaleInControl.Builder |
clear() |
AutoscalingPolicyScaleInControl.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AutoscalingPolicyScaleInControl.Builder |
clearMaxScaledInReplicas()
Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations.
|
AutoscalingPolicyScaleInControl.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AutoscalingPolicyScaleInControl.Builder |
clearTimeWindowSec()
How far back autoscaling looks when computing recommendations to include directives regarding slower scale in, as described above.
|
AutoscalingPolicyScaleInControl.Builder |
clone() |
AutoscalingPolicyScaleInControl |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
FixedOrPercent |
getMaxScaledInReplicas()
Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations.
|
FixedOrPercent.Builder |
getMaxScaledInReplicasBuilder()
Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations.
|
FixedOrPercentOrBuilder |
getMaxScaledInReplicasOrBuilder()
Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations.
|
int |
getTimeWindowSec()
How far back autoscaling looks when computing recommendations to include directives regarding slower scale in, as described above.
|
boolean |
hasMaxScaledInReplicas()
Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations.
|
boolean |
hasTimeWindowSec()
How far back autoscaling looks when computing recommendations to include directives regarding slower scale in, as described above.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AutoscalingPolicyScaleInControl.Builder |
mergeFrom(AutoscalingPolicyScaleInControl other) |
AutoscalingPolicyScaleInControl.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AutoscalingPolicyScaleInControl.Builder |
mergeFrom(com.google.protobuf.Message other) |
AutoscalingPolicyScaleInControl.Builder |
mergeMaxScaledInReplicas(FixedOrPercent value)
Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations.
|
AutoscalingPolicyScaleInControl.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AutoscalingPolicyScaleInControl.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AutoscalingPolicyScaleInControl.Builder |
setMaxScaledInReplicas(FixedOrPercent.Builder builderForValue)
Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations.
|
AutoscalingPolicyScaleInControl.Builder |
setMaxScaledInReplicas(FixedOrPercent value)
Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations.
|
AutoscalingPolicyScaleInControl.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AutoscalingPolicyScaleInControl.Builder |
setTimeWindowSec(int value)
How far back autoscaling looks when computing recommendations to include directives regarding slower scale in, as described above.
|
AutoscalingPolicyScaleInControl.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AutoscalingPolicyScaleInControl.Builder>public AutoscalingPolicyScaleInControl.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<AutoscalingPolicyScaleInControl.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<AutoscalingPolicyScaleInControl.Builder>public AutoscalingPolicyScaleInControl getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AutoscalingPolicyScaleInControl build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AutoscalingPolicyScaleInControl buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AutoscalingPolicyScaleInControl.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<AutoscalingPolicyScaleInControl.Builder>public AutoscalingPolicyScaleInControl.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<AutoscalingPolicyScaleInControl.Builder>public AutoscalingPolicyScaleInControl.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<AutoscalingPolicyScaleInControl.Builder>public AutoscalingPolicyScaleInControl.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AutoscalingPolicyScaleInControl.Builder>public AutoscalingPolicyScaleInControl.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AutoscalingPolicyScaleInControl.Builder>public AutoscalingPolicyScaleInControl.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AutoscalingPolicyScaleInControl.Builder>public AutoscalingPolicyScaleInControl.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AutoscalingPolicyScaleInControl.Builder>public AutoscalingPolicyScaleInControl.Builder mergeFrom(AutoscalingPolicyScaleInControl other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AutoscalingPolicyScaleInControl.Builder>public AutoscalingPolicyScaleInControl.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AutoscalingPolicyScaleInControl.Builder>IOExceptionpublic boolean hasMaxScaledInReplicas()
Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step.
optional .google.cloud.compute.v1.FixedOrPercent max_scaled_in_replicas = 180710123;
hasMaxScaledInReplicas in interface AutoscalingPolicyScaleInControlOrBuilderpublic FixedOrPercent getMaxScaledInReplicas()
Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step.
optional .google.cloud.compute.v1.FixedOrPercent max_scaled_in_replicas = 180710123;
getMaxScaledInReplicas in interface AutoscalingPolicyScaleInControlOrBuilderpublic AutoscalingPolicyScaleInControl.Builder setMaxScaledInReplicas(FixedOrPercent value)
Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step.
optional .google.cloud.compute.v1.FixedOrPercent max_scaled_in_replicas = 180710123;
public AutoscalingPolicyScaleInControl.Builder setMaxScaledInReplicas(FixedOrPercent.Builder builderForValue)
Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step.
optional .google.cloud.compute.v1.FixedOrPercent max_scaled_in_replicas = 180710123;
public AutoscalingPolicyScaleInControl.Builder mergeMaxScaledInReplicas(FixedOrPercent value)
Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step.
optional .google.cloud.compute.v1.FixedOrPercent max_scaled_in_replicas = 180710123;
public AutoscalingPolicyScaleInControl.Builder clearMaxScaledInReplicas()
Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step.
optional .google.cloud.compute.v1.FixedOrPercent max_scaled_in_replicas = 180710123;
public FixedOrPercent.Builder getMaxScaledInReplicasBuilder()
Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step.
optional .google.cloud.compute.v1.FixedOrPercent max_scaled_in_replicas = 180710123;
public FixedOrPercentOrBuilder getMaxScaledInReplicasOrBuilder()
Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step.
optional .google.cloud.compute.v1.FixedOrPercent max_scaled_in_replicas = 180710123;
getMaxScaledInReplicasOrBuilder in interface AutoscalingPolicyScaleInControlOrBuilderpublic boolean hasTimeWindowSec()
How far back autoscaling looks when computing recommendations to include directives regarding slower scale in, as described above.
optional int32 time_window_sec = 36405300;hasTimeWindowSec in interface AutoscalingPolicyScaleInControlOrBuilderpublic int getTimeWindowSec()
How far back autoscaling looks when computing recommendations to include directives regarding slower scale in, as described above.
optional int32 time_window_sec = 36405300;getTimeWindowSec in interface AutoscalingPolicyScaleInControlOrBuilderpublic AutoscalingPolicyScaleInControl.Builder setTimeWindowSec(int value)
How far back autoscaling looks when computing recommendations to include directives regarding slower scale in, as described above.
optional int32 time_window_sec = 36405300;value - The timeWindowSec to set.public AutoscalingPolicyScaleInControl.Builder clearTimeWindowSec()
How far back autoscaling looks when computing recommendations to include directives regarding slower scale in, as described above.
optional int32 time_window_sec = 36405300;public final AutoscalingPolicyScaleInControl.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AutoscalingPolicyScaleInControl.Builder>public final AutoscalingPolicyScaleInControl.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AutoscalingPolicyScaleInControl.Builder>Copyright © 2023 Google LLC. All rights reserved.