Class Featurestore.OnlineServingConfig.Scaling.Builder (3.5.0)

public static final class Featurestore.OnlineServingConfig.Scaling.Builder extends GeneratedMessageV3.Builder<Featurestore.OnlineServingConfig.Scaling.Builder> 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 Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Featurestore.OnlineServingConfig.Scaling.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Featurestore.OnlineServingConfig.Scaling.Builder
Overrides

build()

public Featurestore.OnlineServingConfig.Scaling build()
Returns
TypeDescription
Featurestore.OnlineServingConfig.Scaling

buildPartial()

public Featurestore.OnlineServingConfig.Scaling buildPartial()
Returns
TypeDescription
Featurestore.OnlineServingConfig.Scaling

clear()

public Featurestore.OnlineServingConfig.Scaling.Builder clear()
Returns
TypeDescription
Featurestore.OnlineServingConfig.Scaling.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Featurestore.OnlineServingConfig.Scaling.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Featurestore.OnlineServingConfig.Scaling.Builder
Overrides

clearMaxNodeCount()

public Featurestore.OnlineServingConfig.Scaling.Builder clearMaxNodeCount()

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
Featurestore.OnlineServingConfig.Scaling.Builder

This builder for chaining.

clearMinNodeCount()

public Featurestore.OnlineServingConfig.Scaling.Builder clearMinNodeCount()

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
Featurestore.OnlineServingConfig.Scaling.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Featurestore.OnlineServingConfig.Scaling.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Featurestore.OnlineServingConfig.Scaling.Builder
Overrides

clone()

public Featurestore.OnlineServingConfig.Scaling.Builder clone()
Returns
TypeDescription
Featurestore.OnlineServingConfig.Scaling.Builder
Overrides

getDefaultInstanceForType()

public Featurestore.OnlineServingConfig.Scaling getDefaultInstanceForType()
Returns
TypeDescription
Featurestore.OnlineServingConfig.Scaling

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Featurestore.OnlineServingConfig.Scaling other)

public Featurestore.OnlineServingConfig.Scaling.Builder mergeFrom(Featurestore.OnlineServingConfig.Scaling other)
Parameter
NameDescription
otherFeaturestore.OnlineServingConfig.Scaling
Returns
TypeDescription
Featurestore.OnlineServingConfig.Scaling.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Featurestore.OnlineServingConfig.Scaling.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Featurestore.OnlineServingConfig.Scaling.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Featurestore.OnlineServingConfig.Scaling.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Featurestore.OnlineServingConfig.Scaling.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Featurestore.OnlineServingConfig.Scaling.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Featurestore.OnlineServingConfig.Scaling.Builder
Overrides

setMaxNodeCount(int value)

public Featurestore.OnlineServingConfig.Scaling.Builder setMaxNodeCount(int value)

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;

Parameter
NameDescription
valueint

The maxNodeCount to set.

Returns
TypeDescription
Featurestore.OnlineServingConfig.Scaling.Builder

This builder for chaining.

setMinNodeCount(int value)

public Featurestore.OnlineServingConfig.Scaling.Builder setMinNodeCount(int value)

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];

Parameter
NameDescription
valueint

The minNodeCount to set.

Returns
TypeDescription
Featurestore.OnlineServingConfig.Scaling.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Featurestore.OnlineServingConfig.Scaling.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Featurestore.OnlineServingConfig.Scaling.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Featurestore.OnlineServingConfig.Scaling.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Featurestore.OnlineServingConfig.Scaling.Builder
Overrides