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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public Featurestore.OnlineServingConfig.Scaling.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public Featurestore.OnlineServingConfig.Scaling build()
Returns
public Featurestore.OnlineServingConfig.Scaling buildPartial()
Returns
public Featurestore.OnlineServingConfig.Scaling.Builder clear()
Returns
Overrides
public Featurestore.OnlineServingConfig.Scaling.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
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
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
public Featurestore.OnlineServingConfig.Scaling.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public Featurestore.OnlineServingConfig.Scaling.Builder clone()
Returns
Overrides
public Featurestore.OnlineServingConfig.Scaling getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public Featurestore.OnlineServingConfig.Scaling.Builder mergeFrom(Featurestore.OnlineServingConfig.Scaling other)
Parameter
Returns
public Featurestore.OnlineServingConfig.Scaling.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public Featurestore.OnlineServingConfig.Scaling.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final Featurestore.OnlineServingConfig.Scaling.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public Featurestore.OnlineServingConfig.Scaling.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
Name | Description |
value | int
The maxNodeCount to set.
|
Returns
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
Name | Description |
value | int
The minNodeCount to set.
|
Returns
public Featurestore.OnlineServingConfig.Scaling.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final Featurestore.OnlineServingConfig.Scaling.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides