# Interface QueryProductsResponseOrBuilder (0.14.0)

0.14.0 (latest) 0.12.0 0.9.0 0.8.0 0.6.0 0.4.0 0.3.0 0.2.0 0.1.0

    public interface QueryProductsResponseOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getNextPageToken()

    public abstract String getNextPageToken()

A token that can be sent as `page_token` to retrieve the next page.
If this field is omitted, there are no subsequent pages

`string next_page_token = 2;`

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

### getNextPageTokenBytes()

    public abstract ByteString getNextPageTokenBytes()

A token that can be sent as `page_token` to retrieve the next page.
If this field is omitted, there are no subsequent pages

`string next_page_token = 2;`

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

### getProducts(int index)

    public abstract Product getProducts(int index)

List of database products returned.

`repeated .google.cloud.databasecenter.v1beta.Product products = 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-databasecenter/latest/com.google.cloud.databasecenter.v1beta.Product` |   |

### getProductsCount()

    public abstract int getProductsCount()

List of database products returned.

`repeated .google.cloud.databasecenter.v1beta.Product products = 1;`

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

### getProductsList()

    public abstract List<Product> getProductsList()

List of database products returned.

`repeated .google.cloud.databasecenter.v1beta.Product products = 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-databasecenter/latest/com.google.cloud.databasecenter.v1beta.Product>` |   |

### getProductsOrBuilder(int index)

    public abstract ProductOrBuilder getProductsOrBuilder(int index)

List of database products returned.

`repeated .google.cloud.databasecenter.v1beta.Product products = 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-databasecenter/latest/com.google.cloud.databasecenter.v1beta.ProductOrBuilder` |   |

### getProductsOrBuilderList()

    public abstract List<? extends ProductOrBuilder> getProductsOrBuilderList()

List of database products returned.

`repeated .google.cloud.databasecenter.v1beta.Product products = 1;`

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

### getUnreachable(int index)

    public abstract String getUnreachable(int index)

Unordered list. List of unreachable regions from where data could not be
retrieved.

`repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];`

| **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 unreachable at the given index. |

### getUnreachableBytes(int index)

    public abstract ByteString getUnreachableBytes(int index)

Unordered list. List of unreachable regions from where data could not be
retrieved.

`repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];`

| **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 unreachable at the given index. |

### getUnreachableCount()

    public abstract int getUnreachableCount()

Unordered list. List of unreachable regions from where data could not be
retrieved.

`repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];`

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

### getUnreachableList()

    public abstract List<String> getUnreachableList()

Unordered list. List of unreachable regions from where data could not be
retrieved.

`repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];`

| **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 unreachable. |