Class FetchFeatureValuesRequest.Builder (3.29.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

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()

public FetchFeatureValuesRequest.Builder clearFormat()

Specify response data format. If not set, KeyValue format will be used.

.google.cloud.aiplatform.v1beta1.FetchFeatureValuesRequest.Format format = 5;

Returns
TypeDescription
FetchFeatureValuesRequest.Builder

This builder for chaining.

clearId()

public FetchFeatureValuesRequest.Builder clearId()

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

string id = 3;

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

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()

public FetchFeatureValuesRequest.Format getFormat()

Specify response data format. If not set, KeyValue format will be used.

.google.cloud.aiplatform.v1beta1.FetchFeatureValuesRequest.Format format = 5;

Returns
TypeDescription
FetchFeatureValuesRequest.Format

The format.

getFormatValue()

public int getFormatValue()

Specify response data format. If not set, KeyValue format will be used.

.google.cloud.aiplatform.v1beta1.FetchFeatureValuesRequest.Format format = 5;

Returns
TypeDescription
int

The enum numeric value on the wire for format.

getId()

public String getId()

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

string id = 3;

Returns
TypeDescription
String

The id.

getIdBytes()

public ByteString getIdBytes()

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

string id = 3;

Returns
TypeDescription
ByteString

The bytes for id.

hasId()

public boolean hasId()

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

string id = 3;

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

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

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)

public FetchFeatureValuesRequest.Builder setFormat(FetchFeatureValuesRequest.Format value)

Specify response data format. If not set, KeyValue format will be used.

.google.cloud.aiplatform.v1beta1.FetchFeatureValuesRequest.Format format = 5;

Parameter
NameDescription
valueFetchFeatureValuesRequest.Format

The format to set.

Returns
TypeDescription
FetchFeatureValuesRequest.Builder

This builder for chaining.

setFormatValue(int value)

public FetchFeatureValuesRequest.Builder setFormatValue(int value)

Specify response data format. If not set, KeyValue format will be used.

.google.cloud.aiplatform.v1beta1.FetchFeatureValuesRequest.Format format = 5;

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)

public FetchFeatureValuesRequest.Builder setId(String value)

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

string id = 3;

Parameter
NameDescription
valueString

The id to set.

Returns
TypeDescription
FetchFeatureValuesRequest.Builder

This builder for chaining.

setIdBytes(ByteString value)

public FetchFeatureValuesRequest.Builder setIdBytes(ByteString value)

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

string id = 3;

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