public static final class ListCollectionIdsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListCollectionIdsResponse.Builder> implements ListCollectionIdsResponseOrBuilder
The response from [Firestore.ListCollectionIds][google.firestore.v1.Firestore.ListCollectionIds].Protobuf type
google.firestore.v1.ListCollectionIdsResponse
Modifier and Type | Method and Description |
---|---|
ListCollectionIdsResponse.Builder |
addAllCollectionIds(Iterable<String> values)
The collection ids.
|
ListCollectionIdsResponse.Builder |
addCollectionIds(String value)
The collection ids.
|
ListCollectionIdsResponse.Builder |
addCollectionIdsBytes(com.google.protobuf.ByteString value)
The collection ids.
|
ListCollectionIdsResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListCollectionIdsResponse |
build() |
ListCollectionIdsResponse |
buildPartial() |
ListCollectionIdsResponse.Builder |
clear() |
ListCollectionIdsResponse.Builder |
clearCollectionIds()
The collection ids.
|
ListCollectionIdsResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListCollectionIdsResponse.Builder |
clearNextPageToken()
A page token that may be used to continue the list.
|
ListCollectionIdsResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListCollectionIdsResponse.Builder |
clone() |
String |
getCollectionIds(int index)
The collection ids.
|
com.google.protobuf.ByteString |
getCollectionIdsBytes(int index)
The collection ids.
|
int |
getCollectionIdsCount()
The collection ids.
|
com.google.protobuf.ProtocolStringList |
getCollectionIdsList()
The collection ids.
|
ListCollectionIdsResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getNextPageToken()
A page token that may be used to continue the list.
|
com.google.protobuf.ByteString |
getNextPageTokenBytes()
A page token that may be used to continue the list.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListCollectionIdsResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListCollectionIdsResponse.Builder |
mergeFrom(ListCollectionIdsResponse other) |
ListCollectionIdsResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListCollectionIdsResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListCollectionIdsResponse.Builder |
setCollectionIds(int index,
String value)
The collection ids.
|
ListCollectionIdsResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListCollectionIdsResponse.Builder |
setNextPageToken(String value)
A page token that may be used to continue the list.
|
ListCollectionIdsResponse.Builder |
setNextPageTokenBytes(com.google.protobuf.ByteString value)
A page token that may be used to continue the list.
|
ListCollectionIdsResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListCollectionIdsResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<ListCollectionIdsResponse.Builder>
public ListCollectionIdsResponse.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<ListCollectionIdsResponse.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<ListCollectionIdsResponse.Builder>
public ListCollectionIdsResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ListCollectionIdsResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ListCollectionIdsResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ListCollectionIdsResponse.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<ListCollectionIdsResponse.Builder>
public ListCollectionIdsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListCollectionIdsResponse.Builder>
public ListCollectionIdsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListCollectionIdsResponse.Builder>
public ListCollectionIdsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<ListCollectionIdsResponse.Builder>
public ListCollectionIdsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListCollectionIdsResponse.Builder>
public ListCollectionIdsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListCollectionIdsResponse.Builder>
public ListCollectionIdsResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ListCollectionIdsResponse.Builder>
public ListCollectionIdsResponse.Builder mergeFrom(ListCollectionIdsResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<ListCollectionIdsResponse.Builder>
public ListCollectionIdsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ListCollectionIdsResponse.Builder>
IOException
public com.google.protobuf.ProtocolStringList getCollectionIdsList()
The collection ids.
repeated string collection_ids = 1;
getCollectionIdsList
in interface ListCollectionIdsResponseOrBuilder
public int getCollectionIdsCount()
The collection ids.
repeated string collection_ids = 1;
getCollectionIdsCount
in interface ListCollectionIdsResponseOrBuilder
public String getCollectionIds(int index)
The collection ids.
repeated string collection_ids = 1;
getCollectionIds
in interface ListCollectionIdsResponseOrBuilder
index
- The index of the element to return.public com.google.protobuf.ByteString getCollectionIdsBytes(int index)
The collection ids.
repeated string collection_ids = 1;
getCollectionIdsBytes
in interface ListCollectionIdsResponseOrBuilder
index
- The index of the value to return.public ListCollectionIdsResponse.Builder setCollectionIds(int index, String value)
The collection ids.
repeated string collection_ids = 1;
index
- The index to set the value at.value
- The collectionIds to set.public ListCollectionIdsResponse.Builder addCollectionIds(String value)
The collection ids.
repeated string collection_ids = 1;
value
- The collectionIds to add.public ListCollectionIdsResponse.Builder addAllCollectionIds(Iterable<String> values)
The collection ids.
repeated string collection_ids = 1;
values
- The collectionIds to add.public ListCollectionIdsResponse.Builder clearCollectionIds()
The collection ids.
repeated string collection_ids = 1;
public ListCollectionIdsResponse.Builder addCollectionIdsBytes(com.google.protobuf.ByteString value)
The collection ids.
repeated string collection_ids = 1;
value
- The bytes of the collectionIds to add.public String getNextPageToken()
A page token that may be used to continue the list.
string next_page_token = 2;
getNextPageToken
in interface ListCollectionIdsResponseOrBuilder
public com.google.protobuf.ByteString getNextPageTokenBytes()
A page token that may be used to continue the list.
string next_page_token = 2;
getNextPageTokenBytes
in interface ListCollectionIdsResponseOrBuilder
public ListCollectionIdsResponse.Builder setNextPageToken(String value)
A page token that may be used to continue the list.
string next_page_token = 2;
value
- The nextPageToken to set.public ListCollectionIdsResponse.Builder clearNextPageToken()
A page token that may be used to continue the list.
string next_page_token = 2;
public ListCollectionIdsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
A page token that may be used to continue the list.
string next_page_token = 2;
value
- The bytes for nextPageToken to set.public final ListCollectionIdsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ListCollectionIdsResponse.Builder>
public final ListCollectionIdsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ListCollectionIdsResponse.Builder>
Copyright © 2023 Google LLC. All rights reserved.