Class AutoscalingConfig.AutoscalingTargets (6.62.0)

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.AutoscalingTargets

Static Fields

HIGH_PRIORITY_CPU_UTILIZATION_PERCENT_FIELD_NUMBER

public static final int HIGH_PRIORITY_CPU_UTILIZATION_PERCENT_FIELD_NUMBER
Field Value
TypeDescription
int

STORAGE_UTILIZATION_PERCENT_FIELD_NUMBER

public static final int STORAGE_UTILIZATION_PERCENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AutoscalingConfig.AutoscalingTargets getDefaultInstance()
Returns
TypeDescription
AutoscalingConfig.AutoscalingTargets

getDescriptor()

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

newBuilder()

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

newBuilder(AutoscalingConfig.AutoscalingTargets prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public AutoscalingConfig.AutoscalingTargets getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
int

The highPriorityCpuUtilizationPercent.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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

The storageUtilizationPercent.

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 AutoscalingConfig.AutoscalingTargets.Builder newBuilderForType()
Returns
TypeDescription
AutoscalingConfig.AutoscalingTargets.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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