Interface GetDocumentRequestOrBuilder (3.3.0)

public interface GetDocumentRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConsistencySelectorCase()

public abstract GetDocumentRequest.ConsistencySelectorCase getConsistencySelectorCase()
Returns
TypeDescription
GetDocumentRequest.ConsistencySelectorCase

getMask()

public abstract 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;

Returns
TypeDescription
DocumentMask

The mask.

getMaskOrBuilder()

public abstract 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;

Returns
TypeDescription
DocumentMaskOrBuilder

getName()

public abstract 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];

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract 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];

Returns
TypeDescription
ByteString

The bytes for name.

getReadTime()

public abstract 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;

Returns
TypeDescription
Timestamp

The readTime.

getReadTimeOrBuilder()

public abstract 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;

Returns
TypeDescription
TimestampOrBuilder

getTransaction()

public abstract ByteString getTransaction()

Reads the document in a transaction.

bytes transaction = 3;

Returns
TypeDescription
ByteString

The transaction.

hasMask()

public abstract 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;

Returns
TypeDescription
boolean

Whether the mask field is set.

hasReadTime()

public abstract 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;

Returns
TypeDescription
boolean

Whether the readTime field is set.

hasTransaction()

public abstract boolean hasTransaction()

Reads the document in a transaction.

bytes transaction = 3;

Returns
TypeDescription
boolean

Whether the transaction field is set.