Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * ProjectName parent = ProjectName.of("[PROJECT]"); @@ -209,8 +212,11 @@ public final OperationFuturecreateInstanceAsy * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * String parent = ProjectName.of("[PROJECT]").toString(); @@ -260,8 +266,11 @@ public final OperationFuturecreateInstanceAsy * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * CreateInstanceRequest request = @@ -295,8 +304,11 @@ public final OperationFuturecreateInstanceAsy * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * CreateInstanceRequest request = @@ -330,8 +342,11 @@ public final OperationFuturecreateInstanceAsy * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * CreateInstanceRequest request = @@ -359,8 +374,11 @@ public final UnaryCallablecreateInstanceCalla * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]"); @@ -385,8 +403,11 @@ public final Instance getInstance(InstanceName name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * String name = InstanceName.of("[PROJECT]", "[INSTANCE]").toString(); @@ -410,8 +431,11 @@ public final Instance getInstance(String name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * GetInstanceRequest request = @@ -436,8 +460,11 @@ public final Instance getInstance(GetInstanceRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * GetInstanceRequest request = @@ -462,8 +489,11 @@ public final UnaryCallablegetInstanceCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * ProjectName parent = ProjectName.of("[PROJECT]"); @@ -490,8 +520,11 @@ public final ListInstancesResponse listInstances(ProjectName parent) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * String parent = ProjectName.of("[PROJECT]").toString(); @@ -515,8 +548,11 @@ public final ListInstancesResponse listInstances(String parent) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * ListInstancesRequest request = @@ -542,8 +578,11 @@ public final ListInstancesResponse listInstances(ListInstancesRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * ListInstancesRequest request = @@ -570,8 +609,11 @@ public final UnaryCallablelistInst * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * Instance request = @@ -580,6 +622,7 @@ public final UnaryCallablelistInst * .setDisplayName("displayName1714148973") * .putAllLabels(new HashMap ()) * .setCreateTime(Timestamp.newBuilder().build()) + * .setSatisfiesPzs(true) * .build(); * Instance response = baseBigtableInstanceAdminClient.updateInstance(request); * } @@ -600,8 +643,11 @@ public final Instance updateInstance(Instance request) { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * Instance request = @@ -610,6 +656,7 @@ public final Instance updateInstance(Instance request) { * .setDisplayName("displayName1714148973") * .putAllLabels(new HashMap()) * .setCreateTime(Timestamp.newBuilder().build()) + * .setSatisfiesPzs(true) * .build(); * ApiFuture future = * baseBigtableInstanceAdminClient.updateInstanceCallable().futureCall(request); @@ -630,8 +677,11 @@ public final UnaryCallable updateInstanceCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * Instance instance = Instance.newBuilder().build(); @@ -664,8 +714,11 @@ public final OperationFuturepartialUpdateInst * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * PartialUpdateInstanceRequest request = @@ -693,8 +746,11 @@ public final OperationFuturepartialUpdateInst * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * PartialUpdateInstanceRequest request = @@ -724,8 +780,11 @@ public final OperationFuturepartialUpdateInst * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * PartialUpdateInstanceRequest request = @@ -752,8 +811,11 @@ public final OperationFuturepartialUpdateInst * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]"); @@ -778,8 +840,11 @@ public final void deleteInstance(InstanceName name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * String name = InstanceName.of("[PROJECT]", "[INSTANCE]").toString(); @@ -803,8 +868,11 @@ public final void deleteInstance(String name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * DeleteInstanceRequest request = @@ -829,8 +897,11 @@ public final void deleteInstance(DeleteInstanceRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * DeleteInstanceRequest request = @@ -860,8 +931,11 @@ public final UnaryCallabledeleteInstanceCallable( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); @@ -904,8 +978,11 @@ public final OperationFuturecreateClusterAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * String parent = InstanceName.of("[PROJECT]", "[INSTANCE]").toString(); @@ -948,8 +1025,11 @@ public final OperationFuturecreateClusterAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * CreateClusterRequest request = @@ -982,8 +1062,11 @@ public final OperationFuturecreateClusterAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * CreateClusterRequest request = @@ -1016,8 +1099,11 @@ public final OperationFuturecreateClusterAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * CreateClusterRequest request = @@ -1044,8 +1130,11 @@ public final UnaryCallablecreateClusterCallabl * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * ClusterName name = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); @@ -1070,8 +1159,11 @@ public final Cluster getCluster(ClusterName name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * String name = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString(); @@ -1095,8 +1187,11 @@ public final Cluster getCluster(String name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * GetClusterRequest request = @@ -1121,8 +1216,11 @@ public final Cluster getCluster(GetClusterRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * GetClusterRequest request = @@ -1147,8 +1245,11 @@ public final UnaryCallablegetClusterCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); @@ -1177,8 +1278,11 @@ public final ListClustersResponse listClusters(InstanceName parent) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * String parent = InstanceName.of("[PROJECT]", "[INSTANCE]").toString(); @@ -1204,8 +1308,11 @@ public final ListClustersResponse listClusters(String parent) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * ListClustersRequest request = @@ -1231,8 +1338,11 @@ public final ListClustersResponse listClusters(ListClustersRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * ListClustersRequest request = @@ -1261,8 +1371,11 @@ public final UnaryCallablelistCluste * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * Cluster request = @@ -1294,8 +1407,11 @@ public final OperationFutureupdateClusterAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * Cluster request = @@ -1328,8 +1444,11 @@ public final OperationFutureupdateClusterAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * Cluster request = @@ -1368,8 +1487,11 @@ public final UnaryCallableupdateClusterCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * Cluster cluster = Cluster.newBuilder().build(); @@ -1411,8 +1533,11 @@ public final OperationFuturepartialUpdat * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * PartialUpdateClusterRequest request = @@ -1449,8 +1574,11 @@ public final OperationFuturepartialUpdat * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * PartialUpdateClusterRequest request = @@ -1489,8 +1617,11 @@ public final OperationFuturepartialUpdat * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * PartialUpdateClusterRequest request = @@ -1517,8 +1648,11 @@ public final OperationFuturepartialUpdat * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * ClusterName name = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); @@ -1543,8 +1677,11 @@ public final void deleteCluster(ClusterName name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * String name = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString(); @@ -1568,8 +1705,11 @@ public final void deleteCluster(String name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * DeleteClusterRequest request = @@ -1594,8 +1734,11 @@ public final void deleteCluster(DeleteClusterRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * DeleteClusterRequest request = @@ -1620,8 +1763,11 @@ public final UnaryCallabledeleteClusterCallable() * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); @@ -1659,8 +1805,11 @@ public final AppProfile createAppProfile( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * String parent = InstanceName.of("[PROJECT]", "[INSTANCE]").toString(); @@ -1698,8 +1847,11 @@ public final AppProfile createAppProfile( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * CreateAppProfileRequest request = @@ -1727,8 +1879,11 @@ public final AppProfile createAppProfile(CreateAppProfileRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * CreateAppProfileRequest request = @@ -1756,8 +1911,11 @@ public final UnaryCallablecreateAppProfile * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * AppProfileName name = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]"); @@ -1782,8 +1940,11 @@ public final AppProfile getAppProfile(AppProfileName name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * String name = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString(); @@ -1807,8 +1968,11 @@ public final AppProfile getAppProfile(String name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * GetAppProfileRequest request = @@ -1833,8 +1997,11 @@ public final AppProfile getAppProfile(GetAppProfileRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * GetAppProfileRequest request = @@ -1859,8 +2026,11 @@ public final UnaryCallablegetAppProfileCallab * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); @@ -1892,8 +2062,11 @@ public final ListAppProfilesPagedResponse listAppProfiles(InstanceName parent) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * String parent = InstanceName.of("[PROJECT]", "[INSTANCE]").toString(); @@ -1922,8 +2095,11 @@ public final ListAppProfilesPagedResponse listAppProfiles(String parent) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * ListAppProfilesRequest request = @@ -1953,8 +2129,11 @@ public final ListAppProfilesPagedResponse listAppProfiles(ListAppProfilesRequest *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * ListAppProfilesRequest request = @@ -1984,8 +2163,11 @@ public final ListAppProfilesPagedResponse listAppProfiles(ListAppProfilesRequest *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * ListAppProfilesRequest request = @@ -2022,8 +2204,11 @@ public final ListAppProfilesPagedResponse listAppProfiles(ListAppProfilesRequest *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * AppProfile appProfile = AppProfile.newBuilder().build(); @@ -2055,8 +2240,11 @@ public final OperationFutureupdateAppProf * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * UpdateAppProfileRequest request = @@ -2084,8 +2272,11 @@ public final OperationFutureupdateAppProf * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * UpdateAppProfileRequest request = @@ -2113,8 +2304,11 @@ public final OperationFutureupdateAppProf * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * UpdateAppProfileRequest request = @@ -2141,8 +2335,11 @@ public final UnaryCallableupdateAppProfileC * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * AppProfileName name = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]"); @@ -2167,8 +2364,11 @@ public final void deleteAppProfile(AppProfileName name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * String name = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString(); @@ -2192,8 +2392,11 @@ public final void deleteAppProfile(String name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * DeleteAppProfileRequest request = @@ -2219,8 +2422,11 @@ public final void deleteAppProfile(DeleteAppProfileRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * DeleteAppProfileRequest request = @@ -2247,8 +2453,11 @@ public final UnaryCallabledeleteAppProfileCalla * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]"); @@ -2276,8 +2485,11 @@ public final Policy getIamPolicy(ResourceName resource) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * String resource = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString(); @@ -2302,8 +2514,11 @@ public final Policy getIamPolicy(String resource) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * GetIamPolicyRequest request = @@ -2330,8 +2545,11 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * GetIamPolicyRequest request = @@ -2357,8 +2575,11 @@ public final UnaryCallablegetIamPolicyCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]"); @@ -2390,8 +2611,11 @@ public final Policy setIamPolicy(ResourceName resource, Policy policy) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * String resource = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString(); @@ -2420,8 +2644,11 @@ public final Policy setIamPolicy(String resource, Policy policy) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * SetIamPolicyRequest request = @@ -2448,8 +2675,11 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * SetIamPolicyRequest request = @@ -2476,8 +2706,11 @@ public final UnaryCallablesetIamPolicyCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]"); @@ -2511,8 +2744,11 @@ public final TestIamPermissionsResponse testIamPermissions( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * String resource = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString(); @@ -2546,8 +2782,11 @@ public final TestIamPermissionsResponse testIamPermissions( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * TestIamPermissionsRequest request = @@ -2574,8 +2813,11 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * TestIamPermissionsRequest request = @@ -2603,8 +2845,11 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); @@ -2635,8 +2880,11 @@ public final ListHotTabletsPagedResponse listHotTablets(ClusterName parent) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * String parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString(); @@ -2664,8 +2912,11 @@ public final ListHotTabletsPagedResponse listHotTablets(String parent) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * ListHotTabletsRequest request = @@ -2698,8 +2949,11 @@ public final ListHotTabletsPagedResponse listHotTablets(ListHotTabletsRequest re *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * ListHotTabletsRequest request = @@ -2732,8 +2986,11 @@ public final ListHotTabletsPagedResponse listHotTablets(ListHotTabletsRequest re *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = * BaseBigtableInstanceAdminClient.create()) { * ListHotTabletsRequest request = diff --git a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java index bc52bde120..fd44fb0843 100644 --- a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java +++ b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java @@ -66,6 +66,8 @@ import com.google.bigtable.admin.v2.UndeleteTableMetadata; import com.google.bigtable.admin.v2.UndeleteTableRequest; import com.google.bigtable.admin.v2.UpdateBackupRequest; +import com.google.bigtable.admin.v2.UpdateTableMetadata; +import com.google.bigtable.admin.v2.UpdateTableRequest; import com.google.cloud.bigtable.admin.v2.stub.BigtableTableAdminStub; import com.google.cloud.bigtable.admin.v2.stub.BigtableTableAdminStubSettings; import com.google.common.util.concurrent.MoreExecutors; @@ -156,8 +158,11 @@ public final OperationsClient getOperationsClient() { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); @@ -193,8 +198,11 @@ public final Table createTable(InstanceName parent, String tableId, Table table) *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * String parent = InstanceName.of("[PROJECT]", "[INSTANCE]").toString(); @@ -230,8 +238,11 @@ public final Table createTable(String parent, String tableId, Table table) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * CreateTableRequest request = @@ -260,8 +271,11 @@ public final Table createTable(CreateTableRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * CreateTableRequest request = @@ -295,8 +309,11 @@ public final UnaryCallablecreateTableCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); @@ -343,8 +360,11 @@ public final OperationFuturecreateTable *
Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); @@ -391,8 +411,11 @@ public final OperationFuturecreateTable *
Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * String parent = InstanceName.of("[PROJECT]", "[INSTANCE]").toString(); @@ -439,8 +462,11 @@ public final OperationFuturecreateTable *
Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * String parent = InstanceName.of("[PROJECT]", "[INSTANCE]").toString(); @@ -487,8 +513,11 @@ public final OperationFuturecreateTable *
Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * CreateTableFromSnapshotRequest request = @@ -523,8 +552,11 @@ public final OperationFuturecreateTable *
Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * CreateTableFromSnapshotRequest request = @@ -562,8 +594,11 @@ public final OperationFuturecreateTable *
Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * CreateTableFromSnapshotRequest request = @@ -592,8 +627,11 @@ public final OperationFuturecreateTable *
Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); @@ -620,8 +658,11 @@ public final ListTablesPagedResponse listTables(InstanceName parent) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * String parent = InstanceName.of("[PROJECT]", "[INSTANCE]").toString(); @@ -647,8 +688,11 @@ public final ListTablesPagedResponse listTables(String parent) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * ListTablesRequest request = @@ -677,8 +721,11 @@ public final ListTablesPagedResponse listTables(ListTablesRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * ListTablesRequest request = @@ -707,8 +754,11 @@ public final UnaryCallablelistTable * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * ListTablesRequest request = @@ -744,8 +794,11 @@ public final UnaryCallablelistTablesCall * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); @@ -770,8 +823,11 @@ public final Table getTable(TableName name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * String name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString(); @@ -795,8 +851,11 @@ public final Table getTable(String name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * GetTableRequest request = @@ -821,8 +880,11 @@ public final Table getTable(GetTableRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * GetTableRequest request = @@ -839,6 +901,135 @@ public final UnaryCallablegetTableCallable() { return stub.getTableCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a specified table. + * + * Sample code: + * + *
{@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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = + * BaseBigtableTableAdminClient.create()) { + * Table table = Table.newBuilder().build(); + * FieldMask updateMask = FieldMask.newBuilder().build(); + * Table response = baseBigtableTableAdminClient.updateTableAsync(table, updateMask).get(); + * } + * }+ * + * @param table Required. The table to update. The table's `name` field is used to identify the + * table to update. + * @param updateMask Required. The list of fields to update. A mask specifying which fields (e.g. + * `deletion_protection`) in the `table` field should be updated. This mask is relative to the + * `table` field, not to the request message. The wildcard (*) path is currently not + * supported. Currently UpdateTable is only supported for the following field: * + * `deletion_protection` If `column_families` is set in `update_mask`, it will return an + * UNIMPLEMENTED error. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFutureupdateTableAsync( + Table table, FieldMask updateMask) { + UpdateTableRequest request = + UpdateTableRequest.newBuilder().setTable(table).setUpdateMask(updateMask).build(); + return updateTableAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a specified table. + * + *
Sample code: + * + *
{@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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = + * BaseBigtableTableAdminClient.create()) { + * UpdateTableRequest request = + * UpdateTableRequest.newBuilder() + * .setTable(Table.newBuilder().build()) + * .setUpdateMask(FieldMask.newBuilder().build()) + * .build(); + * Table response = baseBigtableTableAdminClient.updateTableAsync(request).get(); + * } + * }+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFutureupdateTableAsync( + UpdateTableRequest request) { + return updateTableOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a specified table. + * + *
Sample code: + * + *
{@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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = + * BaseBigtableTableAdminClient.create()) { + * UpdateTableRequest request = + * UpdateTableRequest.newBuilder() + * .setTable(Table.newBuilder().build()) + * .setUpdateMask(FieldMask.newBuilder().build()) + * .build(); + * OperationFuturefuture = + * baseBigtableTableAdminClient.updateTableOperationCallable().futureCall(request); + * // Do something. + * Table response = future.get(); + * } + * } + */ + public final OperationCallable
+ updateTableOperationCallable() { + return stub.updateTableOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a specified table. + * + * Sample code: + * + *
{@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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = + * BaseBigtableTableAdminClient.create()) { + * UpdateTableRequest request = + * UpdateTableRequest.newBuilder() + * .setTable(Table.newBuilder().build()) + * .setUpdateMask(FieldMask.newBuilder().build()) + * .build(); + * ApiFuture+ */ + public final UnaryCallablefuture = + * baseBigtableTableAdminClient.updateTableCallable().futureCall(request); + * // Do something. + * Operation response = future.get(); + * } + * } updateTableCallable() { + return stub.updateTableCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Permanently deletes a specified table and all of its data. @@ -846,8 +1037,11 @@ public final UnaryCallable getTableCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); @@ -872,8 +1066,11 @@ public final void deleteTable(TableName name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * String name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString(); @@ -897,8 +1094,11 @@ public final void deleteTable(String name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * DeleteTableRequest request = @@ -923,8 +1123,11 @@ public final void deleteTable(DeleteTableRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * DeleteTableRequest request = @@ -949,8 +1152,11 @@ public final UnaryCallabledeleteTableCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); @@ -975,8 +1181,11 @@ public final OperationFutureundeleteTableAsync(Ta *
Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * String name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString(); @@ -1000,8 +1209,11 @@ public final OperationFutureundeleteTableAsync(St *
Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * UndeleteTableRequest request = @@ -1027,8 +1239,11 @@ public final OperationFutureundeleteTableAsync( *
Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * UndeleteTableRequest request = @@ -1054,8 +1269,11 @@ public final OperationFutureundeleteTableAsync( *
Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * UndeleteTableRequest request = @@ -1082,8 +1300,11 @@ public final UnaryCallableundeleteTableCallabl * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); @@ -1118,8 +1339,11 @@ public final Table modifyColumnFamilies( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * String name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString(); @@ -1154,8 +1378,11 @@ public final Table modifyColumnFamilies( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * ModifyColumnFamiliesRequest request = @@ -1183,8 +1410,11 @@ public final Table modifyColumnFamilies(ModifyColumnFamiliesRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * ModifyColumnFamiliesRequest request = @@ -1211,8 +1441,11 @@ public final UnaryCallablemodifyColumnFamil * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * DropRowRangeRequest request = @@ -1238,8 +1471,11 @@ public final void dropRowRange(DropRowRangeRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * DropRowRangeRequest request = @@ -1266,8 +1502,11 @@ public final UnaryCallabledropRowRangeCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); @@ -1297,8 +1536,11 @@ public final GenerateConsistencyTokenResponse generateConsistencyToken(TableName *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * String name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString(); @@ -1326,8 +1568,11 @@ public final GenerateConsistencyTokenResponse generateConsistencyToken(String na *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * GenerateConsistencyTokenRequest request = @@ -1356,8 +1601,11 @@ public final GenerateConsistencyTokenResponse generateConsistencyToken( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * GenerateConsistencyTokenRequest request = @@ -1384,8 +1632,11 @@ public final GenerateConsistencyTokenResponse generateConsistencyToken( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); @@ -1418,8 +1669,11 @@ public final CheckConsistencyResponse checkConsistency(TableName name, String co *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * String name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString(); @@ -1452,8 +1706,11 @@ public final CheckConsistencyResponse checkConsistency(String name, String consi *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * CheckConsistencyRequest request = @@ -1480,8 +1737,11 @@ public final CheckConsistencyResponse checkConsistency(CheckConsistencyRequest r *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * CheckConsistencyRequest request = @@ -1514,8 +1774,11 @@ public final CheckConsistencyResponse checkConsistency(CheckConsistencyRequest r *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); @@ -1564,8 +1827,11 @@ public final OperationFuturesnapshotTableAsync * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); @@ -1614,8 +1880,11 @@ public final OperationFuturesnapshotTableAsync * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * String name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString(); @@ -1664,8 +1933,11 @@ public final OperationFuturesnapshotTableAsync * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * String name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString(); @@ -1714,8 +1986,11 @@ public final OperationFuturesnapshotTableAsync * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * SnapshotTableRequest request = @@ -1751,8 +2026,11 @@ public final OperationFuturesnapshotTableAsync * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * SnapshotTableRequest request = @@ -1788,8 +2066,11 @@ public final OperationFuturesnapshotTableAsync * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * SnapshotTableRequest request = @@ -1823,8 +2104,11 @@ public final UnaryCallablesnapshotTableCallabl * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * SnapshotName name = SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]"); @@ -1854,8 +2138,11 @@ public final Snapshot getSnapshot(SnapshotName name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * String name = @@ -1885,8 +2172,11 @@ public final Snapshot getSnapshot(String name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * GetSnapshotRequest request = @@ -1917,8 +2207,11 @@ public final Snapshot getSnapshot(GetSnapshotRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * GetSnapshotRequest request = @@ -1949,8 +2242,11 @@ public final UnaryCallablegetSnapshotCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); @@ -1986,8 +2282,11 @@ public final ListSnapshotsPagedResponse listSnapshots(ClusterName parent) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * String parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString(); @@ -2020,8 +2319,11 @@ public final ListSnapshotsPagedResponse listSnapshots(String parent) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * ListSnapshotsRequest request = @@ -2055,8 +2357,11 @@ public final ListSnapshotsPagedResponse listSnapshots(ListSnapshotsRequest reque *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * ListSnapshotsRequest request = @@ -2091,8 +2396,11 @@ public final ListSnapshotsPagedResponse listSnapshots(ListSnapshotsRequest reque *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * ListSnapshotsRequest request = @@ -2133,8 +2441,11 @@ public final UnaryCallablelistSnap * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * SnapshotName name = SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]"); @@ -2164,8 +2475,11 @@ public final void deleteSnapshot(SnapshotName name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * String name = @@ -2195,8 +2509,11 @@ public final void deleteSnapshot(String name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * DeleteSnapshotRequest request = @@ -2227,8 +2544,11 @@ public final void deleteSnapshot(DeleteSnapshotRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * DeleteSnapshotRequest request = @@ -2260,8 +2580,11 @@ public final UnaryCallabledeleteSnapshotCallable( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); @@ -2308,8 +2631,11 @@ public final OperationFuturecreateBackupAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * String parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString(); @@ -2356,8 +2682,11 @@ public final OperationFuturecreateBackupAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * CreateBackupRequest request = @@ -2391,8 +2720,11 @@ public final OperationFuturecreateBackupAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * CreateBackupRequest request = @@ -2426,8 +2758,11 @@ public final OperationFuturecreateBackupAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * CreateBackupRequest request = @@ -2454,8 +2789,11 @@ public final UnaryCallablecreateBackupCallable( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * BackupName name = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]"); @@ -2480,8 +2818,11 @@ public final Backup getBackup(BackupName name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * String name = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString(); @@ -2505,8 +2846,11 @@ public final Backup getBackup(String name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * GetBackupRequest request = @@ -2531,8 +2875,11 @@ public final Backup getBackup(GetBackupRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * GetBackupRequest request = @@ -2557,8 +2904,11 @@ public final UnaryCallablegetBackupCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * Backup backup = Backup.newBuilder().build(); @@ -2589,8 +2939,11 @@ public final Backup updateBackup(Backup backup, FieldMask updateMask) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * UpdateBackupRequest request = @@ -2616,8 +2969,11 @@ public final Backup updateBackup(UpdateBackupRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * UpdateBackupRequest request = @@ -2643,8 +2999,11 @@ public final UnaryCallableupdateBackupCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * BackupName name = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]"); @@ -2669,8 +3028,11 @@ public final void deleteBackup(BackupName name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * String name = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString(); @@ -2694,8 +3056,11 @@ public final void deleteBackup(String name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * DeleteBackupRequest request = @@ -2720,8 +3085,11 @@ public final void deleteBackup(DeleteBackupRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * DeleteBackupRequest request = @@ -2746,8 +3114,11 @@ public final UnaryCallabledeleteBackupCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); @@ -2778,8 +3149,11 @@ public final ListBackupsPagedResponse listBackups(ClusterName parent) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * String parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString(); @@ -2807,8 +3181,11 @@ public final ListBackupsPagedResponse listBackups(String parent) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * ListBackupsRequest request = @@ -2839,8 +3216,11 @@ public final ListBackupsPagedResponse listBackups(ListBackupsRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * ListBackupsRequest request = @@ -2872,8 +3252,11 @@ public final ListBackupsPagedResponse listBackups(ListBackupsRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * ListBackupsRequest request = @@ -2917,8 +3300,11 @@ public final UnaryCallablelistBackupsC * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * RestoreTableRequest request = @@ -2951,8 +3337,11 @@ public final OperationFuturerestoreTableAsync( *
Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * RestoreTableRequest request = @@ -2985,8 +3374,11 @@ public final OperationFuturerestoreTableAsync( *
Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * RestoreTableRequest request = @@ -3013,8 +3405,11 @@ public final UnaryCallablerestoreTableCallable( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // 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 (BaseBigtableTableAdminClient baseBigtableTableAdminClient = * BaseBigtableTableAdminClient.create()) { * ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]"); @@ -3042,8 +3437,11 @@ public final Policy getIamPolicy(ResourceName resource) { *