Class Featurestore.OnlineServingConfig.Scaling (3.48.0)

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Featurestore.OnlineServingConfig.Scaling

Static Fields

CPU_UTILIZATION_TARGET_FIELD_NUMBER

public static final int CPU_UTILIZATION_TARGET_FIELD_NUMBER
Field Value
Type Description
int

MAX_NODE_COUNT_FIELD_NUMBER

public static final int MAX_NODE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

MIN_NODE_COUNT_FIELD_NUMBER

public static final int MIN_NODE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Featurestore.OnlineServingConfig.Scaling getDefaultInstance()
Returns
Type Description
Featurestore.OnlineServingConfig.Scaling

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Featurestore.OnlineServingConfig.Scaling.Builder newBuilder()
Returns
Type Description
Featurestore.OnlineServingConfig.Scaling.Builder

newBuilder(Featurestore.OnlineServingConfig.Scaling prototype)

public static Featurestore.OnlineServingConfig.Scaling.Builder newBuilder(Featurestore.OnlineServingConfig.Scaling prototype)
Parameter
Name Description
prototype Featurestore.OnlineServingConfig.Scaling
Returns
Type Description
Featurestore.OnlineServingConfig.Scaling.Builder

parseDelimitedFrom(InputStream input)

public static Featurestore.OnlineServingConfig.Scaling parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Featurestore.OnlineServingConfig.Scaling
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Featurestore.OnlineServingConfig.Scaling parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Featurestore.OnlineServingConfig.Scaling
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Featurestore.OnlineServingConfig.Scaling parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Featurestore.OnlineServingConfig.Scaling
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Featurestore.OnlineServingConfig.Scaling parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Featurestore.OnlineServingConfig.Scaling
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Featurestore.OnlineServingConfig.Scaling parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Featurestore.OnlineServingConfig.Scaling
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Featurestore.OnlineServingConfig.Scaling parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Featurestore.OnlineServingConfig.Scaling
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Featurestore.OnlineServingConfig.Scaling parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Featurestore.OnlineServingConfig.Scaling
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Featurestore.OnlineServingConfig.Scaling parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Featurestore.OnlineServingConfig.Scaling
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Featurestore.OnlineServingConfig.Scaling parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Featurestore.OnlineServingConfig.Scaling
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Featurestore.OnlineServingConfig.Scaling parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Featurestore.OnlineServingConfig.Scaling
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Featurestore.OnlineServingConfig.Scaling parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Featurestore.OnlineServingConfig.Scaling
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Featurestore.OnlineServingConfig.Scaling parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Featurestore.OnlineServingConfig.Scaling
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Featurestore.OnlineServingConfig.Scaling> parser()
Returns
Type Description
Parser<Scaling>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCpuUtilizationTarget()

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.

getDefaultInstanceForType()

public Featurestore.OnlineServingConfig.Scaling getDefaultInstanceForType()
Returns
Type Description
Featurestore.OnlineServingConfig.Scaling

getMaxNodeCount()

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.

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
Type Description
int

The minNodeCount.

getParserForType()

public Parser<Featurestore.OnlineServingConfig.Scaling> getParserForType()
Returns
Type Description
Parser<Scaling>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Featurestore.OnlineServingConfig.Scaling.Builder newBuilderForType()
Returns
Type Description
Featurestore.OnlineServingConfig.Scaling.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Featurestore.OnlineServingConfig.Scaling.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Featurestore.OnlineServingConfig.Scaling.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Featurestore.OnlineServingConfig.Scaling.Builder toBuilder()
Returns
Type Description
Featurestore.OnlineServingConfig.Scaling.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException