public static final class Featurestore.OnlineServingConfig.Builder extends GeneratedMessageV3.Builder<Featurestore.OnlineServingConfig.Builder> implements Featurestore.OnlineServingConfigOrBuilder
OnlineServingConfig specifies the details for provisioning online serving
resources.
Protobuf type google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public Featurestore.OnlineServingConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public Featurestore.OnlineServingConfig build()
Returns
public Featurestore.OnlineServingConfig buildPartial()
Returns
public Featurestore.OnlineServingConfig.Builder clear()
Returns
Overrides
public Featurestore.OnlineServingConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public Featurestore.OnlineServingConfig.Builder clearFixedNodeCount()
The number of nodes for the online store. The number of nodes doesn't
scale automatically, but you can manually update the number of
nodes. If set to 0, the featurestore will not have an
online store and cannot be used for online serving.
int32 fixed_node_count = 2;
Returns
public Featurestore.OnlineServingConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public Featurestore.OnlineServingConfig.Builder clearScaling()
Online serving scaling configuration.
Only one of fixed_node_count
and scaling
can be set. Setting one will
reset the other.
.google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Scaling scaling = 4;
Returns
public Featurestore.OnlineServingConfig.Builder clone()
Returns
Overrides
public Featurestore.OnlineServingConfig getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public int getFixedNodeCount()
The number of nodes for the online store. The number of nodes doesn't
scale automatically, but you can manually update the number of
nodes. If set to 0, the featurestore will not have an
online store and cannot be used for online serving.
int32 fixed_node_count = 2;
Returns
Type | Description |
int | The fixedNodeCount.
|
public Featurestore.OnlineServingConfig.Scaling getScaling()
Online serving scaling configuration.
Only one of fixed_node_count
and scaling
can be set. Setting one will
reset the other.
.google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Scaling scaling = 4;
Returns
public Featurestore.OnlineServingConfig.Scaling.Builder getScalingBuilder()
Online serving scaling configuration.
Only one of fixed_node_count
and scaling
can be set. Setting one will
reset the other.
.google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Scaling scaling = 4;
Returns
public Featurestore.OnlineServingConfig.ScalingOrBuilder getScalingOrBuilder()
Online serving scaling configuration.
Only one of fixed_node_count
and scaling
can be set. Setting one will
reset the other.
.google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Scaling scaling = 4;
Returns
public boolean hasScaling()
Online serving scaling configuration.
Only one of fixed_node_count
and scaling
can be set. Setting one will
reset the other.
.google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Scaling scaling = 4;
Returns
Type | Description |
boolean | Whether the scaling field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public Featurestore.OnlineServingConfig.Builder mergeFrom(Featurestore.OnlineServingConfig other)
Parameter
Returns
public Featurestore.OnlineServingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public Featurestore.OnlineServingConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public Featurestore.OnlineServingConfig.Builder mergeScaling(Featurestore.OnlineServingConfig.Scaling value)
Online serving scaling configuration.
Only one of fixed_node_count
and scaling
can be set. Setting one will
reset the other.
.google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Scaling scaling = 4;
Parameter
Returns
public final Featurestore.OnlineServingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public Featurestore.OnlineServingConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public Featurestore.OnlineServingConfig.Builder setFixedNodeCount(int value)
The number of nodes for the online store. The number of nodes doesn't
scale automatically, but you can manually update the number of
nodes. If set to 0, the featurestore will not have an
online store and cannot be used for online serving.
int32 fixed_node_count = 2;
Parameter
Name | Description |
value | int
The fixedNodeCount to set.
|
Returns
public Featurestore.OnlineServingConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public Featurestore.OnlineServingConfig.Builder setScaling(Featurestore.OnlineServingConfig.Scaling value)
Online serving scaling configuration.
Only one of fixed_node_count
and scaling
can be set. Setting one will
reset the other.
.google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Scaling scaling = 4;
Parameter
Returns
public Featurestore.OnlineServingConfig.Builder setScaling(Featurestore.OnlineServingConfig.Scaling.Builder builderForValue)
Online serving scaling configuration.
Only one of fixed_node_count
and scaling
can be set. Setting one will
reset the other.
.google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Scaling scaling = 4;
Parameter
Returns
public final Featurestore.OnlineServingConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides