@@ -2535,6 +2535,297 @@ public final UnaryCallable<DeleteBackupRequest, Operation> deleteBackupCallable(
25352535return stub .deleteBackupCallable ();
25362536 }
25372537
2538+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
2539+ /**
2540+ * Query DPMS metadata.
2541+ *
2542+ * <p>Sample code:
2543+ *
2544+ * <pre>{@code
2545+ * // This snippet has been automatically generated and should be regarded as a code template only.
2546+ * // It will require modifications to work:
2547+ * // - It may require correct/in-range values for request initialization.
2548+ * // - It may require specifying regional endpoints when creating the service client as shown in
2549+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
2550+ * try (DataprocMetastoreClient dataprocMetastoreClient = DataprocMetastoreClient.create()) {
2551+ * QueryMetadataRequest request =
2552+ * QueryMetadataRequest.newBuilder()
2553+ * .setService(ServiceName.of("[PROJECT]", "[LOCATION]", "[SERVICE]").toString())
2554+ * .setQuery("query107944136")
2555+ * .build();
2556+ * QueryMetadataResponse response = dataprocMetastoreClient.queryMetadataAsync(request).get();
2557+ * }
2558+ * }</pre>
2559+ *
2560+ * @param request The request object containing all of the parameters for the API call.
2561+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
2562+ */
2563+ public final OperationFuture <QueryMetadataResponse ,OperationMetadata >queryMetadataAsync (
2564+ QueryMetadataRequest request ) {
2565+ return queryMetadataOperationCallable ().futureCall (request );
2566+ }
2567+
2568+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
2569+ /**
2570+ * Query DPMS metadata.
2571+ *
2572+ * <p>Sample code:
2573+ *
2574+ * <pre>{@code
2575+ * // This snippet has been automatically generated and should be regarded as a code template only.
2576+ * // It will require modifications to work:
2577+ * // - It may require correct/in-range values for request initialization.
2578+ * // - It may require specifying regional endpoints when creating the service client as shown in
2579+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
2580+ * try (DataprocMetastoreClient dataprocMetastoreClient = DataprocMetastoreClient.create()) {
2581+ * QueryMetadataRequest request =
2582+ * QueryMetadataRequest.newBuilder()
2583+ * .setService(ServiceName.of("[PROJECT]", "[LOCATION]", "[SERVICE]").toString())
2584+ * .setQuery("query107944136")
2585+ * .build();
2586+ * OperationFuture<QueryMetadataResponse, OperationMetadata> future =
2587+ * dataprocMetastoreClient.queryMetadataOperationCallable().futureCall(request);
2588+ * // Do something.
2589+ * QueryMetadataResponse response = future.get();
2590+ * }
2591+ * }</pre>
2592+ */
2593+ public final OperationCallable <QueryMetadataRequest ,QueryMetadataResponse ,OperationMetadata >
2594+ queryMetadataOperationCallable () {
2595+ return stub .queryMetadataOperationCallable ();
2596+ }
2597+
2598+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
2599+ /**
2600+ * Query DPMS metadata.
2601+ *
2602+ * <p>Sample code:
2603+ *
2604+ * <pre>{@code
2605+ * // This snippet has been automatically generated and should be regarded as a code template only.
2606+ * // It will require modifications to work:
2607+ * // - It may require correct/in-range values for request initialization.
2608+ * // - It may require specifying regional endpoints when creating the service client as shown in
2609+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
2610+ * try (DataprocMetastoreClient dataprocMetastoreClient = DataprocMetastoreClient.create()) {
2611+ * QueryMetadataRequest request =
2612+ * QueryMetadataRequest.newBuilder()
2613+ * .setService(ServiceName.of("[PROJECT]", "[LOCATION]", "[SERVICE]").toString())
2614+ * .setQuery("query107944136")
2615+ * .build();
2616+ * ApiFuture<Operation> future =
2617+ * dataprocMetastoreClient.queryMetadataCallable().futureCall(request);
2618+ * // Do something.
2619+ * Operation response = future.get();
2620+ * }
2621+ * }</pre>
2622+ */
2623+ public final UnaryCallable <QueryMetadataRequest ,Operation >queryMetadataCallable () {
2624+ return stub .queryMetadataCallable ();
2625+ }
2626+
2627+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
2628+ /**
2629+ * Move a table to another database.
2630+ *
2631+ * <p>Sample code:
2632+ *
2633+ * <pre>{@code
2634+ * // This snippet has been automatically generated and should be regarded as a code template only.
2635+ * // It will require modifications to work:
2636+ * // - It may require correct/in-range values for request initialization.
2637+ * // - It may require specifying regional endpoints when creating the service client as shown in
2638+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
2639+ * try (DataprocMetastoreClient dataprocMetastoreClient = DataprocMetastoreClient.create()) {
2640+ * MoveTableToDatabaseRequest request =
2641+ * MoveTableToDatabaseRequest.newBuilder()
2642+ * .setService(ServiceName.of("[PROJECT]", "[LOCATION]", "[SERVICE]").toString())
2643+ * .setTableName("tableName-1988717703")
2644+ * .setDbName("dbName-1339126743")
2645+ * .setDestinationDbName("destinationDbName-2077361705")
2646+ * .build();
2647+ * MoveTableToDatabaseResponse response =
2648+ * dataprocMetastoreClient.moveTableToDatabaseAsync(request).get();
2649+ * }
2650+ * }</pre>
2651+ *
2652+ * @param request The request object containing all of the parameters for the API call.
2653+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
2654+ */
2655+ public final OperationFuture <MoveTableToDatabaseResponse ,OperationMetadata >
2656+ moveTableToDatabaseAsync (MoveTableToDatabaseRequest request ) {
2657+ return moveTableToDatabaseOperationCallable ().futureCall (request );
2658+ }
2659+
2660+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
2661+ /**
2662+ * Move a table to another database.
2663+ *
2664+ * <p>Sample code:
2665+ *
2666+ * <pre>{@code
2667+ * // This snippet has been automatically generated and should be regarded as a code template only.
2668+ * // It will require modifications to work:
2669+ * // - It may require correct/in-range values for request initialization.
2670+ * // - It may require specifying regional endpoints when creating the service client as shown in
2671+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
2672+ * try (DataprocMetastoreClient dataprocMetastoreClient = DataprocMetastoreClient.create()) {
2673+ * MoveTableToDatabaseRequest request =
2674+ * MoveTableToDatabaseRequest.newBuilder()
2675+ * .setService(ServiceName.of("[PROJECT]", "[LOCATION]", "[SERVICE]").toString())
2676+ * .setTableName("tableName-1988717703")
2677+ * .setDbName("dbName-1339126743")
2678+ * .setDestinationDbName("destinationDbName-2077361705")
2679+ * .build();
2680+ * OperationFuture<MoveTableToDatabaseResponse, OperationMetadata> future =
2681+ * dataprocMetastoreClient.moveTableToDatabaseOperationCallable().futureCall(request);
2682+ * // Do something.
2683+ * MoveTableToDatabaseResponse response = future.get();
2684+ * }
2685+ * }</pre>
2686+ */
2687+ public final OperationCallable <
2688+ MoveTableToDatabaseRequest ,MoveTableToDatabaseResponse ,OperationMetadata >
2689+ moveTableToDatabaseOperationCallable () {
2690+ return stub .moveTableToDatabaseOperationCallable ();
2691+ }
2692+
2693+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
2694+ /**
2695+ * Move a table to another database.
2696+ *
2697+ * <p>Sample code:
2698+ *
2699+ * <pre>{@code
2700+ * // This snippet has been automatically generated and should be regarded as a code template only.
2701+ * // It will require modifications to work:
2702+ * // - It may require correct/in-range values for request initialization.
2703+ * // - It may require specifying regional endpoints when creating the service client as shown in
2704+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
2705+ * try (DataprocMetastoreClient dataprocMetastoreClient = DataprocMetastoreClient.create()) {
2706+ * MoveTableToDatabaseRequest request =
2707+ * MoveTableToDatabaseRequest.newBuilder()
2708+ * .setService(ServiceName.of("[PROJECT]", "[LOCATION]", "[SERVICE]").toString())
2709+ * .setTableName("tableName-1988717703")
2710+ * .setDbName("dbName-1339126743")
2711+ * .setDestinationDbName("destinationDbName-2077361705")
2712+ * .build();
2713+ * ApiFuture<Operation> future =
2714+ * dataprocMetastoreClient.moveTableToDatabaseCallable().futureCall(request);
2715+ * // Do something.
2716+ * Operation response = future.get();
2717+ * }
2718+ * }</pre>
2719+ */
2720+ public final UnaryCallable <MoveTableToDatabaseRequest ,Operation >moveTableToDatabaseCallable () {
2721+ return stub .moveTableToDatabaseCallable ();
2722+ }
2723+
2724+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
2725+ /**
2726+ * Alter metadata resource location. The metadata resource can be a database, table, or partition.
2727+ * This functionality only updates the parent directory for the respective metadata resource and
2728+ * does not transfer any existing data to the new location.
2729+ *
2730+ * <p>Sample code:
2731+ *
2732+ * <pre>{@code
2733+ * // This snippet has been automatically generated and should be regarded as a code template only.
2734+ * // It will require modifications to work:
2735+ * // - It may require correct/in-range values for request initialization.
2736+ * // - It may require specifying regional endpoints when creating the service client as shown in
2737+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
2738+ * try (DataprocMetastoreClient dataprocMetastoreClient = DataprocMetastoreClient.create()) {
2739+ * AlterMetadataResourceLocationRequest request =
2740+ * AlterMetadataResourceLocationRequest.newBuilder()
2741+ * .setService(ServiceName.of("[PROJECT]", "[LOCATION]", "[SERVICE]").toString())
2742+ * .setResourceName("resourceName-384566343")
2743+ * .setLocationUri("locationUri552310135")
2744+ * .build();
2745+ * AlterMetadataResourceLocationResponse response =
2746+ * dataprocMetastoreClient.alterMetadataResourceLocationAsync(request).get();
2747+ * }
2748+ * }</pre>
2749+ *
2750+ * @param request The request object containing all of the parameters for the API call.
2751+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
2752+ */
2753+ public final OperationFuture <AlterMetadataResourceLocationResponse ,OperationMetadata >
2754+ alterMetadataResourceLocationAsync (AlterMetadataResourceLocationRequest request ) {
2755+ return alterMetadataResourceLocationOperationCallable ().futureCall (request );
2756+ }
2757+
2758+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
2759+ /**
2760+ * Alter metadata resource location. The metadata resource can be a database, table, or partition.
2761+ * This functionality only updates the parent directory for the respective metadata resource and
2762+ * does not transfer any existing data to the new location.
2763+ *
2764+ * <p>Sample code:
2765+ *
2766+ * <pre>{@code
2767+ * // This snippet has been automatically generated and should be regarded as a code template only.
2768+ * // It will require modifications to work:
2769+ * // - It may require correct/in-range values for request initialization.
2770+ * // - It may require specifying regional endpoints when creating the service client as shown in
2771+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
2772+ * try (DataprocMetastoreClient dataprocMetastoreClient = DataprocMetastoreClient.create()) {
2773+ * AlterMetadataResourceLocationRequest request =
2774+ * AlterMetadataResourceLocationRequest.newBuilder()
2775+ * .setService(ServiceName.of("[PROJECT]", "[LOCATION]", "[SERVICE]").toString())
2776+ * .setResourceName("resourceName-384566343")
2777+ * .setLocationUri("locationUri552310135")
2778+ * .build();
2779+ * OperationFuture<AlterMetadataResourceLocationResponse, OperationMetadata> future =
2780+ * dataprocMetastoreClient
2781+ * .alterMetadataResourceLocationOperationCallable()
2782+ * .futureCall(request);
2783+ * // Do something.
2784+ * AlterMetadataResourceLocationResponse response = future.get();
2785+ * }
2786+ * }</pre>
2787+ */
2788+ public final OperationCallable <
2789+ AlterMetadataResourceLocationRequest ,
2790+ AlterMetadataResourceLocationResponse ,
2791+ OperationMetadata >
2792+ alterMetadataResourceLocationOperationCallable () {
2793+ return stub .alterMetadataResourceLocationOperationCallable ();
2794+ }
2795+
2796+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
2797+ /**
2798+ * Alter metadata resource location. The metadata resource can be a database, table, or partition.
2799+ * This functionality only updates the parent directory for the respective metadata resource and
2800+ * does not transfer any existing data to the new location.
2801+ *
2802+ * <p>Sample code:
2803+ *
2804+ * <pre>{@code
2805+ * // This snippet has been automatically generated and should be regarded as a code template only.
2806+ * // It will require modifications to work:
2807+ * // - It may require correct/in-range values for request initialization.
2808+ * // - It may require specifying regional endpoints when creating the service client as shown in
2809+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
2810+ * try (DataprocMetastoreClient dataprocMetastoreClient = DataprocMetastoreClient.create()) {
2811+ * AlterMetadataResourceLocationRequest request =
2812+ * AlterMetadataResourceLocationRequest.newBuilder()
2813+ * .setService(ServiceName.of("[PROJECT]", "[LOCATION]", "[SERVICE]").toString())
2814+ * .setResourceName("resourceName-384566343")
2815+ * .setLocationUri("locationUri552310135")
2816+ * .build();
2817+ * ApiFuture<Operation> future =
2818+ * dataprocMetastoreClient.alterMetadataResourceLocationCallable().futureCall(request);
2819+ * // Do something.
2820+ * Operation response = future.get();
2821+ * }
2822+ * }</pre>
2823+ */
2824+ public final UnaryCallable <AlterMetadataResourceLocationRequest ,Operation >
2825+ alterMetadataResourceLocationCallable () {
2826+ return stub .alterMetadataResourceLocationCallable ();
2827+ }
2828+
25382829// AUTO-GENERATED DOCUMENTATION AND METHOD.
25392830/**
25402831 * Lists information about the supported locations for this service.