public final class ListDocumentsRequest extends com.google.protobuf.GeneratedMessageV3 implements ListDocumentsRequestOrBuilder
The request for [Firestore.ListDocuments][google.firestore.v1.Firestore.ListDocuments].Protobuf type
google.firestore.v1.ListDocumentsRequest| Modifier and Type | Class and Description |
|---|---|
static class |
ListDocumentsRequest.Builder
The request for [Firestore.ListDocuments][google.firestore.v1.Firestore.ListDocuments].
|
static class |
ListDocumentsRequest.ConsistencySelectorCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.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 |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCollectionId()
The collection ID, relative to `parent`, to list.
|
com.google.protobuf.ByteString |
getCollectionIdBytes()
The collection ID, relative to `parent`, to list.
|
ListDocumentsRequest.ConsistencySelectorCase |
getConsistencySelectorCase() |
static ListDocumentsRequest |
getDefaultInstance() |
ListDocumentsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
DocumentMask |
getMask()
The fields to return.
|
DocumentMaskOrBuilder |
getMaskOrBuilder()
The fields to return.
|
String |
getOrderBy()
The order to sort results by.
|
com.google.protobuf.ByteString |
getOrderByBytes()
The order to sort results by.
|
int |
getPageSize()
The maximum number of documents to return.
|
String |
getPageToken()
The `next_page_token` value returned from a previous List request, if any.
|
com.google.protobuf.ByteString |
getPageTokenBytes()
The `next_page_token` value returned from a previous List request, if any.
|
String |
getParent()
The parent resource name.
|
com.google.protobuf.ByteString |
getParentBytes()
The parent resource name.
|
com.google.protobuf.Parser<ListDocumentsRequest> |
getParserForType() |
com.google.protobuf.Timestamp |
getReadTime()
Reads documents as they were at the given time.
|
com.google.protobuf.TimestampOrBuilder |
getReadTimeOrBuilder()
Reads documents as they were at the given time.
|
int |
getSerializedSize() |
boolean |
getShowMissing()
If the list should show missing documents.
|
com.google.protobuf.ByteString |
getTransaction()
Reads documents in a transaction.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasMask()
The fields to return.
|
boolean |
hasReadTime()
Reads documents as they were at the given time.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ListDocumentsRequest.Builder |
newBuilder() |
static ListDocumentsRequest.Builder |
newBuilder(ListDocumentsRequest prototype) |
ListDocumentsRequest.Builder |
newBuilderForType() |
protected ListDocumentsRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static ListDocumentsRequest |
parseDelimitedFrom(InputStream input) |
static ListDocumentsRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListDocumentsRequest |
parseFrom(byte[] data) |
static ListDocumentsRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListDocumentsRequest |
parseFrom(ByteBuffer data) |
static ListDocumentsRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListDocumentsRequest |
parseFrom(com.google.protobuf.ByteString data) |
static ListDocumentsRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListDocumentsRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ListDocumentsRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListDocumentsRequest |
parseFrom(InputStream input) |
static ListDocumentsRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ListDocumentsRequest> |
parser() |
ListDocumentsRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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 com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public ListDocumentsRequest.ConsistencySelectorCase getConsistencySelectorCase()
getConsistencySelectorCase in interface ListDocumentsRequestOrBuilderpublic 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 com.google.protobuf.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 String getCollectionId()
The collection ID, relative to `parent`, to list. For example: `chatrooms` or `messages`.
string collection_id = 2;getCollectionId in interface ListDocumentsRequestOrBuilderpublic com.google.protobuf.ByteString getCollectionIdBytes()
The collection ID, relative to `parent`, to list. For example: `chatrooms` or `messages`.
string collection_id = 2;getCollectionIdBytes in interface ListDocumentsRequestOrBuilderpublic int getPageSize()
The maximum number of documents to return.
int32 page_size = 3;getPageSize in interface ListDocumentsRequestOrBuilderpublic String getPageToken()
The `next_page_token` value returned from a previous List request, if any.
string page_token = 4;getPageToken in interface ListDocumentsRequestOrBuilderpublic com.google.protobuf.ByteString getPageTokenBytes()
The `next_page_token` value returned from a previous List request, if any.
string page_token = 4;getPageTokenBytes in interface ListDocumentsRequestOrBuilderpublic String getOrderBy()
The order to sort results by. For example: `priority desc, name`.
string order_by = 6;getOrderBy in interface ListDocumentsRequestOrBuilderpublic com.google.protobuf.ByteString getOrderByBytes()
The order to sort results by. For example: `priority desc, name`.
string order_by = 6;getOrderByBytes in interface ListDocumentsRequestOrBuilderpublic 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.v1.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.v1.DocumentMask mask = 7;getMask in interface ListDocumentsRequestOrBuilderpublic 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.v1.DocumentMask mask = 7;getMaskOrBuilder in interface ListDocumentsRequestOrBuilderpublic com.google.protobuf.ByteString getTransaction()
Reads documents in a transaction.
bytes transaction = 8;getTransaction in interface ListDocumentsRequestOrBuilderpublic 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 com.google.protobuf.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 com.google.protobuf.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.v1.Document.create_time], or [Document.update_time][google.firestore.v1.Document.update_time] set. Requests with `show_missing` may not specify `where` or `order_by`.
bool show_missing = 12;getShowMissing in interface ListDocumentsRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ListDocumentsRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListDocumentsRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListDocumentsRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListDocumentsRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListDocumentsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListDocumentsRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListDocumentsRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static ListDocumentsRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ListDocumentsRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ListDocumentsRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ListDocumentsRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ListDocumentsRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ListDocumentsRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ListDocumentsRequest.Builder newBuilder()
public static ListDocumentsRequest.Builder newBuilder(ListDocumentsRequest prototype)
public ListDocumentsRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ListDocumentsRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ListDocumentsRequest getDefaultInstance()
public static com.google.protobuf.Parser<ListDocumentsRequest> parser()
public com.google.protobuf.Parser<ListDocumentsRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ListDocumentsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.