Class FeatureOnlineStore.Bigtable.AutoScaling.Builder (3.40.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FeatureOnlineStore.Bigtable.AutoScaling build()
Returns
TypeDescription
FeatureOnlineStore.Bigtable.AutoScaling

buildPartial()

public FeatureOnlineStore.Bigtable.AutoScaling buildPartial()
Returns
TypeDescription
FeatureOnlineStore.Bigtable.AutoScaling

clear()

public FeatureOnlineStore.Bigtable.AutoScaling.Builder clear()
Returns
TypeDescription
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
TypeDescription
FeatureOnlineStore.Bigtable.AutoScaling.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public FeatureOnlineStore.Bigtable.AutoScaling.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
FeatureOnlineStore.Bigtable.AutoScaling.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public FeatureOnlineStore.Bigtable.AutoScaling.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
FeatureOnlineStore.Bigtable.AutoScaling.Builder
Overrides

clone()

public FeatureOnlineStore.Bigtable.AutoScaling.Builder clone()
Returns
TypeDescription
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
TypeDescription
int

The cpuUtilizationTarget.

getDefaultInstanceForType()

public FeatureOnlineStore.Bigtable.AutoScaling getDefaultInstanceForType()
Returns
TypeDescription
FeatureOnlineStore.Bigtable.AutoScaling

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The minNodeCount.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FeatureOnlineStore.Bigtable.AutoScaling other)

public FeatureOnlineStore.Bigtable.AutoScaling.Builder mergeFrom(FeatureOnlineStore.Bigtable.AutoScaling other)
Parameter
NameDescription
otherFeatureOnlineStore.Bigtable.AutoScaling
Returns
TypeDescription
FeatureOnlineStore.Bigtable.AutoScaling.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public FeatureOnlineStore.Bigtable.AutoScaling.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
FeatureOnlineStore.Bigtable.AutoScaling.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FeatureOnlineStore.Bigtable.AutoScaling.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueint

The cpuUtilizationTarget to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The maxNodeCount to set.

Returns
TypeDescription
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
NameDescription
valueint

The minNodeCount to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
FeatureOnlineStore.Bigtable.AutoScaling.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FeatureOnlineStore.Bigtable.AutoScaling.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FeatureOnlineStore.Bigtable.AutoScaling.Builder
Overrides