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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static 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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AutoscalingConfig.AutoscalingTargets.Builder newBuilder()
newBuilder(AutoscalingConfig.AutoscalingTargets prototype)
public static AutoscalingConfig.AutoscalingTargets.Builder newBuilder(AutoscalingConfig.AutoscalingTargets prototype)
public static AutoscalingConfig.AutoscalingTargets parseDelimitedFrom(InputStream input)
public static AutoscalingConfig.AutoscalingTargets parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AutoscalingConfig.AutoscalingTargets parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AutoscalingConfig.AutoscalingTargets parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AutoscalingConfig.AutoscalingTargets parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AutoscalingConfig.AutoscalingTargets parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AutoscalingConfig.AutoscalingTargets parseFrom(CodedInputStream input)
public static AutoscalingConfig.AutoscalingTargets parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AutoscalingConfig.AutoscalingTargets parseFrom(InputStream input)
public static AutoscalingConfig.AutoscalingTargets parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AutoscalingConfig.AutoscalingTargets parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AutoscalingConfig.AutoscalingTargets parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AutoscalingConfig.AutoscalingTargets> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public AutoscalingConfig.AutoscalingTargets getDefaultInstanceForType()
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()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
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 |
---|
Type | Description |
int | The storageUtilizationPercent.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AutoscalingConfig.AutoscalingTargets.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AutoscalingConfig.AutoscalingTargets.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public AutoscalingConfig.AutoscalingTargets.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides