# Interface ArrayValueOrBuilder (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 ArrayValueOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getValues(int index)

    public abstract Value getValues(int index)

Values in the array.
The order of values in an array is preserved as long as all values have
identical settings for 'exclude_from_indexes'.

`repeated .google.datastore.v1.Value values = 1;`

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

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

### getValuesCount()

    public abstract int getValuesCount()

Values in the array.
The order of values in an array is preserved as long as all values have
identical settings for 'exclude_from_indexes'.

`repeated .google.datastore.v1.Value values = 1;`

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

### getValuesList()

    public abstract List<Value> getValuesList()

Values in the array.
The order of values in an array is preserved as long as all values have
identical settings for 'exclude_from_indexes'.

`repeated .google.datastore.v1.Value values = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-datastore/latest/com.google.datastore.v1.Value>` |   |

### getValuesOrBuilder(int index)

    public abstract ValueOrBuilder getValuesOrBuilder(int index)

Values in the array.
The order of values in an array is preserved as long as all values have
identical settings for 'exclude_from_indexes'.

`repeated .google.datastore.v1.Value values = 1;`

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

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

### getValuesOrBuilderList()

    public abstract List<? extends ValueOrBuilder> getValuesOrBuilderList()

Values in the array.
The order of values in an array is preserved as long as all values have
identical settings for 'exclude_from_indexes'.

`repeated .google.datastore.v1.Value values = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.datastore.v1.ValueOrBuilder>` |   |