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.ListDocumentsRequest
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ListDocumentsRequest.Builder>
public ListDocumentsRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ListDocumentsRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ListDocumentsRequest.Builder>
public ListDocumentsRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ListDocumentsRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ListDocumentsRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ListDocumentsRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ListDocumentsRequest.Builder>
public ListDocumentsRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ListDocumentsRequest.Builder>
public ListDocumentsRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ListDocumentsRequest.Builder>
public ListDocumentsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ListDocumentsRequest.Builder>
public ListDocumentsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ListDocumentsRequest.Builder>
public ListDocumentsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ListDocumentsRequest.Builder>
public ListDocumentsRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ListDocumentsRequest.Builder>
public ListDocumentsRequest.Builder mergeFrom(ListDocumentsRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ListDocumentsRequest.Builder>
public ListDocumentsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ListDocumentsRequest.Builder>
java.io.IOException
public ListDocumentsRequest.ConsistencySelectorCase getConsistencySelectorCase()
getConsistencySelectorCase
in interface ListDocumentsRequestOrBuilder
public 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 ListDocumentsRequestOrBuilder
public 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 ListDocumentsRequestOrBuilder
public 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 ListDocumentsRequestOrBuilder
public ByteString getCollectionIdBytes()
The collection ID, relative to `parent`, to list. For example: `chatrooms` or `messages`.
string collection_id = 2;
getCollectionIdBytes
in interface ListDocumentsRequestOrBuilder
public 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 ListDocumentsRequestOrBuilder
public 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 ListDocumentsRequestOrBuilder
public ByteString getPageTokenBytes()
The `next_page_token` value returned from a previous List request, if any.
string page_token = 4;
getPageTokenBytes
in interface ListDocumentsRequestOrBuilder
public 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 ListDocumentsRequestOrBuilder
public ByteString getOrderByBytes()
The order to sort results by. For example: `priority desc, name`.
string order_by = 6;
getOrderByBytes
in interface ListDocumentsRequestOrBuilder
public 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 ListDocumentsRequestOrBuilder
public 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 ListDocumentsRequestOrBuilder
public 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 ListDocumentsRequestOrBuilder
public ByteString getTransaction()
Reads documents in a transaction.
bytes transaction = 8;
getTransaction
in interface ListDocumentsRequestOrBuilder
public 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 ListDocumentsRequestOrBuilder
public 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 ListDocumentsRequestOrBuilder
public 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 ListDocumentsRequestOrBuilder
public 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 ListDocumentsRequestOrBuilder
public 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.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ListDocumentsRequest.Builder>
public final ListDocumentsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ListDocumentsRequest.Builder>