public static final class ListDocumentsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListDocumentsResponse.Builder> implements ListDocumentsResponseOrBuilder
The response for [Firestore.ListDocuments][google.firestore.v1.Firestore.ListDocuments].Protobuf type
google.firestore.v1.ListDocumentsResponse
Modifier and Type | Method and Description |
---|---|
ListDocumentsResponse.Builder |
addAllDocuments(Iterable<? extends Document> values)
The Documents found.
|
ListDocumentsResponse.Builder |
addDocuments(Document.Builder builderForValue)
The Documents found.
|
ListDocumentsResponse.Builder |
addDocuments(Document value)
The Documents found.
|
ListDocumentsResponse.Builder |
addDocuments(int index,
Document.Builder builderForValue)
The Documents found.
|
ListDocumentsResponse.Builder |
addDocuments(int index,
Document value)
The Documents found.
|
Document.Builder |
addDocumentsBuilder()
The Documents found.
|
Document.Builder |
addDocumentsBuilder(int index)
The Documents found.
|
ListDocumentsResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListDocumentsResponse |
build() |
ListDocumentsResponse |
buildPartial() |
ListDocumentsResponse.Builder |
clear() |
ListDocumentsResponse.Builder |
clearDocuments()
The Documents found.
|
ListDocumentsResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListDocumentsResponse.Builder |
clearNextPageToken()
A token to retrieve the next page of documents.
|
ListDocumentsResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListDocumentsResponse.Builder |
clone() |
ListDocumentsResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Document |
getDocuments(int index)
The Documents found.
|
Document.Builder |
getDocumentsBuilder(int index)
The Documents found.
|
List<Document.Builder> |
getDocumentsBuilderList()
The Documents found.
|
int |
getDocumentsCount()
The Documents found.
|
List<Document> |
getDocumentsList()
The Documents found.
|
DocumentOrBuilder |
getDocumentsOrBuilder(int index)
The Documents found.
|
List<? extends DocumentOrBuilder> |
getDocumentsOrBuilderList()
The Documents found.
|
String |
getNextPageToken()
A token to retrieve the next page of documents.
|
com.google.protobuf.ByteString |
getNextPageTokenBytes()
A token to retrieve the next page of documents.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListDocumentsResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListDocumentsResponse.Builder |
mergeFrom(ListDocumentsResponse other) |
ListDocumentsResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListDocumentsResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListDocumentsResponse.Builder |
removeDocuments(int index)
The Documents found.
|
ListDocumentsResponse.Builder |
setDocuments(int index,
Document.Builder builderForValue)
The Documents found.
|
ListDocumentsResponse.Builder |
setDocuments(int index,
Document value)
The Documents found.
|
ListDocumentsResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListDocumentsResponse.Builder |
setNextPageToken(String value)
A token to retrieve the next page of documents.
|
ListDocumentsResponse.Builder |
setNextPageTokenBytes(com.google.protobuf.ByteString value)
A token to retrieve the next page of documents.
|
ListDocumentsResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListDocumentsResponse.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<ListDocumentsResponse.Builder>
public ListDocumentsResponse.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<ListDocumentsResponse.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<ListDocumentsResponse.Builder>
public ListDocumentsResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ListDocumentsResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ListDocumentsResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ListDocumentsResponse.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<ListDocumentsResponse.Builder>
public ListDocumentsResponse.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<ListDocumentsResponse.Builder>
public ListDocumentsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListDocumentsResponse.Builder>
public ListDocumentsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<ListDocumentsResponse.Builder>
public ListDocumentsResponse.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<ListDocumentsResponse.Builder>
public ListDocumentsResponse.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<ListDocumentsResponse.Builder>
public ListDocumentsResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ListDocumentsResponse.Builder>
public ListDocumentsResponse.Builder mergeFrom(ListDocumentsResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<ListDocumentsResponse.Builder>
public ListDocumentsResponse.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<ListDocumentsResponse.Builder>
IOException
public List<Document> getDocumentsList()
The Documents found.
repeated .google.firestore.v1.Document documents = 1;
getDocumentsList
in interface ListDocumentsResponseOrBuilder
public int getDocumentsCount()
The Documents found.
repeated .google.firestore.v1.Document documents = 1;
getDocumentsCount
in interface ListDocumentsResponseOrBuilder
public Document getDocuments(int index)
The Documents found.
repeated .google.firestore.v1.Document documents = 1;
getDocuments
in interface ListDocumentsResponseOrBuilder
public ListDocumentsResponse.Builder setDocuments(int index, Document value)
The Documents found.
repeated .google.firestore.v1.Document documents = 1;
public ListDocumentsResponse.Builder setDocuments(int index, Document.Builder builderForValue)
The Documents found.
repeated .google.firestore.v1.Document documents = 1;
public ListDocumentsResponse.Builder addDocuments(Document value)
The Documents found.
repeated .google.firestore.v1.Document documents = 1;
public ListDocumentsResponse.Builder addDocuments(int index, Document value)
The Documents found.
repeated .google.firestore.v1.Document documents = 1;
public ListDocumentsResponse.Builder addDocuments(Document.Builder builderForValue)
The Documents found.
repeated .google.firestore.v1.Document documents = 1;
public ListDocumentsResponse.Builder addDocuments(int index, Document.Builder builderForValue)
The Documents found.
repeated .google.firestore.v1.Document documents = 1;
public ListDocumentsResponse.Builder addAllDocuments(Iterable<? extends Document> values)
The Documents found.
repeated .google.firestore.v1.Document documents = 1;
public ListDocumentsResponse.Builder clearDocuments()
The Documents found.
repeated .google.firestore.v1.Document documents = 1;
public ListDocumentsResponse.Builder removeDocuments(int index)
The Documents found.
repeated .google.firestore.v1.Document documents = 1;
public Document.Builder getDocumentsBuilder(int index)
The Documents found.
repeated .google.firestore.v1.Document documents = 1;
public DocumentOrBuilder getDocumentsOrBuilder(int index)
The Documents found.
repeated .google.firestore.v1.Document documents = 1;
getDocumentsOrBuilder
in interface ListDocumentsResponseOrBuilder
public List<? extends DocumentOrBuilder> getDocumentsOrBuilderList()
The Documents found.
repeated .google.firestore.v1.Document documents = 1;
getDocumentsOrBuilderList
in interface ListDocumentsResponseOrBuilder
public Document.Builder addDocumentsBuilder()
The Documents found.
repeated .google.firestore.v1.Document documents = 1;
public Document.Builder addDocumentsBuilder(int index)
The Documents found.
repeated .google.firestore.v1.Document documents = 1;
public List<Document.Builder> getDocumentsBuilderList()
The Documents found.
repeated .google.firestore.v1.Document documents = 1;
public String getNextPageToken()
A token to retrieve the next page of documents. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
getNextPageToken
in interface ListDocumentsResponseOrBuilder
public com.google.protobuf.ByteString getNextPageTokenBytes()
A token to retrieve the next page of documents. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
getNextPageTokenBytes
in interface ListDocumentsResponseOrBuilder
public ListDocumentsResponse.Builder setNextPageToken(String value)
A token to retrieve the next page of documents. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
value
- The nextPageToken to set.public ListDocumentsResponse.Builder clearNextPageToken()
A token to retrieve the next page of documents. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
public ListDocumentsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
A token to retrieve the next page of documents. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
value
- The bytes for nextPageToken to set.public final ListDocumentsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ListDocumentsResponse.Builder>
public final ListDocumentsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ListDocumentsResponse.Builder>
Copyright © 2023 Google LLC. All rights reserved.