Class WriteFeatureValuesRequest.Builder (3.53.0)

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

getDescriptor()

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

Methods

addAllPayloads(Iterable<? extends WriteFeatureValuesPayload> values)

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
Type Description
WriteFeatureValuesRequest.Builder

addPayloads(WriteFeatureValuesPayload value)

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
Name Description
value WriteFeatureValuesPayload
Returns
Type Description
WriteFeatureValuesRequest.Builder

addPayloads(WriteFeatureValuesPayload.Builder builderForValue)

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
Name Description
builderForValue WriteFeatureValuesPayload.Builder
Returns
Type Description
WriteFeatureValuesRequest.Builder

addPayloads(int index, WriteFeatureValuesPayload value)

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
Name Description
index int
value WriteFeatureValuesPayload
Returns
Type Description
WriteFeatureValuesRequest.Builder

addPayloads(int index, WriteFeatureValuesPayload.Builder builderForValue)

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
Name Description
index int
builderForValue WriteFeatureValuesPayload.Builder
Returns
Type Description
WriteFeatureValuesRequest.Builder

addPayloadsBuilder()

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
Type Description
WriteFeatureValuesPayload.Builder

addPayloadsBuilder(int index)

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
Name Description
index int
Returns
Type Description
WriteFeatureValuesPayload.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public WriteFeatureValuesRequest build()
Returns
Type Description
WriteFeatureValuesRequest

buildPartial()

public WriteFeatureValuesRequest buildPartial()
Returns
Type Description
WriteFeatureValuesRequest

clear()

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

clearEntityType()

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
Type Description
WriteFeatureValuesRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayloads()

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
Type Description
WriteFeatureValuesRequest.Builder

clone()

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

getDefaultInstanceForType()

public WriteFeatureValuesRequest getDefaultInstanceForType()
Returns
Type Description
WriteFeatureValuesRequest

getDescriptorForType()

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

getEntityType()

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.

getEntityTypeBytes()

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.

getPayloads(int index)

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
Name Description
index int
Returns
Type Description
WriteFeatureValuesPayload

getPayloadsBuilder(int index)

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
Name Description
index int
Returns
Type Description
WriteFeatureValuesPayload.Builder

getPayloadsBuilderList()

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
Type Description
List<Builder>

getPayloadsCount()

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
Type Description
int

getPayloadsList()

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
Type Description
List<WriteFeatureValuesPayload>

getPayloadsOrBuilder(int index)

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
Name Description
index int
Returns
Type Description
WriteFeatureValuesPayloadOrBuilder

getPayloadsOrBuilderList()

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>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(WriteFeatureValuesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removePayloads(int index)

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
Name Description
index int
Returns
Type Description
WriteFeatureValuesRequest.Builder

setEntityType(String value)

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
Type Description
WriteFeatureValuesRequest.Builder

This builder for chaining.

setEntityTypeBytes(ByteString value)

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
Type Description
WriteFeatureValuesRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayloads(int index, WriteFeatureValuesPayload value)

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
Name Description
index int
value WriteFeatureValuesPayload
Returns
Type Description
WriteFeatureValuesRequest.Builder

setPayloads(int index, WriteFeatureValuesPayload.Builder builderForValue)

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
Name Description
index int
builderForValue WriteFeatureValuesPayload.Builder
Returns
Type Description
WriteFeatureValuesRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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