Class WriteFeatureValuesPayload (3.56.0)

public final class WriteFeatureValuesPayload extends GeneratedMessageV3 implements WriteFeatureValuesPayloadOrBuilder

Contains Feature values to be written for a specific entity.

Protobuf type google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload

Static Fields

ENTITY_ID_FIELD_NUMBER

public static final int ENTITY_ID_FIELD_NUMBER
Field Value
Type Description
int

FEATURE_VALUES_FIELD_NUMBER

public static final int FEATURE_VALUES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static WriteFeatureValuesPayload getDefaultInstance()
Returns
Type Description
WriteFeatureValuesPayload

getDescriptor()

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

newBuilder()

public static WriteFeatureValuesPayload.Builder newBuilder()
Returns
Type Description
WriteFeatureValuesPayload.Builder

newBuilder(WriteFeatureValuesPayload prototype)

public static WriteFeatureValuesPayload.Builder newBuilder(WriteFeatureValuesPayload prototype)
Parameter
Name Description
prototype WriteFeatureValuesPayload
Returns
Type Description
WriteFeatureValuesPayload.Builder

parseDelimitedFrom(InputStream input)

public static WriteFeatureValuesPayload parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WriteFeatureValuesPayload
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WriteFeatureValuesPayload parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WriteFeatureValuesPayload
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static WriteFeatureValuesPayload parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
WriteFeatureValuesPayload
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static WriteFeatureValuesPayload parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WriteFeatureValuesPayload
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static WriteFeatureValuesPayload parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
WriteFeatureValuesPayload
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static WriteFeatureValuesPayload parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WriteFeatureValuesPayload
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static WriteFeatureValuesPayload parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
WriteFeatureValuesPayload
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static WriteFeatureValuesPayload parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WriteFeatureValuesPayload
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static WriteFeatureValuesPayload parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WriteFeatureValuesPayload
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WriteFeatureValuesPayload parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WriteFeatureValuesPayload
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static WriteFeatureValuesPayload parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
WriteFeatureValuesPayload
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static WriteFeatureValuesPayload parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WriteFeatureValuesPayload
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<WriteFeatureValuesPayload> parser()
Returns
Type Description
Parser<WriteFeatureValuesPayload>

Methods

containsFeatureValues(String key)

public boolean containsFeatureValues(String key)

Required. Feature values to be written, mapping from Feature ID to value. Up to 100,000 feature_values entries may be written across all payloads. The feature generation time, aligned by days, must be no older than five years (1825 days) and no later than one year (366 days) in the future.

map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public WriteFeatureValuesPayload getDefaultInstanceForType()
Returns
Type Description
WriteFeatureValuesPayload

getEntityId()

public String getEntityId()

Required. The ID of the entity.

string entity_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The entityId.

getEntityIdBytes()

public ByteString getEntityIdBytes()

Required. The ID of the entity.

string entity_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for entityId.

getFeatureValues() (deprecated)

public Map<String,FeatureValue> getFeatureValues()
Returns
Type Description
Map<String,FeatureValue>

getFeatureValuesCount()

public int getFeatureValuesCount()

Required. Feature values to be written, mapping from Feature ID to value. Up to 100,000 feature_values entries may be written across all payloads. The feature generation time, aligned by days, must be no older than five years (1825 days) and no later than one year (366 days) in the future.

map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getFeatureValuesMap()

public Map<String,FeatureValue> getFeatureValuesMap()

Required. Feature values to be written, mapping from Feature ID to value. Up to 100,000 feature_values entries may be written across all payloads. The feature generation time, aligned by days, must be no older than five years (1825 days) and no later than one year (366 days) in the future.

map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Map<String,FeatureValue>

getFeatureValuesOrDefault(String key, FeatureValue defaultValue)

public FeatureValue getFeatureValuesOrDefault(String key, FeatureValue defaultValue)

Required. Feature values to be written, mapping from Feature ID to value. Up to 100,000 feature_values entries may be written across all payloads. The feature generation time, aligned by days, must be no older than five years (1825 days) and no later than one year (366 days) in the future.

map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
key String
defaultValue FeatureValue
Returns
Type Description
FeatureValue

getFeatureValuesOrThrow(String key)

public FeatureValue getFeatureValuesOrThrow(String key)

Required. Feature values to be written, mapping from Feature ID to value. Up to 100,000 feature_values entries may be written across all payloads. The feature generation time, aligned by days, must be no older than five years (1825 days) and no later than one year (366 days) in the future.

map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
key String
Returns
Type Description
FeatureValue

getParserForType()

public Parser<WriteFeatureValuesPayload> getParserForType()
Returns
Type Description
Parser<WriteFeatureValuesPayload>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public WriteFeatureValuesPayload.Builder newBuilderForType()
Returns
Type Description
WriteFeatureValuesPayload.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected WriteFeatureValuesPayload.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
WriteFeatureValuesPayload.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public WriteFeatureValuesPayload.Builder toBuilder()
Returns
Type Description
WriteFeatureValuesPayload.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException