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.v1beta1.Featurestore.OnlineServingConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public Featurestore.OnlineServingConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Featurestore.OnlineServingConfig build()
public Featurestore.OnlineServingConfig buildPartial()
public Featurestore.OnlineServingConfig.Builder clear()
Overrides
public Featurestore.OnlineServingConfig.Builder clearField(Descriptors.FieldDescriptor field)
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;
public Featurestore.OnlineServingConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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.v1beta1.Featurestore.OnlineServingConfig.Scaling scaling = 4;
public Featurestore.OnlineServingConfig.Builder clone()
Overrides
public Featurestore.OnlineServingConfig getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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.v1beta1.Featurestore.OnlineServingConfig.Scaling scaling = 4;
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.v1beta1.Featurestore.OnlineServingConfig.Scaling scaling = 4;
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.v1beta1.Featurestore.OnlineServingConfig.Scaling scaling = 4;
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.v1beta1.Featurestore.OnlineServingConfig.Scaling scaling = 4;
Returns |
---|
Type | Description |
boolean | Whether the scaling field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Featurestore.OnlineServingConfig.Builder mergeFrom(Featurestore.OnlineServingConfig other)
public Featurestore.OnlineServingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public Featurestore.OnlineServingConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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.v1beta1.Featurestore.OnlineServingConfig.Scaling scaling = 4;
public final Featurestore.OnlineServingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public Featurestore.OnlineServingConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
public Featurestore.OnlineServingConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.v1beta1.Featurestore.OnlineServingConfig.Scaling scaling = 4;
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.v1beta1.Featurestore.OnlineServingConfig.Scaling scaling = 4;
public final Featurestore.OnlineServingConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides