public static final class AutoscalingConfig.Builder extends GeneratedMessageV3.Builder<AutoscalingConfig.Builder> implements AutoscalingConfigOrBuilder
Autoscaling config for an instance.
Protobuf type google.spanner.admin.instance.v1.AutoscalingConfig
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.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AutoscalingConfig build()
buildPartial()
public AutoscalingConfig buildPartial()
clear()
public AutoscalingConfig.Builder clear()
Overrides
clearAutoscalingLimits()
public AutoscalingConfig.Builder clearAutoscalingLimits()
Required. Autoscaling limits for an instance.
.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED];
clearAutoscalingTargets()
public AutoscalingConfig.Builder clearAutoscalingTargets()
Required. The autoscaling targets for an instance.
.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public AutoscalingConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AutoscalingConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public AutoscalingConfig.Builder clone()
Overrides
getAutoscalingLimits()
public AutoscalingConfig.AutoscalingLimits getAutoscalingLimits()
Required. Autoscaling limits for an instance.
.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED];
getAutoscalingLimitsBuilder()
public AutoscalingConfig.AutoscalingLimits.Builder getAutoscalingLimitsBuilder()
Required. Autoscaling limits for an instance.
.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED];
getAutoscalingLimitsOrBuilder()
public AutoscalingConfig.AutoscalingLimitsOrBuilder getAutoscalingLimitsOrBuilder()
Required. Autoscaling limits for an instance.
.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED];
getAutoscalingTargets()
public AutoscalingConfig.AutoscalingTargets getAutoscalingTargets()
Required. The autoscaling targets for an instance.
.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED];
getAutoscalingTargetsBuilder()
public AutoscalingConfig.AutoscalingTargets.Builder getAutoscalingTargetsBuilder()
Required. The autoscaling targets for an instance.
.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED];
getAutoscalingTargetsOrBuilder()
public AutoscalingConfig.AutoscalingTargetsOrBuilder getAutoscalingTargetsOrBuilder()
Required. The autoscaling targets for an instance.
.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public AutoscalingConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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];
Returns |
---|
Type | Description |
boolean | Whether the autoscalingLimits field is set.
|
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];
Returns |
---|
Type | Description |
boolean | Whether the autoscalingTargets field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeAutoscalingLimits(AutoscalingConfig.AutoscalingLimits value)
public AutoscalingConfig.Builder mergeAutoscalingLimits(AutoscalingConfig.AutoscalingLimits value)
Required. Autoscaling limits for an instance.
.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED];
mergeAutoscalingTargets(AutoscalingConfig.AutoscalingTargets value)
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];
public AutoscalingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AutoscalingConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeFrom(AutoscalingConfig other)
public AutoscalingConfig.Builder mergeFrom(AutoscalingConfig other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AutoscalingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAutoscalingLimits(AutoscalingConfig.AutoscalingLimits value)
public AutoscalingConfig.Builder setAutoscalingLimits(AutoscalingConfig.AutoscalingLimits value)
Required. Autoscaling limits for an instance.
.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED];
setAutoscalingLimits(AutoscalingConfig.AutoscalingLimits.Builder builderForValue)
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];
setAutoscalingTargets(AutoscalingConfig.AutoscalingTargets value)
public AutoscalingConfig.Builder setAutoscalingTargets(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];
setAutoscalingTargets(AutoscalingConfig.AutoscalingTargets.Builder builderForValue)
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];
setField(Descriptors.FieldDescriptor field, Object value)
public AutoscalingConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AutoscalingConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AutoscalingConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides