- 1.92.0 (latest)
- 1.91.0
- 1.90.0
- 1.88.0
- 1.86.0
- 1.85.0
- 1.84.0
- 1.83.0
- 1.82.0
- 1.80.0
- 1.78.0
- 1.77.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.70.0
- 1.69.0
- 1.68.0
- 1.67.0
- 1.66.0
- 1.65.0
- 1.64.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class AutoscalingPolicyScaleInControl.Builder extends GeneratedMessage.Builder<AutoscalingPolicyScaleInControl.Builder> implements AutoscalingPolicyScaleInControlOrBuilderConfiguration 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AutoscalingPolicyScaleInControl.BuilderImplements
AutoscalingPolicyScaleInControlOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AutoscalingPolicyScaleInControl build()| Returns | |
|---|---|
| Type | Description |
AutoscalingPolicyScaleInControl |
|
buildPartial()
public AutoscalingPolicyScaleInControl buildPartial()| Returns | |
|---|---|
| Type | Description |
AutoscalingPolicyScaleInControl |
|
clear()
public AutoscalingPolicyScaleInControl.Builder clear()| Returns | |
|---|---|
| Type | Description |
AutoscalingPolicyScaleInControl.Builder |
|
clearMaxScaledInReplicas()
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;
| Returns | |
|---|---|
| Type | Description |
AutoscalingPolicyScaleInControl.Builder |
|
clearTimeWindowSec()
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;
| Returns | |
|---|---|
| Type | Description |
AutoscalingPolicyScaleInControl.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public AutoscalingPolicyScaleInControl getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AutoscalingPolicyScaleInControl |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMaxScaledInReplicas()
public 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;
| Returns | |
|---|---|
| Type | Description |
FixedOrPercent |
The maxScaledInReplicas. |
getMaxScaledInReplicasBuilder()
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;
| Returns | |
|---|---|
| Type | Description |
FixedOrPercent.Builder |
|
getMaxScaledInReplicasOrBuilder()
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;
| Returns | |
|---|---|
| Type | Description |
FixedOrPercentOrBuilder |
|
getTimeWindowSec()
public 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;
| Returns | |
|---|---|
| Type | Description |
int |
The timeWindowSec. |
hasMaxScaledInReplicas()
public 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;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the maxScaledInReplicas field is set. |
hasTimeWindowSec()
public 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;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the timeWindowSec field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AutoscalingPolicyScaleInControl other)
public AutoscalingPolicyScaleInControl.Builder mergeFrom(AutoscalingPolicyScaleInControl other)| Parameter | |
|---|---|
| Name | Description |
other |
AutoscalingPolicyScaleInControl |
| Returns | |
|---|---|
| Type | Description |
AutoscalingPolicyScaleInControl.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AutoscalingPolicyScaleInControl.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AutoscalingPolicyScaleInControl.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AutoscalingPolicyScaleInControl.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AutoscalingPolicyScaleInControl.Builder |
|
mergeMaxScaledInReplicas(FixedOrPercent value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
FixedOrPercent |
| Returns | |
|---|---|
| Type | Description |
AutoscalingPolicyScaleInControl.Builder |
|
setMaxScaledInReplicas(FixedOrPercent value)
public 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;
| Parameter | |
|---|---|
| Name | Description |
value |
FixedOrPercent |
| Returns | |
|---|---|
| Type | Description |
AutoscalingPolicyScaleInControl.Builder |
|
setMaxScaledInReplicas(FixedOrPercent.Builder builderForValue)
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
FixedOrPercent.Builder |
| Returns | |
|---|---|
| Type | Description |
AutoscalingPolicyScaleInControl.Builder |
|
setTimeWindowSec(int value)
public 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;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe timeWindowSec to set. |
| Returns | |
|---|---|
| Type | Description |
AutoscalingPolicyScaleInControl.Builder |
This builder for chaining. |