public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) {
    return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
        .addMethod(
            getListExecutionsMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest,
                    com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse>(
                    service, METHODID_LIST_EXECUTIONS)))
        .addMethod(
            getCreateExecutionMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest,
                    com.google.cloud.workflows.executions.v1beta.Execution>(
                    service, METHODID_CREATE_EXECUTION)))
        .addMethod(
            getGetExecutionMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.workflows.executions.v1beta.GetExecutionRequest,
                    com.google.cloud.workflows.executions.v1beta.Execution>(
                    service, METHODID_GET_EXECUTION)))
        .addMethod(
            getCancelExecutionMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest,
                    com.google.cloud.workflows.executions.v1beta.Execution>(
                    service, METHODID_CANCEL_EXECUTION)))
        .build();
  }
<pre>
Cancels an execution of the given name.
</pre>
java-workflow-executions/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java