Interface ListSnapshotsResponseOrBuilder (1.127.3)

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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Snapshot

getSnapshotsCount()

public abstract int getSnapshotsCount()

Optional. The resulting snapshots.

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

Returns
TypeDescription
int

getSnapshotsList()

public abstract List<Snapshot> getSnapshotsList()

Optional. The resulting snapshots.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.pubsub.v1.SnapshotOrBuilder>