Class Featurestore.OnlineServingConfig.Builder (3.48.0)

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

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Featurestore.OnlineServingConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Featurestore.OnlineServingConfig.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public Featurestore.OnlineServingConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

public Featurestore.OnlineServingConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Featurestore.OnlineServingConfig.Builder
Overrides

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Featurestore.OnlineServingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Featurestore.OnlineServingConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Featurestore.OnlineServingConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Featurestore.OnlineServingConfig.Builder
Overrides

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.

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

public Featurestore.OnlineServingConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Featurestore.OnlineServingConfig.Builder
Overrides

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

setUnknownFields(UnknownFieldSet unknownFields)

public final Featurestore.OnlineServingConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Featurestore.OnlineServingConfig.Builder
Overrides