Class StreamingFetchFeatureValuesRequest.Builder (3.41.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1beta1.FeatureViewDataKey>
Returns
TypeDescription
StreamingFetchFeatureValuesRequest.Builder

addDataKeys(FeatureViewDataKey value)

public StreamingFetchFeatureValuesRequest.Builder addDataKeys(FeatureViewDataKey value)

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

Parameter
NameDescription
valueFeatureViewDataKey
Returns
TypeDescription
StreamingFetchFeatureValuesRequest.Builder

addDataKeys(FeatureViewDataKey.Builder builderForValue)

public StreamingFetchFeatureValuesRequest.Builder addDataKeys(FeatureViewDataKey.Builder builderForValue)

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

Parameter
NameDescription
builderForValueFeatureViewDataKey.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueFeatureViewDataKey
Returns
TypeDescription
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
NameDescription
indexint
builderForValueFeatureViewDataKey.Builder
Returns
TypeDescription
StreamingFetchFeatureValuesRequest.Builder

addDataKeysBuilder()

public FeatureViewDataKey.Builder addDataKeysBuilder()

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

Returns
TypeDescription
FeatureViewDataKey.Builder

addDataKeysBuilder(int index)

public FeatureViewDataKey.Builder addDataKeysBuilder(int index)

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

Parameter
NameDescription
indexint
Returns
TypeDescription
FeatureViewDataKey.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StreamingFetchFeatureValuesRequest build()
Returns
TypeDescription
StreamingFetchFeatureValuesRequest

buildPartial()

public StreamingFetchFeatureValuesRequest buildPartial()
Returns
TypeDescription
StreamingFetchFeatureValuesRequest

clear()

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

This builder for chaining.

clearDataKeys()

public StreamingFetchFeatureValuesRequest.Builder clearDataKeys()

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

Returns
TypeDescription
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
TypeDescription
StreamingFetchFeatureValuesRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public StreamingFetchFeatureValuesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
StreamingFetchFeatureValuesRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public StreamingFetchFeatureValuesRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
FeatureViewDataKey

getDataKeysBuilder(int index)

public FeatureViewDataKey.Builder getDataKeysBuilder(int index)

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

Parameter
NameDescription
indexint
Returns
TypeDescription
FeatureViewDataKey.Builder

getDataKeysBuilderList()

public List<FeatureViewDataKey.Builder> getDataKeysBuilderList()

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

Returns
TypeDescription
List<Builder>

getDataKeysCount()

public int getDataKeysCount()

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

Returns
TypeDescription
int

getDataKeysList()

public List<FeatureViewDataKey> getDataKeysList()

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

Returns
TypeDescription
List<FeatureViewDataKey>

getDataKeysOrBuilder(int index)

public FeatureViewDataKeyOrBuilder getDataKeysOrBuilder(int index)

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

Parameter
NameDescription
indexint
Returns
TypeDescription
FeatureViewDataKeyOrBuilder

getDataKeysOrBuilderList()

public List<? extends FeatureViewDataKeyOrBuilder> getDataKeysOrBuilderList()

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

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

getDefaultInstanceForType()

public StreamingFetchFeatureValuesRequest getDefaultInstanceForType()
Returns
TypeDescription
StreamingFetchFeatureValuesRequest

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(StreamingFetchFeatureValuesRequest other)

public StreamingFetchFeatureValuesRequest.Builder mergeFrom(StreamingFetchFeatureValuesRequest other)
Parameter
NameDescription
otherStreamingFetchFeatureValuesRequest
Returns
TypeDescription
StreamingFetchFeatureValuesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StreamingFetchFeatureValuesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StreamingFetchFeatureValuesRequest.Builder
Overrides

removeDataKeys(int index)

public StreamingFetchFeatureValuesRequest.Builder removeDataKeys(int index)

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueFeatureViewDataFormat

The dataFormat to set.

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

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

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

The featureView to set.

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

The bytes for featureView to set.

Returns
TypeDescription
StreamingFetchFeatureValuesRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public StreamingFetchFeatureValuesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
StreamingFetchFeatureValuesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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