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.UpdateDocumentRequest
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<UpdateDocumentRequest.Builder>
public UpdateDocumentRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<UpdateDocumentRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<UpdateDocumentRequest.Builder>
public UpdateDocumentRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public UpdateDocumentRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public UpdateDocumentRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public UpdateDocumentRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<UpdateDocumentRequest.Builder>
public UpdateDocumentRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<UpdateDocumentRequest.Builder>
public UpdateDocumentRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<UpdateDocumentRequest.Builder>
public UpdateDocumentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<UpdateDocumentRequest.Builder>
public UpdateDocumentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<UpdateDocumentRequest.Builder>
public UpdateDocumentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<UpdateDocumentRequest.Builder>
public UpdateDocumentRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<UpdateDocumentRequest.Builder>
public UpdateDocumentRequest.Builder mergeFrom(UpdateDocumentRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<UpdateDocumentRequest.Builder>
public UpdateDocumentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<UpdateDocumentRequest.Builder>
java.io.IOException
public boolean hasDocument()
The updated document. Creates the document if it does not already exist.
.google.firestore.v1beta1.Document document = 1;
hasDocument
in interface UpdateDocumentRequestOrBuilder
public Document getDocument()
The updated document. Creates the document if it does not already exist.
.google.firestore.v1beta1.Document document = 1;
getDocument
in interface UpdateDocumentRequestOrBuilder
public 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 UpdateDocumentRequestOrBuilder
public 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 UpdateDocumentRequestOrBuilder
public 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 UpdateDocumentRequestOrBuilder
public 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 UpdateDocumentRequestOrBuilder
public 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 UpdateDocumentRequestOrBuilder
public 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 UpdateDocumentRequestOrBuilder
public 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 UpdateDocumentRequestOrBuilder
public 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 UpdateDocumentRequestOrBuilder
public 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 UpdateDocumentRequestOrBuilder
public 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 UpdateDocumentRequestOrBuilder
public final UpdateDocumentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<UpdateDocumentRequest.Builder>
public final UpdateDocumentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<UpdateDocumentRequest.Builder>