public static final class AutoscalingConfig.AutoscalingTargets.Builder extends GeneratedMessageV3.Builder<AutoscalingConfig.AutoscalingTargets.Builder> implements AutoscalingConfig.AutoscalingTargetsOrBuilder
The autoscaling targets for an instance.
Protobuf type google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AutoscalingConfig.AutoscalingTargets.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AutoscalingConfig.AutoscalingTargets build()
buildPartial()
public AutoscalingConfig.AutoscalingTargets buildPartial()
clear()
public AutoscalingConfig.AutoscalingTargets.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public AutoscalingConfig.AutoscalingTargets.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearHighPriorityCpuUtilizationPercent()
public AutoscalingConfig.AutoscalingTargets.Builder clearHighPriorityCpuUtilizationPercent()
Required. The target high priority cpu utilization percentage that the
autoscaler should be trying to achieve for the instance. This number is
on a scale from 0 (no utilization) to 100 (full utilization). The valid
range is [10, 90] inclusive.
int32 high_priority_cpu_utilization_percent = 1 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public AutoscalingConfig.AutoscalingTargets.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearStorageUtilizationPercent()
public AutoscalingConfig.AutoscalingTargets.Builder clearStorageUtilizationPercent()
Required. The target storage utilization percentage that the autoscaler
should be trying to achieve for the instance. This number is on a scale
from 0 (no utilization) to 100 (full utilization). The valid range is
[10, 100] inclusive.
int32 storage_utilization_percent = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public AutoscalingConfig.AutoscalingTargets.Builder clone()
Overrides
getDefaultInstanceForType()
public AutoscalingConfig.AutoscalingTargets getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getHighPriorityCpuUtilizationPercent()
public int getHighPriorityCpuUtilizationPercent()
Required. The target high priority cpu utilization percentage that the
autoscaler should be trying to achieve for the instance. This number is
on a scale from 0 (no utilization) to 100 (full utilization). The valid
range is [10, 90] inclusive.
int32 high_priority_cpu_utilization_percent = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
int | The highPriorityCpuUtilizationPercent.
|
getStorageUtilizationPercent()
public int getStorageUtilizationPercent()
Required. The target storage utilization percentage that the autoscaler
should be trying to achieve for the instance. This number is on a scale
from 0 (no utilization) to 100 (full utilization). The valid range is
[10, 100] inclusive.
int32 storage_utilization_percent = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
int | The storageUtilizationPercent.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public AutoscalingConfig.AutoscalingTargets.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AutoscalingConfig.AutoscalingTargets.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeFrom(AutoscalingConfig.AutoscalingTargets other)
public AutoscalingConfig.AutoscalingTargets.Builder mergeFrom(AutoscalingConfig.AutoscalingTargets other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AutoscalingConfig.AutoscalingTargets.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AutoscalingConfig.AutoscalingTargets.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setHighPriorityCpuUtilizationPercent(int value)
public AutoscalingConfig.AutoscalingTargets.Builder setHighPriorityCpuUtilizationPercent(int value)
Required. The target high priority cpu utilization percentage that the
autoscaler should be trying to achieve for the instance. This number is
on a scale from 0 (no utilization) to 100 (full utilization). The valid
range is [10, 90] inclusive.
int32 high_priority_cpu_utilization_percent = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | int
The highPriorityCpuUtilizationPercent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AutoscalingConfig.AutoscalingTargets.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setStorageUtilizationPercent(int value)
public AutoscalingConfig.AutoscalingTargets.Builder setStorageUtilizationPercent(int value)
Required. The target storage utilization percentage that the autoscaler
should be trying to achieve for the instance. This number is on a scale
from 0 (no utilization) to 100 (full utilization). The valid range is
[10, 100] inclusive.
int32 storage_utilization_percent = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | int
The storageUtilizationPercent to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final AutoscalingConfig.AutoscalingTargets.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides