Class ListCollectionIdsResponse (3.21.1)

public final class ListCollectionIdsResponse extends GeneratedMessageV3 implements ListCollectionIdsResponseOrBuilder

The response from Firestore.ListCollectionIds.

Protobuf type google.firestore.v1.ListCollectionIdsResponse

Static Fields

COLLECTION_IDS_FIELD_NUMBER

public static final int COLLECTION_IDS_FIELD_NUMBER
Field Value
Type Description
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ListCollectionIdsResponse getDefaultInstance()
Returns
Type Description
ListCollectionIdsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ListCollectionIdsResponse.Builder newBuilder()
Returns
Type Description
ListCollectionIdsResponse.Builder

newBuilder(ListCollectionIdsResponse prototype)

public static ListCollectionIdsResponse.Builder newBuilder(ListCollectionIdsResponse prototype)
Parameter
Name Description
prototype ListCollectionIdsResponse
Returns
Type Description
ListCollectionIdsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListCollectionIdsResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListCollectionIdsResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListCollectionIdsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListCollectionIdsResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ListCollectionIdsResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ListCollectionIdsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListCollectionIdsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListCollectionIdsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListCollectionIdsResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ListCollectionIdsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListCollectionIdsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListCollectionIdsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListCollectionIdsResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ListCollectionIdsResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListCollectionIdsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListCollectionIdsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ListCollectionIdsResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListCollectionIdsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListCollectionIdsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListCollectionIdsResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ListCollectionIdsResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ListCollectionIdsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListCollectionIdsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListCollectionIdsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ListCollectionIdsResponse> parser()
Returns
Type Description
Parser<ListCollectionIdsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCollectionIds(int index)

public String getCollectionIds(int index)

The collection ids.

repeated string collection_ids = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The collectionIds at the given index.

getCollectionIdsBytes(int index)

public ByteString getCollectionIdsBytes(int index)

The collection ids.

repeated string collection_ids = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the collectionIds at the given index.

getCollectionIdsCount()

public int getCollectionIdsCount()

The collection ids.

repeated string collection_ids = 1;

Returns
Type Description
int

The count of collectionIds.

getCollectionIdsList()

public ProtocolStringList getCollectionIdsList()

The collection ids.

repeated string collection_ids = 1;

Returns
Type Description
ProtocolStringList

A list containing the collectionIds.

getDefaultInstanceForType()

public ListCollectionIdsResponse getDefaultInstanceForType()
Returns
Type Description
ListCollectionIdsResponse

getNextPageToken()

public String getNextPageToken()

A page token that may be used to continue the list.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A page token that may be used to continue the list.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListCollectionIdsResponse> getParserForType()
Returns
Type Description
Parser<ListCollectionIdsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ListCollectionIdsResponse.Builder newBuilderForType()
Returns
Type Description
ListCollectionIdsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListCollectionIdsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ListCollectionIdsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ListCollectionIdsResponse.Builder toBuilder()
Returns
Type Description
ListCollectionIdsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException