public static final CloudTasksClient create(CloudTasksStub stub) {
    return new CloudTasksClient(stub);
  }
Constructs an instance of CloudTasksClient, using the given stub for making calls. This is for
advanced usage - prefer using create(CloudTasksSettings).
java-tasks/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java