Class FetchFeatureValuesRequest.Builder (3.55.0)

public static final class FetchFeatureValuesRequest.Builder extends GeneratedMessageV3.Builder<FetchFeatureValuesRequest.Builder> 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 Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FetchFeatureValuesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FetchFeatureValuesRequest.Builder
Overrides

build()

public FetchFeatureValuesRequest build()
Returns
Type Description
FetchFeatureValuesRequest

buildPartial()

public FetchFeatureValuesRequest buildPartial()
Returns
Type Description
FetchFeatureValuesRequest

clear()

public FetchFeatureValuesRequest.Builder clear()
Returns
Type Description
FetchFeatureValuesRequest.Builder
Overrides

clearDataFormat()

public FetchFeatureValuesRequest.Builder clearDataFormat()

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
FetchFeatureValuesRequest.Builder

This builder for chaining.

clearDataKey()

public FetchFeatureValuesRequest.Builder clearDataKey()

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
FetchFeatureValuesRequest.Builder

clearEntityId()

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

clearFeatureView()

public FetchFeatureValuesRequest.Builder clearFeatureView()

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
FetchFeatureValuesRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public FetchFeatureValuesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FetchFeatureValuesRequest.Builder
Overrides

clearFormat() (deprecated)

public FetchFeatureValuesRequest.Builder clearFormat()

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.Builder

This builder for chaining.

clearId() (deprecated)

public FetchFeatureValuesRequest.Builder clearId()

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
FetchFeatureValuesRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public FetchFeatureValuesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FetchFeatureValuesRequest.Builder
Overrides

clone()

public FetchFeatureValuesRequest.Builder clone()
Returns
Type Description
FetchFeatureValuesRequest.Builder
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.

getDataKeyBuilder()

public FeatureViewDataKey.Builder getDataKeyBuilder()

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.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDataKey(FeatureViewDataKey value)

public FetchFeatureValuesRequest.Builder mergeDataKey(FeatureViewDataKey value)

Optional. The request key to fetch feature values for.

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

Parameter
Name Description
value FeatureViewDataKey
Returns
Type Description
FetchFeatureValuesRequest.Builder

mergeFrom(FetchFeatureValuesRequest other)

public FetchFeatureValuesRequest.Builder mergeFrom(FetchFeatureValuesRequest other)
Parameter
Name Description
other FetchFeatureValuesRequest
Returns
Type Description
FetchFeatureValuesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FetchFeatureValuesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchFeatureValuesRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FetchFeatureValuesRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FetchFeatureValuesRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FetchFeatureValuesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FetchFeatureValuesRequest.Builder
Overrides

setDataFormat(FeatureViewDataFormat value)

public FetchFeatureValuesRequest.Builder setDataFormat(FeatureViewDataFormat value)

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];

Parameter
Name Description
value FeatureViewDataFormat

The dataFormat to set.

Returns
Type Description
FetchFeatureValuesRequest.Builder

This builder for chaining.

setDataFormatValue(int value)

public FetchFeatureValuesRequest.Builder setDataFormatValue(int value)

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];

Parameter
Name Description
value int

The enum numeric value on the wire for dataFormat to set.

Returns
Type Description
FetchFeatureValuesRequest.Builder

This builder for chaining.

setDataKey(FeatureViewDataKey value)

public FetchFeatureValuesRequest.Builder setDataKey(FeatureViewDataKey value)

Optional. The request key to fetch feature values for.

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

Parameter
Name Description
value FeatureViewDataKey
Returns
Type Description
FetchFeatureValuesRequest.Builder

setDataKey(FeatureViewDataKey.Builder builderForValue)

public FetchFeatureValuesRequest.Builder setDataKey(FeatureViewDataKey.Builder builderForValue)

Optional. The request key to fetch feature values for.

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

Parameter
Name Description
builderForValue FeatureViewDataKey.Builder
Returns
Type Description
FetchFeatureValuesRequest.Builder

setFeatureView(String value)

public FetchFeatureValuesRequest.Builder setFeatureView(String value)

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) = { ... }

Parameter
Name Description
value String

The featureView to set.

Returns
Type Description
FetchFeatureValuesRequest.Builder

This builder for chaining.

setFeatureViewBytes(ByteString value)

public FetchFeatureValuesRequest.Builder setFeatureViewBytes(ByteString value)

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) = { ... }

Parameter
Name Description
value ByteString

The bytes for featureView to set.

Returns
Type Description
FetchFeatureValuesRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public FetchFeatureValuesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FetchFeatureValuesRequest.Builder
Overrides

setFormat(FetchFeatureValuesRequest.Format value) (deprecated)

public FetchFeatureValuesRequest.Builder setFormat(FetchFeatureValuesRequest.Format value)

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];

Parameter
Name Description
value FetchFeatureValuesRequest.Format

The format to set.

Returns
Type Description
FetchFeatureValuesRequest.Builder

This builder for chaining.

setFormatValue(int value) (deprecated)

public FetchFeatureValuesRequest.Builder setFormatValue(int value)

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];

Parameter
Name Description
value int

The enum numeric value on the wire for format to set.

Returns
Type Description
FetchFeatureValuesRequest.Builder

This builder for chaining.

setId(String value) (deprecated)

public FetchFeatureValuesRequest.Builder setId(String value)

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];

Parameter
Name Description
value String

The id to set.

Returns
Type Description
FetchFeatureValuesRequest.Builder

This builder for chaining.

setIdBytes(ByteString value) (deprecated)

public FetchFeatureValuesRequest.Builder setIdBytes(ByteString value)

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];

Parameter
Name Description
value ByteString

The bytes for id to set.

Returns
Type Description
FetchFeatureValuesRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public FetchFeatureValuesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FetchFeatureValuesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FetchFeatureValuesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FetchFeatureValuesRequest.Builder
Overrides