Interface ListSnapshotsResponseOrBuilder (1.132.1)

public interface ListSnapshotsResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNextPageToken()

public abstract String getNextPageToken()

Optional. If not empty, indicates that there may be more snapshot that match the request; this value should be passed in a new ListSnapshotsRequest.

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 snapshot that match the request; this value should be passed in a new ListSnapshotsRequest.

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

Returns
Type Description
ByteString

The bytes for nextPageToken.

getSnapshots(int index)

public abstract Snapshot getSnapshots(int index)

Optional. The resulting snapshots.

repeated .google.pubsub.v1.Snapshot snapshots = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Snapshot

getSnapshotsCount()

public abstract int getSnapshotsCount()

Optional. The resulting snapshots.

repeated .google.pubsub.v1.Snapshot snapshots = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getSnapshotsList()

public abstract List<Snapshot> getSnapshotsList()

Optional. The resulting snapshots.

repeated .google.pubsub.v1.Snapshot snapshots = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Snapshot>

getSnapshotsOrBuilder(int index)

public abstract SnapshotOrBuilder getSnapshotsOrBuilder(int index)

Optional. The resulting snapshots.

repeated .google.pubsub.v1.Snapshot snapshots = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
SnapshotOrBuilder

getSnapshotsOrBuilderList()

public abstract List<? extends SnapshotOrBuilder> getSnapshotsOrBuilderList()

Optional. The resulting snapshots.

repeated .google.pubsub.v1.Snapshot snapshots = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.pubsub.v1.SnapshotOrBuilder>