# Interface ListLogEntriesResponseOrBuilder (3.34.0)

3.34.0 (latest) 3.32.0 3.29.0 3.28.0 3.26.0 3.24.0 3.23.10 3.22.6 3.21.4 3.20.7 3.19.0 3.18.0 3.17.2 3.16.2 3.15.17 3.14.9 3.13.7 3.12.1 3.11.10 3.10.7 3.9.0 3.8.0 3.7.6 3.6.4 3.5.3

    public interface ListLogEntriesResponseOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getEntries(int index)

    public abstract LogEntry getEntries(int index)

A list of log entries. If `entries` is empty, `nextPageToken` may still be
returned, indicating that more entries may exist. See `nextPageToken` for
more information.

`repeated .google.logging.v2.LogEntry entries = 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-logging/latest/com.google.logging.v2.LogEntry` |   |

### getEntriesCount()

    public abstract int getEntriesCount()

A list of log entries. If `entries` is empty, `nextPageToken` may still be
returned, indicating that more entries may exist. See `nextPageToken` for
more information.

`repeated .google.logging.v2.LogEntry entries = 1;`

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

### getEntriesList()

    public abstract List<LogEntry> getEntriesList()

A list of log entries. If `entries` is empty, `nextPageToken` may still be
returned, indicating that more entries may exist. See `nextPageToken` for
more information.

`repeated .google.logging.v2.LogEntry entries = 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-logging/latest/com.google.logging.v2.LogEntry>` |   |

### getEntriesOrBuilder(int index)

    public abstract LogEntryOrBuilder getEntriesOrBuilder(int index)

A list of log entries. If `entries` is empty, `nextPageToken` may still be
returned, indicating that more entries may exist. See `nextPageToken` for
more information.

`repeated .google.logging.v2.LogEntry entries = 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-logging/latest/com.google.logging.v2.LogEntryOrBuilder` |   |

### getEntriesOrBuilderList()

    public abstract List<? extends LogEntryOrBuilder> getEntriesOrBuilderList()

A list of log entries. If `entries` is empty, `nextPageToken` may still be
returned, indicating that more entries may exist. See `nextPageToken` for
more information.

`repeated .google.logging.v2.LogEntry entries = 1;`

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

### getNextPageToken()

    public abstract String getNextPageToken()

If there might be more results than those appearing in this response, then
`nextPageToken` is included. To get the next set of results, call this
method again using the value of `nextPageToken` as `pageToken`.

If a value for `next_page_token` appears and the `entries` field is empty,
it means that the search found no log entries so far but it did not have
time to search all the possible log entries. Retry the method with this
value for `page_token` to continue the search. Alternatively, consider
speeding up the search by changing your filter to specify a single log name
or resource type, or to narrow the time range of the search.

`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()

If there might be more results than those appearing in this response, then
`nextPageToken` is included. To get the next set of results, call this
method again using the value of `nextPageToken` as `pageToken`.

If a value for `next_page_token` appears and the `entries` field is empty,
it means that the search found no log entries so far but it did not have
time to search all the possible log entries. Retry the method with this
value for `page_token` to continue the search. Alternatively, consider
speeding up the search by changing your filter to specify a single log name
or resource type, or to narrow the time range of the search.

`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. |