Class AutoscalingConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<AutoscalingConfig.Builder>
com.google.spanner.admin.instance.v1.AutoscalingConfig.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,AutoscalingConfigOrBuilder,Cloneable
- Enclosing class:
- AutoscalingConfig
public static final class AutoscalingConfig.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<AutoscalingConfig.Builder>
implements AutoscalingConfigOrBuilder
Autoscaling configuration for an instance.Protobuf type
google.spanner.admin.instance.v1.AutoscalingConfig-
Method Summary
Modifier and TypeMethodDescriptionaddAllAsymmetricAutoscalingOptions(Iterable<? extends AutoscalingConfig.AsymmetricAutoscalingOption> values) Optional.addAsymmetricAutoscalingOptions(int index, AutoscalingConfig.AsymmetricAutoscalingOption value) Optional.addAsymmetricAutoscalingOptions(int index, AutoscalingConfig.AsymmetricAutoscalingOption.Builder builderForValue) Optional.Optional.addAsymmetricAutoscalingOptions(AutoscalingConfig.AsymmetricAutoscalingOption.Builder builderForValue) Optional.Optional.addAsymmetricAutoscalingOptionsBuilder(int index) Optional.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Optional.Required.Required.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()getAsymmetricAutoscalingOptions(int index) Optional.getAsymmetricAutoscalingOptionsBuilder(int index) Optional.Optional.intOptional.Optional.getAsymmetricAutoscalingOptionsOrBuilder(int index) Optional.Optional.Required.Required.Required.Required.Required.Required.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanRequired.booleanRequired.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanRequired.Required.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(AutoscalingConfig other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeAsymmetricAutoscalingOptions(int index) Optional.setAsymmetricAutoscalingOptions(int index, AutoscalingConfig.AsymmetricAutoscalingOption value) Optional.setAsymmetricAutoscalingOptions(int index, AutoscalingConfig.AsymmetricAutoscalingOption.Builder builderForValue) Optional.Required.setAutoscalingLimits(AutoscalingConfig.AutoscalingLimits.Builder builderForValue) Required.Required.setAutoscalingTargets(AutoscalingConfig.AutoscalingTargets.Builder builderForValue) Required.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<AutoscalingConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<AutoscalingConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<AutoscalingConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<AutoscalingConfig.Builder>
-
setField
public AutoscalingConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AutoscalingConfig.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AutoscalingConfig.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AutoscalingConfig.Builder>
-
setRepeatedField
public AutoscalingConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AutoscalingConfig.Builder>
-
addRepeatedField
public AutoscalingConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AutoscalingConfig.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AutoscalingConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<AutoscalingConfig.Builder>
-
mergeFrom
public AutoscalingConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AutoscalingConfig.Builder>- Throws:
IOException
-
hasAutoscalingLimits
public boolean hasAutoscalingLimits()Required. Autoscaling limits for an instance.
.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasAutoscalingLimitsin interfaceAutoscalingConfigOrBuilder- Returns:
- Whether the autoscalingLimits field is set.
-
getAutoscalingLimits
Required. Autoscaling limits for an instance.
.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getAutoscalingLimitsin interfaceAutoscalingConfigOrBuilder- Returns:
- The autoscalingLimits.
-
setAutoscalingLimits
Required. Autoscaling limits for an instance.
.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; -
setAutoscalingLimits
public AutoscalingConfig.Builder setAutoscalingLimits(AutoscalingConfig.AutoscalingLimits.Builder builderForValue) Required. Autoscaling limits for an instance.
.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; -
mergeAutoscalingLimits
Required. Autoscaling limits for an instance.
.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; -
clearAutoscalingLimits
Required. Autoscaling limits for an instance.
.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; -
getAutoscalingLimitsBuilder
Required. Autoscaling limits for an instance.
.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; -
getAutoscalingLimitsOrBuilder
Required. Autoscaling limits for an instance.
.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getAutoscalingLimitsOrBuilderin interfaceAutoscalingConfigOrBuilder
-
hasAutoscalingTargets
public boolean hasAutoscalingTargets()Required. The autoscaling targets for an instance.
.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasAutoscalingTargetsin interfaceAutoscalingConfigOrBuilder- Returns:
- Whether the autoscalingTargets field is set.
-
getAutoscalingTargets
Required. The autoscaling targets for an instance.
.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getAutoscalingTargetsin interfaceAutoscalingConfigOrBuilder- Returns:
- The autoscalingTargets.
-
setAutoscalingTargets
Required. The autoscaling targets for an instance.
.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; -
setAutoscalingTargets
public AutoscalingConfig.Builder setAutoscalingTargets(AutoscalingConfig.AutoscalingTargets.Builder builderForValue) Required. The autoscaling targets for an instance.
.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; -
mergeAutoscalingTargets
public AutoscalingConfig.Builder mergeAutoscalingTargets(AutoscalingConfig.AutoscalingTargets value) Required. The autoscaling targets for an instance.
.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; -
clearAutoscalingTargets
Required. The autoscaling targets for an instance.
.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; -
getAutoscalingTargetsBuilder
Required. The autoscaling targets for an instance.
.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; -
getAutoscalingTargetsOrBuilder
Required. The autoscaling targets for an instance.
.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getAutoscalingTargetsOrBuilderin interfaceAutoscalingConfigOrBuilder
-
getAsymmetricAutoscalingOptionsList
Optional. Optional asymmetric autoscaling options. Replicas matching the replica selection criteria will be autoscaled independently from other replicas. The autoscaler will scale the replicas based on the utilization of replicas identified by the replica selection. Replica selections should not overlap with each other. Other replicas (those do not match any replica selection) will be autoscaled together and will have the same compute capacity allocated to them.
repeated .google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption asymmetric_autoscaling_options = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAsymmetricAutoscalingOptionsListin interfaceAutoscalingConfigOrBuilder
-
getAsymmetricAutoscalingOptionsCount
public int getAsymmetricAutoscalingOptionsCount()Optional. Optional asymmetric autoscaling options. Replicas matching the replica selection criteria will be autoscaled independently from other replicas. The autoscaler will scale the replicas based on the utilization of replicas identified by the replica selection. Replica selections should not overlap with each other. Other replicas (those do not match any replica selection) will be autoscaled together and will have the same compute capacity allocated to them.
repeated .google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption asymmetric_autoscaling_options = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAsymmetricAutoscalingOptionsCountin interfaceAutoscalingConfigOrBuilder
-
getAsymmetricAutoscalingOptions
Optional. Optional asymmetric autoscaling options. Replicas matching the replica selection criteria will be autoscaled independently from other replicas. The autoscaler will scale the replicas based on the utilization of replicas identified by the replica selection. Replica selections should not overlap with each other. Other replicas (those do not match any replica selection) will be autoscaled together and will have the same compute capacity allocated to them.
repeated .google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption asymmetric_autoscaling_options = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAsymmetricAutoscalingOptionsin interfaceAutoscalingConfigOrBuilder
-
setAsymmetricAutoscalingOptions
public AutoscalingConfig.Builder setAsymmetricAutoscalingOptions(int index, AutoscalingConfig.AsymmetricAutoscalingOption value) Optional. Optional asymmetric autoscaling options. Replicas matching the replica selection criteria will be autoscaled independently from other replicas. The autoscaler will scale the replicas based on the utilization of replicas identified by the replica selection. Replica selections should not overlap with each other. Other replicas (those do not match any replica selection) will be autoscaled together and will have the same compute capacity allocated to them.
repeated .google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption asymmetric_autoscaling_options = 3 [(.google.api.field_behavior) = OPTIONAL]; -
setAsymmetricAutoscalingOptions
public AutoscalingConfig.Builder setAsymmetricAutoscalingOptions(int index, AutoscalingConfig.AsymmetricAutoscalingOption.Builder builderForValue) Optional. Optional asymmetric autoscaling options. Replicas matching the replica selection criteria will be autoscaled independently from other replicas. The autoscaler will scale the replicas based on the utilization of replicas identified by the replica selection. Replica selections should not overlap with each other. Other replicas (those do not match any replica selection) will be autoscaled together and will have the same compute capacity allocated to them.
repeated .google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption asymmetric_autoscaling_options = 3 [(.google.api.field_behavior) = OPTIONAL]; -
addAsymmetricAutoscalingOptions
public AutoscalingConfig.Builder addAsymmetricAutoscalingOptions(AutoscalingConfig.AsymmetricAutoscalingOption value) Optional. Optional asymmetric autoscaling options. Replicas matching the replica selection criteria will be autoscaled independently from other replicas. The autoscaler will scale the replicas based on the utilization of replicas identified by the replica selection. Replica selections should not overlap with each other. Other replicas (those do not match any replica selection) will be autoscaled together and will have the same compute capacity allocated to them.
repeated .google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption asymmetric_autoscaling_options = 3 [(.google.api.field_behavior) = OPTIONAL]; -
addAsymmetricAutoscalingOptions
public AutoscalingConfig.Builder addAsymmetricAutoscalingOptions(int index, AutoscalingConfig.AsymmetricAutoscalingOption value) Optional. Optional asymmetric autoscaling options. Replicas matching the replica selection criteria will be autoscaled independently from other replicas. The autoscaler will scale the replicas based on the utilization of replicas identified by the replica selection. Replica selections should not overlap with each other. Other replicas (those do not match any replica selection) will be autoscaled together and will have the same compute capacity allocated to them.
repeated .google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption asymmetric_autoscaling_options = 3 [(.google.api.field_behavior) = OPTIONAL]; -
addAsymmetricAutoscalingOptions
public AutoscalingConfig.Builder addAsymmetricAutoscalingOptions(AutoscalingConfig.AsymmetricAutoscalingOption.Builder builderForValue) Optional. Optional asymmetric autoscaling options. Replicas matching the replica selection criteria will be autoscaled independently from other replicas. The autoscaler will scale the replicas based on the utilization of replicas identified by the replica selection. Replica selections should not overlap with each other. Other replicas (those do not match any replica selection) will be autoscaled together and will have the same compute capacity allocated to them.
repeated .google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption asymmetric_autoscaling_options = 3 [(.google.api.field_behavior) = OPTIONAL]; -
addAsymmetricAutoscalingOptions
public AutoscalingConfig.Builder addAsymmetricAutoscalingOptions(int index, AutoscalingConfig.AsymmetricAutoscalingOption.Builder builderForValue) Optional. Optional asymmetric autoscaling options. Replicas matching the replica selection criteria will be autoscaled independently from other replicas. The autoscaler will scale the replicas based on the utilization of replicas identified by the replica selection. Replica selections should not overlap with each other. Other replicas (those do not match any replica selection) will be autoscaled together and will have the same compute capacity allocated to them.
repeated .google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption asymmetric_autoscaling_options = 3 [(.google.api.field_behavior) = OPTIONAL]; -
addAllAsymmetricAutoscalingOptions
public AutoscalingConfig.Builder addAllAsymmetricAutoscalingOptions(Iterable<? extends AutoscalingConfig.AsymmetricAutoscalingOption> values) Optional. Optional asymmetric autoscaling options. Replicas matching the replica selection criteria will be autoscaled independently from other replicas. The autoscaler will scale the replicas based on the utilization of replicas identified by the replica selection. Replica selections should not overlap with each other. Other replicas (those do not match any replica selection) will be autoscaled together and will have the same compute capacity allocated to them.
repeated .google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption asymmetric_autoscaling_options = 3 [(.google.api.field_behavior) = OPTIONAL]; -
clearAsymmetricAutoscalingOptions
Optional. Optional asymmetric autoscaling options. Replicas matching the replica selection criteria will be autoscaled independently from other replicas. The autoscaler will scale the replicas based on the utilization of replicas identified by the replica selection. Replica selections should not overlap with each other. Other replicas (those do not match any replica selection) will be autoscaled together and will have the same compute capacity allocated to them.
repeated .google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption asymmetric_autoscaling_options = 3 [(.google.api.field_behavior) = OPTIONAL]; -
removeAsymmetricAutoscalingOptions
Optional. Optional asymmetric autoscaling options. Replicas matching the replica selection criteria will be autoscaled independently from other replicas. The autoscaler will scale the replicas based on the utilization of replicas identified by the replica selection. Replica selections should not overlap with each other. Other replicas (those do not match any replica selection) will be autoscaled together and will have the same compute capacity allocated to them.
repeated .google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption asymmetric_autoscaling_options = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getAsymmetricAutoscalingOptionsBuilder
public AutoscalingConfig.AsymmetricAutoscalingOption.Builder getAsymmetricAutoscalingOptionsBuilder(int index) Optional. Optional asymmetric autoscaling options. Replicas matching the replica selection criteria will be autoscaled independently from other replicas. The autoscaler will scale the replicas based on the utilization of replicas identified by the replica selection. Replica selections should not overlap with each other. Other replicas (those do not match any replica selection) will be autoscaled together and will have the same compute capacity allocated to them.
repeated .google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption asymmetric_autoscaling_options = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getAsymmetricAutoscalingOptionsOrBuilder
public AutoscalingConfig.AsymmetricAutoscalingOptionOrBuilder getAsymmetricAutoscalingOptionsOrBuilder(int index) Optional. Optional asymmetric autoscaling options. Replicas matching the replica selection criteria will be autoscaled independently from other replicas. The autoscaler will scale the replicas based on the utilization of replicas identified by the replica selection. Replica selections should not overlap with each other. Other replicas (those do not match any replica selection) will be autoscaled together and will have the same compute capacity allocated to them.
repeated .google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption asymmetric_autoscaling_options = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAsymmetricAutoscalingOptionsOrBuilderin interfaceAutoscalingConfigOrBuilder
-
getAsymmetricAutoscalingOptionsOrBuilderList
public List<? extends AutoscalingConfig.AsymmetricAutoscalingOptionOrBuilder> getAsymmetricAutoscalingOptionsOrBuilderList()Optional. Optional asymmetric autoscaling options. Replicas matching the replica selection criteria will be autoscaled independently from other replicas. The autoscaler will scale the replicas based on the utilization of replicas identified by the replica selection. Replica selections should not overlap with each other. Other replicas (those do not match any replica selection) will be autoscaled together and will have the same compute capacity allocated to them.
repeated .google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption asymmetric_autoscaling_options = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAsymmetricAutoscalingOptionsOrBuilderListin interfaceAutoscalingConfigOrBuilder
-
addAsymmetricAutoscalingOptionsBuilder
public AutoscalingConfig.AsymmetricAutoscalingOption.Builder addAsymmetricAutoscalingOptionsBuilder()Optional. Optional asymmetric autoscaling options. Replicas matching the replica selection criteria will be autoscaled independently from other replicas. The autoscaler will scale the replicas based on the utilization of replicas identified by the replica selection. Replica selections should not overlap with each other. Other replicas (those do not match any replica selection) will be autoscaled together and will have the same compute capacity allocated to them.
repeated .google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption asymmetric_autoscaling_options = 3 [(.google.api.field_behavior) = OPTIONAL]; -
addAsymmetricAutoscalingOptionsBuilder
public AutoscalingConfig.AsymmetricAutoscalingOption.Builder addAsymmetricAutoscalingOptionsBuilder(int index) Optional. Optional asymmetric autoscaling options. Replicas matching the replica selection criteria will be autoscaled independently from other replicas. The autoscaler will scale the replicas based on the utilization of replicas identified by the replica selection. Replica selections should not overlap with each other. Other replicas (those do not match any replica selection) will be autoscaled together and will have the same compute capacity allocated to them.
repeated .google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption asymmetric_autoscaling_options = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getAsymmetricAutoscalingOptionsBuilderList
public List<AutoscalingConfig.AsymmetricAutoscalingOption.Builder> getAsymmetricAutoscalingOptionsBuilderList()Optional. Optional asymmetric autoscaling options. Replicas matching the replica selection criteria will be autoscaled independently from other replicas. The autoscaler will scale the replicas based on the utilization of replicas identified by the replica selection. Replica selections should not overlap with each other. Other replicas (those do not match any replica selection) will be autoscaled together and will have the same compute capacity allocated to them.
repeated .google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption asymmetric_autoscaling_options = 3 [(.google.api.field_behavior) = OPTIONAL]; -
setUnknownFields
public final AutoscalingConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AutoscalingConfig.Builder>
-
mergeUnknownFields
public final AutoscalingConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AutoscalingConfig.Builder>
-