Class WriteFeatureValuesRequest.Builder (3.38.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload>
Returns
TypeDescription
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
NameDescription
valueWriteFeatureValuesPayload
Returns
TypeDescription
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
NameDescription
builderForValueWriteFeatureValuesPayload.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueWriteFeatureValuesPayload
Returns
TypeDescription
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
NameDescription
indexint
builderForValueWriteFeatureValuesPayload.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
WriteFeatureValuesPayload.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public WriteFeatureValuesRequest build()
Returns
TypeDescription
WriteFeatureValuesRequest

buildPartial()

public WriteFeatureValuesRequest buildPartial()
Returns
TypeDescription
WriteFeatureValuesRequest

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public WriteFeatureValuesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
WriteFeatureValuesRequest.Builder

clone()

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

getDefaultInstanceForType()

public WriteFeatureValuesRequest getDefaultInstanceForType()
Returns
TypeDescription
WriteFeatureValuesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayloadOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(WriteFeatureValuesRequest other)

public WriteFeatureValuesRequest.Builder mergeFrom(WriteFeatureValuesRequest other)
Parameter
NameDescription
otherWriteFeatureValuesRequest
Returns
TypeDescription
WriteFeatureValuesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The entityType to set.

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

The bytes for entityType to set.

Returns
TypeDescription
WriteFeatureValuesRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public WriteFeatureValuesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueWriteFeatureValuesPayload
Returns
TypeDescription
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
NameDescription
indexint
builderForValueWriteFeatureValuesPayload.Builder
Returns
TypeDescription
WriteFeatureValuesRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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