Class StreamingFetchFeatureValuesRequest.Builder (3.45.0)

public static final class StreamingFetchFeatureValuesRequest.Builder extends GeneratedMessageV3.Builder<StreamingFetchFeatureValuesRequest.Builder> implements StreamingFetchFeatureValuesRequestOrBuilder

Request message for FeatureOnlineStoreService.StreamingFetchFeatureValues. For the entities requested, all features under the requested feature view will be returned.

Protobuf type google.cloud.aiplatform.v1beta1.StreamingFetchFeatureValuesRequest

Static Methods

getDescriptor()

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

Methods

addAllDataKeys(Iterable<? extends FeatureViewDataKey> values)

public StreamingFetchFeatureValuesRequest.Builder addAllDataKeys(Iterable<? extends FeatureViewDataKey> values)

repeated .google.cloud.aiplatform.v1beta1.FeatureViewDataKey data_keys = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1beta1.FeatureViewDataKey>
Returns
Type Description
StreamingFetchFeatureValuesRequest.Builder

addDataKeys(FeatureViewDataKey value)

public StreamingFetchFeatureValuesRequest.Builder addDataKeys(FeatureViewDataKey value)

repeated .google.cloud.aiplatform.v1beta1.FeatureViewDataKey data_keys = 2;

Parameter
Name Description
value FeatureViewDataKey
Returns
Type Description
StreamingFetchFeatureValuesRequest.Builder

addDataKeys(FeatureViewDataKey.Builder builderForValue)

public StreamingFetchFeatureValuesRequest.Builder addDataKeys(FeatureViewDataKey.Builder builderForValue)

repeated .google.cloud.aiplatform.v1beta1.FeatureViewDataKey data_keys = 2;

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

addDataKeys(int index, FeatureViewDataKey value)

public StreamingFetchFeatureValuesRequest.Builder addDataKeys(int index, FeatureViewDataKey value)

repeated .google.cloud.aiplatform.v1beta1.FeatureViewDataKey data_keys = 2;

Parameters
Name Description
index int
value FeatureViewDataKey
Returns
Type Description
StreamingFetchFeatureValuesRequest.Builder

addDataKeys(int index, FeatureViewDataKey.Builder builderForValue)

public StreamingFetchFeatureValuesRequest.Builder addDataKeys(int index, FeatureViewDataKey.Builder builderForValue)

repeated .google.cloud.aiplatform.v1beta1.FeatureViewDataKey data_keys = 2;

Parameters
Name Description
index int
builderForValue FeatureViewDataKey.Builder
Returns
Type Description
StreamingFetchFeatureValuesRequest.Builder

addDataKeysBuilder()

public FeatureViewDataKey.Builder addDataKeysBuilder()

repeated .google.cloud.aiplatform.v1beta1.FeatureViewDataKey data_keys = 2;

Returns
Type Description
FeatureViewDataKey.Builder

addDataKeysBuilder(int index)

public FeatureViewDataKey.Builder addDataKeysBuilder(int index)

repeated .google.cloud.aiplatform.v1beta1.FeatureViewDataKey data_keys = 2;

Parameter
Name Description
index int
Returns
Type Description
FeatureViewDataKey.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StreamingFetchFeatureValuesRequest build()
Returns
Type Description
StreamingFetchFeatureValuesRequest

buildPartial()

public StreamingFetchFeatureValuesRequest buildPartial()
Returns
Type Description
StreamingFetchFeatureValuesRequest

clear()

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

clearDataFormat()

public StreamingFetchFeatureValuesRequest.Builder clearDataFormat()

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

.google.cloud.aiplatform.v1beta1.FeatureViewDataFormat data_format = 3;

Returns
Type Description
StreamingFetchFeatureValuesRequest.Builder

This builder for chaining.

clearDataKeys()

public StreamingFetchFeatureValuesRequest.Builder clearDataKeys()

repeated .google.cloud.aiplatform.v1beta1.FeatureViewDataKey data_keys = 2;

Returns
Type Description
StreamingFetchFeatureValuesRequest.Builder

clearFeatureView()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public StreamingFetchFeatureValuesRequest.Builder clone()
Returns
Type Description
StreamingFetchFeatureValuesRequest.Builder
Overrides

getDataFormat()

public FeatureViewDataFormat getDataFormat()

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

.google.cloud.aiplatform.v1beta1.FeatureViewDataFormat data_format = 3;

Returns
Type Description
FeatureViewDataFormat

The dataFormat.

