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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AutoscalingTargetsImplements
AutoscalingTargetsOrBuilderStatic Fields
CPU_UTILIZATION_PERCENT_FIELD_NUMBER
public static final int CPU_UTILIZATION_PERCENT_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static AutoscalingTargets getDefaultInstance()
Type | Description |
AutoscalingTargets |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static AutoscalingTargets.Builder newBuilder()
Type | Description |
AutoscalingTargets.Builder |
newBuilder(AutoscalingTargets prototype)
public static AutoscalingTargets.Builder newBuilder(AutoscalingTargets prototype)
Name | Description |
prototype | AutoscalingTargets |
Type | Description |
AutoscalingTargets.Builder |
parseDelimitedFrom(InputStream input)
public static AutoscalingTargets parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
AutoscalingTargets |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AutoscalingTargets parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AutoscalingTargets |
Type | Description |
IOException |
parseFrom(byte[] data)
public static AutoscalingTargets parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
AutoscalingTargets |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AutoscalingTargets parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AutoscalingTargets |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static AutoscalingTargets parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
AutoscalingTargets |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AutoscalingTargets parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AutoscalingTargets |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static AutoscalingTargets parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
AutoscalingTargets |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AutoscalingTargets parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AutoscalingTargets |
Type | Description |
IOException |
parseFrom(InputStream input)
public static AutoscalingTargets parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
AutoscalingTargets |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AutoscalingTargets parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AutoscalingTargets |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static AutoscalingTargets parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
AutoscalingTargets |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AutoscalingTargets parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AutoscalingTargets |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<AutoscalingTargets> parser()
Type | Description |
Parser<AutoscalingTargets> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
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 |
getParserForType()
public Parser<AutoscalingTargets> getParserForType()
Type | Description |
Parser<AutoscalingTargets> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public AutoscalingTargets.Builder newBuilderForType()
Type | Description |
AutoscalingTargets.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AutoscalingTargets.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
AutoscalingTargets.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public AutoscalingTargets.Builder toBuilder()
Type | Description |
AutoscalingTargets.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |