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
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 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>
|
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];
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];
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];
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];
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];
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
|
public WriteFeatureValuesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public WriteFeatureValuesRequest build()
public WriteFeatureValuesRequest buildPartial()
public WriteFeatureValuesRequest.Builder clear()
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) = { ... }
public WriteFeatureValuesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public WriteFeatureValuesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
public WriteFeatureValuesRequest.Builder clone()
Overrides
public WriteFeatureValuesRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Name | Description |
index | int
|
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
|
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];
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 | |
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];
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
|
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()
Overrides
public final boolean isInitialized()
Overrides
public WriteFeatureValuesRequest.Builder mergeFrom(WriteFeatureValuesRequest other)
public WriteFeatureValuesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public WriteFeatureValuesRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final WriteFeatureValuesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
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.
|
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.
|
public WriteFeatureValuesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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];
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];
public WriteFeatureValuesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final WriteFeatureValuesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides