Interface Featurestore.OnlineServingConfig.ScalingOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Featurestore.OnlineServingConfig.Scaling
,Featurestore.OnlineServingConfig.Scaling.Builder
- Enclosing class:
- Featurestore.OnlineServingConfig
public static interface Featurestore.OnlineServingConfig.ScalingOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getCpuUtilizationTarget()
Optional.int
getMaxNodeCount()
The maximum number of nodes to scale up to.int
getMinNodeCount()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getMinNodeCount
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:
- The minNodeCount.
-
getMaxNodeCount
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:
- The maxNodeCount.
-
getCpuUtilizationTarget
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:
- The cpuUtilizationTarget.
-
-