public final class ListSnapshotsResponse extends com.google.protobuf.GeneratedMessageV3 implements ListSnapshotsResponseOrBuilder
Response for the `ListSnapshots` method.Protobuf type
google.pubsub.v1.ListSnapshotsResponse| Modifier and Type | Class and Description |
|---|---|
static class |
ListSnapshotsResponse.Builder
Response for the `ListSnapshots` method.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
NEXT_PAGE_TOKEN_FIELD_NUMBER |
static int |
SNAPSHOTS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static ListSnapshotsResponse |
getDefaultInstance() |
ListSnapshotsResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.lang.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`.
|
com.google.protobuf.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`.
|
com.google.protobuf.Parser<ListSnapshotsResponse> |
getParserForType() |
int |
getSerializedSize() |
Snapshot |
getSnapshots(int index)
The resulting snapshots.
|
int |
getSnapshotsCount()
The resulting snapshots.
|
java.util.List<Snapshot> |
getSnapshotsList()
The resulting snapshots.
|
SnapshotOrBuilder |
getSnapshotsOrBuilder(int index)
The resulting snapshots.
|
java.util.List<? extends SnapshotOrBuilder> |
getSnapshotsOrBuilderList()
The resulting snapshots.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ListSnapshotsResponse.Builder |
newBuilder() |
static ListSnapshotsResponse.Builder |
newBuilder(ListSnapshotsResponse prototype) |
ListSnapshotsResponse.Builder |
newBuilderForType() |
protected ListSnapshotsResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static ListSnapshotsResponse |
parseDelimitedFrom(java.io.InputStream input) |
static ListSnapshotsResponse |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListSnapshotsResponse |
parseFrom(byte[] data) |
static ListSnapshotsResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListSnapshotsResponse |
parseFrom(java.nio.ByteBuffer data) |
static ListSnapshotsResponse |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListSnapshotsResponse |
parseFrom(com.google.protobuf.ByteString data) |
static ListSnapshotsResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListSnapshotsResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ListSnapshotsResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListSnapshotsResponse |
parseFrom(java.io.InputStream input) |
static ListSnapshotsResponse |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ListSnapshotsResponse> |
parser() |
ListSnapshotsResponse.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int SNAPSHOTS_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public java.util.List<Snapshot> getSnapshotsList()
The resulting snapshots.
repeated .google.pubsub.v1.Snapshot snapshots = 1;getSnapshotsList in interface ListSnapshotsResponseOrBuilderpublic java.util.List<? extends SnapshotOrBuilder> getSnapshotsOrBuilderList()
The resulting snapshots.
repeated .google.pubsub.v1.Snapshot snapshots = 1;getSnapshotsOrBuilderList in interface ListSnapshotsResponseOrBuilderpublic int getSnapshotsCount()
The resulting snapshots.
repeated .google.pubsub.v1.Snapshot snapshots = 1;getSnapshotsCount in interface ListSnapshotsResponseOrBuilderpublic Snapshot getSnapshots(int index)
The resulting snapshots.
repeated .google.pubsub.v1.Snapshot snapshots = 1;getSnapshots in interface ListSnapshotsResponseOrBuilderpublic SnapshotOrBuilder getSnapshotsOrBuilder(int index)
The resulting snapshots.
repeated .google.pubsub.v1.Snapshot snapshots = 1;getSnapshotsOrBuilder in interface ListSnapshotsResponseOrBuilderpublic java.lang.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;getNextPageToken in interface ListSnapshotsResponseOrBuilderpublic com.google.protobuf.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;getNextPageTokenBytes in interface ListSnapshotsResponseOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ListSnapshotsResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListSnapshotsResponse parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListSnapshotsResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListSnapshotsResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListSnapshotsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListSnapshotsResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListSnapshotsResponse parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ListSnapshotsResponse parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ListSnapshotsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ListSnapshotsResponse parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ListSnapshotsResponse parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ListSnapshotsResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic ListSnapshotsResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ListSnapshotsResponse.Builder newBuilder()
public static ListSnapshotsResponse.Builder newBuilder(ListSnapshotsResponse prototype)
public ListSnapshotsResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ListSnapshotsResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ListSnapshotsResponse getDefaultInstance()
public static com.google.protobuf.Parser<ListSnapshotsResponse> parser()
public com.google.protobuf.Parser<ListSnapshotsResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ListSnapshotsResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder