public interface UpdateDocumentRequestOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
Precondition |
getCurrentDocument()
An optional precondition on the document.
|
PreconditionOrBuilder |
getCurrentDocumentOrBuilder()
An optional precondition on the document.
|
Document |
getDocument()
The updated document.
|
DocumentOrBuilder |
getDocumentOrBuilder()
The updated document.
|
DocumentMask |
getMask()
The fields to return.
|
DocumentMaskOrBuilder |
getMaskOrBuilder()
The fields to return.
|
DocumentMask |
getUpdateMask()
The fields to update.
|
DocumentMaskOrBuilder |
getUpdateMaskOrBuilder()
The fields to update.
|
boolean |
hasCurrentDocument()
An optional precondition on the document.
|
boolean |
hasDocument()
The updated document.
|
boolean |
hasMask()
The fields to return.
|
boolean |
hasUpdateMask()
The fields to update.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
boolean hasDocument()
The updated document. Creates the document if it does not already exist.
.google.firestore.v1beta1.Document document = 1;
Document getDocument()
The updated document. Creates the document if it does not already exist.
.google.firestore.v1beta1.Document document = 1;
DocumentOrBuilder getDocumentOrBuilder()
The updated document. Creates the document if it does not already exist.
.google.firestore.v1beta1.Document document = 1;
boolean hasUpdateMask()
The fields to update. None of the field paths in the mask may contain a reserved name. If the document exists on the server and has fields not referenced in the mask, they are left unchanged. Fields referenced in the mask, but not present in the input document, are deleted from the document on the server.
.google.firestore.v1beta1.DocumentMask update_mask = 2;
DocumentMask getUpdateMask()
The fields to update. None of the field paths in the mask may contain a reserved name. If the document exists on the server and has fields not referenced in the mask, they are left unchanged. Fields referenced in the mask, but not present in the input document, are deleted from the document on the server.
.google.firestore.v1beta1.DocumentMask update_mask = 2;
DocumentMaskOrBuilder getUpdateMaskOrBuilder()
The fields to update. None of the field paths in the mask may contain a reserved name. If the document exists on the server and has fields not referenced in the mask, they are left unchanged. Fields referenced in the mask, but not present in the input document, are deleted from the document on the server.
.google.firestore.v1beta1.DocumentMask update_mask = 2;
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 = 3;
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 = 3;
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 = 3;
boolean hasCurrentDocument()
An optional precondition on the document. The request will fail if this is set and not met by the target document.
.google.firestore.v1beta1.Precondition current_document = 4;
Precondition getCurrentDocument()
An optional precondition on the document. The request will fail if this is set and not met by the target document.
.google.firestore.v1beta1.Precondition current_document = 4;
PreconditionOrBuilder getCurrentDocumentOrBuilder()
An optional precondition on the document. The request will fail if this is set and not met by the target document.
.google.firestore.v1beta1.Precondition current_document = 4;