public static final class AutoscalingTargets.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AutoscalingTargets.Builder> implements AutoscalingTargetsOrBuilder
The Autoscaling targets for a Cluster. These determine the recommended nodes.Protobuf type
google.bigtable.admin.v2.AutoscalingTargets| Modifier and Type | Method and Description |
|---|---|
AutoscalingTargets.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AutoscalingTargets |
build() |
AutoscalingTargets |
buildPartial() |
AutoscalingTargets.Builder |
clear() |
AutoscalingTargets.Builder |
clearCpuUtilizationPercent()
The cpu utilization that the Autoscaler should be trying to achieve.
|
AutoscalingTargets.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AutoscalingTargets.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AutoscalingTargets.Builder |
clearStorageUtilizationGibPerNode()
The storage utilization that the Autoscaler should be trying to achieve.
|
AutoscalingTargets.Builder |
clone() |
int |
getCpuUtilizationPercent()
The cpu utilization that the Autoscaler should be trying to achieve.
|
AutoscalingTargets |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getStorageUtilizationGibPerNode()
The storage utilization that the Autoscaler should be trying to achieve.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AutoscalingTargets.Builder |
mergeFrom(AutoscalingTargets other) |
AutoscalingTargets.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AutoscalingTargets.Builder |
mergeFrom(com.google.protobuf.Message other) |
AutoscalingTargets.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AutoscalingTargets.Builder |
setCpuUtilizationPercent(int value)
The cpu utilization that the Autoscaler should be trying to achieve.
|
AutoscalingTargets.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AutoscalingTargets.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AutoscalingTargets.Builder |
setStorageUtilizationGibPerNode(int value)
The storage utilization that the Autoscaler should be trying to achieve.
|
AutoscalingTargets.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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<AutoscalingTargets.Builder>public AutoscalingTargets.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<AutoscalingTargets.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<AutoscalingTargets.Builder>public AutoscalingTargets getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AutoscalingTargets build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AutoscalingTargets buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AutoscalingTargets.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<AutoscalingTargets.Builder>public AutoscalingTargets.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<AutoscalingTargets.Builder>public AutoscalingTargets.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<AutoscalingTargets.Builder>public AutoscalingTargets.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AutoscalingTargets.Builder>public AutoscalingTargets.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<AutoscalingTargets.Builder>public AutoscalingTargets.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<AutoscalingTargets.Builder>public AutoscalingTargets.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AutoscalingTargets.Builder>public AutoscalingTargets.Builder mergeFrom(AutoscalingTargets other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AutoscalingTargets.Builder>public AutoscalingTargets.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<AutoscalingTargets.Builder>IOExceptionpublic 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;getCpuUtilizationPercent in interface AutoscalingTargetsOrBuilderpublic 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;value - The cpuUtilizationPercent to set.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;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;getStorageUtilizationGibPerNode in interface AutoscalingTargetsOrBuilderpublic 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;value - The storageUtilizationGibPerNode to set.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;public final AutoscalingTargets.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AutoscalingTargets.Builder>public final AutoscalingTargets.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AutoscalingTargets.Builder>Copyright © 2022 Google LLC. All rights reserved.