Interface WriteFeatureValuesPayloadOrBuilder (3.44.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
Name Description
key String
Returns
Type Description
boolean

getEntityId()

public abstract 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 abstract 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 abstract Map<String,FeatureValue> getFeatureValues()
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
key String
defaultValue FeatureValue
Returns
Type Description
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
Name Description
key String
Returns
Type Description
FeatureValue