Class WriteFeatureValuesRequest (3.28.0)

public final class WriteFeatureValuesRequest extends GeneratedMessageV3 implements WriteFeatureValuesRequestOrBuilder

Request message for FeaturestoreOnlineServingService.WriteFeatureValues.

Protobuf type google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest

Static Fields

ENTITY_TYPE_FIELD_NUMBER

public static final int ENTITY_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

PAYLOADS_FIELD_NUMBER

public static final int PAYLOADS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static WriteFeatureValuesRequest getDefaultInstance()
Returns
TypeDescription
WriteFeatureValuesRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static WriteFeatureValuesRequest.Builder newBuilder()
Returns
TypeDescription
WriteFeatureValuesRequest.Builder

newBuilder(WriteFeatureValuesRequest prototype)

public static WriteFeatureValuesRequest.Builder newBuilder(WriteFeatureValuesRequest prototype)
Parameter
NameDescription
prototypeWriteFeatureValuesRequest
Returns
TypeDescription
WriteFeatureValuesRequest.Builder

parseDelimitedFrom(InputStream input)

public static WriteFeatureValuesRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
WriteFeatureValuesRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WriteFeatureValuesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WriteFeatureValuesRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static WriteFeatureValuesRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
WriteFeatureValuesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static WriteFeatureValuesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WriteFeatureValuesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static WriteFeatureValuesRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
WriteFeatureValuesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static WriteFeatureValuesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WriteFeatureValuesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static WriteFeatureValuesRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
WriteFeatureValuesRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static WriteFeatureValuesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WriteFeatureValuesRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static WriteFeatureValuesRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
WriteFeatureValuesRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WriteFeatureValuesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WriteFeatureValuesRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static WriteFeatureValuesRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
WriteFeatureValuesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static WriteFeatureValuesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WriteFeatureValuesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<WriteFeatureValuesRequest> parser()
Returns
TypeDescription
Parser<WriteFeatureValuesRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public WriteFeatureValuesRequest getDefaultInstanceForType()
Returns
TypeDescription
WriteFeatureValuesRequest

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.

getParserForType()

public Parser<WriteFeatureValuesRequest> getParserForType()
Returns
TypeDescription
Parser<WriteFeatureValuesRequest>
Overrides

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

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>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public WriteFeatureValuesRequest.Builder newBuilderForType()
Returns
TypeDescription
WriteFeatureValuesRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected WriteFeatureValuesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
WriteFeatureValuesRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public WriteFeatureValuesRequest.Builder toBuilder()
Returns
TypeDescription
WriteFeatureValuesRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException