public static final class Featurestore.OnlineServingConfig.Scaling extends GeneratedMessageV3 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.v1.Featurestore.OnlineServingConfig.Scaling
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int CPU_UTILIZATION_TARGET_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int MAX_NODE_COUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int MIN_NODE_COUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static Featurestore.OnlineServingConfig.Scaling getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static Featurestore.OnlineServingConfig.Scaling.Builder newBuilder()
public static Featurestore.OnlineServingConfig.Scaling.Builder newBuilder(Featurestore.OnlineServingConfig.Scaling prototype)
public static Featurestore.OnlineServingConfig.Scaling parseDelimitedFrom(InputStream input)
public static Featurestore.OnlineServingConfig.Scaling parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Featurestore.OnlineServingConfig.Scaling parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static Featurestore.OnlineServingConfig.Scaling parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Featurestore.OnlineServingConfig.Scaling parseFrom(ByteString data)
public static Featurestore.OnlineServingConfig.Scaling parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Featurestore.OnlineServingConfig.Scaling parseFrom(CodedInputStream input)
public static Featurestore.OnlineServingConfig.Scaling parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Featurestore.OnlineServingConfig.Scaling parseFrom(InputStream input)
public static Featurestore.OnlineServingConfig.Scaling parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Featurestore.OnlineServingConfig.Scaling parseFrom(ByteBuffer data)
public static Featurestore.OnlineServingConfig.Scaling parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<Featurestore.OnlineServingConfig.Scaling> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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 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.
|
public Parser<Featurestore.OnlineServingConfig.Scaling> getParserForType()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Featurestore.OnlineServingConfig.Scaling.Builder newBuilderForType()
protected Featurestore.OnlineServingConfig.Scaling.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public Featurestore.OnlineServingConfig.Scaling.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides