Class AutoscalingTargets (2.10.1)

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
TypeDescription
int

STORAGE_UTILIZATION_GIB_PER_NODE_FIELD_NUMBER

public static final int STORAGE_UTILIZATION_GIB_PER_NODE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AutoscalingTargets getDefaultInstance()
Returns
TypeDescription
AutoscalingTargets

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AutoscalingTargets.Builder newBuilder()
Returns
TypeDescription
AutoscalingTargets.Builder

newBuilder(AutoscalingTargets prototype)

public static AutoscalingTargets.Builder newBuilder(AutoscalingTargets prototype)
Parameter
NameDescription
prototypeAutoscalingTargets
Returns
TypeDescription
AutoscalingTargets.Builder

parseDelimitedFrom(InputStream input)

public static AutoscalingTargets parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AutoscalingTargets
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AutoscalingTargets parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutoscalingTargets
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AutoscalingTargets parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AutoscalingTargets
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AutoscalingTargets parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutoscalingTargets
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AutoscalingTargets parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AutoscalingTargets
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AutoscalingTargets parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutoscalingTargets
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AutoscalingTargets parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AutoscalingTargets
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AutoscalingTargets parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutoscalingTargets
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AutoscalingTargets parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AutoscalingTargets
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AutoscalingTargets parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutoscalingTargets
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AutoscalingTargets parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AutoscalingTargets
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AutoscalingTargets parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutoscalingTargets
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AutoscalingTargets> parser()
Returns
TypeDescription
Parser<AutoscalingTargets>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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
TypeDescription
int

The cpuUtilizationPercent.

getDefaultInstanceForType()

public AutoscalingTargets getDefaultInstanceForType()
Returns
TypeDescription
AutoscalingTargets

getParserForType()

public Parser<AutoscalingTargets> getParserForType()
Returns
TypeDescription
Parser<AutoscalingTargets>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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
TypeDescription
int

The storageUtilizationGibPerNode.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AutoscalingTargets.Builder newBuilderForType()
Returns
TypeDescription
AutoscalingTargets.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AutoscalingTargets.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AutoscalingTargets.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AutoscalingTargets.Builder toBuilder()
Returns
TypeDescription
AutoscalingTargets.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException