Class Featurestore.OnlineServingConfig.Scaling (3.33.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
TypeDescription
int

MAX_NODE_COUNT_FIELD_NUMBER

public static final int MAX_NODE_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

MIN_NODE_COUNT_FIELD_NUMBER

public static final int MIN_NODE_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Featurestore.OnlineServingConfig.Scaling getDefaultInstance()
Returns
TypeDescription
Featurestore.OnlineServingConfig.Scaling

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Featurestore.OnlineServingConfig.Scaling.Builder newBuilder()
Returns
TypeDescription
Featurestore.OnlineServingConfig.Scaling.Builder

newBuilder(Featurestore.OnlineServingConfig.Scaling prototype)

public static Featurestore.OnlineServingConfig.Scaling.Builder newBuilder(Featurestore.OnlineServingConfig.Scaling prototype)
Parameter
NameDescription
prototypeFeaturestore.OnlineServingConfig.Scaling
Returns
TypeDescription
Featurestore.OnlineServingConfig.Scaling.Builder

parseDelimitedFrom(InputStream input)

public static Featurestore.OnlineServingConfig.Scaling parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Featurestore.OnlineServingConfig.Scaling
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Featurestore.OnlineServingConfig.Scaling parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Featurestore.OnlineServingConfig.Scaling
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Featurestore.OnlineServingConfig.Scaling parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Featurestore.OnlineServingConfig.Scaling
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Featurestore.OnlineServingConfig.Scaling parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Featurestore.OnlineServingConfig.Scaling
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Featurestore.OnlineServingConfig.Scaling parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Featurestore.OnlineServingConfig.Scaling
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Featurestore.OnlineServingConfig.Scaling parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Featurestore.OnlineServingConfig.Scaling
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Featurestore.OnlineServingConfig.Scaling parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Featurestore.OnlineServingConfig.Scaling
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Featurestore.OnlineServingConfig.Scaling parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Featurestore.OnlineServingConfig.Scaling
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Featurestore.OnlineServingConfig.Scaling parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Featurestore.OnlineServingConfig.Scaling
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Featurestore.OnlineServingConfig.Scaling parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Featurestore.OnlineServingConfig.Scaling
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Featurestore.OnlineServingConfig.Scaling parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Featurestore.OnlineServingConfig.Scaling
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Featurestore.OnlineServingConfig.Scaling parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Featurestore.OnlineServingConfig.Scaling
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
int

The cpuUtilizationTarget.

getDefaultInstanceForType()

public Featurestore.OnlineServingConfig.Scaling getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The minNodeCount.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Featurestore.OnlineServingConfig.Scaling.Builder newBuilderForType()
Returns
TypeDescription
Featurestore.OnlineServingConfig.Scaling.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Featurestore.OnlineServingConfig.Scaling.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Featurestore.OnlineServingConfig.Scaling.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Featurestore.OnlineServingConfig.Scaling.Builder toBuilder()
Returns
TypeDescription
Featurestore.OnlineServingConfig.Scaling.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException