public static final class Cluster.ClusterAutoscalingConfig.Builder extends GeneratedMessageV3.Builder<Cluster.ClusterAutoscalingConfig.Builder> implements Cluster.ClusterAutoscalingConfigOrBuilder
Autoscaling config for a cluster.
Protobuf type google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Cluster.ClusterAutoscalingConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Cluster.ClusterAutoscalingConfig build()
Returns
buildPartial()
public Cluster.ClusterAutoscalingConfig buildPartial()
Returns
clear()
public Cluster.ClusterAutoscalingConfig.Builder clear()
Returns
Overrides
clearAutoscalingLimits()
public Cluster.ClusterAutoscalingConfig.Builder clearAutoscalingLimits()
Required. Autoscaling limits for this cluster.
.google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearAutoscalingTargets()
public Cluster.ClusterAutoscalingConfig.Builder clearAutoscalingTargets()
Required. Autoscaling targets for this cluster.
.google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public Cluster.ClusterAutoscalingConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Cluster.ClusterAutoscalingConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public Cluster.ClusterAutoscalingConfig.Builder clone()
Returns
Overrides
getAutoscalingLimits()
public AutoscalingLimits getAutoscalingLimits()
Required. Autoscaling limits for this cluster.
.google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getAutoscalingLimitsBuilder()
public AutoscalingLimits.Builder getAutoscalingLimitsBuilder()
Required. Autoscaling limits for this cluster.
.google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getAutoscalingLimitsOrBuilder()
public AutoscalingLimitsOrBuilder getAutoscalingLimitsOrBuilder()
Required. Autoscaling limits for this cluster.
.google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getAutoscalingTargets()
public AutoscalingTargets getAutoscalingTargets()
Required. Autoscaling targets for this cluster.
.google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getAutoscalingTargetsBuilder()
public AutoscalingTargets.Builder getAutoscalingTargetsBuilder()
Required. Autoscaling targets for this cluster.
.google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getAutoscalingTargetsOrBuilder()
public AutoscalingTargetsOrBuilder getAutoscalingTargetsOrBuilder()
Required. Autoscaling targets for this cluster.
.google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public Cluster.ClusterAutoscalingConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
hasAutoscalingLimits()
public boolean hasAutoscalingLimits()
Required. Autoscaling limits for this cluster.
.google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the autoscalingLimits field is set.
|
hasAutoscalingTargets()
public boolean hasAutoscalingTargets()
Required. Autoscaling targets for this cluster.
.google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the autoscalingTargets field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeAutoscalingLimits(AutoscalingLimits value)
public Cluster.ClusterAutoscalingConfig.Builder mergeAutoscalingLimits(AutoscalingLimits value)
Required. Autoscaling limits for this cluster.
.google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeAutoscalingTargets(AutoscalingTargets value)
public Cluster.ClusterAutoscalingConfig.Builder mergeAutoscalingTargets(AutoscalingTargets value)
Required. Autoscaling targets for this cluster.
.google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeFrom(Cluster.ClusterAutoscalingConfig other)
public Cluster.ClusterAutoscalingConfig.Builder mergeFrom(Cluster.ClusterAutoscalingConfig other)
Parameter
Returns
public Cluster.ClusterAutoscalingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Cluster.ClusterAutoscalingConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Cluster.ClusterAutoscalingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setAutoscalingLimits(AutoscalingLimits value)
public Cluster.ClusterAutoscalingConfig.Builder setAutoscalingLimits(AutoscalingLimits value)
Required. Autoscaling limits for this cluster.
.google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setAutoscalingLimits(AutoscalingLimits.Builder builderForValue)
public Cluster.ClusterAutoscalingConfig.Builder setAutoscalingLimits(AutoscalingLimits.Builder builderForValue)
Required. Autoscaling limits for this cluster.
.google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setAutoscalingTargets(AutoscalingTargets value)
public Cluster.ClusterAutoscalingConfig.Builder setAutoscalingTargets(AutoscalingTargets value)
Required. Autoscaling targets for this cluster.
.google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setAutoscalingTargets(AutoscalingTargets.Builder builderForValue)
public Cluster.ClusterAutoscalingConfig.Builder setAutoscalingTargets(AutoscalingTargets.Builder builderForValue)
Required. Autoscaling targets for this cluster.
.google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Cluster.ClusterAutoscalingConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Cluster.ClusterAutoscalingConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Cluster.ClusterAutoscalingConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides