Class Featurestore.OnlineServingConfig.Builder (3.22.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Featurestore.OnlineServingConfig build()
Returns
TypeDescription
Featurestore.OnlineServingConfig

buildPartial()

public Featurestore.OnlineServingConfig buildPartial()
Returns
TypeDescription
Featurestore.OnlineServingConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

public Featurestore.OnlineServingConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
Featurestore.OnlineServingConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Featurestore.OnlineServingConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
Featurestore.OnlineServingConfig.Builder

clone()

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

getDefaultInstanceForType()

public Featurestore.OnlineServingConfig getDefaultInstanceForType()
Returns
TypeDescription
Featurestore.OnlineServingConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the scaling field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Featurestore.OnlineServingConfig other)

public Featurestore.OnlineServingConfig.Builder mergeFrom(Featurestore.OnlineServingConfig other)
Parameter
NameDescription
otherFeaturestore.OnlineServingConfig
Returns
TypeDescription
Featurestore.OnlineServingConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Featurestore.OnlineServingConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueFeaturestore.OnlineServingConfig.Scaling
Returns
TypeDescription
Featurestore.OnlineServingConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public Featurestore.OnlineServingConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The fixedNodeCount to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueFeaturestore.OnlineServingConfig.Scaling
Returns
TypeDescription
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
NameDescription
builderForValueFeaturestore.OnlineServingConfig.Scaling.Builder
Returns
TypeDescription
Featurestore.OnlineServingConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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