Class FetchFeatureValuesRequest.Builder (3.84.0)

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

Static Methods

getDescriptor()

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

Methods

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.v1.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.v1.FeatureViewDataKey data_key = 6 [(.google.api.field_behavior) = OPTIONAL];

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.

getDataFormat()

public FeatureViewDataFormat getDataFormat()

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

.google.cloud.aiplatform.v1.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.v1.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.v1.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.v1.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.v1.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

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.

hasDataKey()

public boolean hasDataKey()

Optional. The request key to fetch feature values for.

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

Returns
Type Description
boolean

Whether the dataKey field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.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.v1.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

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