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

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

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

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.

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

Whether the dataKey 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.v1.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.v1.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.v1.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.v1.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.v1.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

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