public interface GetDocumentRequestOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
GetDocumentRequest.ConsistencySelectorCase |
getConsistencySelectorCase() |
DocumentMask |
getMask()
The fields to return.
|
DocumentMaskOrBuilder |
getMaskOrBuilder()
The fields to return.
|
java.lang.String |
getName()
The resource name of the Document to get.
|
ByteString |
getNameBytes()
The resource name of the Document to get.
|
Timestamp |
getReadTime()
Reads the version of the document at the given time.
|
TimestampOrBuilder |
getReadTimeOrBuilder()
Reads the version of the document at the given time.
|
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.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
java.lang.String getName()
The resource name of the Document to get. In the format: `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
string name = 1;
ByteString getNameBytes()
The resource name of the Document to get. In the format: `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
string name = 1;
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.v1beta1.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.v1beta1.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.v1beta1.DocumentMask mask = 2;
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 60 seconds.
.google.protobuf.Timestamp read_time = 5;
Timestamp getReadTime()
Reads the version of the document at the given time. This may not be older than 60 seconds.
.google.protobuf.Timestamp read_time = 5;
TimestampOrBuilder getReadTimeOrBuilder()
Reads the version of the document at the given time. This may not be older than 60 seconds.
.google.protobuf.Timestamp read_time = 5;
GetDocumentRequest.ConsistencySelectorCase getConsistencySelectorCase()