public static final class ListCollectionIdsResponse.Builder extends GeneratedMessageV3.Builder<ListCollectionIdsResponse.Builder> implements ListCollectionIdsResponseOrBuilder
The response from Firestore.ListCollectionIds.
Protobuf type google.firestore.v1.ListCollectionIdsResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListCollectionIdsResponse.BuilderImplements
ListCollectionIdsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllCollectionIds(Iterable<String> values)
public ListCollectionIdsResponse.Builder addAllCollectionIds(Iterable<String> values)
The collection ids.
repeated string collection_ids = 1;
Parameter | |
---|---|
Name | Description |
values | Iterable<String> The collectionIds to add. |
Returns | |
---|---|
Type | Description |
ListCollectionIdsResponse.Builder | This builder for chaining. |
addCollectionIds(String value)
public ListCollectionIdsResponse.Builder addCollectionIds(String value)
The collection ids.
repeated string collection_ids = 1;
Parameter | |
---|---|
Name | Description |
value | String The collectionIds to add. |
Returns | |
---|---|
Type | Description |
ListCollectionIdsResponse.Builder | This builder for chaining. |
addCollectionIdsBytes(ByteString value)
public ListCollectionIdsResponse.Builder addCollectionIdsBytes(ByteString value)
The collection ids.
repeated string collection_ids = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes of the collectionIds to add. |
Returns | |
---|---|
Type | Description |
ListCollectionIdsResponse.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListCollectionIdsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ListCollectionIdsResponse.Builder |
build()
public ListCollectionIdsResponse build()
Returns | |
---|---|
Type | Description |
ListCollectionIdsResponse |
buildPartial()
public ListCollectionIdsResponse buildPartial()
Returns | |
---|---|
Type | Description |
ListCollectionIdsResponse |
clear()
public ListCollectionIdsResponse.Builder clear()
Returns | |
---|---|
Type | Description |
ListCollectionIdsResponse.Builder |
clearCollectionIds()
public ListCollectionIdsResponse.Builder clearCollectionIds()
The collection ids.
repeated string collection_ids = 1;
Returns | |
---|---|
Type | Description |
ListCollectionIdsResponse.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ListCollectionIdsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ListCollectionIdsResponse.Builder |
clearNextPageToken()
public ListCollectionIdsResponse.Builder clearNextPageToken()
A page token that may be used to continue the list.
string next_page_token = 2;
Returns | |
---|---|
Type | Description |
ListCollectionIdsResponse.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListCollectionIdsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ListCollectionIdsResponse.Builder |
clone()
public ListCollectionIdsResponse.Builder clone()
Returns | |
---|---|
Type | Description |
ListCollectionIdsResponse.Builder |
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 |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ListCollectionIdsResponse other)
public ListCollectionIdsResponse.Builder mergeFrom(ListCollectionIdsResponse other)
Parameter | |
---|---|
Name | Description |
other | ListCollectionIdsResponse |
Returns | |
---|---|
Type | Description |
ListCollectionIdsResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListCollectionIdsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListCollectionIdsResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ListCollectionIdsResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ListCollectionIdsResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListCollectionIdsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListCollectionIdsResponse.Builder |
setCollectionIds(int index, String value)
public ListCollectionIdsResponse.Builder setCollectionIds(int index, String value)
The collection ids.
repeated string collection_ids = 1;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The collectionIds to set. |
Returns | |
---|---|
Type | Description |
ListCollectionIdsResponse.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ListCollectionIdsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ListCollectionIdsResponse.Builder |
setNextPageToken(String value)
public ListCollectionIdsResponse.Builder setNextPageToken(String value)
A page token that may be used to continue the list.
string next_page_token = 2;
Parameter | |
---|---|
Name | Description |
value | String The nextPageToken to set. |
Returns | |
---|---|
Type | Description |
ListCollectionIdsResponse.Builder | This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListCollectionIdsResponse.Builder setNextPageTokenBytes(ByteString value)
A page token that may be used to continue the list.
string next_page_token = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for nextPageToken to set. |
Returns | |
---|---|
Type | Description |
ListCollectionIdsResponse.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListCollectionIdsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ListCollectionIdsResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListCollectionIdsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListCollectionIdsResponse.Builder |