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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public ReadFeatureValuesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ReadFeatureValuesRequest build()
public ReadFeatureValuesRequest buildPartial()
public ReadFeatureValuesRequest.Builder clear()
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];
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) = { ... }
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];
public ReadFeatureValuesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ReadFeatureValuesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ReadFeatureValuesRequest.Builder clone()
Overrides
public ReadFeatureValuesRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Type | Description |
ByteString | The bytes for entityId.
|
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.v1beta1.FeatureSelector feature_selector = 3 [(.google.api.field_behavior) = REQUIRED];
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];
public FeatureSelectorOrBuilder getFeatureSelectorOrBuilder()
Required. Selector choosing Features of the target EntityType.
.google.cloud.aiplatform.v1beta1.FeatureSelector feature_selector = 3 [(.google.api.field_behavior) = REQUIRED];
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
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];
public ReadFeatureValuesRequest.Builder mergeFrom(ReadFeatureValuesRequest other)
public ReadFeatureValuesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ReadFeatureValuesRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final ReadFeatureValuesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|
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.
|
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.
|
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];
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];
public ReadFeatureValuesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ReadFeatureValuesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ReadFeatureValuesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides