public static final class ReadFeatureValuesRequest.Builder extends GeneratedMessageV3.Builder<ReadFeatureValuesRequest.Builder> implements ReadFeatureValuesRequestOrBuilder
Request message for FeaturestoreOnlineServingService.ReadFeatureValues.
Protobuf type google.cloud.aiplatform.v1.ReadFeatureValuesRequest
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public ReadFeatureValuesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ReadFeatureValuesRequest build()
Returns
public ReadFeatureValuesRequest buildPartial()
Returns
public ReadFeatureValuesRequest.Builder clear()
Returns
Overrides
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
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
public ReadFeatureValuesRequest.Builder clearFeatureSelector()
Required. Selector choosing Features of the target EntityType.
.google.cloud.aiplatform.v1.FeatureSelector feature_selector = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
public ReadFeatureValuesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ReadFeatureValuesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ReadFeatureValuesRequest.Builder clone()
Returns
Overrides
public ReadFeatureValuesRequest getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.
|
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
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.
|
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.
|
public FeatureSelector getFeatureSelector()
Required. Selector choosing Features of the target EntityType.
.google.cloud.aiplatform.v1.FeatureSelector feature_selector = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
public FeatureSelector.Builder getFeatureSelectorBuilder()
Required. Selector choosing Features of the target EntityType.
.google.cloud.aiplatform.v1.FeatureSelector feature_selector = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
public FeatureSelectorOrBuilder getFeatureSelectorOrBuilder()
Required. Selector choosing Features of the target EntityType.
.google.cloud.aiplatform.v1.FeatureSelector feature_selector = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
public boolean hasFeatureSelector()
Required. Selector choosing Features of the target EntityType.
.google.cloud.aiplatform.v1.FeatureSelector feature_selector = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the featureSelector field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ReadFeatureValuesRequest.Builder mergeFeatureSelector(FeatureSelector value)
Required. Selector choosing Features of the target EntityType.
.google.cloud.aiplatform.v1.FeatureSelector feature_selector = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public ReadFeatureValuesRequest.Builder mergeFrom(ReadFeatureValuesRequest other)
Parameter
Returns
public ReadFeatureValuesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ReadFeatureValuesRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ReadFeatureValuesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
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
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
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
public ReadFeatureValuesRequest.Builder setFeatureSelector(FeatureSelector value)
Required. Selector choosing Features of the target EntityType.
.google.cloud.aiplatform.v1.FeatureSelector feature_selector = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public ReadFeatureValuesRequest.Builder setFeatureSelector(FeatureSelector.Builder builderForValue)
Required. Selector choosing Features of the target EntityType.
.google.cloud.aiplatform.v1.FeatureSelector feature_selector = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public ReadFeatureValuesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ReadFeatureValuesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ReadFeatureValuesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides