# Interface DataStoreTool.BoostSpecsOrBuilder (0.9.0)

0.9.0 (latest) 0.7.0 0.4.0 0.3.0 0.1.0

    public static interface DataStoreTool.BoostSpecsOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getDataStores(int index)

    public abstract String getDataStores(int index)

Required. The Data Store where the boosting configuration is applied.
Full resource name of DataStore, such as
projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}.

`repeated string data_stores = 1 [(.google.api.field_behavior) = REQUIRED];`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the element to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The dataStores at the given index. |

### getDataStoresBytes(int index)

    public abstract ByteString getDataStoresBytes(int index)

Required. The Data Store where the boosting configuration is applied.
Full resource name of DataStore, such as
projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}.

`repeated string data_stores = 1 [(.google.api.field_behavior) = REQUIRED];`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the value to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes of the dataStores at the given index. |

### getDataStoresCount()

    public abstract int getDataStoresCount()

Required. The Data Store where the boosting configuration is applied.
Full resource name of DataStore, such as
projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}.

`repeated string data_stores = 1 [(.google.api.field_behavior) = REQUIRED];`

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

### getDataStoresList()

    public abstract List<String> getDataStoresList()

Required. The Data Store where the boosting configuration is applied.
Full resource name of DataStore, such as
projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}.

`repeated string data_stores = 1 [(.google.api.field_behavior) = REQUIRED];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` | A list containing the dataStores. |

### getSpec(int index)

    public abstract DataStoreTool.BoostSpec getSpec(int index)

Required. A list of boosting specifications.

`
repeated .google.cloud.ces.v1beta.DataStoreTool.BoostSpec spec = 2 [(.google.api.field_behavior) = REQUIRED];
`

| **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-ces/latest/com.google.cloud.ces.v1beta.DataStoreTool.BoostSpec` |   |

### getSpecCount()

    public abstract int getSpecCount()

Required. A list of boosting specifications.

`
repeated .google.cloud.ces.v1beta.DataStoreTool.BoostSpec spec = 2 [(.google.api.field_behavior) = REQUIRED];
`

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

### getSpecList()

    public abstract List<DataStoreTool.BoostSpec> getSpecList()

Required. A list of boosting specifications.

`
repeated .google.cloud.ces.v1beta.DataStoreTool.BoostSpec spec = 2 [(.google.api.field_behavior) = REQUIRED];
`

| **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-ces/latest/com.google.cloud.ces.v1beta.DataStoreTool.BoostSpec>` |   |

### getSpecOrBuilder(int index)

    public abstract DataStoreTool.BoostSpecOrBuilder getSpecOrBuilder(int index)

Required. A list of boosting specifications.

`
repeated .google.cloud.ces.v1beta.DataStoreTool.BoostSpec spec = 2 [(.google.api.field_behavior) = REQUIRED];
`

| **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-ces/latest/com.google.cloud.ces.v1beta.DataStoreTool.BoostSpecOrBuilder` |   |

### getSpecOrBuilderList()

    public abstract List<? extends DataStoreTool.BoostSpecOrBuilder> getSpecOrBuilderList()

Required. A list of boosting specifications.

`
repeated .google.cloud.ces.v1beta.DataStoreTool.BoostSpec spec = 2 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.cloud.ces.v1beta.DataStoreTool.BoostSpecOrBuilder>` |   |