public final OperationFuture<Processor, OperationMetadata> updateProcessorAsync(
      Processor processor, FieldMask updateMask) {
    UpdateProcessorRequest request =
        UpdateProcessorRequest.newBuilder()
            .setProcessor(processor)
            .setUpdateMask(updateMask)
            .build();
    return updateProcessorAsync(request);
  }
Updates the parameters of a single Processor.

<p>Sample code:

<pre>{@code
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (AppPlatformClient appPlatformClient = AppPlatformClient.create()) {
  Processor processor = Processor.newBuilder().build();
  FieldMask updateMask = FieldMask.newBuilder().build();
  Processor response = appPlatformClient.updateProcessorAsync(processor, updateMask).get();
}
}</pre>

@param processor Required. The resource being updated.
@param updateMask Optional. Field mask is used to specify the fields to be overwritten in the
    Processor resource by the update. The fields specified in the update_mask are relative to
    the resource, not the full request. A field will be overwritten if it is in the mask. If
    the user does not provide a mask then all fields will be overwritten.
@throws com.google.api.gax.rpc.ApiException if the remote call fails
java-visionai/google-cloud-visionai/src/main/java/com/google/cloud/visionai/v1/AppPlatformClient.java