Class AutoscalingTargets.Builder (2.5.3)

public static final class AutoscalingTargets.Builder extends GeneratedMessageV3.Builder<AutoscalingTargets.Builder> implements AutoscalingTargetsOrBuilder

The Autoscaling targets for a Cluster. These determine the recommended nodes.

Protobuf type google.bigtable.admin.v2.AutoscalingTargets

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AutoscalingTargets.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AutoscalingTargets.Builder
Overrides

build()

public AutoscalingTargets build()
Returns
TypeDescription
AutoscalingTargets

buildPartial()

public AutoscalingTargets buildPartial()
Returns
TypeDescription
AutoscalingTargets

clear()

public AutoscalingTargets.Builder clear()
Returns
TypeDescription
AutoscalingTargets.Builder
Overrides

clearCpuUtilizationPercent()

public AutoscalingTargets.Builder clearCpuUtilizationPercent()

The cpu utilization that the Autoscaler should be trying to achieve. This number is on a scale from 0 (no utilization) to 100 (total utilization).

int32 cpu_utilization_percent = 2;

Returns
TypeDescription
AutoscalingTargets.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AutoscalingTargets.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AutoscalingTargets.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AutoscalingTargets.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AutoscalingTargets.Builder
Overrides

clone()

public AutoscalingTargets.Builder clone()
Returns
TypeDescription
AutoscalingTargets.Builder
Overrides

getCpuUtilizationPercent()

public int getCpuUtilizationPercent()

The cpu utilization that the Autoscaler should be trying to achieve. This number is on a scale from 0 (no utilization) to 100 (total utilization).

int32 cpu_utilization_percent = 2;

Returns
TypeDescription
int

The cpuUtilizationPercent.

getDefaultInstanceForType()

public AutoscalingTargets getDefaultInstanceForType()
Returns
TypeDescription
AutoscalingTargets

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AutoscalingTargets other)

public AutoscalingTargets.Builder mergeFrom(AutoscalingTargets other)
Parameter
NameDescription
otherAutoscalingTargets
Returns
TypeDescription
AutoscalingTargets.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AutoscalingTargets.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutoscalingTargets.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AutoscalingTargets.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AutoscalingTargets.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AutoscalingTargets.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AutoscalingTargets.Builder
Overrides

setCpuUtilizationPercent(int value)

public AutoscalingTargets.Builder setCpuUtilizationPercent(int value)

The cpu utilization that the Autoscaler should be trying to achieve. This number is on a scale from 0 (no utilization) to 100 (total utilization).

int32 cpu_utilization_percent = 2;

Parameter
NameDescription
valueint

The cpuUtilizationPercent to set.

Returns
TypeDescription
AutoscalingTargets.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AutoscalingTargets.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AutoscalingTargets.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AutoscalingTargets.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AutoscalingTargets.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AutoscalingTargets.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AutoscalingTargets.Builder
Overrides