public static final class DeleteDocumentRequest.Builder extends GeneratedMessageV3.Builder<DeleteDocumentRequest.Builder> implements DeleteDocumentRequestOrBuilder
The request for [Firestore.DeleteDocument][google.firestore.v1beta1.Firestore.DeleteDocument].Protobuf type
google.firestore.v1beta1.DeleteDocumentRequest
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<DeleteDocumentRequest.Builder>
public DeleteDocumentRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<DeleteDocumentRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<DeleteDocumentRequest.Builder>
public DeleteDocumentRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public DeleteDocumentRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public DeleteDocumentRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public DeleteDocumentRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<DeleteDocumentRequest.Builder>
public DeleteDocumentRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<DeleteDocumentRequest.Builder>
public DeleteDocumentRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<DeleteDocumentRequest.Builder>
public DeleteDocumentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<DeleteDocumentRequest.Builder>
public DeleteDocumentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<DeleteDocumentRequest.Builder>
public DeleteDocumentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<DeleteDocumentRequest.Builder>
public DeleteDocumentRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<DeleteDocumentRequest.Builder>
public DeleteDocumentRequest.Builder mergeFrom(DeleteDocumentRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<DeleteDocumentRequest.Builder>
public DeleteDocumentRequest.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<DeleteDocumentRequest.Builder>
java.io.IOException
public java.lang.String getName()
The resource name of the Document to delete. In the format: `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
string name = 1;
getName
in interface DeleteDocumentRequestOrBuilder
public ByteString getNameBytes()
The resource name of the Document to delete. In the format: `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
string name = 1;
getNameBytes
in interface DeleteDocumentRequestOrBuilder
public DeleteDocumentRequest.Builder setName(java.lang.String value)
The resource name of the Document to delete. In the format: `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
string name = 1;
public DeleteDocumentRequest.Builder clearName()
The resource name of the Document to delete. In the format: `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
string name = 1;
public DeleteDocumentRequest.Builder setNameBytes(ByteString value)
The resource name of the Document to delete. In the format: `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
string name = 1;
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 = 2;
hasCurrentDocument
in interface DeleteDocumentRequestOrBuilder
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 = 2;
getCurrentDocument
in interface DeleteDocumentRequestOrBuilder
public DeleteDocumentRequest.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 = 2;
public DeleteDocumentRequest.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 = 2;
public DeleteDocumentRequest.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 = 2;
public DeleteDocumentRequest.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 = 2;
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 = 2;
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 = 2;
getCurrentDocumentOrBuilder
in interface DeleteDocumentRequestOrBuilder
public final DeleteDocumentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<DeleteDocumentRequest.Builder>
public final DeleteDocumentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<DeleteDocumentRequest.Builder>