Interface ListTopicSnapshotsResponseOrBuilder (1.129.6)

public interface ListTopicSnapshotsResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNextPageToken()

public abstract String getNextPageToken()

Optional. If not empty, indicates that there may be more snapshots that match the request; this value should be passed in a new ListTopicSnapshotsRequest to get more snapshots.

string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public abstract ByteString getNextPageTokenBytes()

Optional. If not empty, indicates that there may be more snapshots that match the request; this value should be passed in a new ListTopicSnapshotsRequest to get more snapshots.

string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for nextPageToken.

getSnapshots(int index)

public abstract String getSnapshots(int index)

Optional. The names of the snapshots that match the request.

repeated string snapshots = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The snapshots at the given index.

getSnapshotsBytes(int index)

public abstract ByteString getSnapshotsBytes(int index)

Optional. The names of the snapshots that match the request.

repeated string snapshots = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the snapshots at the given index.

getSnapshotsCount()

public abstract int getSnapshotsCount()

Optional. The names of the snapshots that match the request.

repeated string snapshots = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of snapshots.

getSnapshotsList()

public abstract List<String> getSnapshotsList()

Optional. The names of the snapshots that match the request.

repeated string snapshots = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the snapshots.