Class ListSnapshotsResponse (1.125.8)

public final class ListSnapshotsResponse extends GeneratedMessageV3 implements ListSnapshotsResponseOrBuilder

Response for the ListSnapshots method.

Protobuf type google.pubsub.v1.ListSnapshotsResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

SNAPSHOTS_FIELD_NUMBER

public static final int SNAPSHOTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListSnapshotsResponse getDefaultInstance()
Returns
TypeDescription
ListSnapshotsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListSnapshotsResponse.Builder newBuilder()
Returns
TypeDescription
ListSnapshotsResponse.Builder

newBuilder(ListSnapshotsResponse prototype)

public static ListSnapshotsResponse.Builder newBuilder(ListSnapshotsResponse prototype)
Parameter
NameDescription
prototypeListSnapshotsResponse
Returns
TypeDescription
ListSnapshotsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListSnapshotsResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListSnapshotsResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListSnapshotsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSnapshotsResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListSnapshotsResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListSnapshotsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListSnapshotsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSnapshotsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListSnapshotsResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListSnapshotsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListSnapshotsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSnapshotsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListSnapshotsResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListSnapshotsResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListSnapshotsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSnapshotsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListSnapshotsResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListSnapshotsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListSnapshotsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSnapshotsResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListSnapshotsResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListSnapshotsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListSnapshotsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSnapshotsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListSnapshotsResponse> parser()
Returns
TypeDescription
Parser<ListSnapshotsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListSnapshotsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListSnapshotsResponse

getNextPageToken()

public String getNextPageToken()

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;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

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;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListSnapshotsResponse> getParserForType()
Returns
TypeDescription
Parser<ListSnapshotsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSnapshots(int index)

public Snapshot getSnapshots(int index)

The resulting snapshots.

repeated .google.pubsub.v1.Snapshot snapshots = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Snapshot

getSnapshotsCount()

public int getSnapshotsCount()

The resulting snapshots.

repeated .google.pubsub.v1.Snapshot snapshots = 1;

Returns
TypeDescription
int

getSnapshotsList()

public List<Snapshot> getSnapshotsList()

The resulting snapshots.

repeated .google.pubsub.v1.Snapshot snapshots = 1;

Returns
TypeDescription
List<Snapshot>

getSnapshotsOrBuilder(int index)

public SnapshotOrBuilder getSnapshotsOrBuilder(int index)

The resulting snapshots.

repeated .google.pubsub.v1.Snapshot snapshots = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SnapshotOrBuilder

getSnapshotsOrBuilderList()

public List<? extends SnapshotOrBuilder> getSnapshotsOrBuilderList()

The resulting snapshots.

repeated .google.pubsub.v1.Snapshot snapshots = 1;

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

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListSnapshotsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListSnapshotsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListSnapshotsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListSnapshotsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListSnapshotsResponse.Builder toBuilder()
Returns
TypeDescription
ListSnapshotsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException