public static final class AutoscalingTargets.Builder extends GeneratedMessageV3.Builder<AutoscalingTargets.Builder> implements AutoscalingTargetsOrBuilder
The Autoscaling targets for a Cluster. These determine the recommended nodes.
Protobuf type google.bigtable.admin.v2.AutoscalingTargets
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AutoscalingTargets.BuilderImplements
AutoscalingTargetsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AutoscalingTargets.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AutoscalingTargets.Builder |
build()
public AutoscalingTargets build()
Type | Description |
AutoscalingTargets |
buildPartial()
public AutoscalingTargets buildPartial()
Type | Description |
AutoscalingTargets |
clear()
public AutoscalingTargets.Builder clear()
Type | Description |
AutoscalingTargets.Builder |
clearCpuUtilizationPercent()
public AutoscalingTargets.Builder clearCpuUtilizationPercent()
The cpu utilization that the Autoscaler should be trying to achieve. This number is on a scale from 0 (no utilization) to 100 (total utilization), and is limited between 10 and 80, otherwise it will return INVALID_ARGUMENT error.
int32 cpu_utilization_percent = 2;
Type | Description |
AutoscalingTargets.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AutoscalingTargets.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
AutoscalingTargets.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AutoscalingTargets.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
AutoscalingTargets.Builder |
clearStorageUtilizationGibPerNode()
public AutoscalingTargets.Builder clearStorageUtilizationGibPerNode()
The storage utilization that the Autoscaler should be trying to achieve. This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster; otherwise it will return INVALID_ARGUMENT error. If this value is set to 0, it will be treated as if it were set to the default value: 2560 for SSD, 8192 for HDD.
int32 storage_utilization_gib_per_node = 3;
Type | Description |
AutoscalingTargets.Builder | This builder for chaining. |
clone()
public AutoscalingTargets.Builder clone()
Type | Description |
AutoscalingTargets.Builder |
getCpuUtilizationPercent()
public int getCpuUtilizationPercent()
The cpu utilization that the Autoscaler should be trying to achieve. This number is on a scale from 0 (no utilization) to 100 (total utilization), and is limited between 10 and 80, otherwise it will return INVALID_ARGUMENT error.
int32 cpu_utilization_percent = 2;
Type | Description |
int | The cpuUtilizationPercent. |
getDefaultInstanceForType()
public AutoscalingTargets getDefaultInstanceForType()
Type | Description |
AutoscalingTargets |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getStorageUtilizationGibPerNode()
public int getStorageUtilizationGibPerNode()
The storage utilization that the Autoscaler should be trying to achieve. This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster; otherwise it will return INVALID_ARGUMENT error. If this value is set to 0, it will be treated as if it were set to the default value: 2560 for SSD, 8192 for HDD.
int32 storage_utilization_gib_per_node = 3;
Type | Description |
int | The storageUtilizationGibPerNode. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(AutoscalingTargets other)
public AutoscalingTargets.Builder mergeFrom(AutoscalingTargets other)
Name | Description |
other | AutoscalingTargets |
Type | Description |
AutoscalingTargets.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AutoscalingTargets.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AutoscalingTargets.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public AutoscalingTargets.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
AutoscalingTargets.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AutoscalingTargets.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AutoscalingTargets.Builder |
setCpuUtilizationPercent(int value)
public AutoscalingTargets.Builder setCpuUtilizationPercent(int value)
The cpu utilization that the Autoscaler should be trying to achieve. This number is on a scale from 0 (no utilization) to 100 (total utilization), and is limited between 10 and 80, otherwise it will return INVALID_ARGUMENT error.
int32 cpu_utilization_percent = 2;
Name | Description |
value | int The cpuUtilizationPercent to set. |
Type | Description |
AutoscalingTargets.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AutoscalingTargets.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AutoscalingTargets.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AutoscalingTargets.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
AutoscalingTargets.Builder |
setStorageUtilizationGibPerNode(int value)
public AutoscalingTargets.Builder setStorageUtilizationGibPerNode(int value)
The storage utilization that the Autoscaler should be trying to achieve. This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster; otherwise it will return INVALID_ARGUMENT error. If this value is set to 0, it will be treated as if it were set to the default value: 2560 for SSD, 8192 for HDD.
int32 storage_utilization_gib_per_node = 3;
Name | Description |
value | int The storageUtilizationGibPerNode to set. |
Type | Description |
AutoscalingTargets.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final AutoscalingTargets.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AutoscalingTargets.Builder |