Class Featurestore.OnlineServingConfig (3.52.0)

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Featurestore.OnlineServingConfig

Static Fields

FIXED_NODE_COUNT_FIELD_NUMBER

public static final int FIXED_NODE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

SCALING_FIELD_NUMBER

public static final int SCALING_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Featurestore.OnlineServingConfig getDefaultInstance()
Returns
Type Description
Featurestore.OnlineServingConfig

getDescriptor()

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

newBuilder()

public static Featurestore.OnlineServingConfig.Builder newBuilder()
Returns
Type Description
Featurestore.OnlineServingConfig.Builder

newBuilder(Featurestore.OnlineServingConfig prototype)

public static Featurestore.OnlineServingConfig.Builder newBuilder(Featurestore.OnlineServingConfig prototype)
Parameter
Name Description
prototype Featurestore.OnlineServingConfig
Returns
Type Description
Featurestore.OnlineServingConfig.Builder

parseDelimitedFrom(InputStream input)

public static Featurestore.OnlineServingConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Featurestore.OnlineServingConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Featurestore.OnlineServingConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Featurestore.OnlineServingConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Featurestore.OnlineServingConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Featurestore.OnlineServingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Featurestore.OnlineServingConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Featurestore.OnlineServingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Featurestore.OnlineServingConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Featurestore.OnlineServingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Featurestore.OnlineServingConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Featurestore.OnlineServingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Featurestore.OnlineServingConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Featurestore.OnlineServingConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Featurestore.OnlineServingConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Featurestore.OnlineServingConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Featurestore.OnlineServingConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Featurestore.OnlineServingConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Featurestore.OnlineServingConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Featurestore.OnlineServingConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Featurestore.OnlineServingConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Featurestore.OnlineServingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Featurestore.OnlineServingConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Featurestore.OnlineServingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Featurestore.OnlineServingConfig> parser()
Returns
Type Description
Parser<OnlineServingConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Featurestore.OnlineServingConfig getDefaultInstanceForType()
Returns
Type Description
Featurestore.OnlineServingConfig

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.

getParserForType()

public Parser<Featurestore.OnlineServingConfig> getParserForType()
Returns
Type Description
Parser<OnlineServingConfig>
Overrides

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.

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Featurestore.OnlineServingConfig.Builder newBuilderForType()
Returns
Type Description
Featurestore.OnlineServingConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Featurestore.OnlineServingConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Featurestore.OnlineServingConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Featurestore.OnlineServingConfig.Builder toBuilder()
Returns
Type Description
Featurestore.OnlineServingConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException