Class FetchFeatureValuesRequest (3.32.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
TypeDescription
int

DATA_KEY_FIELD_NUMBER

public static final int DATA_KEY_FIELD_NUMBER
Field Value
TypeDescription
int

FEATURE_VIEW_FIELD_NUMBER

public static final int FEATURE_VIEW_FIELD_NUMBER
Field Value
TypeDescription
int

FORMAT_FIELD_NUMBER

public static final int FORMAT_FIELD_NUMBER
Field Value
TypeDescription
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static FetchFeatureValuesRequest getDefaultInstance()
Returns
TypeDescription
FetchFeatureValuesRequest

getDescriptor()

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

newBuilder()

public static FetchFeatureValuesRequest.Builder newBuilder()
Returns
TypeDescription
FetchFeatureValuesRequest.Builder

newBuilder(FetchFeatureValuesRequest prototype)

public static FetchFeatureValuesRequest.Builder newBuilder(FetchFeatureValuesRequest prototype)
Parameter
NameDescription
prototypeFetchFeatureValuesRequest
Returns
TypeDescription
FetchFeatureValuesRequest.Builder

parseDelimitedFrom(InputStream input)

public static FetchFeatureValuesRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
FetchFeatureValuesRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static FetchFeatureValuesRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
FetchFeatureValuesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static FetchFeatureValuesRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
FetchFeatureValuesRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static FetchFeatureValuesRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
FetchFeatureValuesRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static FetchFeatureValuesRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
FetchFeatureValuesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<FetchFeatureValuesRequest> parser()
Returns
TypeDescription
Parser<FetchFeatureValuesRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
FeatureViewDataKeyOrBuilder

getDefaultInstanceForType()

public FetchFeatureValuesRequest getDefaultInstanceForType()
Returns
TypeDescription
FetchFeatureValuesRequest

getEntityIdCase()

public FetchFeatureValuesRequest.EntityIdCase getEntityIdCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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=128

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
TypeDescription
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=128

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
TypeDescription
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=104

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

string id = 3 [deprecated = true];

Returns
TypeDescription
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=104

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

string id = 3 [deprecated = true];

Returns
TypeDescription
ByteString

The bytes for id.

getParserForType()

public Parser<FetchFeatureValuesRequest> getParserForType()
Returns
TypeDescription
Parser<FetchFeatureValuesRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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=104

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

string id = 3 [deprecated = true];

Returns
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public FetchFeatureValuesRequest.Builder toBuilder()
Returns
TypeDescription
FetchFeatureValuesRequest.Builder

writeTo(CodedOutputStream output)

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