public static final class UpdateDocumentRequest.Builder extends GeneratedMessageV3.Builder<UpdateDocumentRequest.Builder> implements UpdateDocumentRequestOrBuilder
The request for [Firestore.UpdateDocument][google.firestore.v1beta1.Firestore.UpdateDocument].Protobuf type
google.firestore.v1beta1.UpdateDocumentRequestgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<UpdateDocumentRequest.Builder>public UpdateDocumentRequest.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<UpdateDocumentRequest.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<UpdateDocumentRequest.Builder>public UpdateDocumentRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic UpdateDocumentRequest build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic UpdateDocumentRequest buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic UpdateDocumentRequest.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<UpdateDocumentRequest.Builder>public UpdateDocumentRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<UpdateDocumentRequest.Builder>public UpdateDocumentRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<UpdateDocumentRequest.Builder>public UpdateDocumentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<UpdateDocumentRequest.Builder>public UpdateDocumentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<UpdateDocumentRequest.Builder>public UpdateDocumentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<UpdateDocumentRequest.Builder>public UpdateDocumentRequest.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<UpdateDocumentRequest.Builder>public UpdateDocumentRequest.Builder mergeFrom(UpdateDocumentRequest other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<UpdateDocumentRequest.Builder>public UpdateDocumentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<UpdateDocumentRequest.Builder>java.io.IOExceptionpublic boolean hasDocument()
The updated document. Creates the document if it does not already exist.
.google.firestore.v1beta1.Document document = 1;hasDocument in interface UpdateDocumentRequestOrBuilderpublic Document getDocument()
The updated document. Creates the document if it does not already exist.
.google.firestore.v1beta1.Document document = 1;getDocument in interface UpdateDocumentRequestOrBuilderpublic UpdateDocumentRequest.Builder setDocument(Document value)
The updated document. Creates the document if it does not already exist.
.google.firestore.v1beta1.Document document = 1;public UpdateDocumentRequest.Builder setDocument(Document.Builder builderForValue)
The updated document. Creates the document if it does not already exist.
.google.firestore.v1beta1.Document document = 1;public UpdateDocumentRequest.Builder mergeDocument(Document value)
The updated document. Creates the document if it does not already exist.
.google.firestore.v1beta1.Document document = 1;public UpdateDocumentRequest.Builder clearDocument()
The updated document. Creates the document if it does not already exist.
.google.firestore.v1beta1.Document document = 1;public Document.Builder getDocumentBuilder()
The updated document. Creates the document if it does not already exist.
.google.firestore.v1beta1.Document document = 1;public DocumentOrBuilder getDocumentOrBuilder()
The updated document. Creates the document if it does not already exist.
.google.firestore.v1beta1.Document document = 1;getDocumentOrBuilder in interface UpdateDocumentRequestOrBuilderpublic 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;hasUpdateMask in interface UpdateDocumentRequestOrBuilderpublic 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;getUpdateMask in interface UpdateDocumentRequestOrBuilderpublic UpdateDocumentRequest.Builder setUpdateMask(DocumentMask value)
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;public UpdateDocumentRequest.Builder setUpdateMask(DocumentMask.Builder builderForValue)
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;public UpdateDocumentRequest.Builder mergeUpdateMask(DocumentMask value)
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;public UpdateDocumentRequest.Builder clearUpdateMask()
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;public DocumentMask.Builder getUpdateMaskBuilder()
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;public 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;getUpdateMaskOrBuilder in interface UpdateDocumentRequestOrBuilderpublic 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;hasMask in interface UpdateDocumentRequestOrBuilderpublic 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;getMask in interface UpdateDocumentRequestOrBuilderpublic UpdateDocumentRequest.Builder setMask(DocumentMask value)
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;public UpdateDocumentRequest.Builder setMask(DocumentMask.Builder builderForValue)
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;public UpdateDocumentRequest.Builder mergeMask(DocumentMask value)
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;public UpdateDocumentRequest.Builder clearMask()
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;public DocumentMask.Builder getMaskBuilder()
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;public 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;getMaskOrBuilder in interface UpdateDocumentRequestOrBuilderpublic 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;hasCurrentDocument in interface UpdateDocumentRequestOrBuilderpublic 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;getCurrentDocument in interface UpdateDocumentRequestOrBuilderpublic UpdateDocumentRequest.Builder setCurrentDocument(Precondition value)
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;public UpdateDocumentRequest.Builder setCurrentDocument(Precondition.Builder builderForValue)
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;public UpdateDocumentRequest.Builder mergeCurrentDocument(Precondition value)
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;public UpdateDocumentRequest.Builder clearCurrentDocument()
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;public Precondition.Builder getCurrentDocumentBuilder()
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;public 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;getCurrentDocumentOrBuilder in interface UpdateDocumentRequestOrBuilderpublic final UpdateDocumentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<UpdateDocumentRequest.Builder>public final UpdateDocumentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<UpdateDocumentRequest.Builder>