Class WriteFeatureValuesPayload (3.23.0)

public final class WriteFeatureValuesPayload extends GeneratedMessageV3 implements WriteFeatureValuesPayloadOrBuilder

Contains Feature values to be written for a specific entity.

Protobuf type google.cloud.aiplatform.v1.WriteFeatureValuesPayload

Static Fields

ENTITY_ID_FIELD_NUMBER

public static final int ENTITY_ID_FIELD_NUMBER
Field Value
TypeDescription
int

FEATURE_VALUES_FIELD_NUMBER

public static final int FEATURE_VALUES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static WriteFeatureValuesPayload getDefaultInstance()
Returns
TypeDescription
WriteFeatureValuesPayload

getDescriptor()

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

newBuilder()

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

newBuilder(WriteFeatureValuesPayload prototype)

public static WriteFeatureValuesPayload.Builder newBuilder(WriteFeatureValuesPayload prototype)
Parameter
NameDescription
prototypeWriteFeatureValuesPayload
Returns
TypeDescription
WriteFeatureValuesPayload.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<WriteFeatureValuesPayload> parser()
Returns
TypeDescription
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.v1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

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

getDefaultInstanceForType()

public WriteFeatureValuesPayload getDefaultInstanceForType()
Returns
TypeDescription
WriteFeatureValuesPayload

getEntityId()

public String getEntityId()

Required. The ID of the entity.

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

Returns
TypeDescription
String

The entityId.

getEntityIdBytes()

public ByteString getEntityIdBytes()

Required. The ID of the entity.

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

Returns
TypeDescription
ByteString

The bytes for entityId.

getFeatureValues()

public Map<String,FeatureValue> getFeatureValues()
Returns
TypeDescription
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.v1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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.v1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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.v1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
keyString
defaultValueFeatureValue
Returns
TypeDescription
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.v1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
keyString
Returns
TypeDescription
FeatureValue

getParserForType()

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

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

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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