# Interface Index.IndexFieldOrBuilder (3.43.1)

3.43.1 (latest) 3.41.0 3.38.0 3.37.0 3.36.0 3.35.1 3.33.4 3.32.2 3.31.9 3.30.11 3.28.0 3.27.2 3.26.5 3.25.1 3.24.3 3.22.0 3.21.4 3.20.0 3.17.0 3.16.3 3.15.7 3.14.4 3.13.2 3.12.1 3.11.0 3.10.0 3.9.6 3.8.2 3.7.10 3.6.0 3.5.0 3.4.2 3.3.0 3.2.0 3.1.0 3.0.21

    public static interface Index.IndexFieldOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getArrayConfig()

    public abstract Index.IndexField.ArrayConfig getArrayConfig()

Indicates that this field supports operations on `array_value`s.

`.google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-firestore/latest/com.google.firestore.admin.v1.Index.IndexField.ArrayConfig` | The arrayConfig. |

### getArrayConfigValue()

    public abstract int getArrayConfigValue()

Indicates that this field supports operations on `array_value`s.

`.google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for arrayConfig. |

### getFieldPath()

    public abstract String getFieldPath()

Can be **name**.
For single field indexes, this must match the name of the field or may
be omitted.

`string field_path = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The fieldPath. |

### getFieldPathBytes()

    public abstract ByteString getFieldPathBytes()

Can be **name**.
For single field indexes, this must match the name of the field or may
be omitted.

`string field_path = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for fieldPath. |

### getOrder()

    public abstract Index.IndexField.Order getOrder()

Indicates that this field supports ordering by the specified order or
comparing using =, !=, \<, \<=, \>, \>=.

`.google.firestore.admin.v1.Index.IndexField.Order order = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-firestore/latest/com.google.firestore.admin.v1.Index.IndexField.Order` | The order. |

### getOrderValue()

    public abstract int getOrderValue()

Indicates that this field supports ordering by the specified order or
comparing using =, !=, \<, \<=, \>, \>=.

`.google.firestore.admin.v1.Index.IndexField.Order order = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for order. |

### getSearchConfig()

    public abstract Index.IndexField.SearchConfig getSearchConfig()

Indicates that this field supports search operations. This field
is only currently supported for indexes with MONGODB_COMPATIBLE_API
ApiScope.

`.google.firestore.admin.v1.Index.IndexField.SearchConfig search_config = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-firestore/latest/com.google.firestore.admin.v1.Index.IndexField.SearchConfig` | The searchConfig. |

### getSearchConfigOrBuilder()

    public abstract Index.IndexField.SearchConfigOrBuilder getSearchConfigOrBuilder()

Indicates that this field supports search operations. This field
is only currently supported for indexes with MONGODB_COMPATIBLE_API
ApiScope.

`.google.firestore.admin.v1.Index.IndexField.SearchConfig search_config = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-firestore/latest/com.google.firestore.admin.v1.Index.IndexField.SearchConfigOrBuilder` |   |

### getValueModeCase()

    public abstract Index.IndexField.ValueModeCase getValueModeCase()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-firestore/latest/com.google.firestore.admin.v1.Index.IndexField.ValueModeCase` |   |

### getVectorConfig()

    public abstract Index.IndexField.VectorConfig getVectorConfig()

Indicates that this field supports nearest neighbor and distance
operations on vector.

`.google.firestore.admin.v1.Index.IndexField.VectorConfig vector_config = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-firestore/latest/com.google.firestore.admin.v1.Index.IndexField.VectorConfig` | The vectorConfig. |

### getVectorConfigOrBuilder()

    public abstract Index.IndexField.VectorConfigOrBuilder getVectorConfigOrBuilder()

Indicates that this field supports nearest neighbor and distance
operations on vector.

`.google.firestore.admin.v1.Index.IndexField.VectorConfig vector_config = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-firestore/latest/com.google.firestore.admin.v1.Index.IndexField.VectorConfigOrBuilder` |   |

### hasArrayConfig()

    public abstract boolean hasArrayConfig()

Indicates that this field supports operations on `array_value`s.

`.google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the arrayConfig field is set. |

### hasOrder()

    public abstract boolean hasOrder()

Indicates that this field supports ordering by the specified order or
comparing using =, !=, \<, \<=, \>, \>=.

`.google.firestore.admin.v1.Index.IndexField.Order order = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the order field is set. |

### hasSearchConfig()

    public abstract boolean hasSearchConfig()

Indicates that this field supports search operations. This field
is only currently supported for indexes with MONGODB_COMPATIBLE_API
ApiScope.

`.google.firestore.admin.v1.Index.IndexField.SearchConfig search_config = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the searchConfig field is set. |

### hasVectorConfig()

    public abstract boolean hasVectorConfig()

Indicates that this field supports nearest neighbor and distance
operations on vector.

`.google.firestore.admin.v1.Index.IndexField.VectorConfig vector_config = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the vectorConfig field is set. |