public static final class ListCollectionIdsResponse.Builder extends GeneratedMessageV3.Builder<ListCollectionIdsResponse.Builder> implements ListCollectionIdsResponseOrBuilderThe 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()| Type | Description |
| Descriptor |
Methods
addAllCollectionIds(Iterable<String> values)
public ListCollectionIdsResponse.Builder addAllCollectionIds(Iterable<String> values)The collection ids.
repeated string collection_ids = 1;
| Name | Description |
| values | Iterable<String>The collectionIds to add. |
| 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;
| Name | Description |
| value | StringThe collectionIds to add. |
| 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;
| Name | Description |
| value | ByteStringThe bytes of the collectionIds to add. |
| Type | Description |
| ListCollectionIdsResponse.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListCollectionIdsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| ListCollectionIdsResponse.Builder |
build()
public ListCollectionIdsResponse build()| Type | Description |
| ListCollectionIdsResponse |
buildPartial()
public ListCollectionIdsResponse buildPartial()| Type | Description |
| ListCollectionIdsResponse |
clear()
public ListCollectionIdsResponse.Builder clear()| Type | Description |
| ListCollectionIdsResponse.Builder |
clearCollectionIds()
public ListCollectionIdsResponse.Builder clearCollectionIds()The collection ids.
repeated string collection_ids = 1;
| Type | Description |
| ListCollectionIdsResponse.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ListCollectionIdsResponse.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| 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;
| Type | Description |
| ListCollectionIdsResponse.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListCollectionIdsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| ListCollectionIdsResponse.Builder |
clone()
public ListCollectionIdsResponse.Builder clone()| Type | Description |
| ListCollectionIdsResponse.Builder |
getCollectionIds(int index)
public String getCollectionIds(int index)The collection ids.
repeated string collection_ids = 1;
| Name | Description |
| index | intThe index of the element to return. |
| 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;
| Name | Description |
| index | intThe index of the value to return. |
| Type | Description |
| ByteString | The bytes of the collectionIds at the given index. |
getCollectionIdsCount()
public int getCollectionIdsCount()The collection ids.
repeated string collection_ids = 1;
| Type | Description |
| int | The count of collectionIds. |
getCollectionIdsList()
public ProtocolStringList getCollectionIdsList()The collection ids.
repeated string collection_ids = 1;
| Type | Description |
| ProtocolStringList | A list containing the collectionIds. |
getDefaultInstanceForType()
public ListCollectionIdsResponse getDefaultInstanceForType()| Type | Description |
| ListCollectionIdsResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getNextPageToken()
public String getNextPageToken()A page token that may be used to continue the list.
string next_page_token = 2;
| 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;
| Type | Description |
| ByteString | The bytes for nextPageToken. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeFrom(ListCollectionIdsResponse other)
public ListCollectionIdsResponse.Builder mergeFrom(ListCollectionIdsResponse other)| Name | Description |
| other | ListCollectionIdsResponse |
| Type | Description |
| ListCollectionIdsResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListCollectionIdsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| ListCollectionIdsResponse.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public ListCollectionIdsResponse.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| ListCollectionIdsResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListCollectionIdsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| 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;
| Name | Description |
| index | intThe index to set the value at. |
| value | StringThe collectionIds to set. |
| Type | Description |
| ListCollectionIdsResponse.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ListCollectionIdsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| 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;
| Name | Description |
| value | StringThe nextPageToken to set. |
| 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;
| Name | Description |
| value | ByteStringThe bytes for nextPageToken to set. |
| 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)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| ListCollectionIdsResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListCollectionIdsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| ListCollectionIdsResponse.Builder |