public static final class AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides extends GeneratedMessageV3 implements AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverridesOrBuilder
Overrides the top-level autoscaling configuration for the replicas
identified by replica_selection
. All fields in this message are
optional. Any unspecified fields will use the corresponding values from
the top-level autoscaling configuration.
Protobuf type
google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverridesStatic Fields
AUTOSCALING_LIMITS_FIELD_NUMBER
public static final int AUTOSCALING_LIMITS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
AUTOSCALING_TARGET_HIGH_PRIORITY_CPU_UTILIZATION_PERCENT_FIELD_NUMBER
public static final int AUTOSCALING_TARGET_HIGH_PRIORITY_CPU_UTILIZATION_PERCENT_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides getDefaultInstance()
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder newBuilder()
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder |
newBuilder(AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides prototype)
public static AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder newBuilder(AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides prototype)
Parameter | |
---|---|
Name | Description |
prototype |
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides |
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder |
parseDelimitedFrom(InputStream input)
public static AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides> parser()
Returns | |
---|---|
Type | Description |
Parser<AutoscalingConfigOverrides> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getAutoscalingLimits()
public AutoscalingConfig.AutoscalingLimits getAutoscalingLimits()
Optional. If specified, overrides the min/max limit in the top-level autoscaling configuration for the selected replicas.
.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AutoscalingLimits |
The autoscalingLimits. |
getAutoscalingLimitsOrBuilder()
public AutoscalingConfig.AutoscalingLimitsOrBuilder getAutoscalingLimitsOrBuilder()
Optional. If specified, overrides the min/max limit in the top-level autoscaling configuration for the selected replicas.
.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AutoscalingLimitsOrBuilder |
getAutoscalingTargetHighPriorityCpuUtilizationPercent()
public int getAutoscalingTargetHighPriorityCpuUtilizationPercent()
Optional. If specified, overrides the autoscaling target high_priority_cpu_utilization_percent in the top-level autoscaling configuration for the selected replicas.
int32 autoscaling_target_high_priority_cpu_utilization_percent = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The autoscalingTargetHighPriorityCpuUtilizationPercent. |
getDefaultInstanceForType()
public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides |
getParserForType()
public Parser<AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<AutoscalingConfigOverrides> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
hasAutoscalingLimits()
public boolean hasAutoscalingLimits()
Optional. If specified, overrides the min/max limit in the top-level autoscaling configuration for the selected replicas.
.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the autoscalingLimits field is set. |
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.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder toBuilder()
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |