Interface Engine.MediaRecommendationEngineConfig.OptimizationObjectiveConfigOrBuilder (0.40.0)

public static interface Engine.MediaRecommendationEngineConfig.OptimizationObjectiveConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getTargetField()

public abstract String getTargetField()

Required. The name of the field to target. Currently supported values: watch-percentage, watch-time.

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

Returns
Type Description
String

The targetField.

getTargetFieldBytes()

public abstract ByteString getTargetFieldBytes()

Required. The name of the field to target. Currently supported values: watch-percentage, watch-time.

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

Returns
Type Description
ByteString

The bytes for targetField.

getTargetFieldValueFloat()

public abstract float getTargetFieldValueFloat()

Required. The threshold to be applied to the target (e.g., 0.5).

float target_field_value_float = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
float

The targetFieldValueFloat.