Class Featurestore.OnlineServingConfig.Scaling.Builder (2.7.4)

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 Overrides

build()

public Featurestore.OnlineServingConfig.Scaling build()
Returns

buildPartial()

public Featurestore.OnlineServingConfig.Scaling buildPartial()
Returns

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMaxNodeCount()

public Featurestore.OnlineServingConfig.Scaling.Builder clearMaxNodeCount()

The maximum number of nodes to scale up to. Must be greater or equal to 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 Overrides

clone()

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

getDefaultInstanceForType()

public Featurestore.OnlineServingConfig.Scaling getDefaultInstanceForType()
Returns

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 or equal to 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 Returns

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMaxNodeCount(int value)

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

The maximum number of nodes to scale up to. Must be greater or equal to 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 Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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