public static final class WriteFeatureValuesRequest.Builder extends GeneratedMessageV3.Builder<WriteFeatureValuesRequest.Builder> implements WriteFeatureValuesRequestOrBuilder
Request message for FeaturestoreOnlineServingService.WriteFeatureValues.
Protobuf type google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public WriteFeatureValuesRequest.Builder addAllPayloads(Iterable<? extends WriteFeatureValuesPayload> values)
Required. The entities to be written. Up to 100,000 feature values can be written
across all payloads
.
repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload>
|
Returns
public WriteFeatureValuesRequest.Builder addPayloads(WriteFeatureValuesPayload value)
Required. The entities to be written. Up to 100,000 feature values can be written
across all payloads
.
repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public WriteFeatureValuesRequest.Builder addPayloads(WriteFeatureValuesPayload.Builder builderForValue)
Required. The entities to be written. Up to 100,000 feature values can be written
across all payloads
.
repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public WriteFeatureValuesRequest.Builder addPayloads(int index, WriteFeatureValuesPayload value)
Required. The entities to be written. Up to 100,000 feature values can be written
across all payloads
.
repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
Parameters
Returns
public WriteFeatureValuesRequest.Builder addPayloads(int index, WriteFeatureValuesPayload.Builder builderForValue)
Required. The entities to be written. Up to 100,000 feature values can be written
across all payloads
.
repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
Parameters
Returns
public WriteFeatureValuesPayload.Builder addPayloadsBuilder()
Required. The entities to be written. Up to 100,000 feature values can be written
across all payloads
.
repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public WriteFeatureValuesPayload.Builder addPayloadsBuilder(int index)
Required. The entities to be written. Up to 100,000 feature values can be written
across all payloads
.
repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public WriteFeatureValuesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public WriteFeatureValuesRequest build()
Returns
public WriteFeatureValuesRequest buildPartial()
Returns
public WriteFeatureValuesRequest.Builder clear()
Returns
Overrides
public WriteFeatureValuesRequest.Builder clearEntityType()
Required. The resource name of the EntityType for the entities being written.
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 WriteFeatureValuesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public WriteFeatureValuesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public WriteFeatureValuesRequest.Builder clearPayloads()
Required. The entities to be written. Up to 100,000 feature values can be written
across all payloads
.
repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public WriteFeatureValuesRequest.Builder clone()
Returns
Overrides
public WriteFeatureValuesRequest getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public String getEntityType()
Required. The resource name of the EntityType for the entities being written.
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 entities being written.
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 WriteFeatureValuesPayload getPayloads(int index)
Required. The entities to be written. Up to 100,000 feature values can be written
across all payloads
.
repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public WriteFeatureValuesPayload.Builder getPayloadsBuilder(int index)
Required. The entities to be written. Up to 100,000 feature values can be written
across all payloads
.
repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public List<WriteFeatureValuesPayload.Builder> getPayloadsBuilderList()
Required. The entities to be written. Up to 100,000 feature values can be written
across all payloads
.
repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public int getPayloadsCount()
Required. The entities to be written. Up to 100,000 feature values can be written
across all payloads
.
repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public List<WriteFeatureValuesPayload> getPayloadsList()
Required. The entities to be written. Up to 100,000 feature values can be written
across all payloads
.
repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public WriteFeatureValuesPayloadOrBuilder getPayloadsOrBuilder(int index)
Required. The entities to be written. Up to 100,000 feature values can be written
across all payloads
.
repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public List<? extends WriteFeatureValuesPayloadOrBuilder> getPayloadsOrBuilderList()
Required. The entities to be written. Up to 100,000 feature values can be written
across all payloads
.
repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
List<? extends com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayloadOrBuilder> | |
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public WriteFeatureValuesRequest.Builder mergeFrom(WriteFeatureValuesRequest other)
Parameter
Returns
public WriteFeatureValuesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public WriteFeatureValuesRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final WriteFeatureValuesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public WriteFeatureValuesRequest.Builder removePayloads(int index)
Required. The entities to be written. Up to 100,000 feature values can be written
across all payloads
.
repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public WriteFeatureValuesRequest.Builder setEntityType(String value)
Required. The resource name of the EntityType for the entities being written.
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 WriteFeatureValuesRequest.Builder setEntityTypeBytes(ByteString value)
Required. The resource name of the EntityType for the entities being written.
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 WriteFeatureValuesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public WriteFeatureValuesRequest.Builder setPayloads(int index, WriteFeatureValuesPayload value)
Required. The entities to be written. Up to 100,000 feature values can be written
across all payloads
.
repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
Parameters
Returns
public WriteFeatureValuesRequest.Builder setPayloads(int index, WriteFeatureValuesPayload.Builder builderForValue)
Required. The entities to be written. Up to 100,000 feature values can be written
across all payloads
.
repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
Parameters
Returns
public WriteFeatureValuesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final WriteFeatureValuesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides