Class Featurestore.OnlineServingConfig.Builder (3.84.0)

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

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public Featurestore.OnlineServingConfig build()
Returns
Type Description
Featurestore.OnlineServingConfig

buildPartial()

public Featurestore.OnlineServingConfig buildPartial()
Returns
Type Description
Featurestore.OnlineServingConfig

clear()

public Featurestore.OnlineServingConfig.Builder clear()
Returns
Type Description
Featurestore.OnlineServingConfig.Builder
Overrides

clearFixedNodeCount()

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

This builder for chaining.

clearScaling()

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

getDefaultInstanceForType()

public Featurestore.OnlineServingConfig getDefaultInstanceForType()
Returns
Type Description
Featurestore.OnlineServingConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFixedNodeCount()

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.

getScaling()

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

The scaling.

getScalingBuilder()

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

getScalingOrBuilder()

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
Type Description
Featurestore.OnlineServingConfig.ScalingOrBuilder

hasScaling()

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.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Featurestore.OnlineServingConfig other)

public Featurestore.OnlineServingConfig.Builder mergeFrom(Featurestore.OnlineServingConfig other)
Parameter
Name Description
other Featurestore.OnlineServingConfig
Returns
Type Description
Featurestore.OnlineServingConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Featurestore.OnlineServingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Featurestore.OnlineServingConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Featurestore.OnlineServingConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Featurestore.OnlineServingConfig.Builder
Overrides

mergeScaling(Featurestore.OnlineServingConfig.Scaling value)

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
Name Description
value Featurestore.OnlineServingConfig.Scaling
Returns
Type Description
Featurestore.OnlineServingConfig.Builder

setFixedNodeCount(int value)

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

This builder for chaining.

setScaling(Featurestore.OnlineServingConfig.Scaling value)

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
Name Description
value Featurestore.OnlineServingConfig.Scaling
Returns
Type Description
Featurestore.OnlineServingConfig.Builder

setScaling(Featurestore.OnlineServingConfig.Scaling.Builder builderForValue)

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
Name Description
builderForValue Featurestore.OnlineServingConfig.Scaling.Builder
Returns
Type Description
Featurestore.OnlineServingConfig.Builder