Send feedback
Class AutoscalingTargets (2.17.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
public final class AutoscalingTargets extends GeneratedMessageV3 implements AutoscalingTargetsOrBuilder
The Autoscaling targets for a Cluster. These determine the recommended nodes.
Protobuf type google.bigtable.admin.v2.AutoscalingTargets
Static Fields
CPU_UTILIZATION_PERCENT_FIELD_NUMBER
public static final int CPU_UTILIZATION_PERCENT_FIELD_NUMBER
Field Value
STORAGE_UTILIZATION_GIB_PER_NODE_FIELD_NUMBER
public static final int STORAGE_UTILIZATION_GIB_PER_NODE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AutoscalingTargets getDefaultInstance ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
newBuilder()
public static AutoscalingTargets . Builder newBuilder ()
Returns
newBuilder(AutoscalingTargets prototype)
public static AutoscalingTargets . Builder newBuilder ( AutoscalingTargets prototype )
Parameter
Returns
public static AutoscalingTargets parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static AutoscalingTargets parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AutoscalingTargets parseFrom ( byte [] data )
Parameter
Name Description data byte []
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AutoscalingTargets parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AutoscalingTargets parseFrom ( ByteString data )
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AutoscalingTargets parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static AutoscalingTargets parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static AutoscalingTargets parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static AutoscalingTargets parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static AutoscalingTargets parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AutoscalingTargets parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AutoscalingTargets parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parser()
public static Parser<AutoscalingTargets> parser ()
Returns
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Returns
Overrides
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;
Returns
Type Description int The cpuUtilizationPercent.
getDefaultInstanceForType()
public AutoscalingTargets getDefaultInstanceForType ()
Returns
getParserForType()
public Parser<AutoscalingTargets> getParserForType ()
Returns
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Overrides
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;
Returns
Type Description int The storageUtilizationGibPerNode.
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
newBuilderForType()
public AutoscalingTargets . Builder newBuilderForType ()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AutoscalingTargets . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
toBuilder()
public AutoscalingTargets . Builder toBuilder ()
Returns
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]