# Interface ListSubscriptionsResponseOrBuilder (0.2.0)

    public interface ListSubscriptionsResponseOrBuilder 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, which 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, which 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. |

### getSubscriptions(int index)

    public abstract Subscription getSubscriptions(int index)

The subscriptions from the specified subscriber.

`repeated .google.devicesandservices.health.v4.Subscription subscriptions = 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-health/latest/com.google.devicesandservices.health.v4.Subscription` |   |

### getSubscriptionsCount()

    public abstract int getSubscriptionsCount()

The subscriptions from the specified subscriber.

`repeated .google.devicesandservices.health.v4.Subscription subscriptions = 1;`

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

### getSubscriptionsList()

    public abstract List<Subscription> getSubscriptionsList()

The subscriptions from the specified subscriber.

`repeated .google.devicesandservices.health.v4.Subscription subscriptions = 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-health/latest/com.google.devicesandservices.health.v4.Subscription>` |   |

### getSubscriptionsOrBuilder(int index)

    public abstract SubscriptionOrBuilder getSubscriptionsOrBuilder(int index)

The subscriptions from the specified subscriber.

`repeated .google.devicesandservices.health.v4.Subscription subscriptions = 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-health/latest/com.google.devicesandservices.health.v4.SubscriptionOrBuilder` |   |

### getSubscriptionsOrBuilderList()

    public abstract List<? extends SubscriptionOrBuilder> getSubscriptionsOrBuilderList()

The subscriptions from the specified subscriber.

`repeated .google.devicesandservices.health.v4.Subscription subscriptions = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.devicesandservices.health.v4.SubscriptionOrBuilder>` |   |