public interface GetDocumentRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
GetDocumentRequest.ConsistencySelectorCase |
getConsistencySelectorCase() |
DocumentMask |
getMask()
The fields to return.
|
DocumentMaskOrBuilder |
getMaskOrBuilder()
The fields to return.
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
com.google.protobuf.Timestamp |
getReadTime()
Reads the version of the document at the given time.
|
com.google.protobuf.TimestampOrBuilder |
getReadTimeOrBuilder()
Reads the version of the document at the given time.
|
com.google.protobuf.ByteString |
getTransaction()
Reads the document in a transaction.
|
boolean |
hasMask()
The fields to return.
|
boolean |
hasReadTime()
Reads the version of the document at the given time.
|
boolean |
hasTransaction()
Reads the document in a transaction.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
String getName()
Required. The resource name of the Document to get. In the format: `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
com.google.protobuf.ByteString getNameBytes()
Required. The resource name of the Document to get. In the format: `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
boolean hasMask()
The fields to return. If not set, returns all fields. If the 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 = 2;
DocumentMask getMask()
The fields to return. If not set, returns all fields. If the 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 = 2;
DocumentMaskOrBuilder getMaskOrBuilder()
The fields to return. If not set, returns all fields. If the 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 = 2;
boolean hasTransaction()
Reads the document in a transaction.
bytes transaction = 3;
com.google.protobuf.ByteString getTransaction()
Reads the document in a transaction.
bytes transaction = 3;
boolean hasReadTime()
Reads the version of the document at the given time. This may not be older than 270 seconds.
.google.protobuf.Timestamp read_time = 5;
com.google.protobuf.Timestamp getReadTime()
Reads the version of the document at the given time. This may not be older than 270 seconds.
.google.protobuf.Timestamp read_time = 5;
com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder()
Reads the version of the document at the given time. This may not be older than 270 seconds.
.google.protobuf.Timestamp read_time = 5;
GetDocumentRequest.ConsistencySelectorCase getConsistencySelectorCase()
Copyright © 2023 Google LLC. All rights reserved.