getDataFormatValue()

public int getDataFormatValue()

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

.google.cloud.aiplatform.v1beta1.FeatureViewDataFormat data_format = 3;

Returns
Type Description
int

The enum numeric value on the wire for dataFormat.

getDataKeys(int index)

public FeatureViewDataKey getDataKeys(int index)

repeated .google.cloud.aiplatform.v1beta1.FeatureViewDataKey data_keys = 2;

Parameter
Name Description
index int
Returns
Type Description
FeatureViewDataKey

getDataKeysBuilder(int index)

public FeatureViewDataKey.Builder getDataKeysBuilder(int index)

repeated .google.cloud.aiplatform.v1beta1.FeatureViewDataKey data_keys = 2;

Parameter
Name Description
index int
Returns
Type Description
FeatureViewDataKey.Builder

getDataKeysBuilderList()

public List<FeatureViewDataKey.Builder> getDataKeysBuilderList()

repeated .google.cloud.aiplatform.v1beta1.FeatureViewDataKey data_keys = 2;

Returns
Type Description
List<Builder>

getDataKeysCount()

public int getDataKeysCount()

repeated .google.cloud.aiplatform.v1beta1.FeatureViewDataKey data_keys = 2;

Returns
Type Description
int

getDataKeysList()

public List<FeatureViewDataKey> getDataKeysList()

repeated .google.cloud.aiplatform.v1beta1.FeatureViewDataKey data_keys = 2;

Returns
Type Description
List<FeatureViewDataKey>

getDataKeysOrBuilder(int index)

public FeatureViewDataKeyOrBuilder getDataKeysOrBuilder(int index)

repeated .google.cloud.aiplatform.v1beta1.FeatureViewDataKey data_keys = 2;

Parameter
Name Description
index int
Returns
Type Description
FeatureViewDataKeyOrBuilder

getDataKeysOrBuilderList()

public List<? extends FeatureViewDataKeyOrBuilder> getDataKeysOrBuilderList()

repeated .google.cloud.aiplatform.v1beta1.FeatureViewDataKey data_keys = 2;

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.FeatureViewDataKeyOrBuilder>

getDefaultInstanceForType()

public StreamingFetchFeatureValuesRequest getDefaultInstanceForType()
Returns
Type Description
StreamingFetchFeatureValuesRequest

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StreamingFetchFeatureValuesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDataKeys(int index)

public StreamingFetchFeatureValuesRequest.Builder removeDataKeys(int index)

repeated .google.cloud.aiplatform.v1beta1.FeatureViewDataKey data_keys = 2;

Parameter
Name Description
index int
Returns
Type Description
StreamingFetchFeatureValuesRequest.Builder

setDataFormat(FeatureViewDataFormat value)

public StreamingFetchFeatureValuesRequest.Builder setDataFormat(FeatureViewDataFormat value)

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

.google.cloud.aiplatform.v1beta1.FeatureViewDataFormat data_format = 3;

Parameter
Name Description
value FeatureViewDataFormat

The dataFormat to set.

Returns
Type Description
StreamingFetchFeatureValuesRequest.Builder

This builder for chaining.

setDataFormatValue(int value)

public StreamingFetchFeatureValuesRequest.Builder setDataFormatValue(int value)

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

.google.cloud.aiplatform.v1beta1.FeatureViewDataFormat data_format = 3;

Parameter
Name Description
value int

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

Returns
Type Description
StreamingFetchFeatureValuesRequest.Builder

This builder for chaining.

setDataKeys(int index, FeatureViewDataKey value)

public StreamingFetchFeatureValuesRequest.Builder setDataKeys(int index, FeatureViewDataKey value)

repeated .google.cloud.aiplatform.v1beta1.FeatureViewDataKey data_keys = 2;

Parameters
Name Description
index int
value FeatureViewDataKey
Returns
Type Description
StreamingFetchFeatureValuesRequest.Builder

setDataKeys(int index, FeatureViewDataKey.Builder builderForValue)

public StreamingFetchFeatureValuesRequest.Builder setDataKeys(int index, FeatureViewDataKey.Builder builderForValue)

repeated .google.cloud.aiplatform.v1beta1.FeatureViewDataKey data_keys = 2;

Parameters
Name Description
index int
builderForValue FeatureViewDataKey.Builder
Returns
Type Description
StreamingFetchFeatureValuesRequest.Builder

setFeatureView(String value)

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

This builder for chaining.

setFeatureViewBytes(ByteString value)

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

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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