public final class WriteFeatureValuesRequest extends GeneratedMessageV3 implements WriteFeatureValuesRequestOrBuilder
Request message for FeaturestoreOnlineServingService.WriteFeatureValues.
Protobuf type google.cloud.aiplatform.v1.WriteFeatureValuesRequest
Static Fields
public static final int ENTITY_TYPE_FIELD_NUMBER
Field Value
public static final int PAYLOADS_FIELD_NUMBER
Field Value
Static Methods
public static WriteFeatureValuesRequest getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static WriteFeatureValuesRequest.Builder newBuilder()
Returns
public static WriteFeatureValuesRequest.Builder newBuilder(WriteFeatureValuesRequest prototype)
Parameter
Returns
public static WriteFeatureValuesRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static WriteFeatureValuesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static WriteFeatureValuesRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static WriteFeatureValuesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static WriteFeatureValuesRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static WriteFeatureValuesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static WriteFeatureValuesRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static WriteFeatureValuesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static WriteFeatureValuesRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static WriteFeatureValuesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static WriteFeatureValuesRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static WriteFeatureValuesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<WriteFeatureValuesRequest> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public WriteFeatureValuesRequest getDefaultInstanceForType()
Returns
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 Parser<WriteFeatureValuesRequest> getParserForType()
Returns
Overrides
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.v1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
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.v1.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.v1.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.v1.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.v1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
List<? extends com.google.cloud.aiplatform.v1.WriteFeatureValuesPayloadOrBuilder> | |
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public WriteFeatureValuesRequest.Builder newBuilderForType()
Returns
protected WriteFeatureValuesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public WriteFeatureValuesRequest.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions