# Interface DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPointOrBuilder (0.9.0)

0.9.0 (latest) 0.7.0 0.4.0 0.3.0 0.1.0

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

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## 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** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | 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** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The boostAmount. |