diff --git a/java-area120-tables/README.md b/java-area120-tables/README.md
index a2e3a064bc9c..0aeddf8ec240 100644
--- a/java-area120-tables/README.md
+++ b/java-area120-tables/README.md
@@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file:
{@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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) { * TableName name = TableName.of("[TABLE]"); * Table response = tablesServiceClient.getTable(name); @@ -113,8 +116,11 @@ *To customize credentials: * *
{@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 * TablesServiceSettings tablesServiceSettings = * TablesServiceSettings.newBuilder() * .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) @@ -125,8 +131,11 @@ *To customize the endpoint: * *
{@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 * TablesServiceSettings tablesServiceSettings = * TablesServiceSettings.newBuilder().setEndpoint(myEndpoint).build(); * TablesServiceClient tablesServiceClient = TablesServiceClient.create(tablesServiceSettings); @@ -136,8 +145,11 @@ * the wire: * *{@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 * TablesServiceSettings tablesServiceSettings = * TablesServiceSettings.newBuilder() * .setTransportChannelProvider( @@ -206,8 +218,11 @@ public TablesServiceStub getStub() { *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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) { * TableName name = TableName.of("[TABLE]"); * Table response = tablesServiceClient.getTable(name); @@ -230,8 +245,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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) { * String name = TableName.of("[TABLE]").toString(); * Table response = tablesServiceClient.getTable(name); @@ -253,8 +271,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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) { * GetTableRequest request = * GetTableRequest.newBuilder().setName(TableName.of("[TABLE]").toString()).build(); @@ -276,8 +297,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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) { * GetTableRequest request = * GetTableRequest.newBuilder().setName(TableName.of("[TABLE]").toString()).build(); @@ -298,8 +322,11 @@ public final UnaryCallablegetTableCallable() { * 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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) { * ListTablesRequest request = * ListTablesRequest.newBuilder() @@ -326,8 +353,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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) { * ListTablesRequest request = * ListTablesRequest.newBuilder() @@ -353,8 +383,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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) { * ListTablesRequest request = * ListTablesRequest.newBuilder() @@ -387,8 +420,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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) { * WorkspaceName name = WorkspaceName.of("[WORKSPACE]"); * Workspace response = tablesServiceClient.getWorkspace(name); @@ -411,8 +447,11 @@ public final Workspace getWorkspace(WorkspaceName 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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) { * String name = WorkspaceName.of("[WORKSPACE]").toString(); * Workspace response = tablesServiceClient.getWorkspace(name); @@ -434,8 +473,11 @@ public final Workspace getWorkspace(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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) { * GetWorkspaceRequest request = * GetWorkspaceRequest.newBuilder() @@ -459,8 +501,11 @@ public final Workspace getWorkspace(GetWorkspaceRequest 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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) { * GetWorkspaceRequest request = * GetWorkspaceRequest.newBuilder() @@ -483,8 +528,11 @@ public final UnaryCallablegetWorkspaceCallable( * 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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) { * ListWorkspacesRequest request = * ListWorkspacesRequest.newBuilder() @@ -511,8 +559,11 @@ public final ListWorkspacesPagedResponse listWorkspaces(ListWorkspacesRequest 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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) { * ListWorkspacesRequest request = * ListWorkspacesRequest.newBuilder() @@ -540,8 +591,11 @@ public final ListWorkspacesPagedResponse listWorkspaces(ListWorkspacesRequest 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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) { * ListWorkspacesRequest request = * ListWorkspacesRequest.newBuilder() @@ -576,8 +630,11 @@ public final ListWorkspacesPagedResponse listWorkspaces(ListWorkspacesRequest 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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) { * RowName name = RowName.of("[TABLE]", "[ROW]"); * Row response = tablesServiceClient.getRow(name); @@ -600,8 +657,11 @@ public final Row getRow(RowName 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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) { * String name = RowName.of("[TABLE]", "[ROW]").toString(); * Row response = tablesServiceClient.getRow(name); @@ -623,8 +683,11 @@ public final Row getRow(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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) { * GetRowRequest request = * GetRowRequest.newBuilder() @@ -649,8 +712,11 @@ public final Row getRow(GetRowRequest 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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) { * GetRowRequest request = * GetRowRequest.newBuilder() @@ -674,8 +740,11 @@ public final UnaryCallablegetRowCallable() { * 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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) { * String parent = "parent-995424086"; * for (Row element : tablesServiceClient.listRows(parent).iterateAll()) { @@ -699,8 +768,11 @@ public final ListRowsPagedResponse listRows(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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) { * ListRowsRequest request = * ListRowsRequest.newBuilder() @@ -730,8 +802,11 @@ public final ListRowsPagedResponse listRows(ListRowsRequest 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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) { * ListRowsRequest request = * ListRowsRequest.newBuilder() @@ -760,8 +835,11 @@ public final UnaryCallablelistRowsPaged * 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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) { * ListRowsRequest request = * ListRowsRequest.newBuilder() @@ -797,8 +875,11 @@ public final UnaryCallablelistRowsCallable() * 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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) { * String parent = "parent-995424086"; * Row row = Row.newBuilder().build(); @@ -822,8 +903,11 @@ public final Row createRow(String parent, Row row) { *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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) { * CreateRowRequest request = * CreateRowRequest.newBuilder() @@ -849,8 +933,11 @@ public final Row createRow(CreateRowRequest 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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) { * CreateRowRequest request = * CreateRowRequest.newBuilder() @@ -875,8 +962,11 @@ public final UnaryCallablecreateRowCallable() { * 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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) { * BatchCreateRowsRequest request = * BatchCreateRowsRequest.newBuilder() @@ -901,8 +991,11 @@ public final BatchCreateRowsResponse batchCreateRows(BatchCreateRowsRequest requ *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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) { * BatchCreateRowsRequest request = * BatchCreateRowsRequest.newBuilder() @@ -928,8 +1021,11 @@ public final BatchCreateRowsResponse batchCreateRows(BatchCreateRowsRequest requ *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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) { * Row row = Row.newBuilder().build(); * FieldMask updateMask = FieldMask.newBuilder().build(); @@ -954,8 +1050,11 @@ public final Row updateRow(Row row, 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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) { * UpdateRowRequest request = * UpdateRowRequest.newBuilder() @@ -981,8 +1080,11 @@ public final Row updateRow(UpdateRowRequest 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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) { * UpdateRowRequest request = * UpdateRowRequest.newBuilder() @@ -1007,8 +1109,11 @@ public final UnaryCallableupdateRowCallable() { * 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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) { * BatchUpdateRowsRequest request = * BatchUpdateRowsRequest.newBuilder() @@ -1033,8 +1138,11 @@ public final BatchUpdateRowsResponse batchUpdateRows(BatchUpdateRowsRequest requ *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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) { * BatchUpdateRowsRequest request = * BatchUpdateRowsRequest.newBuilder() @@ -1060,8 +1168,11 @@ public final BatchUpdateRowsResponse batchUpdateRows(BatchUpdateRowsRequest requ *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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) { * RowName name = RowName.of("[TABLE]", "[ROW]"); * tablesServiceClient.deleteRow(name); @@ -1084,8 +1195,11 @@ public final void deleteRow(RowName 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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) { * String name = RowName.of("[TABLE]", "[ROW]").toString(); * tablesServiceClient.deleteRow(name); @@ -1107,8 +1221,11 @@ public final void deleteRow(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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) { * DeleteRowRequest request = * DeleteRowRequest.newBuilder().setName(RowName.of("[TABLE]", "[ROW]").toString()).build(); @@ -1130,8 +1247,11 @@ public final void deleteRow(DeleteRowRequest 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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) { * DeleteRowRequest request = * DeleteRowRequest.newBuilder().setName(RowName.of("[TABLE]", "[ROW]").toString()).build(); @@ -1152,8 +1272,11 @@ public final UnaryCallabledeleteRowCallable() { * 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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) { * BatchDeleteRowsRequest request = * BatchDeleteRowsRequest.newBuilder() @@ -1178,8 +1301,11 @@ public final void batchDeleteRows(BatchDeleteRowsRequest 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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) { * BatchDeleteRowsRequest request = * BatchDeleteRowsRequest.newBuilder() diff --git a/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/TablesServiceSettings.java b/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/TablesServiceSettings.java index a2b911f6cb7a..383f8dc202ff 100644 --- a/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/TablesServiceSettings.java +++ b/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/TablesServiceSettings.java @@ -76,16 +76,16 @@ *For example, to set the total timeout of getTable to 30 seconds: * *
{@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 * TablesServiceSettings.Builder tablesServiceSettingsBuilder = TablesServiceSettings.newBuilder(); * tablesServiceSettingsBuilder * .getTableSettings() * .setRetrySettings( - * tablesServiceSettingsBuilder - * .getTableSettings() - * .getRetrySettings() - * .toBuilder() + * tablesServiceSettingsBuilder.getTableSettings().getRetrySettings().toBuilder() * .setTotalTimeout(Duration.ofSeconds(30)) * .build()); * TablesServiceSettings tablesServiceSettings = tablesServiceSettingsBuilder.build(); diff --git a/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/package-info.java b/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/package-info.java index 93527ce0102f..243e5c6affdb 100644 --- a/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/package-info.java +++ b/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/package-info.java @@ -34,8 +34,11 @@ *Sample for TablesServiceClient: * *
{@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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) { * TableName name = TableName.of("[TABLE]"); * Table response = tablesServiceClient.getTable(name); diff --git a/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/stub/HttpJsonTablesServiceStub.java b/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/stub/HttpJsonTablesServiceStub.java index 4df0ee704bc2..1fc354864329 100644 --- a/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/stub/HttpJsonTablesServiceStub.java +++ b/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/stub/HttpJsonTablesServiceStub.java @@ -301,7 +301,8 @@ public class HttpJsonTablesServiceStub extends TablesServiceStub { return fields; }) .setRequestBodyExtractor( - request -> ProtoRestSerializer.create().toBody("row", request.getRow())) + request -> + ProtoRestSerializer.create().toBody("row", request.getRow(), false)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -337,7 +338,7 @@ public class HttpJsonTablesServiceStub extends TablesServiceStub { .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearParent().build())) + .toBody("*", request.toBuilder().clearParent().build(), false)) .build()) .setResponseParser( ProtoMessageResponseParser.
newBuilder() @@ -372,7 +373,8 @@ public class HttpJsonTablesServiceStub extends TablesServiceStub { return fields; }) .setRequestBodyExtractor( - request -> ProtoRestSerializer.create().toBody("row", request.getRow())) + request -> + ProtoRestSerializer.create().toBody("row", request.getRow(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -408,7 +410,7 @@ public class HttpJsonTablesServiceStub extends TablesServiceStub { .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearParent().build())) + .toBody("*", request.toBuilder().clearParent().build(), false)) .build()) .setResponseParser( ProtoMessageResponseParser.
newBuilder() @@ -476,7 +478,7 @@ public class HttpJsonTablesServiceStub extends TablesServiceStub { .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearParent().build())) + .toBody("*", request.toBuilder().clearParent().build(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() diff --git a/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/stub/TablesServiceStubSettings.java b/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/stub/TablesServiceStubSettings.java index 090b5c95e1eb..cba8b483a5fe 100644 --- a/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/stub/TablesServiceStubSettings.java +++ b/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/stub/TablesServiceStubSettings.java @@ -93,17 +93,17 @@ * For example, to set the total timeout of getTable to 30 seconds: * *
{@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 * TablesServiceStubSettings.Builder tablesServiceSettingsBuilder = * TablesServiceStubSettings.newBuilder(); * tablesServiceSettingsBuilder * .getTableSettings() * .setRetrySettings( - * tablesServiceSettingsBuilder - * .getTableSettings() - * .getRetrySettings() - * .toBuilder() + * tablesServiceSettingsBuilder.getTableSettings().getRetrySettings().toBuilder() * .setTotalTimeout(Duration.ofSeconds(30)) * .build()); * TablesServiceStubSettings tablesServiceSettings = tablesServiceSettingsBuilder.build();