public interface DeleteDocumentRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getCurrentDocument()
public abstract 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 = 2;
| Returns | |
|---|---|
| Type | Description |
Precondition |
The currentDocument. |
getCurrentDocumentOrBuilder()
public abstract 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 = 2;
| Returns | |
|---|---|
| Type | Description |
PreconditionOrBuilder |
|
getName()
public abstract String getName() Required. The resource name of the Document to delete. In the format:
projects/{project_id}/databases/{database_id}/documents/{document_path}.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes() Required. The resource name of the Document to delete. In the format:
projects/{project_id}/databases/{database_id}/documents/{document_path}.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getRequestOptions()
public abstract RequestOptions getRequestOptions()Optional. Any additional options for the request.
.google.firestore.v1.RequestOptions request_options = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RequestOptions |
The requestOptions. |
getRequestOptionsOrBuilder()
public abstract RequestOptionsOrBuilder getRequestOptionsOrBuilder()Optional. Any additional options for the request.
.google.firestore.v1.RequestOptions request_options = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RequestOptionsOrBuilder |
|
hasCurrentDocument()
public abstract 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 = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the currentDocument field is set. |
hasRequestOptions()
public abstract boolean hasRequestOptions()Optional. Any additional options for the request.
.google.firestore.v1.RequestOptions request_options = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the requestOptions field is set. |