public static CloudTasksStub newStub(io.grpc.Channel channel) {
    io.grpc.stub.AbstractStub.StubFactory<CloudTasksStub> factory =
        new io.grpc.stub.AbstractStub.StubFactory<CloudTasksStub>() {
          @java.lang.Override
          public CloudTasksStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
            return new CloudTasksStub(channel, callOptions);
          }
        };
    return CloudTasksStub.newStub(factory, channel);
  }
Creates a new async stub that supports all call types for the service
java-tasks/grpc-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java