public static final class AutoscalingConfig.AutoscalingTargets extends GeneratedMessageV3 implements AutoscalingConfig.AutoscalingTargetsOrBuilder
The autoscaling targets for an instance.
Protobuf type google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AutoscalingConfig.AutoscalingTargetsStatic Fields
HIGH_PRIORITY_CPU_UTILIZATION_PERCENT_FIELD_NUMBER
public static final int HIGH_PRIORITY_CPU_UTILIZATION_PERCENT_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
STORAGE_UTILIZATION_PERCENT_FIELD_NUMBER
public static final int STORAGE_UTILIZATION_PERCENT_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static AutoscalingConfig.AutoscalingTargets getDefaultInstance()
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AutoscalingTargets |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static AutoscalingConfig.AutoscalingTargets.Builder newBuilder()
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AutoscalingTargets.Builder |
newBuilder(AutoscalingConfig.AutoscalingTargets prototype)
public static AutoscalingConfig.AutoscalingTargets.Builder newBuilder(AutoscalingConfig.AutoscalingTargets prototype)
Parameter | |
---|---|
Name | Description |
prototype |
AutoscalingConfig.AutoscalingTargets |
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AutoscalingTargets.Builder |
parseDelimitedFrom(InputStream input)
public static AutoscalingConfig.AutoscalingTargets parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AutoscalingTargets |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AutoscalingConfig.AutoscalingTargets parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AutoscalingTargets |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static AutoscalingConfig.AutoscalingTargets parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AutoscalingTargets |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AutoscalingConfig.AutoscalingTargets parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AutoscalingTargets |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static AutoscalingConfig.AutoscalingTargets parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AutoscalingTargets |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AutoscalingConfig.AutoscalingTargets parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AutoscalingTargets |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static AutoscalingConfig.AutoscalingTargets parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AutoscalingTargets |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AutoscalingConfig.AutoscalingTargets parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AutoscalingTargets |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static AutoscalingConfig.AutoscalingTargets parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AutoscalingTargets |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AutoscalingConfig.AutoscalingTargets parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AutoscalingTargets |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static AutoscalingConfig.AutoscalingTargets parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AutoscalingTargets |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AutoscalingConfig.AutoscalingTargets parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AutoscalingTargets |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<AutoscalingConfig.AutoscalingTargets> parser()
Returns | |
---|---|
Type | Description |
Parser<AutoscalingTargets> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public AutoscalingConfig.AutoscalingTargets getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AutoscalingTargets |
getHighPriorityCpuUtilizationPercent()
public int getHighPriorityCpuUtilizationPercent()
Required. The target high priority cpu utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 90] inclusive.
int32 high_priority_cpu_utilization_percent = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
The highPriorityCpuUtilizationPercent. |
getParserForType()
public Parser<AutoscalingConfig.AutoscalingTargets> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<AutoscalingTargets> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getStorageUtilizationPercent()
public int getStorageUtilizationPercent()
Required. The target storage utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 100] inclusive.
int32 storage_utilization_percent = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
The storageUtilizationPercent. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public AutoscalingConfig.AutoscalingTargets.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AutoscalingTargets.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AutoscalingConfig.AutoscalingTargets.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AutoscalingTargets.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public AutoscalingConfig.AutoscalingTargets.Builder toBuilder()
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AutoscalingTargets.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |