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.v1beta1.Featurestore.OnlineServingConfig.Scaling
Static Fields
public static final int MAX_NODE_COUNT_FIELD_NUMBER
Field Value
public static final int MIN_NODE_COUNT_FIELD_NUMBER
Field Value
Static Methods
public static Featurestore.OnlineServingConfig.Scaling getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static Featurestore.OnlineServingConfig.Scaling.Builder newBuilder()
Returns
public static Featurestore.OnlineServingConfig.Scaling.Builder newBuilder(Featurestore.OnlineServingConfig.Scaling prototype)
Parameter
Returns
public static Featurestore.OnlineServingConfig.Scaling parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Featurestore.OnlineServingConfig.Scaling parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Featurestore.OnlineServingConfig.Scaling parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static Featurestore.OnlineServingConfig.Scaling parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Featurestore.OnlineServingConfig.Scaling parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static Featurestore.OnlineServingConfig.Scaling parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Featurestore.OnlineServingConfig.Scaling parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Featurestore.OnlineServingConfig.Scaling parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Featurestore.OnlineServingConfig.Scaling parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Featurestore.OnlineServingConfig.Scaling parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Featurestore.OnlineServingConfig.Scaling parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static Featurestore.OnlineServingConfig.Scaling parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<Featurestore.OnlineServingConfig.Scaling> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public Featurestore.OnlineServingConfig.Scaling getDefaultInstanceForType()
Returns
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()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public Featurestore.OnlineServingConfig.Scaling.Builder newBuilderForType()
Returns
protected Featurestore.OnlineServingConfig.Scaling.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public Featurestore.OnlineServingConfig.Scaling.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions