Class Featurestore.OnlineServingConfig (3.4.1)

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
TypeDescription
int

SCALING_FIELD_NUMBER

public static final int SCALING_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Featurestore.OnlineServingConfig getDefaultInstance()
Returns
TypeDescription
Featurestore.OnlineServingConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Featurestore.OnlineServingConfig.Builder newBuilder()
Returns
TypeDescription
Featurestore.OnlineServingConfig.Builder

newBuilder(Featurestore.OnlineServingConfig prototype)

public static Featurestore.OnlineServingConfig.Builder newBuilder(Featurestore.OnlineServingConfig prototype)
Parameter
NameDescription
prototypeFeaturestore.OnlineServingConfig
Returns
TypeDescription
Featurestore.OnlineServingConfig.Builder

parseDelimitedFrom(InputStream input)

public static Featurestore.OnlineServingConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Featurestore.OnlineServingConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Featurestore.OnlineServingConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Featurestore.OnlineServingConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Featurestore.OnlineServingConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Featurestore.OnlineServingConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Featurestore.OnlineServingConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Featurestore.OnlineServingConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Featurestore.OnlineServingConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Featurestore.OnlineServingConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Featurestore.OnlineServingConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Featurestore.OnlineServingConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Featurestore.OnlineServingConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Featurestore.OnlineServingConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Featurestore.OnlineServingConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Featurestore.OnlineServingConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Featurestore.OnlineServingConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Featurestore.OnlineServingConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Featurestore.OnlineServingConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Featurestore.OnlineServingConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Featurestore.OnlineServingConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Featurestore.OnlineServingConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Featurestore.OnlineServingConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Featurestore.OnlineServingConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Featurestore.OnlineServingConfig getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
int

The fixedNodeCount.

getParserForType()

public Parser<Featurestore.OnlineServingConfig> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Featurestore.OnlineServingConfig.ScalingOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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
TypeDescription
boolean

Whether the scaling field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Featurestore.OnlineServingConfig.Builder newBuilderForType()
Returns
TypeDescription
Featurestore.OnlineServingConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Featurestore.OnlineServingConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Featurestore.OnlineServingConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Featurestore.OnlineServingConfig.Builder toBuilder()
Returns
TypeDescription
Featurestore.OnlineServingConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException