Class ReadFeatureValuesRequest.Builder (3.48.0)

public static final class ReadFeatureValuesRequest.Builder extends GeneratedMessageV3.Builder<ReadFeatureValuesRequest.Builder> implements ReadFeatureValuesRequestOrBuilder

Request message for FeaturestoreOnlineServingService.ReadFeatureValues.

Protobuf type google.cloud.aiplatform.v1beta1.ReadFeatureValuesRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReadFeatureValuesRequest build()
Returns
Type Description
ReadFeatureValuesRequest

buildPartial()

public ReadFeatureValuesRequest buildPartial()
Returns
Type Description
ReadFeatureValuesRequest

clear()

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

clearEntityId()

public ReadFeatureValuesRequest.Builder clearEntityId()

Required. ID for a specific entity. For example, for a machine learning model predicting user clicks on a website, an entity ID could be user_123.

string entity_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReadFeatureValuesRequest.Builder

This builder for chaining.

clearEntityType()

public ReadFeatureValuesRequest.Builder clearEntityType()

Required. The resource name of the EntityType for the entity being read. Value format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}. For example, for a machine learning model predicting user clicks on a website, an EntityType ID could be user.

string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ReadFeatureValuesRequest.Builder

This builder for chaining.

clearFeatureSelector()

public ReadFeatureValuesRequest.Builder clearFeatureSelector()

Required. Selector choosing Features of the target EntityType.

.google.cloud.aiplatform.v1beta1.FeatureSelector feature_selector = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReadFeatureValuesRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ReadFeatureValuesRequest getDefaultInstanceForType()
Returns
Type Description
ReadFeatureValuesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEntityId()

public String getEntityId()

Required. ID for a specific entity. For example, for a machine learning model predicting user clicks on a website, an entity ID could be user_123.

string entity_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The entityId.

getEntityIdBytes()

public ByteString getEntityIdBytes()

Required. ID for a specific entity. For example, for a machine learning model predicting user clicks on a website, an entity ID could be user_123.

string entity_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for entityId.

getEntityType()

public String getEntityType()

Required. The resource name of the EntityType for the entity being read. Value format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}. For example, for a machine learning model predicting user clicks on a website, an EntityType ID could be user.

string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The entityType.

getEntityTypeBytes()

public ByteString getEntityTypeBytes()

Required. The resource name of the EntityType for the entity being read. Value format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}. For example, for a machine learning model predicting user clicks on a website, an EntityType ID could be user.

string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for entityType.

getFeatureSelector()

public FeatureSelector getFeatureSelector()

Required. Selector choosing Features of the target EntityType.

.google.cloud.aiplatform.v1beta1.FeatureSelector feature_selector = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FeatureSelector

The featureSelector.

getFeatureSelectorBuilder()

public FeatureSelector.Builder getFeatureSelectorBuilder()

Required. Selector choosing Features of the target EntityType.

.google.cloud.aiplatform.v1beta1.FeatureSelector feature_selector = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FeatureSelector.Builder

getFeatureSelectorOrBuilder()

public FeatureSelectorOrBuilder getFeatureSelectorOrBuilder()

Required. Selector choosing Features of the target EntityType.

.google.cloud.aiplatform.v1beta1.FeatureSelector feature_selector = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FeatureSelectorOrBuilder

hasFeatureSelector()

public boolean hasFeatureSelector()

Required. Selector choosing Features of the target EntityType.

.google.cloud.aiplatform.v1beta1.FeatureSelector feature_selector = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the featureSelector field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFeatureSelector(FeatureSelector value)

public ReadFeatureValuesRequest.Builder mergeFeatureSelector(FeatureSelector value)

Required. Selector choosing Features of the target EntityType.

.google.cloud.aiplatform.v1beta1.FeatureSelector feature_selector = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FeatureSelector
Returns
Type Description
ReadFeatureValuesRequest.Builder

mergeFrom(ReadFeatureValuesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEntityId(String value)

public ReadFeatureValuesRequest.Builder setEntityId(String value)

Required. ID for a specific entity. For example, for a machine learning model predicting user clicks on a website, an entity ID could be user_123.

string entity_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The entityId to set.

Returns
Type Description
ReadFeatureValuesRequest.Builder

This builder for chaining.

setEntityIdBytes(ByteString value)

public ReadFeatureValuesRequest.Builder setEntityIdBytes(ByteString value)

Required. ID for a specific entity. For example, for a machine learning model predicting user clicks on a website, an entity ID could be user_123.

string entity_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for entityId to set.

Returns
Type Description
ReadFeatureValuesRequest.Builder

This builder for chaining.

setEntityType(String value)

public ReadFeatureValuesRequest.Builder setEntityType(String value)

Required. The resource name of the EntityType for the entity being read. Value format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}. For example, for a machine learning model predicting user clicks on a website, an EntityType ID could be user.

string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The entityType to set.

Returns
Type Description
ReadFeatureValuesRequest.Builder

This builder for chaining.

setEntityTypeBytes(ByteString value)

public ReadFeatureValuesRequest.Builder setEntityTypeBytes(ByteString value)

Required. The resource name of the EntityType for the entity being read. Value format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}. For example, for a machine learning model predicting user clicks on a website, an EntityType ID could be user.

string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for entityType to set.

Returns
Type Description
ReadFeatureValuesRequest.Builder

This builder for chaining.

setFeatureSelector(FeatureSelector value)

public ReadFeatureValuesRequest.Builder setFeatureSelector(FeatureSelector value)

Required. Selector choosing Features of the target EntityType.

.google.cloud.aiplatform.v1beta1.FeatureSelector feature_selector = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FeatureSelector
Returns
Type Description
ReadFeatureValuesRequest.Builder

setFeatureSelector(FeatureSelector.Builder builderForValue)

public ReadFeatureValuesRequest.Builder setFeatureSelector(FeatureSelector.Builder builderForValue)

Required. Selector choosing Features of the target EntityType.

.google.cloud.aiplatform.v1beta1.FeatureSelector feature_selector = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue FeatureSelector.Builder
Returns
Type Description
ReadFeatureValuesRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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