Class FeatureOnlineStore.Bigtable.AutoScaling.Builder (3.84.0)

public static final class FeatureOnlineStore.Bigtable.AutoScaling.Builder extends GeneratedMessage.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

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.

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.

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 GeneratedMessage.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

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.

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.