public static interface DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPointOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAttributeValue()
public abstract String getAttributeValue()Optional. Can be one of:
- The numerical field value.
- The duration spec for freshness:
The value must be formatted as an XSD
dayTimeDurationvalue (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:
- The numerical field value.
- The duration spec for freshness:
The value must be formatted as an XSD
dayTimeDurationvalue (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. |