Class FetchFeatureValuesRequest.Builder (3.33.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FetchFeatureValuesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FetchFeatureValuesRequest.Builder
Overrides

build()

public FetchFeatureValuesRequest build()
Returns
TypeDescription
FetchFeatureValuesRequest

buildPartial()

public FetchFeatureValuesRequest buildPartial()
Returns
TypeDescription
FetchFeatureValuesRequest

clear()

public FetchFeatureValuesRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
FetchFeatureValuesRequest.Builder

clearEntityId()

public FetchFeatureValuesRequest.Builder clearEntityId()
Returns
TypeDescription
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
TypeDescription
FetchFeatureValuesRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public FetchFeatureValuesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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=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.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=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
FetchFeatureValuesRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public FetchFeatureValuesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
FetchFeatureValuesRequest.Builder
Overrides

clone()

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

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

getDefaultInstanceForType()

public FetchFeatureValuesRequest getDefaultInstanceForType()
Returns
TypeDescription
FetchFeatureValuesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueFeatureViewDataKey
Returns
TypeDescription
FetchFeatureValuesRequest.Builder

mergeFrom(FetchFeatureValuesRequest other)

public FetchFeatureValuesRequest.Builder mergeFrom(FetchFeatureValuesRequest other)
Parameter
NameDescription
otherFetchFeatureValuesRequest
Returns
TypeDescription
FetchFeatureValuesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FetchFeatureValuesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FetchFeatureValuesRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public FetchFeatureValuesRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
FetchFeatureValuesRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FetchFeatureValuesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFeatureViewDataFormat

The dataFormat to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueFeatureViewDataKey
Returns
TypeDescription
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
NameDescription
builderForValueFeatureViewDataKey.Builder
Returns
TypeDescription
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
NameDescription
valueString

The featureView to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for featureView to set.

Returns
TypeDescription
FetchFeatureValuesRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public FetchFeatureValuesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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=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];

Parameter
NameDescription
valueFetchFeatureValuesRequest.Format

The format to set.

Returns
TypeDescription
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=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];

Parameter
NameDescription
valueint

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

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

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

string id = 3 [deprecated = true];

Parameter
NameDescription
valueString

The id to set.

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

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

string id = 3 [deprecated = true];

Parameter
NameDescription
valueByteString

The bytes for id to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
FetchFeatureValuesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FetchFeatureValuesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FetchFeatureValuesRequest.Builder
Overrides