public static final class Featurestore.OnlineServingConfig.Scaling.Builder extends GeneratedMessageV3.Builder<Featurestore.OnlineServingConfig.Scaling.Builder> implements Featurestore.OnlineServingConfig.ScalingOrBuilder
Online serving scaling configuration. If min_node_count and
max_node_count are set to the same value, the cluster will be configured
with the fixed number of node (no auto-scaling).
Protobuf type
google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.Scaling
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public Featurestore.OnlineServingConfig.Scaling.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Featurestore.OnlineServingConfig.Scaling build()
public Featurestore.OnlineServingConfig.Scaling buildPartial()
public Featurestore.OnlineServingConfig.Scaling.Builder clear()
Overrides
public Featurestore.OnlineServingConfig.Scaling.Builder clearCpuUtilizationTarget()
Optional. 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), and is limited between 10 and 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
or set to 0, default to 50.
int32 cpu_utilization_target = 3 [(.google.api.field_behavior) = OPTIONAL];
public Featurestore.OnlineServingConfig.Scaling.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public Featurestore.OnlineServingConfig.Scaling.Builder clearMaxNodeCount()
The maximum number of nodes to scale up to. Must be greater than
min_node_count, and less than or equal to 10 times of 'min_node_count'.
int32 max_node_count = 2;
public Featurestore.OnlineServingConfig.Scaling.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];
public Featurestore.OnlineServingConfig.Scaling.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public Featurestore.OnlineServingConfig.Scaling.Builder clone()
Overrides
public int getCpuUtilizationTarget()
Optional. 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), and is limited between 10 and 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
or set to 0, default to 50.
int32 cpu_utilization_target = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
The cpuUtilizationTarget.
|
public Featurestore.OnlineServingConfig.Scaling getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public int getMaxNodeCount()
The maximum number of nodes to scale up to. Must be greater than
min_node_count, and less than or equal to 10 times of 'min_node_count'.
int32 max_node_count = 2;
Returns |
Type |
Description |
int |
The maxNodeCount.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Featurestore.OnlineServingConfig.Scaling.Builder mergeFrom(Featurestore.OnlineServingConfig.Scaling other)
public Featurestore.OnlineServingConfig.Scaling.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public Featurestore.OnlineServingConfig.Scaling.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final Featurestore.OnlineServingConfig.Scaling.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public Featurestore.OnlineServingConfig.Scaling.Builder setCpuUtilizationTarget(int value)
Optional. 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), and is limited between 10 and 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
or set to 0, default to 50.
int32 cpu_utilization_target = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
int
The cpuUtilizationTarget to set.
|
public Featurestore.OnlineServingConfig.Scaling.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Featurestore.OnlineServingConfig.Scaling.Builder setMaxNodeCount(int value)
The maximum number of nodes to scale up to. Must be greater than
min_node_count, and less than or equal to 10 times of 'min_node_count'.
int32 max_node_count = 2;
Parameter |
Name |
Description |
value |
int
The maxNodeCount to set.
|
public Featurestore.OnlineServingConfig.Scaling.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.
|
public Featurestore.OnlineServingConfig.Scaling.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final Featurestore.OnlineServingConfig.Scaling.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides