# Interface ValueBuilder&lt;V,P,B&gt; (3.1.0)

3.1.0 (latest) 2.40.0 2.37.0 2.36.0 2.34.0 2.33.3 2.32.3 2.31.4 2.30.0 2.29.1 2.28.2 2.27.1 2.26.4 2.25.2 2.24.3 2.23.0 2.22.0 2.21.3 2.20.2 2.19.2 2.18.5 2.17.6

    public interface ValueBuilder<V,P,B>

A common interface for Value builders.

| ## Type Parameters ||
|---|---|
| **Name** | **Description** |
| `V` |   |
| `P` |   |
| `B` |   |

## Methods

### build()

    public abstract P build()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `P` |   |

### get()

    public abstract V get()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `V` |   |

### getExcludeFromIndexes()

    public abstract boolean getExcludeFromIndexes()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getMeaning() (deprecated)

    public abstract int getMeaning()

Deprecated. This library preserves the field for backwards compatibility.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getValueType()

    public abstract ValueType getValueType()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datastore/latest/com.google.cloud.datastore.ValueType` |   |

### mergeFrom(P other)

    public abstract B mergeFrom(P other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `P` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `B` |   |

### set(V value)

    public abstract B set(V value)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `V` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `B` |   |

### setExcludeFromIndexes(boolean excludeFromIndexes)

    public abstract B setExcludeFromIndexes(boolean excludeFromIndexes)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `excludeFromIndexes` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `B` |   |

### setMeaning(int meaning) (deprecated)

    public abstract B setMeaning(int meaning)

Deprecated. This library preserves the field for backwards compatibility.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `meaning` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `B` |   |