Class FeatureOnlineStore.Bigtable.AutoScaling.Builder (3.49.0)

public static final class FeatureOnlineStore.Bigtable.AutoScaling.Builder extends GeneratedMessageV3.Builder<FeatureOnlineStore.Bigtable.AutoScaling.Builder> implements FeatureOnlineStore.Bigtable.AutoScalingOrBuilder

Protobuf type google.cloud.aiplatform.v1.FeatureOnlineStore.Bigtable.AutoScaling

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FeatureOnlineStore.Bigtable.AutoScaling.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FeatureOnlineStore.Bigtable.AutoScaling.Builder
Overrides

build()

public FeatureOnlineStore.Bigtable.AutoScaling build()
Returns
Type Description
FeatureOnlineStore.Bigtable.AutoScaling

buildPartial()

public FeatureOnlineStore.Bigtable.AutoScaling buildPartial()
Returns
Type Description
FeatureOnlineStore.Bigtable.AutoScaling

clear()

public FeatureOnlineStore.Bigtable.AutoScaling.Builder clear()
Returns
Type Description
FeatureOnlineStore.Bigtable.AutoScaling.Builder
Overrides

clearCpuUtilizationTarget()

public FeatureOnlineStore.Bigtable.AutoScaling.Builder clearCpuUtilizationTarget()

Optional. A percentage of the cluster's CPU capacity. Can be from 10% to 80%. When a cluster's CPU utilization exceeds the target that you have set, Bigtable immediately adds nodes to the cluster. When CPU utilization is substantially lower than the target, Bigtable removes nodes. If not set will default to 50%.

int32 cpu_utilization_target = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FeatureOnlineStore.Bigtable.AutoScaling.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public FeatureOnlineStore.Bigtable.AutoScaling.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FeatureOnlineStore.Bigtable.AutoScaling.Builder
Overrides

clearMaxNodeCount()

public FeatureOnlineStore.Bigtable.AutoScaling.Builder clearMaxNodeCount()

Required. The maximum number of nodes to scale up to. Must be greater than or equal to min_node_count, and less than or equal to 10 times of 'min_node_count'.

int32 max_node_count = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FeatureOnlineStore.Bigtable.AutoScaling.Builder

This builder for chaining.

clearMinNodeCount()

public FeatureOnlineStore.Bigtable.AutoScaling.Builder clearMinNodeCount()

Required. The minimum number of nodes to scale down to. Must be greater than or equal to 1.

int32 min_node_count = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FeatureOnlineStore.Bigtable.AutoScaling.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public FeatureOnlineStore.Bigtable.AutoScaling.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FeatureOnlineStore.Bigtable.AutoScaling.Builder
Overrides

clone()

public FeatureOnlineStore.Bigtable.AutoScaling.Builder clone()
Returns
Type Description
FeatureOnlineStore.Bigtable.AutoScaling.Builder
Overrides

getCpuUtilizationTarget()

public int getCpuUtilizationTarget()

Optional. A percentage of the cluster's CPU capacity. Can be from 10% to 80%. When a cluster's CPU utilization exceeds the target that you have set, Bigtable immediately adds nodes to the cluster. When CPU utilization is substantially lower than the target, Bigtable removes nodes. If not set will default to 50%.

int32 cpu_utilization_target = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The cpuUtilizationTarget.

getDefaultInstanceForType()

public FeatureOnlineStore.Bigtable.AutoScaling getDefaultInstanceForType()
Returns
Type Description
FeatureOnlineStore.Bigtable.AutoScaling

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMaxNodeCount()

public int getMaxNodeCount()

Required. The maximum number of nodes to scale up to. Must be greater than or equal to min_node_count, and less than or equal to 10 times of 'min_node_count'.

int32 max_node_count = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The maxNodeCount.

getMinNodeCount()

public int getMinNodeCount()

Required. The minimum number of nodes to scale down to. Must be greater than or equal to 1.

int32 min_node_count = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The minNodeCount.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FeatureOnlineStore.Bigtable.AutoScaling other)

public FeatureOnlineStore.Bigtable.AutoScaling.Builder mergeFrom(FeatureOnlineStore.Bigtable.AutoScaling other)
Parameter
Name Description
other FeatureOnlineStore.Bigtable.AutoScaling
Returns
Type Description
FeatureOnlineStore.Bigtable.AutoScaling.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FeatureOnlineStore.Bigtable.AutoScaling.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureOnlineStore.Bigtable.AutoScaling.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FeatureOnlineStore.Bigtable.AutoScaling.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FeatureOnlineStore.Bigtable.AutoScaling.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FeatureOnlineStore.Bigtable.AutoScaling.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FeatureOnlineStore.Bigtable.AutoScaling.Builder
Overrides

setCpuUtilizationTarget(int value)

public FeatureOnlineStore.Bigtable.AutoScaling.Builder setCpuUtilizationTarget(int value)

Optional. A percentage of the cluster's CPU capacity. Can be from 10% to 80%. When a cluster's CPU utilization exceeds the target that you have set, Bigtable immediately adds nodes to the cluster. When CPU utilization is substantially lower than the target, Bigtable removes nodes. If not set will default to 50%.

int32 cpu_utilization_target = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The cpuUtilizationTarget to set.

Returns
Type Description
FeatureOnlineStore.Bigtable.AutoScaling.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public FeatureOnlineStore.Bigtable.AutoScaling.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FeatureOnlineStore.Bigtable.AutoScaling.Builder
Overrides

setMaxNodeCount(int value)

public FeatureOnlineStore.Bigtable.AutoScaling.Builder setMaxNodeCount(int value)

Required. The maximum number of nodes to scale up to. Must be greater than or equal to min_node_count, and less than or equal to 10 times of 'min_node_count'.

int32 max_node_count = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

The maxNodeCount to set.

Returns
Type Description
FeatureOnlineStore.Bigtable.AutoScaling.Builder

This builder for chaining.

setMinNodeCount(int value)

public FeatureOnlineStore.Bigtable.AutoScaling.Builder setMinNodeCount(int value)

Required. The minimum number of nodes to scale down to. Must be greater than or equal to 1.

int32 min_node_count = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

The minNodeCount to set.

Returns
Type Description
FeatureOnlineStore.Bigtable.AutoScaling.Builder

This builder for chaining.

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

public FeatureOnlineStore.Bigtable.AutoScaling.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FeatureOnlineStore.Bigtable.AutoScaling.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FeatureOnlineStore.Bigtable.AutoScaling.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FeatureOnlineStore.Bigtable.AutoScaling.Builder
Overrides