public interface UpdateDocumentRequestOrBuilder
extends com.google.protobuf.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()
Required.
|
DocumentOrBuilder |
getDocumentOrBuilder()
Required.
|
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()
Required.
|
boolean |
hasMask()
The fields to return.
|
boolean |
hasUpdateMask()
The fields to update.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasDocument()
Required. The updated document. Creates the document if it does not already exist.
.google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED];
Document getDocument()
Required. The updated document. Creates the document if it does not already exist.
.google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED];
DocumentOrBuilder getDocumentOrBuilder()
Required. The updated document. Creates the document if it does not already exist.
.google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED];
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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.Precondition current_document = 4;
Copyright © 2023 Google LLC. All rights reserved.