public static final class AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder extends GeneratedMessageV3.Builder<AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder> 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides build()
buildPartial()
public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides buildPartial()
clear()
public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder clear()
Overrides
clearAutoscalingLimits()
public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder clearAutoscalingLimits()
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];
clearAutoscalingTargetHighPriorityCpuUtilizationPercent()
public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder clearAutoscalingTargetHighPriorityCpuUtilizationPercent()
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];
clearField(Descriptors.FieldDescriptor field)
public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder clone()
Overrides
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];
getAutoscalingLimitsBuilder()
public AutoscalingConfig.AutoscalingLimits.Builder getAutoscalingLimitsBuilder()
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];
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];
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeAutoscalingLimits(AutoscalingConfig.AutoscalingLimits value)
public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder mergeAutoscalingLimits(AutoscalingConfig.AutoscalingLimits value)
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];
public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides other)
public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder mergeFrom(AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAutoscalingLimits(AutoscalingConfig.AutoscalingLimits value)
public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder setAutoscalingLimits(AutoscalingConfig.AutoscalingLimits value)
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];
setAutoscalingLimits(AutoscalingConfig.AutoscalingLimits.Builder builderForValue)
public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder setAutoscalingLimits(AutoscalingConfig.AutoscalingLimits.Builder builderForValue)
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];
setAutoscalingTargetHighPriorityCpuUtilizationPercent(int value)
public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder setAutoscalingTargetHighPriorityCpuUtilizationPercent(int value)
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];
Parameter |
Name |
Description |
value |
int
The autoscalingTargetHighPriorityCpuUtilizationPercent to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides