public final void deleteNote(NoteName name) {

    DeleteNoteRequest request =
        DeleteNoteRequest.newBuilder().setName(name == null ? null : name.toString()).build();
    deleteNote(request);
  }
public final void deleteNote ( NoteName name ) { DeleteNoteRequest request = DeleteNoteRequest . newBuilder ( ) . setName ( name == null ? null : name . toString ( ) ) . build ( ) ; deleteNote ( request ) ; }
Deletes the specified note.

<p>Sample code:

<pre><code>
try (GrafeasV1Beta1Client grafeasV1Beta1Client = GrafeasV1Beta1Client.create()) {
NoteName name = NoteName.of("[PROJECT]", "[NOTE]");
grafeasV1Beta1Client.deleteNote(name);
}
</code></pre>

@param name The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
@throws com.google.api.gax.rpc.ApiException if the remote call fails