Class Featurestore.OnlineServingConfig.Builder (2.7.4)

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 each cluster. The number of nodes will not scale automatically but can be scaled manually by providing different values when updating. Only one of fixed_node_count and scaling can be set. Setting one will reset the other.

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

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 each cluster. The number of nodes will not scale automatically but can be scaled manually by providing different values when updating. Only one of fixed_node_count and scaling can be set. Setting one will reset the other.

int32 fixed_node_count = 2;

Returns
TypeDescription
int

The fixedNodeCount.

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

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 each cluster. The number of nodes will not scale automatically but can be scaled manually by providing different values when updating. Only one of fixed_node_count and scaling can be set. Setting one will reset the other.

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

setUnknownFields(UnknownFieldSet unknownFields)

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