Class ReadFeatureValuesRequest.Builder (2.7.4)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReadFeatureValuesRequest build()
Returns
TypeDescription
ReadFeatureValuesRequest

buildPartial()

public ReadFeatureValuesRequest buildPartial()
Returns
TypeDescription
ReadFeatureValuesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ReadFeatureValuesRequest.Builder clone()
Returns
TypeDescription
ReadFeatureValuesRequest.Builder
Overrides

getDefaultInstanceForType()

public ReadFeatureValuesRequest getDefaultInstanceForType()
Returns
TypeDescription
ReadFeatureValuesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the featureSelector field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueFeatureSelector
Returns
TypeDescription
ReadFeatureValuesRequest.Builder

mergeFrom(ReadFeatureValuesRequest other)

public ReadFeatureValuesRequest.Builder mergeFrom(ReadFeatureValuesRequest other)
Parameter
NameDescription
otherReadFeatureValuesRequest
Returns
TypeDescription
ReadFeatureValuesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReadFeatureValuesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The entityId to set.

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

The bytes for entityId to set.

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

The entityType to set.

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

The bytes for entityType to set.

Returns
TypeDescription
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
NameDescription
valueFeatureSelector
Returns
TypeDescription
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
NameDescription
builderForValueFeatureSelector.Builder
Returns
TypeDescription
ReadFeatureValuesRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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