public final class ListDocumentsRequest extends GeneratedMessageV3 implements ListDocumentsRequestOrBuilder
The request for [Firestore.ListDocuments][google.firestore.v1beta1.Firestore.ListDocuments].Protobuf type
google.firestore.v1beta1.ListDocumentsRequest
Modifier and Type | Class and Description |
---|---|
static class |
ListDocumentsRequest.Builder
The request for [Firestore.ListDocuments][google.firestore.v1beta1.Firestore.ListDocuments].
|
static class |
ListDocumentsRequest.ConsistencySelectorCase |
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
COLLECTION_ID_FIELD_NUMBER |
static int |
MASK_FIELD_NUMBER |
static int |
ORDER_BY_FIELD_NUMBER |
static int |
PAGE_SIZE_FIELD_NUMBER |
static int |
PAGE_TOKEN_FIELD_NUMBER |
static int |
PARENT_FIELD_NUMBER |
static int |
READ_TIME_FIELD_NUMBER |
static int |
SHOW_MISSING_FIELD_NUMBER |
static int |
TRANSACTION_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int PARENT_FIELD_NUMBER
public static final int COLLECTION_ID_FIELD_NUMBER
public static final int PAGE_SIZE_FIELD_NUMBER
public static final int PAGE_TOKEN_FIELD_NUMBER
public static final int ORDER_BY_FIELD_NUMBER
public static final int MASK_FIELD_NUMBER
public static final int TRANSACTION_FIELD_NUMBER
public static final int READ_TIME_FIELD_NUMBER
public static final int SHOW_MISSING_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public ListDocumentsRequest.ConsistencySelectorCase getConsistencySelectorCase()
getConsistencySelectorCase
in interface ListDocumentsRequestOrBuilder
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 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 int getPageSize()
The maximum number of documents to return.
int32 page_size = 3;
getPageSize
in interface ListDocumentsRequestOrBuilder
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 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 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 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 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 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 final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static ListDocumentsRequest parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ListDocumentsRequest parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ListDocumentsRequest parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ListDocumentsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ListDocumentsRequest parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ListDocumentsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ListDocumentsRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static ListDocumentsRequest parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static ListDocumentsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static ListDocumentsRequest parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static ListDocumentsRequest parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static ListDocumentsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public ListDocumentsRequest.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static ListDocumentsRequest.Builder newBuilder()
public static ListDocumentsRequest.Builder newBuilder(ListDocumentsRequest prototype)
public ListDocumentsRequest.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected ListDocumentsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static ListDocumentsRequest getDefaultInstance()
public static Parser<ListDocumentsRequest> parser()
public Parser<ListDocumentsRequest> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public ListDocumentsRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder