Interface BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPointOrBuilder (0.66.0)

public static interface BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPointOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAttributeValue()

public abstract String getAttributeValue()

Optional. Can be one of:

  1. The numerical field value.
  2. The duration spec for freshness: The value must be formatted as an XSD dayTimeDuration value (a restricted subset of an ISO 8601 duration value). The pattern for this is: nDnM].

string attribute_value = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The attributeValue.

getAttributeValueBytes()

public abstract ByteString getAttributeValueBytes()

Optional. Can be one of:

  1. The numerical field value.
  2. The duration spec for freshness: The value must be formatted as an XSD dayTimeDuration value (a restricted subset of an ISO 8601 duration value). The pattern for this is: nDnM].

string attribute_value = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for attributeValue.

getBoostAmount()

public abstract float getBoostAmount()

Optional. The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above.

float boost_amount = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
float

The boostAmount.