public static final class ListDocumentsRequest.Builder extends GeneratedMessageV3.Builder<ListDocumentsRequest.Builder> implements ListDocumentsRequestOrBuilder
The request for [Firestore.ListDocuments][google.firestore.v1beta1.Firestore.ListDocuments].Protobuf type
google.firestore.v1beta1.ListDocumentsRequestgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<ListDocumentsRequest.Builder>public ListDocumentsRequest.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<ListDocumentsRequest.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<ListDocumentsRequest.Builder>public ListDocumentsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic ListDocumentsRequest build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic ListDocumentsRequest buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic ListDocumentsRequest.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<ListDocumentsRequest.Builder>public ListDocumentsRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<ListDocumentsRequest.Builder>public ListDocumentsRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<ListDocumentsRequest.Builder>public ListDocumentsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<ListDocumentsRequest.Builder>public ListDocumentsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<ListDocumentsRequest.Builder>public ListDocumentsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<ListDocumentsRequest.Builder>public ListDocumentsRequest.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<ListDocumentsRequest.Builder>public ListDocumentsRequest.Builder mergeFrom(ListDocumentsRequest other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<ListDocumentsRequest.Builder>public ListDocumentsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<ListDocumentsRequest.Builder>java.io.IOExceptionpublic ListDocumentsRequest.ConsistencySelectorCase getConsistencySelectorCase()
getConsistencySelectorCase in interface ListDocumentsRequestOrBuilderpublic ListDocumentsRequest.Builder clearConsistencySelector()
public java.lang.String getParent()
The parent resource name. In the format:
`projects/{project_id}/databases/{database_id}/documents` or
`projects/{project_id}/databases/{database_id}/documents/{document_path}`.
For example:
`projects/my-project/databases/my-database/documents` or
`projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
string parent = 1;getParent in interface ListDocumentsRequestOrBuilderpublic ByteString getParentBytes()
The parent resource name. In the format:
`projects/{project_id}/databases/{database_id}/documents` or
`projects/{project_id}/databases/{database_id}/documents/{document_path}`.
For example:
`projects/my-project/databases/my-database/documents` or
`projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
string parent = 1;getParentBytes in interface ListDocumentsRequestOrBuilderpublic ListDocumentsRequest.Builder setParent(java.lang.String value)
The parent resource name. In the format:
`projects/{project_id}/databases/{database_id}/documents` or
`projects/{project_id}/databases/{database_id}/documents/{document_path}`.
For example:
`projects/my-project/databases/my-database/documents` or
`projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
string parent = 1;public ListDocumentsRequest.Builder clearParent()
The parent resource name. In the format:
`projects/{project_id}/databases/{database_id}/documents` or
`projects/{project_id}/databases/{database_id}/documents/{document_path}`.
For example:
`projects/my-project/databases/my-database/documents` or
`projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
string parent = 1;public ListDocumentsRequest.Builder setParentBytes(ByteString value)
The parent resource name. In the format:
`projects/{project_id}/databases/{database_id}/documents` or
`projects/{project_id}/databases/{database_id}/documents/{document_path}`.
For example:
`projects/my-project/databases/my-database/documents` or
`projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
string parent = 1;public java.lang.String getCollectionId()
The collection ID, relative to `parent`, to list. For example: `chatrooms` or `messages`.
string collection_id = 2;getCollectionId in interface ListDocumentsRequestOrBuilderpublic ByteString getCollectionIdBytes()
The collection ID, relative to `parent`, to list. For example: `chatrooms` or `messages`.
string collection_id = 2;getCollectionIdBytes in interface ListDocumentsRequestOrBuilderpublic ListDocumentsRequest.Builder setCollectionId(java.lang.String value)
The collection ID, relative to `parent`, to list. For example: `chatrooms` or `messages`.
string collection_id = 2;public ListDocumentsRequest.Builder clearCollectionId()
The collection ID, relative to `parent`, to list. For example: `chatrooms` or `messages`.
string collection_id = 2;public ListDocumentsRequest.Builder setCollectionIdBytes(ByteString value)
The collection ID, relative to `parent`, to list. For example: `chatrooms` or `messages`.
string collection_id = 2;public int getPageSize()
The maximum number of documents to return.
int32 page_size = 3;getPageSize in interface ListDocumentsRequestOrBuilderpublic ListDocumentsRequest.Builder setPageSize(int value)
The maximum number of documents to return.
int32 page_size = 3;public ListDocumentsRequest.Builder clearPageSize()
The maximum number of documents to return.
int32 page_size = 3;public java.lang.String getPageToken()
The `next_page_token` value returned from a previous List request, if any.
string page_token = 4;getPageToken in interface ListDocumentsRequestOrBuilderpublic ByteString getPageTokenBytes()
The `next_page_token` value returned from a previous List request, if any.
string page_token = 4;getPageTokenBytes in interface ListDocumentsRequestOrBuilderpublic ListDocumentsRequest.Builder setPageToken(java.lang.String value)
The `next_page_token` value returned from a previous List request, if any.
string page_token = 4;public ListDocumentsRequest.Builder clearPageToken()
The `next_page_token` value returned from a previous List request, if any.
string page_token = 4;public ListDocumentsRequest.Builder setPageTokenBytes(ByteString value)
The `next_page_token` value returned from a previous List request, if any.
string page_token = 4;public java.lang.String getOrderBy()
The order to sort results by. For example: `priority desc, name`.
string order_by = 6;getOrderBy in interface ListDocumentsRequestOrBuilderpublic ByteString getOrderByBytes()
The order to sort results by. For example: `priority desc, name`.
string order_by = 6;getOrderByBytes in interface ListDocumentsRequestOrBuilderpublic ListDocumentsRequest.Builder setOrderBy(java.lang.String value)
The order to sort results by. For example: `priority desc, name`.
string order_by = 6;public ListDocumentsRequest.Builder clearOrderBy()
The order to sort results by. For example: `priority desc, name`.
string order_by = 6;public ListDocumentsRequest.Builder setOrderByBytes(ByteString value)
The order to sort results by. For example: `priority desc, name`.
string order_by = 6;public boolean hasMask()
The fields to return. If not set, returns all fields. If a document has a field that is not present in this mask, that field will not be returned in the response.
.google.firestore.v1beta1.DocumentMask mask = 7;hasMask in interface ListDocumentsRequestOrBuilderpublic DocumentMask getMask()
The fields to return. If not set, returns all fields. If a document has a field that is not present in this mask, that field will not be returned in the response.
.google.firestore.v1beta1.DocumentMask mask = 7;getMask in interface ListDocumentsRequestOrBuilderpublic ListDocumentsRequest.Builder setMask(DocumentMask value)
The fields to return. If not set, returns all fields. If a document has a field that is not present in this mask, that field will not be returned in the response.
.google.firestore.v1beta1.DocumentMask mask = 7;public ListDocumentsRequest.Builder setMask(DocumentMask.Builder builderForValue)
The fields to return. If not set, returns all fields. If a document has a field that is not present in this mask, that field will not be returned in the response.
.google.firestore.v1beta1.DocumentMask mask = 7;public ListDocumentsRequest.Builder mergeMask(DocumentMask value)
The fields to return. If not set, returns all fields. If a document has a field that is not present in this mask, that field will not be returned in the response.
.google.firestore.v1beta1.DocumentMask mask = 7;public ListDocumentsRequest.Builder clearMask()
The fields to return. If not set, returns all fields. If a document has a field that is not present in this mask, that field will not be returned in the response.
.google.firestore.v1beta1.DocumentMask mask = 7;public DocumentMask.Builder getMaskBuilder()
The fields to return. If not set, returns all fields. If a document has a field that is not present in this mask, that field will not be returned in the response.
.google.firestore.v1beta1.DocumentMask mask = 7;public DocumentMaskOrBuilder getMaskOrBuilder()
The fields to return. If not set, returns all fields. If a document has a field that is not present in this mask, that field will not be returned in the response.
.google.firestore.v1beta1.DocumentMask mask = 7;getMaskOrBuilder in interface ListDocumentsRequestOrBuilderpublic ByteString getTransaction()
Reads documents in a transaction.
bytes transaction = 8;getTransaction in interface ListDocumentsRequestOrBuilderpublic ListDocumentsRequest.Builder setTransaction(ByteString value)
Reads documents in a transaction.
bytes transaction = 8;public ListDocumentsRequest.Builder clearTransaction()
Reads documents in a transaction.
bytes transaction = 8;public boolean hasReadTime()
Reads documents as they were at the given time. This may not be older than 60 seconds.
.google.protobuf.Timestamp read_time = 10;hasReadTime in interface ListDocumentsRequestOrBuilderpublic Timestamp getReadTime()
Reads documents as they were at the given time. This may not be older than 60 seconds.
.google.protobuf.Timestamp read_time = 10;getReadTime in interface ListDocumentsRequestOrBuilderpublic ListDocumentsRequest.Builder setReadTime(Timestamp value)
Reads documents as they were at the given time. This may not be older than 60 seconds.
.google.protobuf.Timestamp read_time = 10;public ListDocumentsRequest.Builder setReadTime(Timestamp.Builder builderForValue)
Reads documents as they were at the given time. This may not be older than 60 seconds.
.google.protobuf.Timestamp read_time = 10;public ListDocumentsRequest.Builder mergeReadTime(Timestamp value)
Reads documents as they were at the given time. This may not be older than 60 seconds.
.google.protobuf.Timestamp read_time = 10;public ListDocumentsRequest.Builder clearReadTime()
Reads documents as they were at the given time. This may not be older than 60 seconds.
.google.protobuf.Timestamp read_time = 10;public Timestamp.Builder getReadTimeBuilder()
Reads documents as they were at the given time. This may not be older than 60 seconds.
.google.protobuf.Timestamp read_time = 10;public TimestampOrBuilder getReadTimeOrBuilder()
Reads documents as they were at the given time. This may not be older than 60 seconds.
.google.protobuf.Timestamp read_time = 10;getReadTimeOrBuilder in interface ListDocumentsRequestOrBuilderpublic boolean getShowMissing()
If the list should show missing documents. A missing document is a document that does not exist but has sub-documents. These documents will be returned with a key but will not have fields, [Document.create_time][google.firestore.v1beta1.Document.create_time], or [Document.update_time][google.firestore.v1beta1.Document.update_time] set. Requests with `show_missing` may not specify `where` or `order_by`.
bool show_missing = 12;getShowMissing in interface ListDocumentsRequestOrBuilderpublic ListDocumentsRequest.Builder setShowMissing(boolean value)
If the list should show missing documents. A missing document is a document that does not exist but has sub-documents. These documents will be returned with a key but will not have fields, [Document.create_time][google.firestore.v1beta1.Document.create_time], or [Document.update_time][google.firestore.v1beta1.Document.update_time] set. Requests with `show_missing` may not specify `where` or `order_by`.
bool show_missing = 12;public ListDocumentsRequest.Builder clearShowMissing()
If the list should show missing documents. A missing document is a document that does not exist but has sub-documents. These documents will be returned with a key but will not have fields, [Document.create_time][google.firestore.v1beta1.Document.create_time], or [Document.update_time][google.firestore.v1beta1.Document.update_time] set. Requests with `show_missing` may not specify `where` or `order_by`.
bool show_missing = 12;public final ListDocumentsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<ListDocumentsRequest.Builder>public final ListDocumentsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<ListDocumentsRequest.Builder>