Interface WriteFeatureValuesPayloadOrBuilder (3.37.0)

public interface WriteFeatureValuesPayloadOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsFeatureValues(String key)

public abstract 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
NameDescription
keyString
Returns
TypeDescription
boolean

getEntityId()

public abstract String getEntityId()

Required. The ID of the entity.

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

Returns
TypeDescription
String

The entityId.

getEntityIdBytes()

public abstract 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() (deprecated)

public abstract Map<String,FeatureValue> getFeatureValues()
Returns
TypeDescription
Map<String,FeatureValue>

getFeatureValuesCount()

public abstract 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
TypeDescription
int

getFeatureValuesMap()

public abstract 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
TypeDescription
Map<String,FeatureValue>

getFeatureValuesOrDefault(String key, FeatureValue defaultValue)

public abstract 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
NameDescription
keyString
defaultValueFeatureValue
Returns
TypeDescription
FeatureValue

getFeatureValuesOrThrow(String key)

public abstract 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
NameDescription
keyString
Returns
TypeDescription
FeatureValue