public static final class Featurestore.OnlineServingConfig extends GeneratedMessageV3 implements Featurestore.OnlineServingConfigOrBuilder
OnlineServingConfig specifies the details for provisioning online serving
resources.
Protobuf type google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig
Static Fields
public static final int FIXED_NODE_COUNT_FIELD_NUMBER
Field Value
public static final int SCALING_FIELD_NUMBER
Field Value
Static Methods
public static Featurestore.OnlineServingConfig getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static Featurestore.OnlineServingConfig.Builder newBuilder()
Returns
public static Featurestore.OnlineServingConfig.Builder newBuilder(Featurestore.OnlineServingConfig prototype)
Parameter
Returns
public static Featurestore.OnlineServingConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Featurestore.OnlineServingConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Featurestore.OnlineServingConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static Featurestore.OnlineServingConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Featurestore.OnlineServingConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static Featurestore.OnlineServingConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Featurestore.OnlineServingConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Featurestore.OnlineServingConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Featurestore.OnlineServingConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Featurestore.OnlineServingConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Featurestore.OnlineServingConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static Featurestore.OnlineServingConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<Featurestore.OnlineServingConfig> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public Featurestore.OnlineServingConfig getDefaultInstanceForType()
Returns
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 Parser<Featurestore.OnlineServingConfig> getParserForType()
Returns
Overrides
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
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
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public Featurestore.OnlineServingConfig.Builder newBuilderForType()
Returns
protected Featurestore.OnlineServingConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public Featurestore.OnlineServingConfig.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions