Class FetchFeatureValuesRequest (3.43.0)

public final class FetchFeatureValuesRequest extends GeneratedMessageV3 implements FetchFeatureValuesRequestOrBuilder

Request message for FeatureOnlineStoreService.FetchFeatureValues. All the features under the requested feature view will be returned.

Protobuf type google.cloud.aiplatform.v1beta1.FetchFeatureValuesRequest

Static Fields

DATA_FORMAT_FIELD_NUMBER

public static final int DATA_FORMAT_FIELD_NUMBER
Field Value
Type Description
int

DATA_KEY_FIELD_NUMBER

public static final int DATA_KEY_FIELD_NUMBER
Field Value
Type Description
int

FEATURE_VIEW_FIELD_NUMBER

public static final int FEATURE_VIEW_FIELD_NUMBER
Field Value
Type Description
int

FORMAT_FIELD_NUMBER

public static final int FORMAT_FIELD_NUMBER
Field Value
Type Description
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FetchFeatureValuesRequest getDefaultInstance()
Returns
Type Description
FetchFeatureValuesRequest

getDescriptor()

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

newBuilder()

public static FetchFeatureValuesRequest.Builder newBuilder()
Returns
Type Description
FetchFeatureValuesRequest.Builder

newBuilder(FetchFeatureValuesRequest prototype)

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

parseDelimitedFrom(InputStream input)

public static FetchFeatureValuesRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FetchFeatureValuesRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static FetchFeatureValuesRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FetchFeatureValuesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static FetchFeatureValuesRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FetchFeatureValuesRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static FetchFeatureValuesRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FetchFeatureValuesRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static FetchFeatureValuesRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FetchFeatureValuesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<FetchFeatureValuesRequest> parser()
Returns
Type Description
Parser<FetchFeatureValuesRequest>

Methods

equals(Object obj)

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

getDataFormat()

public FeatureViewDataFormat getDataFormat()

Optional. Response data format. If not set, FeatureViewDataFormat.KEY_VALUE will be used.

.google.cloud.aiplatform.v1beta1.FeatureViewDataFormat data_format = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FeatureViewDataFormat

The dataFormat.

getDataFormatValue()

public int getDataFormatValue()

Optional. Response data format. If not set, FeatureViewDataFormat.KEY_VALUE will be used.

.google.cloud.aiplatform.v1beta1.FeatureViewDataFormat data_format = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for dataFormat.

getDataKey()

public FeatureViewDataKey getDataKey()

Optional. The request key to fetch feature values for.

.google.cloud.aiplatform.v1beta1.FeatureViewDataKey data_key = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FeatureViewDataKey

The dataKey.

getDataKeyOrBuilder()

public FeatureViewDataKeyOrBuilder getDataKeyOrBuilder()

Optional. The request key to fetch feature values for.

.google.cloud.aiplatform.v1beta1.FeatureViewDataKey data_key = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FeatureViewDataKeyOrBuilder

getDefaultInstanceForType()

public FetchFeatureValuesRequest getDefaultInstanceForType()
Returns
Type Description
FetchFeatureValuesRequest

getEntityIdCase()

public FetchFeatureValuesRequest.EntityIdCase getEntityIdCase()
Returns
Type Description
FetchFeatureValuesRequest.EntityIdCase

getFeatureView()

public String getFeatureView()

Required. FeatureView resource format projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}

string feature_view = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The featureView.

getFeatureViewBytes()

public ByteString getFeatureViewBytes()

Required. FeatureView resource format projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}

string feature_view = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for featureView.

getFormat() (deprecated)

public FetchFeatureValuesRequest.Format getFormat()

Deprecated. google.cloud.aiplatform.v1beta1.FetchFeatureValuesRequest.format is deprecated. See google/cloud/aiplatform/v1beta1/feature_online_store_service.proto;l=153

Specify response data format. If not set, KeyValue format will be used. Deprecated. Use FetchFeatureValuesRequest.data_format.

.google.cloud.aiplatform.v1beta1.FetchFeatureValuesRequest.Format format = 5 [deprecated = true];

Returns
Type Description
FetchFeatureValuesRequest.Format

The format.

getFormatValue() (deprecated)

public int getFormatValue()

Deprecated. google.cloud.aiplatform.v1beta1.FetchFeatureValuesRequest.format is deprecated. See google/cloud/aiplatform/v1beta1/feature_online_store_service.proto;l=153

Specify response data format. If not set, KeyValue format will be used. Deprecated. Use FetchFeatureValuesRequest.data_format.

.google.cloud.aiplatform.v1beta1.FetchFeatureValuesRequest.Format format = 5 [deprecated = true];

Returns
Type Description
int

The enum numeric value on the wire for format.

getId() (deprecated)

public String getId()

Deprecated. google.cloud.aiplatform.v1beta1.FetchFeatureValuesRequest.id is deprecated. See google/cloud/aiplatform/v1beta1/feature_online_store_service.proto;l=129

Simple ID. The whole string will be used as is to identify Entity to fetch feature values for.

string id = 3 [deprecated = true];

Returns
Type Description
String

The id.

getIdBytes() (deprecated)

public ByteString getIdBytes()

Deprecated. google.cloud.aiplatform.v1beta1.FetchFeatureValuesRequest.id is deprecated. See google/cloud/aiplatform/v1beta1/feature_online_store_service.proto;l=129

Simple ID. The whole string will be used as is to identify Entity to fetch feature values for.

string id = 3 [deprecated = true];

Returns
Type Description
ByteString

The bytes for id.

getParserForType()

public Parser<FetchFeatureValuesRequest> getParserForType()
Returns
Type Description
Parser<FetchFeatureValuesRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasDataKey()

public boolean hasDataKey()

Optional. The request key to fetch feature values for.

.google.cloud.aiplatform.v1beta1.FeatureViewDataKey data_key = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the dataKey field is set.

hasId() (deprecated)

public boolean hasId()

Deprecated. google.cloud.aiplatform.v1beta1.FetchFeatureValuesRequest.id is deprecated. See google/cloud/aiplatform/v1beta1/feature_online_store_service.proto;l=129

Simple ID. The whole string will be used as is to identify Entity to fetch feature values for.

string id = 3 [deprecated = true];

Returns
Type Description
boolean

Whether the id 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 FetchFeatureValuesRequest.Builder newBuilderForType()
Returns
Type Description
FetchFeatureValuesRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public FetchFeatureValuesRequest.Builder toBuilder()
Returns
Type Description
FetchFeatureValuesRequest.Builder

writeTo(CodedOutputStream output)

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