From c9a278a902ab91a48f5cc1c13d3d5f7fcf46da98 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Fri, 23 Oct 2026 18:15:11 +0000 Subject: [PATCH] chore: remove java-area120-tables library Removes the java-area120-tables module and references across the repository as the Area 120 Tables API (google/area120/tables/v1alpha1) has been turned down (b/577139636). --- README.md | 1 - gapic-libraries-bom/pom.xml | 7 - java-area120-tables/.repo-metadata.json | 15 - java-area120-tables/CHANGELOG.md | 765 ------ java-area120-tables/README.md | 210 -- .../google-area120-tables-bom/pom.xml | 46 - .../google-area120-tables/pom.xml | 105 - .../tables/v1alpha/TablesServiceClient.java | 1768 ------------- .../tables/v1alpha/TablesServiceSettings.java | 366 --- .../tables/v1alpha/gapic_metadata.json | 54 - .../area120/tables/v1alpha/package-info.java | 53 - .../GrpcTablesServiceCallableFactory.java | 117 - .../v1alpha/stub/GrpcTablesServiceStub.java | 535 ---- .../HttpJsonTablesServiceCallableFactory.java | 105 - .../stub/HttpJsonTablesServiceStub.java | 872 ------ .../v1alpha/stub/TablesServiceStub.java | 124 - .../stub/TablesServiceStubSettings.java | 813 ------ .../area120/tables/v1alpha/stub/Version.java | 27 - .../reflect-config.json | 1829 ------------- .../tables/v1alpha/MockTablesService.java | 59 - .../tables/v1alpha/MockTablesServiceImpl.java | 327 --- .../TablesServiceClientHttpJsonTest.java | 873 ------ .../v1alpha/TablesServiceClientTest.java | 784 ------ .../pom.xml | 41 - .../tables/v1alpha1/TablesServiceGrpc.java | 1898 -------------- java-area120-tables/pom.xml | 58 - .../clirr-ignored-differences.xml | 80 - .../pom.xml | 33 - .../v1alpha1/BatchCreateRowsRequest.java | 1221 --------- .../BatchCreateRowsRequestOrBuilder.java | 132 - .../v1alpha1/BatchCreateRowsResponse.java | 922 ------- .../BatchCreateRowsResponseOrBuilder.java | 83 - .../v1alpha1/BatchDeleteRowsRequest.java | 973 ------- .../BatchDeleteRowsRequestOrBuilder.java | 134 - .../v1alpha1/BatchUpdateRowsRequest.java | 1221 --------- .../BatchUpdateRowsRequestOrBuilder.java | 132 - .../v1alpha1/BatchUpdateRowsResponse.java | 922 ------- .../BatchUpdateRowsResponseOrBuilder.java | 83 - .../tables/v1alpha1/ColumnDescription.java | 2330 ----------------- .../v1alpha1/ColumnDescriptionOrBuilder.java | 297 --- .../tables/v1alpha1/CreateRowRequest.java | 1072 -------- .../v1alpha1/CreateRowRequestOrBuilder.java | 126 - .../tables/v1alpha1/DeleteRowRequest.java | 617 ----- .../v1alpha1/DeleteRowRequestOrBuilder.java | 60 - .../tables/v1alpha1/GetRowRequest.java | 791 ------ .../v1alpha1/GetRowRequestOrBuilder.java | 90 - .../tables/v1alpha1/GetTableRequest.java | 617 ----- .../v1alpha1/GetTableRequestOrBuilder.java | 60 - .../tables/v1alpha1/GetWorkspaceRequest.java | 618 ----- .../GetWorkspaceRequestOrBuilder.java | 60 - .../area120/tables/v1alpha1/LabeledItem.java | 784 ------ .../tables/v1alpha1/LabeledItemOrBuilder.java | 80 - .../tables/v1alpha1/ListRowsRequest.java | 1310 --------- .../v1alpha1/ListRowsRequestOrBuilder.java | 167 -- .../tables/v1alpha1/ListRowsResponse.java | 1117 -------- .../v1alpha1/ListRowsResponseOrBuilder.java | 111 - .../tables/v1alpha1/ListTablesRequest.java | 737 ------ .../v1alpha1/ListTablesRequestOrBuilder.java | 79 - .../tables/v1alpha1/ListTablesResponse.java | 1118 -------- .../v1alpha1/ListTablesResponseOrBuilder.java | 112 - .../v1alpha1/ListWorkspacesRequest.java | 738 ------ .../ListWorkspacesRequestOrBuilder.java | 79 - .../v1alpha1/ListWorkspacesResponse.java | 1121 -------- .../ListWorkspacesResponseOrBuilder.java | 112 - .../tables/v1alpha1/LookupDetails.java | 787 ------ .../v1alpha1/LookupDetailsOrBuilder.java | 80 - .../tables/v1alpha1/RelationshipDetails.java | 597 ----- .../RelationshipDetailsOrBuilder.java | 54 - .../google/area120/tables/v1alpha1/Row.java | 1046 -------- .../area120/tables/v1alpha1/RowName.java | 194 -- .../area120/tables/v1alpha1/RowOrBuilder.java | 131 - .../google/area120/tables/v1alpha1/Table.java | 1337 ---------- .../area120/tables/v1alpha1/TableName.java | 170 -- .../tables/v1alpha1/TableOrBuilder.java | 143 - .../area120/tables/v1alpha1/TablesProto.java | 544 ---- .../tables/v1alpha1/UpdateRowRequest.java | 1153 -------- .../v1alpha1/UpdateRowRequestOrBuilder.java | 135 - .../google/area120/tables/v1alpha1/View.java | 168 -- .../area120/tables/v1alpha1/Workspace.java | 1304 --------- .../tables/v1alpha1/WorkspaceName.java | 171 -- .../tables/v1alpha1/WorkspaceOrBuilder.java | 138 - .../area120/tables/v1alpha1/tables.proto | 504 ---- .../gettable/SyncGetTable.java | 56 - .../batchcreaterows/AsyncBatchCreateRows.java | 52 - .../batchcreaterows/SyncBatchCreateRows.java | 48 - .../batchdeleterows/AsyncBatchDeleteRows.java | 51 - .../batchdeleterows/SyncBatchDeleteRows.java | 48 - .../batchupdaterows/AsyncBatchUpdateRows.java | 52 - .../batchupdaterows/SyncBatchUpdateRows.java | 48 - .../SyncCreateSetCredentialsProvider.java | 44 - .../create/SyncCreateSetEndpoint.java | 41 - .../SyncCreateUseHttpJsonTransport.java | 40 - .../createrow/AsyncCreateRow.java | 51 - .../createrow/SyncCreateRow.java | 48 - .../createrow/SyncCreateRowStringRow.java | 42 - .../deleterow/AsyncDeleteRow.java | 47 - .../deleterow/SyncDeleteRow.java | 44 - .../deleterow/SyncDeleteRowRowname.java | 42 - .../deleterow/SyncDeleteRowString.java | 42 - .../tablesservice/getrow/AsyncGetRow.java | 51 - .../tablesservice/getrow/SyncGetRow.java | 48 - .../getrow/SyncGetRowRowname.java | 42 - .../getrow/SyncGetRowString.java | 42 - .../tablesservice/gettable/AsyncGetTable.java | 47 - .../tablesservice/gettable/SyncGetTable.java | 44 - .../gettable/SyncGetTableString.java | 42 - .../gettable/SyncGetTableTablename.java | 42 - .../getworkspace/AsyncGetWorkspace.java | 49 - .../getworkspace/SyncGetWorkspace.java | 46 - .../getworkspace/SyncGetWorkspaceString.java | 42 - .../SyncGetWorkspaceWorkspacename.java | 42 - .../tablesservice/listrows/AsyncListRows.java | 55 - .../listrows/AsyncListRowsPaged.java | 63 - .../tablesservice/listrows/SyncListRows.java | 52 - .../listrows/SyncListRowsString.java | 43 - .../listtables/AsyncListTables.java | 51 - .../listtables/AsyncListTablesPaged.java | 59 - .../listtables/SyncListTables.java | 48 - .../listworkspaces/AsyncListWorkspaces.java | 52 - .../AsyncListWorkspacesPaged.java | 60 - .../listworkspaces/SyncListWorkspaces.java | 48 - .../updaterow/AsyncUpdateRow.java | 52 - .../updaterow/SyncUpdateRow.java | 49 - .../updaterow/SyncUpdateRowRowFieldmask.java | 43 - .../gettable/SyncGetTable.java | 55 - java-cloud-bom/README.md | 1 - .../javaModulesMetadata.yaml | 1 - librarian.yaml | 11 - pom.xml | 1 - versions.txt | 3 - 130 files changed, 42927 deletions(-) delete mode 100644 java-area120-tables/.repo-metadata.json delete mode 100644 java-area120-tables/CHANGELOG.md delete mode 100644 java-area120-tables/README.md delete mode 100644 java-area120-tables/google-area120-tables-bom/pom.xml delete mode 100644 java-area120-tables/google-area120-tables/pom.xml delete mode 100644 java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/TablesServiceClient.java delete mode 100644 java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/TablesServiceSettings.java delete mode 100644 java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/gapic_metadata.json delete mode 100644 java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/package-info.java delete mode 100644 java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/stub/GrpcTablesServiceCallableFactory.java delete mode 100644 java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/stub/GrpcTablesServiceStub.java delete mode 100644 java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/stub/HttpJsonTablesServiceCallableFactory.java delete mode 100644 java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/stub/HttpJsonTablesServiceStub.java delete mode 100644 java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/stub/TablesServiceStub.java delete mode 100644 java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/stub/TablesServiceStubSettings.java delete mode 100644 java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/stub/Version.java delete mode 100644 java-area120-tables/google-area120-tables/src/main/resources/META-INF/native-image/com.google.area120.tables.v1alpha/reflect-config.json delete mode 100644 java-area120-tables/google-area120-tables/src/test/java/com/google/area120/tables/v1alpha/MockTablesService.java delete mode 100644 java-area120-tables/google-area120-tables/src/test/java/com/google/area120/tables/v1alpha/MockTablesServiceImpl.java delete mode 100644 java-area120-tables/google-area120-tables/src/test/java/com/google/area120/tables/v1alpha/TablesServiceClientHttpJsonTest.java delete mode 100644 java-area120-tables/google-area120-tables/src/test/java/com/google/area120/tables/v1alpha/TablesServiceClientTest.java delete mode 100644 java-area120-tables/grpc-google-area120-tables-v1alpha1/pom.xml delete mode 100644 java-area120-tables/grpc-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/TablesServiceGrpc.java delete mode 100644 java-area120-tables/pom.xml delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/clirr-ignored-differences.xml delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/pom.xml delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/BatchCreateRowsRequest.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/BatchCreateRowsRequestOrBuilder.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/BatchCreateRowsResponse.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/BatchCreateRowsResponseOrBuilder.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/BatchDeleteRowsRequest.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/BatchDeleteRowsRequestOrBuilder.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/BatchUpdateRowsRequest.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/BatchUpdateRowsRequestOrBuilder.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/BatchUpdateRowsResponse.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/BatchUpdateRowsResponseOrBuilder.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ColumnDescription.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ColumnDescriptionOrBuilder.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/CreateRowRequest.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/CreateRowRequestOrBuilder.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/DeleteRowRequest.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/DeleteRowRequestOrBuilder.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/GetRowRequest.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/GetRowRequestOrBuilder.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/GetTableRequest.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/GetTableRequestOrBuilder.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/GetWorkspaceRequest.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/GetWorkspaceRequestOrBuilder.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/LabeledItem.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/LabeledItemOrBuilder.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListRowsRequest.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListRowsRequestOrBuilder.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListRowsResponse.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListRowsResponseOrBuilder.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListTablesRequest.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListTablesRequestOrBuilder.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListTablesResponse.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListTablesResponseOrBuilder.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListWorkspacesRequest.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListWorkspacesRequestOrBuilder.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListWorkspacesResponse.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListWorkspacesResponseOrBuilder.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/LookupDetails.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/LookupDetailsOrBuilder.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/RelationshipDetails.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/RelationshipDetailsOrBuilder.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/Row.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/RowName.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/RowOrBuilder.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/Table.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/TableName.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/TableOrBuilder.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/TablesProto.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/UpdateRowRequest.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/UpdateRowRequestOrBuilder.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/View.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/Workspace.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/WorkspaceName.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/WorkspaceOrBuilder.java delete mode 100644 java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/proto/google/area120/tables/v1alpha1/tables.proto delete mode 100644 java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/stub/tablesservicestubsettings/gettable/SyncGetTable.java delete mode 100644 java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/batchcreaterows/AsyncBatchCreateRows.java delete mode 100644 java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/batchcreaterows/SyncBatchCreateRows.java delete mode 100644 java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/batchdeleterows/AsyncBatchDeleteRows.java delete mode 100644 java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/batchdeleterows/SyncBatchDeleteRows.java delete mode 100644 java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/batchupdaterows/AsyncBatchUpdateRows.java delete mode 100644 java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/batchupdaterows/SyncBatchUpdateRows.java delete mode 100644 java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/create/SyncCreateSetCredentialsProvider.java delete mode 100644 java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/create/SyncCreateSetEndpoint.java delete mode 100644 java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/create/SyncCreateUseHttpJsonTransport.java delete mode 100644 java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/createrow/AsyncCreateRow.java delete mode 100644 java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/createrow/SyncCreateRow.java delete mode 100644 java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/createrow/SyncCreateRowStringRow.java delete mode 100644 java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/deleterow/AsyncDeleteRow.java delete mode 100644 java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/deleterow/SyncDeleteRow.java delete mode 100644 java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/deleterow/SyncDeleteRowRowname.java delete mode 100644 java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/deleterow/SyncDeleteRowString.java delete mode 100644 java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/getrow/AsyncGetRow.java delete mode 100644 java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/getrow/SyncGetRow.java delete mode 100644 java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/getrow/SyncGetRowRowname.java delete mode 100644 java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/getrow/SyncGetRowString.java delete mode 100644 java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/gettable/AsyncGetTable.java delete mode 100644 java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/gettable/SyncGetTable.java delete mode 100644 java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/gettable/SyncGetTableString.java delete mode 100644 java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/gettable/SyncGetTableTablename.java delete mode 100644 java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/getworkspace/AsyncGetWorkspace.java delete mode 100644 java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/getworkspace/SyncGetWorkspace.java delete mode 100644 java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/getworkspace/SyncGetWorkspaceString.java delete mode 100644 java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/getworkspace/SyncGetWorkspaceWorkspacename.java delete mode 100644 java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/listrows/AsyncListRows.java delete mode 100644 java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/listrows/AsyncListRowsPaged.java delete mode 100644 java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/listrows/SyncListRows.java delete mode 100644 java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/listrows/SyncListRowsString.java delete mode 100644 java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/listtables/AsyncListTables.java delete mode 100644 java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/listtables/AsyncListTablesPaged.java delete mode 100644 java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/listtables/SyncListTables.java delete mode 100644 java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/listworkspaces/AsyncListWorkspaces.java delete mode 100644 java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/listworkspaces/AsyncListWorkspacesPaged.java delete mode 100644 java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/listworkspaces/SyncListWorkspaces.java delete mode 100644 java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/updaterow/AsyncUpdateRow.java delete mode 100644 java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/updaterow/SyncUpdateRow.java delete mode 100644 java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/updaterow/SyncUpdateRowRowFieldmask.java delete mode 100644 java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservicesettings/gettable/SyncGetTable.java diff --git a/README.md b/README.md index 6b9782f5bfe9..404d5173f193 100644 --- a/README.md +++ b/README.md @@ -167,7 +167,6 @@ Libraries are available on GitHub and Maven Central for developing Java applicat | [App Hub API](https://github.com/googleapis/google-cloud-java/tree/main/java-apphub) | [![preview][preview-stability]][preview-description] | [![Maven](https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-apphub.svg)](https://search.maven.org/search?q=g:com.google.cloud%20AND%20a:google-cloud-apphub&core=gav) | | [App Lifecycle Manager](https://github.com/googleapis/google-cloud-java/tree/main/java-saasservicemgmt) | [![preview][preview-stability]][preview-description] | [![Maven](https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-saasservicemgmt.svg)](https://search.maven.org/search?q=g:com.google.cloud%20AND%20a:google-cloud-saasservicemgmt&core=gav) | | [App Optimize API](https://github.com/googleapis/google-cloud-java/tree/main/java-appoptimize) | [![preview][preview-stability]][preview-description] | [![Maven](https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-appoptimize.svg)](https://search.maven.org/search?q=g:com.google.cloud%20AND%20a:google-cloud-appoptimize&core=gav) | -| [Area 120 Tables](https://github.com/googleapis/google-cloud-java/tree/main/java-area120-tables) | [![preview][preview-stability]][preview-description] | [![Maven](https://img.shields.io/maven-central/v/com.google.area120/google-area120-tables.svg)](https://search.maven.org/search?q=g:com.google.area120%20AND%20a:google-area120-tables&core=gav) | | [Audit Manager API](https://github.com/googleapis/google-cloud-java/tree/main/java-auditmanager) | [![preview][preview-stability]][preview-description] | [![Maven](https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-auditmanager.svg)](https://search.maven.org/search?q=g:com.google.cloud%20AND%20a:google-cloud-auditmanager&core=gav) | | [Backup for GKE](https://github.com/googleapis/google-cloud-java/tree/main/java-gke-backup) | [![preview][preview-stability]][preview-description] | [![Maven](https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-gke-backup.svg)](https://search.maven.org/search?q=g:com.google.cloud%20AND%20a:google-cloud-gke-backup&core=gav) | | [Bare Metal Solution](https://github.com/googleapis/google-cloud-java/tree/main/java-bare-metal-solution) | [![preview][preview-stability]][preview-description] | [![Maven](https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bare-metal-solution.svg)](https://search.maven.org/search?q=g:com.google.cloud%20AND%20a:google-cloud-bare-metal-solution&core=gav) | diff --git a/gapic-libraries-bom/pom.xml b/gapic-libraries-bom/pom.xml index 9b00f37d672e..35c69218842b 100644 --- a/gapic-libraries-bom/pom.xml +++ b/gapic-libraries-bom/pom.xml @@ -36,13 +36,6 @@ pom import - - com.google.area120 - google-area120-tables-bom - 0.104.0 - pom - import - com.google.cloud google-cloud-accessapproval-bom diff --git a/java-area120-tables/.repo-metadata.json b/java-area120-tables/.repo-metadata.json deleted file mode 100644 index 8e5c04eb33aa..000000000000 --- a/java-area120-tables/.repo-metadata.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "api_shortname": "area120tables", - "name_pretty": "Area 120 Tables", - "product_documentation": "https://area120.google.com/", - "api_description": "provides programmatic methods to the Area 120 Tables API.", - "client_documentation": "https://cloud.google.com/java/docs/reference/google-area120-tables/latest/overview", - "release_level": "preview", - "transport": "grpc+rest", - "language": "java", - "repo": "googleapis/google-cloud-java", - "repo_short": "java-area120-tables", - "distribution_name": "com.google.area120:google-area120-tables", - "api_id": "area120tables.googleapis.com", - "library_type": "GAPIC_AUTO" -} \ No newline at end of file diff --git a/java-area120-tables/CHANGELOG.md b/java-area120-tables/CHANGELOG.md deleted file mode 100644 index 9f5f6c880066..000000000000 --- a/java-area120-tables/CHANGELOG.md +++ /dev/null @@ -1,765 +0,0 @@ -# Changelog - -## 0.92.0 (None) - -* No change - - -## 0.91.0 (2026-03-11) - -* No change - - -## 0.90.0 (2026-02-25) - -### Dependencies - -* update dependency com.google.cloud:sdk-platform-java-config to v3.57.0 ([#11956](https://github.com/googleapis/google-cloud-java/issues/11956)) ([62b97e1](https://github.com/googleapis/google-cloud-java/commit/62b97e108eee0f8649c53cef400774f4fca4ffab)) - - -## 0.87.0 (2026-01-29) - -### Dependencies - -* update dependency com.google.cloud:sdk-platform-java-config to v3.56.0 ([#11879](https://github.com/googleapis/google-cloud-java/issues/11879)) ([ac1f018](https://github.com/googleapis/google-cloud-java/commit/ac1f0182ac5b405ca164ac867c8c042322736bef)) - - -## 0.86.0 (2026-01-15) - -### Dependencies - -* update dependency com.google.cloud:sdk-platform-java-config to v3.55.1 ([#11863](https://github.com/googleapis/google-cloud-java/issues/11863)) ([50cda6e](https://github.com/googleapis/google-cloud-java/commit/50cda6ec7be56bf1900737a6aaf12fc494be20c2)) - - -## 0.85.0 (2025-12-16) - -### Dependencies - -* update dependency com.google.cloud:sdk-platform-java-config to v3.54.2 ([#11819](https://github.com/googleapis/google-cloud-java/issues/11819)) ([f32924a](https://github.com/googleapis/google-cloud-java/commit/f32924af0899a0b34646e88ffa8c527163b3bb24)) - - -## 0.82.0 (2025-10-21) - -### Dependencies - -* update dependency com.google.cloud:sdk-platform-java-config to v3.53.0 ([#11776](https://github.com/googleapis/google-cloud-java/issues/11776)) ([e4a2892](https://github.com/googleapis/google-cloud-java/commit/e4a2892c8f7d51e3c3bec551f922b42f70a880d8)) - - -## 0.81.0 (2025-10-13) - -* No change - - -## 0.80.0 (2025-10-07) - -### Dependencies - -* update dependency com.google.cloud:sdk-platform-java-config to v3.52.3 ([#11755](https://github.com/googleapis/google-cloud-java/issues/11755)) ([b117bc3](https://github.com/googleapis/google-cloud-java/commit/b117bc3d8d04ccc3c1f5586b73e1718ff46b23e6)) - - -## 0.79.0 (2025-09-22) - -### Dependencies - -* update dependency com.google.cloud:sdk-platform-java-config to v3.52.2 ([#11747](https://github.com/googleapis/google-cloud-java/issues/11747)) ([deb0ed9](https://github.com/googleapis/google-cloud-java/commit/deb0ed92d7c3279e0e26ba8b22463cb77131fa10)) - - -## 0.78.0 (2025-09-11) - -### Dependencies - -* update dependency com.google.cloud:sdk-platform-java-config to v3.52.1 ([#11738](https://github.com/googleapis/google-cloud-java/issues/11738)) ([b17cf6d](https://github.com/googleapis/google-cloud-java/commit/b17cf6de63b9cabcd44b6fc21b57c187b321ae8f)) - - -## 0.77.0 (2025-08-25) - -### Dependencies - -* update dependency com.google.cloud:sdk-platform-java-config to v3.52.0 ([#11727](https://github.com/googleapis/google-cloud-java/issues/11727)) ([31d8698](https://github.com/googleapis/google-cloud-java/commit/31d86980d0e27e0a948727d778cf46fbcf227239)) - - -## 0.76.0 (2025-08-13) - -* No change - - -## 0.75.0 (2025-08-08) - -### Dependencies - -* update dependency com.google.cloud:sdk-platform-java-config to v3.51.0 ([#11695](https://github.com/googleapis/google-cloud-java/issues/11695)) ([b82ce00](https://github.com/googleapis/google-cloud-java/commit/b82ce005c30551b8714099b7219b71bda85aa3a5)) - - -## 0.74.0 (2025-07-30) - -* No change - - -## 0.73.0 (2025-07-28) - -### Dependencies - -* update dependency com.google.cloud:sdk-platform-java-config to v3.50.2 ([#11680](https://github.com/googleapis/google-cloud-java/issues/11680)) ([d1b99a7](https://github.com/googleapis/google-cloud-java/commit/d1b99a706daa10c487b56edbb5170b41530628ca)) - - -## 0.72.0 (2025-07-11) - -### Dependencies - -* update dependency com.google.cloud:sdk-platform-java-config to v3.50.1 ([#11655](https://github.com/googleapis/google-cloud-java/issues/11655)) ([9b34528](https://github.com/googleapis/google-cloud-java/commit/9b34528f85043049e3349fffc30bb2dbfe01836c)) - - -## 0.71.0 (2025-06-25) - -### Dependencies - -* update dependency com.google.cloud:sdk-platform-java-config to v3.50.0 ([#11624](https://github.com/googleapis/google-cloud-java/issues/11624)) ([a19f457](https://github.com/googleapis/google-cloud-java/commit/a19f457d10f15437ac26ce379048ff8b3cc6be5d)) - - -## 0.69.0 (2025-06-16) - -* No change - - -## 0.68.0 (2025-06-04) - -### Dependencies - -* update dependency com.google.cloud:sdk-platform-java-config to v3.49.0 ([#11603](https://github.com/googleapis/google-cloud-java/issues/11603)) ([3ea506d](https://github.com/googleapis/google-cloud-java/commit/3ea506d86a54fae209e9971af7b4a8aa1f5997b9)) - - -## 0.66.0 (2025-05-06) - -### Dependencies - -* update dependency com.google.cloud:sdk-platform-java-config to v3.46.3 ([#11531](https://github.com/googleapis/google-cloud-java/issues/11531)) ([5f9a9e7](https://github.com/googleapis/google-cloud-java/commit/5f9a9e73df5e44ae38a8d18780873b7896d31c04)) -* update dependency com.google.cloud:sdk-platform-java-config to v3.47.0 ([#11561](https://github.com/googleapis/google-cloud-java/issues/11561)) ([9e84230](https://github.com/googleapis/google-cloud-java/commit/9e842300aa2e3e654785cc929aef0d6bb9a1a0a9)) - - -## 0.63.0 (2025-02-26) - -### Dependencies - -* update dependency com.google.cloud:sdk-platform-java-config to v3.44.0 ([#11456](https://github.com/googleapis/google-cloud-java/issues/11456)) ([6b0ad6f](https://github.com/googleapis/google-cloud-java/commit/6b0ad6f8243cc60de7ee608237fa61445f0b0526)) - - -## 0.62.0 (2025-02-11) - -### Dependencies - -* update dependency com.google.cloud:sdk-platform-java-config to v3.43.0 ([#11426](https://github.com/googleapis/google-cloud-java/issues/11426)) ([afdc294](https://github.com/googleapis/google-cloud-java/commit/afdc2944304a077ce4cbdd8c7675f1ca707b2be0)) - - -## 0.61.0 (2025-01-29) - -### Dependencies - -* update dependency com.google.cloud:sdk-platform-java-config to v3.42.0 ([#11410](https://github.com/googleapis/google-cloud-java/issues/11410)) ([34dfd0d](https://github.com/googleapis/google-cloud-java/commit/34dfd0dc9c5ca042aca0778e8d34b2ca072bfeb1)) - - -## 0.60.0 (2025-01-09) - -### Dependencies - -* update dependency com.google.cloud:sdk-platform-java-config to v3.41.1 ([#11382](https://github.com/googleapis/google-cloud-java/issues/11382)) ([a4fd23c](https://github.com/googleapis/google-cloud-java/commit/a4fd23ce1dfa364959de1e97e3b769996f3c7d0d)) - - -## 0.59.0 (2024-12-13) - -### Dependencies - -* update dependency com.google.cloud:sdk-platform-java-config to v3.41.0 ([#11349](https://github.com/googleapis/google-cloud-java/issues/11349)) ([9bb6334](https://github.com/googleapis/google-cloud-java/commit/9bb6334458fdec53ba9fdec501de534d6516f102)) - - -## 0.58.0 (2024-11-18) - -* No change - - -## 0.57.0 (2024-10-28) - -* No change - - -## 0.56.0 (2024-10-09) - -* No change - - -## 0.54.0 (2024-09-26) - -* No change - - -## 0.53.0 (2024-09-11) - -* No change - - -## 0.52.0 (2024-08-21) - -* No change - - -## 0.51.0 (2024-07-31) - -* No change - - -## 0.50.0 (2024-06-27) - -* No change - - -## 0.49.0 (None) - -* No change - - -## 0.48.0 (2024-05-23) - -* No change - - -## 0.47.0 (2024-05-08) - -* No change - - -## 0.46.0 (2024-04-25) - -* No change - - -## 0.45.0 (2024-04-04) - -* No change - - -## 0.43.0 (2024-03-28) - -* No change - - -## 0.42.0 (2024-03-22) - -* No change - - -## 0.41.0 (2024-03-06) - -* No change - - -## 0.40.0 (2024-02-20) - -* No change - - -## 0.39.0 (2024-02-09) - -* No change - - -## 0.38.0 (2024-01-23) - -* No change - - -## 0.37.0 (2024-01-10) - -* No change - - -## 0.36.0 (2023-12-12) - -* No change - - -## 0.35.0 (2023-12-04) - -### Dependencies - -* **deps:** update dependency com.google.cloud:google-cloud-shared-dependencies to v3.20.0 ([#10093](https://github.com/googleapis/google-cloud-java/issues/10093)) ([91a4e4e](https://github.com/googleapis/google-cloud-java/commit/91a4e4e20252f667b8fc6bda0d9ceaf947348274)) - - -## 0.34.0 (2023-11-06) - -### Dependencies - -* **deps:** update dependency com.google.cloud:google-cloud-shared-config to v1.6.1 ([#10014](https://github.com/googleapis/google-cloud-java/issues/10014)) ([7b1b742](https://github.com/googleapis/google-cloud-java/commit/7b1b742dab21139398032549fb03e127b1a03841)) -* **deps:** update dependency com.google.cloud:google-cloud-shared-dependencies to v3.19.0 ([#10018](https://github.com/googleapis/google-cloud-java/issues/10018)) ([d9b705a](https://github.com/googleapis/google-cloud-java/commit/d9b705aaed8ea4447c7a02d5c54300f8909a30b1)) - - -## 0.33.0 (2023-10-25) - -### Dependencies - -* **deps:** update dependency com.google.cloud:google-cloud-shared-config to v1.6.0 ([#9969](https://github.com/googleapis/google-cloud-java/issues/9969)) ([9e2be39](https://github.com/googleapis/google-cloud-java/commit/9e2be39c5b2d7764421325f65a6d0d06351fcda5)) -* **deps:** update dependency com.google.cloud:google-cloud-shared-dependencies to v3.18.0 ([#9984](https://github.com/googleapis/google-cloud-java/issues/9984)) ([9814dc0](https://github.com/googleapis/google-cloud-java/commit/9814dc092ad7edb7b1b21f87fa48d76a2423d731)) - - -## 0.32.0 (2023-10-11) - -### Dependencies - -* **deps:** update dependency com.google.cloud:google-cloud-shared-config to v1.5.8 ([#9941](https://github.com/googleapis/google-cloud-java/issues/9941)) ([f818d26](https://github.com/googleapis/google-cloud-java/commit/f818d26968e1f19d302da1f1ea0145b2cc496ce0)) -* **deps:** update dependency com.google.cloud:google-cloud-shared-dependencies to v3.17.0 ([#9942](https://github.com/googleapis/google-cloud-java/issues/9942)) ([2cc7888](https://github.com/googleapis/google-cloud-java/commit/2cc78885d76ae5e7dfc4cc9f3034c25fa22c6cc1)) - - -## 0.31.0 (2023-09-28) - -* No change - - -## 0.29.0 (2023-09-27) - -### Dependencies - -* **deps:** update dependency com.google.cloud:google-cloud-shared-dependencies to v3.16.0 ([#9866](https://github.com/googleapis/google-cloud-java/issues/9866)) ([aa36b2c](https://github.com/googleapis/google-cloud-java/commit/aa36b2c3c31b817052239fd771a21d20108b2c31)) -* **deps:** update dependency com.google.cloud:google-cloud-shared-dependencies to v3.16.1 ([#9881](https://github.com/googleapis/google-cloud-java/issues/9881)) ([8a29511](https://github.com/googleapis/google-cloud-java/commit/8a2951166eb0305be040cc0ae38be105c437ba25)) - - -## 0.28.0 (2023-09-11) - -### Dependencies - -* **deps:** update dependency com.google.cloud:google-cloud-shared-dependencies to v3.15.0 ([#9809](https://github.com/googleapis/google-cloud-java/issues/9809)) ([09dbd85](https://github.com/googleapis/google-cloud-java/commit/09dbd855f683b40a462c4f918511bee4671e0174)) - - -## 0.27.0 (2023-08-08) - -### Dependencies - -* **deps:** update dependency com.google.cloud:google-cloud-shared-dependencies to v3.14.0 ([#9722](https://github.com/googleapis/google-cloud-java/issues/9722)) ([c7011db](https://github.com/googleapis/google-cloud-java/commit/c7011dbd69189330de1c2946b736cd712d5c1f4e)) - - -## 0.26.0 (2023-07-21) - -### Dependencies - -* **deps:** update dependency com.google.cloud:google-cloud-shared-config to v1.5.7 ([#9651](https://github.com/googleapis/google-cloud-java/issues/9651)) ([c88d623](https://github.com/googleapis/google-cloud-java/commit/c88d623d12a4342b74e31d6a6a05cde0debe871f)) -* **deps:** update dependency com.google.cloud:google-cloud-shared-dependencies to v3.13.1 ([#9655](https://github.com/googleapis/google-cloud-java/issues/9655)) ([affebee](https://github.com/googleapis/google-cloud-java/commit/affebeeb37b1cf88ad5964684e1f112cababcab7)) - - -## 0.25.0 (2023-07-11) - -### Dependencies - -* **deps:** update dependency com.google.cloud:google-cloud-shared-dependencies to v3.13.0 ([#9622](https://github.com/googleapis/google-cloud-java/issues/9622)) ([3ac3050](https://github.com/googleapis/google-cloud-java/commit/3ac3050250a706e8f9f2d1e435a4983c3cceab82)) - - -## 0.24.0 (2023-06-23) - -### Dependencies - -* **deps:** update dependency com.google.cloud:google-cloud-shared-dependencies to v3.12.0 ([#9577](https://github.com/googleapis/google-cloud-java/issues/9577)) ([9e9812a](https://github.com/googleapis/google-cloud-java/commit/9e9812a0ba19e5aa82a34f2a3049bb72892544a6)) - - -## [0.9.0](https://github.com/googleapis/google-cloud-java/compare/google-area120-tables-v0.8.1-SNAPSHOT...google-area120-tables-v0.9.0) (2022-10-24) - - -### Features - -* [analyticsdata] add `subject_to_thresholding` field to `ResponseMetadata` type ([#8545](https://github.com/googleapis/google-cloud-java/issues/8545)) ([8fdc6c1](https://github.com/googleapis/google-cloud-java/commit/8fdc6c1f10f88f30f4d1407579d645f75366b4cf)) -* add `tokens_per_project_per_hour` field to `PropertyQuota` type ([8fdc6c1](https://github.com/googleapis/google-cloud-java/commit/8fdc6c1f10f88f30f4d1407579d645f75366b4cf)) - - -### Bug Fixes - -* **deps:** update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.2 ([#8325](https://github.com/googleapis/google-cloud-java/issues/8325)) ([01f492b](https://github.com/googleapis/google-cloud-java/commit/01f492be424acdb90edb23ba66656aeff7cf39eb)) -* **deps:** update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.4 ([#8528](https://github.com/googleapis/google-cloud-java/issues/8528)) ([bd36199](https://github.com/googleapis/google-cloud-java/commit/bd361998ac4eb7c78eef3b3eac39aef31a0cf44e)) -* owl-bot-staging should not be commited ([#8337](https://github.com/googleapis/google-cloud-java/issues/8337)) ([c9bb4a9](https://github.com/googleapis/google-cloud-java/commit/c9bb4a97aa19032b78c86c951fe9920f24ac4eec)) -* revert reverting [Many APIs] Update WORKSPACE files for rules_gapic, gax_java, generator_java versions ([#8340](https://github.com/googleapis/google-cloud-java/issues/8340)) ([dedef71](https://github.com/googleapis/google-cloud-java/commit/dedef71f600e85b1c38e7110f5ffd44bf2ba32b4)) - - -### Dependencies - -* reverting renovate bot pull requests ([#8417](https://github.com/googleapis/google-cloud-java/issues/8417)) ([8f0c60b](https://github.com/googleapis/google-cloud-java/commit/8f0c60bde446acccc665eb7894723632eefc3503)) - -## [0.8.0](https://github.com/googleapis/google-cloud-java/compare/google-area120-tables-v0.7.8...google-area120-tables-v0.8.0) (2022-10-17) - - -### Features - -* [analyticsdata] add `subject_to_thresholding` field to `ResponseMetadata` type ([#8545](https://github.com/googleapis/google-cloud-java/issues/8545)) ([8fdc6c1](https://github.com/googleapis/google-cloud-java/commit/8fdc6c1f10f88f30f4d1407579d645f75366b4cf)) -* add `tokens_per_project_per_hour` field to `PropertyQuota` type ([8fdc6c1](https://github.com/googleapis/google-cloud-java/commit/8fdc6c1f10f88f30f4d1407579d645f75366b4cf)) - - -### Bug Fixes - -* **deps:** update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.2 ([#8325](https://github.com/googleapis/google-cloud-java/issues/8325)) ([01f492b](https://github.com/googleapis/google-cloud-java/commit/01f492be424acdb90edb23ba66656aeff7cf39eb)) -* **deps:** update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.4 ([#8528](https://github.com/googleapis/google-cloud-java/issues/8528)) ([bd36199](https://github.com/googleapis/google-cloud-java/commit/bd361998ac4eb7c78eef3b3eac39aef31a0cf44e)) -* owl-bot-staging should not be commited ([#8337](https://github.com/googleapis/google-cloud-java/issues/8337)) ([c9bb4a9](https://github.com/googleapis/google-cloud-java/commit/c9bb4a97aa19032b78c86c951fe9920f24ac4eec)) -* revert reverting [Many APIs] Update WORKSPACE files for rules_gapic, gax_java, generator_java versions ([#8340](https://github.com/googleapis/google-cloud-java/issues/8340)) ([dedef71](https://github.com/googleapis/google-cloud-java/commit/dedef71f600e85b1c38e7110f5ffd44bf2ba32b4)) - - -### Dependencies - -* reverting renovate bot pull requests ([#8417](https://github.com/googleapis/google-cloud-java/issues/8417)) ([8f0c60b](https://github.com/googleapis/google-cloud-java/commit/8f0c60bde446acccc665eb7894723632eefc3503)) - -## [0.7.8](https://github.com/googleapis/java-area120-tables/compare/v0.7.7...v0.7.8) (2022-10-04) - - -### Bug Fixes - -* update protobuf to v3.21.7 ([2b65bb0](https://github.com/googleapis/java-area120-tables/commit/2b65bb04d95c3777143054949e4c526424112bf3)) - -## [0.7.7](https://github.com/googleapis/java-area120-tables/compare/v0.7.6...v0.7.7) (2022-10-03) - - -### Dependencies - -* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.4 ([#433](https://github.com/googleapis/java-area120-tables/issues/433)) ([d475ec0](https://github.com/googleapis/java-area120-tables/commit/d475ec09ffa8b63e7d71e116f8f1f512d3c0bccd)) - -## [0.7.6](https://github.com/googleapis/java-area120-tables/compare/v0.7.5...v0.7.6) (2022-09-30) - - -### Dependencies - -* Update dependency google-resumable-media to v2.4.0 ([#426](https://github.com/googleapis/java-area120-tables/issues/426)) ([4ecd88e](https://github.com/googleapis/java-area120-tables/commit/4ecd88e4e580f1a02d47f5091df26d1bd631553a)) -* Update dependency protobuf to v3.20.3 ([#427](https://github.com/googleapis/java-area120-tables/issues/427)) ([4687094](https://github.com/googleapis/java-area120-tables/commit/46870947a7da9c2d2c2eeb9745c49e24fef36495)) - -## [0.7.5](https://github.com/googleapis/java-area120-tables/compare/v0.7.4...v0.7.5) (2022-09-28) - - -### Dependencies - -* Update dependency cachetools to v5 ([#417](https://github.com/googleapis/java-area120-tables/issues/417)) ([f5e167b](https://github.com/googleapis/java-area120-tables/commit/f5e167bbc6f1e0d63cbfd10ce303e1f1e6383c2f)) -* Update dependency certifi to v2022.9.24 ([#401](https://github.com/googleapis/java-area120-tables/issues/401)) ([eaf2def](https://github.com/googleapis/java-area120-tables/commit/eaf2defb1ae91e36987f321c9efc33c3f37f411d)) -* Update dependency charset-normalizer to v2.1.1 ([#405](https://github.com/googleapis/java-area120-tables/issues/405)) ([17f9901](https://github.com/googleapis/java-area120-tables/commit/17f99018186caa74b3e55cd0ec32e343536056f3)) -* Update dependency click to v8.1.3 ([#406](https://github.com/googleapis/java-area120-tables/issues/406)) ([91a21d0](https://github.com/googleapis/java-area120-tables/commit/91a21d01708994af04ee20aa574bd01f0bb83767)) -* Update dependency gcp-releasetool to v1.8.8 ([#402](https://github.com/googleapis/java-area120-tables/issues/402)) ([5e99449](https://github.com/googleapis/java-area120-tables/commit/5e994492f14378833c5a84839b17db653be13c6f)) -* Update dependency google-api-core to v2.10.1 ([#407](https://github.com/googleapis/java-area120-tables/issues/407)) ([3f883bd](https://github.com/googleapis/java-area120-tables/commit/3f883bd0b9c2fdc3c63234829ce132c2796a5596)) -* Update dependency google-auth to v2.12.0 ([#408](https://github.com/googleapis/java-area120-tables/issues/408)) ([6016625](https://github.com/googleapis/java-area120-tables/commit/6016625c0f389f768e4b03ca5b43f896167e1dc7)) -* Update dependency google-cloud-core to v2.3.2 ([#403](https://github.com/googleapis/java-area120-tables/issues/403)) ([5b33196](https://github.com/googleapis/java-area120-tables/commit/5b331966132ec58a31c32954bcdf059ab737b81b)) -* Update dependency google-cloud-storage to v2.5.0 ([#409](https://github.com/googleapis/java-area120-tables/issues/409)) ([52410ba](https://github.com/googleapis/java-area120-tables/commit/52410baf3e637794a1362b5d3e0cdea0dba4cd30)) -* Update dependency google-crc32c to v1.5.0 ([#410](https://github.com/googleapis/java-area120-tables/issues/410)) ([b34c88a](https://github.com/googleapis/java-area120-tables/commit/b34c88ab282f57fbcd0405d4cb157190b8c179e2)) -* Update dependency googleapis-common-protos to v1.56.4 ([#404](https://github.com/googleapis/java-area120-tables/issues/404)) ([58002aa](https://github.com/googleapis/java-area120-tables/commit/58002aac4a9582f010e046d39c0e7091cad3c036)) -* Update dependency importlib-metadata to v4.12.0 ([#419](https://github.com/googleapis/java-area120-tables/issues/419)) ([e8dd837](https://github.com/googleapis/java-area120-tables/commit/e8dd8372e92fe35d30167432a7512f1bf40e118a)) -* Update dependency jeepney to v0.8.0 ([#420](https://github.com/googleapis/java-area120-tables/issues/420)) ([022dfe6](https://github.com/googleapis/java-area120-tables/commit/022dfe696b105059ba44b97b118c7279e915e7e1)) -* Update dependency jinja2 to v3.1.2 ([#421](https://github.com/googleapis/java-area120-tables/issues/421)) ([7418c51](https://github.com/googleapis/java-area120-tables/commit/7418c518673607b68669339de38a6b7bf260a8bf)) -* Update dependency keyring to v23.9.3 ([#422](https://github.com/googleapis/java-area120-tables/issues/422)) ([8be7708](https://github.com/googleapis/java-area120-tables/commit/8be77080ba2bbe4ac66004bf2b920604b30902a0)) -* Update dependency markupsafe to v2.1.1 ([#411](https://github.com/googleapis/java-area120-tables/issues/411)) ([b740eb1](https://github.com/googleapis/java-area120-tables/commit/b740eb1be92d57e638899b9ef3f7d2a1d6ee8e76)) -* Update dependency protobuf to v3.20.2 ([#412](https://github.com/googleapis/java-area120-tables/issues/412)) ([42c3ba3](https://github.com/googleapis/java-area120-tables/commit/42c3ba39c89c42111b668816f42a5fddaa5ace68)) -* Update dependency protobuf to v4 ([#418](https://github.com/googleapis/java-area120-tables/issues/418)) ([111342b](https://github.com/googleapis/java-area120-tables/commit/111342b4ea2a005d75cf3a6f365a0e824508dd63)) -* Update dependency pyjwt to v2.5.0 ([#413](https://github.com/googleapis/java-area120-tables/issues/413)) ([798a546](https://github.com/googleapis/java-area120-tables/commit/798a54609e66e0b9d12ae0c6b9718dbdaa7f8c7f)) -* Update dependency requests to v2.28.1 ([#414](https://github.com/googleapis/java-area120-tables/issues/414)) ([df901a6](https://github.com/googleapis/java-area120-tables/commit/df901a625a582d69ed51d1534d01b3fdc2edd6b1)) -* Update dependency typing-extensions to v4.3.0 ([#415](https://github.com/googleapis/java-area120-tables/issues/415)) ([caf6eb5](https://github.com/googleapis/java-area120-tables/commit/caf6eb5482d3ecec803c6ebe6b6e8426a4163030)) -* Update dependency zipp to v3.8.1 ([#416](https://github.com/googleapis/java-area120-tables/issues/416)) ([121c33a](https://github.com/googleapis/java-area120-tables/commit/121c33ac678dfc4263283f965095bbdcac4d0be9)) - -## [0.7.4](https://github.com/googleapis/java-area120-tables/compare/v0.7.3...v0.7.4) (2022-09-15) - - -### Dependencies - -* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.3 ([#395](https://github.com/googleapis/java-area120-tables/issues/395)) ([d269c92](https://github.com/googleapis/java-area120-tables/commit/d269c923d66dfe94cd34f3683109f9ca26daad67)) - -## [0.7.3](https://github.com/googleapis/java-area120-tables/compare/v0.7.2...v0.7.3) (2022-09-09) - - -### Dependencies - -* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.2 ([#390](https://github.com/googleapis/java-area120-tables/issues/390)) ([00d791e](https://github.com/googleapis/java-area120-tables/commit/00d791effdab8bd24da29ed4973880863bb36281)) - -## [0.7.2](https://github.com/googleapis/java-area120-tables/compare/v0.7.1...v0.7.2) (2022-08-09) - - -### Dependencies - -* update dependency com.google.cloud:google-cloud-shared-dependencies to v3 ([#381](https://github.com/googleapis/java-area120-tables/issues/381)) ([ec59d2a](https://github.com/googleapis/java-area120-tables/commit/ec59d2a4d2180a415b586f77b8820eb5b4ac44cb)) - -## [0.7.1](https://github.com/googleapis/java-area120-tables/compare/v0.7.0...v0.7.1) (2022-07-13) - - -### Bug Fixes - -* enable longpaths support for windows test ([#1485](https://github.com/googleapis/java-area120-tables/issues/1485)) ([#375](https://github.com/googleapis/java-area120-tables/issues/375)) ([9836728](https://github.com/googleapis/java-area120-tables/commit/9836728f0389bd22157138f6394c41bc0ef798c0)) - -## [0.7.0](https://github.com/googleapis/java-area120-tables/compare/v0.6.1...v0.7.0) (2022-07-01) - - -### Features - -* Enable REST transport for most of Java and Go clients ([#363](https://github.com/googleapis/java-area120-tables/issues/363)) ([501c792](https://github.com/googleapis/java-area120-tables/commit/501c792047f6cae8283fc4ea6c67fca68b438615)) - -## [0.6.1](https://github.com/googleapis/java-area120-tables/compare/v0.6.0...v0.6.1) (2022-06-23) - - -### Dependencies - -* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.13.0 ([#362](https://github.com/googleapis/java-area120-tables/issues/362)) ([b0790e9](https://github.com/googleapis/java-area120-tables/commit/b0790e981a2ab63e7b6aecc9e2c45bf52be8b3fa)) - -## [0.6.0](https://github.com/googleapis/java-area120-tables/compare/v0.5.9...v0.6.0) (2022-05-19) - - -### Features - -* add build scripts for native image testing in Java 17 ([#1440](https://github.com/googleapis/java-area120-tables/issues/1440)) ([#354](https://github.com/googleapis/java-area120-tables/issues/354)) ([13ee8d0](https://github.com/googleapis/java-area120-tables/commit/13ee8d0f0329fa2a302f45ccacaf78c18993058f)) - - -### Dependencies - -* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.11.0 ([#353](https://github.com/googleapis/java-area120-tables/issues/353)) ([0d63897](https://github.com/googleapis/java-area120-tables/commit/0d63897288d280c8dee3711b3f25f0914b902e20)) -* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.12.0 ([#356](https://github.com/googleapis/java-area120-tables/issues/356)) ([4224286](https://github.com/googleapis/java-area120-tables/commit/42242866d44c22b795831fcdb0c42ecc1b993e14)) - -### [0.5.9](https://github.com/googleapis/java-area120-tables/compare/v0.5.8...v0.5.9) (2022-04-15) - - -### Dependencies - -* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.10.0 ([#342](https://github.com/googleapis/java-area120-tables/issues/342)) ([f552838](https://github.com/googleapis/java-area120-tables/commit/f552838bcc40fb948c58dcf284ac6c61af6b6370)) - -### [0.5.8](https://github.com/googleapis/java-area120-tables/compare/v0.5.7...v0.5.8) (2022-03-29) - - -### Dependencies - -* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.9.0 ([#335](https://github.com/googleapis/java-area120-tables/issues/335)) ([470b123](https://github.com/googleapis/java-area120-tables/commit/470b12331c692ef43d27ef7498475d779ce3cfb5)) - -### [0.5.7](https://github.com/googleapis/java-area120-tables/compare/v0.5.6...v0.5.7) (2022-03-02) - - -### Dependencies - -* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.8.0 ([#325](https://github.com/googleapis/java-area120-tables/issues/325)) ([888bc40](https://github.com/googleapis/java-area120-tables/commit/888bc4055a4e7c3e73974a8daa7dc2d5e69beec3)) - -### [0.5.6](https://github.com/googleapis/java-area120-tables/compare/v0.5.5...v0.5.6) (2022-02-28) - - -### Dependencies - -* update actions/setup-java action to v3 ([#319](https://github.com/googleapis/java-area120-tables/issues/319)) ([682f675](https://github.com/googleapis/java-area120-tables/commit/682f675e578ac2eb89d34e66ae929750709b75d8)) - -### [0.5.5](https://github.com/googleapis/java-area120-tables/compare/v0.5.4...v0.5.5) (2022-02-11) - - -### Dependencies - -* update actions/github-script action to v6 ([#312](https://github.com/googleapis/java-area120-tables/issues/312)) ([b0a0cd5](https://github.com/googleapis/java-area120-tables/commit/b0a0cd553ed151ecf1ba8f5781380fa583d2625b)) - -### [0.5.4](https://github.com/googleapis/java-area120-tables/compare/v0.5.3...v0.5.4) (2022-02-03) - - -### Dependencies - -* **java:** update actions/github-script action to v5 ([#1339](https://github.com/googleapis/java-area120-tables/issues/1339)) ([#301](https://github.com/googleapis/java-area120-tables/issues/301)) ([d9f112b](https://github.com/googleapis/java-area120-tables/commit/d9f112bcd4ac57cb5c1270915b227efc9d62d46a)) -* update actions/github-script action to v5 ([#300](https://github.com/googleapis/java-area120-tables/issues/300)) ([d1a145b](https://github.com/googleapis/java-area120-tables/commit/d1a145ba561a1672a1ea19435bcecc6720de2052)) -* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.7.0 ([#303](https://github.com/googleapis/java-area120-tables/issues/303)) ([c51a73b](https://github.com/googleapis/java-area120-tables/commit/c51a73b97614fb64b0a4d81d555db0d061c86c0b)) - -### [0.5.3](https://www.github.com/googleapis/java-area120-tables/compare/v0.5.2...v0.5.3) (2022-01-07) - - -### Bug Fixes - -* **java:** add -ntp flag to native image testing command ([#1299](https://www.github.com/googleapis/java-area120-tables/issues/1299)) ([#283](https://www.github.com/googleapis/java-area120-tables/issues/283)) ([bbf985e](https://www.github.com/googleapis/java-area120-tables/commit/bbf985e5f3953af4390d7266cb12fce754ed2195)) -* **java:** java 17 dependency arguments ([#1266](https://www.github.com/googleapis/java-area120-tables/issues/1266)) ([#268](https://www.github.com/googleapis/java-area120-tables/issues/268)) ([c896c5d](https://www.github.com/googleapis/java-area120-tables/commit/c896c5d7fa30363946b0075fa63a9193e83f5f1f)) -* **java:** run Maven in plain console-friendly mode ([#1301](https://www.github.com/googleapis/java-area120-tables/issues/1301)) ([#286](https://www.github.com/googleapis/java-area120-tables/issues/286)) ([71d5cf8](https://www.github.com/googleapis/java-area120-tables/commit/71d5cf8f0c909ef2ce5167e255ca53d647045261)) - - -### Dependencies - -* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.5.0 ([#277](https://www.github.com/googleapis/java-area120-tables/issues/277)) ([f8878f8](https://www.github.com/googleapis/java-area120-tables/commit/f8878f8ec5f752f213a5df50d9ed93c38707e5b2)) -* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.5.1 ([#282](https://www.github.com/googleapis/java-area120-tables/issues/282)) ([9808e43](https://www.github.com/googleapis/java-area120-tables/commit/9808e438d642fa0874a95c16d40f8d781a0cb173)) -* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.6.0 ([#288](https://www.github.com/googleapis/java-area120-tables/issues/288)) ([993ce7e](https://www.github.com/googleapis/java-area120-tables/commit/993ce7e0628b844c9e26c529e8ff70f09c23badc)) - -### [0.5.2](https://www.github.com/googleapis/java-area120-tables/compare/v0.5.1...v0.5.2) (2021-10-19) - - -### Dependencies - -* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.4.0 ([#262](https://www.github.com/googleapis/java-area120-tables/issues/262)) ([698f13b](https://www.github.com/googleapis/java-area120-tables/commit/698f13b9609894b14839e22beaac61166faf0be2)) - -### [0.5.1](https://www.github.com/googleapis/java-area120-tables/compare/v0.5.0...v0.5.1) (2021-09-22) - - -### Dependencies - -* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.3.0 ([#251](https://www.github.com/googleapis/java-area120-tables/issues/251)) ([ef55982](https://www.github.com/googleapis/java-area120-tables/commit/ef559827e1c156669b4e921bc815ba8d6ce7061e)) - -## [0.5.0](https://www.github.com/googleapis/java-area120-tables/compare/v0.4.2...v0.5.0) (2021-09-14) - - -### Features - -* Remove use of deprecated gradle command in java README ([#1196](https://www.github.com/googleapis/java-area120-tables/issues/1196)) ([#233](https://www.github.com/googleapis/java-area120-tables/issues/233)) ([05571c5](https://www.github.com/googleapis/java-area120-tables/commit/05571c585efc46f0733208ba5e451e06c1b4b165)) - - -### Dependencies - -* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.2.0 ([#235](https://www.github.com/googleapis/java-area120-tables/issues/235)) ([65e16db](https://www.github.com/googleapis/java-area120-tables/commit/65e16dba6af0016d4b4641b5ec0db2c808d5a989)) -* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.2.1 ([#243](https://www.github.com/googleapis/java-area120-tables/issues/243)) ([c110d7d](https://www.github.com/googleapis/java-area120-tables/commit/c110d7d918b525f2ec67b33c8cbf64a88e733b44)) - -### [0.4.2](https://www.github.com/googleapis/java-area120-tables/compare/v0.4.1...v0.4.2) (2021-08-23) - - -### Dependencies - -* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.1.0 ([#227](https://www.github.com/googleapis/java-area120-tables/issues/227)) ([2ee4078](https://www.github.com/googleapis/java-area120-tables/commit/2ee40781a2c03c96da915934a0f4c488862aa6dc)) - -### [0.4.1](https://www.github.com/googleapis/java-area120-tables/compare/v0.4.0...v0.4.1) (2021-08-12) - - -### Dependencies - -* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.0.1 ([#221](https://www.github.com/googleapis/java-area120-tables/issues/221)) ([d369c86](https://www.github.com/googleapis/java-area120-tables/commit/d369c864d9d167dcd3ece01e77e32ec3c3509720)) - -## [0.4.0](https://www.github.com/googleapis/java-area120-tables/compare/v0.3.1...v0.4.0) (2021-08-06) - - -### ⚠ BREAKING CHANGES - -* release gapic-generator-java v2.0.0 (#215) - -### Features - -* release gapic-generator-java v2.0.0 ([#215](https://www.github.com/googleapis/java-area120-tables/issues/215)) ([3d6979a](https://www.github.com/googleapis/java-area120-tables/commit/3d6979a9d59b90aedf14a439b5df777b64dd11b1)) - - -### Bug Fixes - -* Add `shopt -s nullglob` to dependencies script ([#1130](https://www.github.com/googleapis/java-area120-tables/issues/1130)) ([#190](https://www.github.com/googleapis/java-area120-tables/issues/190)) ([f003d28](https://www.github.com/googleapis/java-area120-tables/commit/f003d2803b3f235d2c5998ee80e76171c9a23914)) -* owlbot post-processor should generate README ([#1154](https://www.github.com/googleapis/java-area120-tables/issues/1154)) ([#196](https://www.github.com/googleapis/java-area120-tables/issues/196)) ([2bf8d91](https://www.github.com/googleapis/java-area120-tables/commit/2bf8d910cc3ac547d7b1840afd557ff28743884e)), closes [#1146](https://www.github.com/googleapis/java-area120-tables/issues/1146) [#1147](https://www.github.com/googleapis/java-area120-tables/issues/1147) - - -### Dependencies - -* update dependency com.google.cloud:google-cloud-shared-dependencies to v1.4.0 ([#192](https://www.github.com/googleapis/java-area120-tables/issues/192)) ([a49d2c4](https://www.github.com/googleapis/java-area120-tables/commit/a49d2c456e5646ce8f3783649f382573b0283b67)) -* update dependency com.google.cloud:google-cloud-shared-dependencies to v2 ([#216](https://www.github.com/googleapis/java-area120-tables/issues/216)) ([a47bf22](https://www.github.com/googleapis/java-area120-tables/commit/a47bf223384beabebec408d6bf9c9fff572f6c73)) - -### [0.3.1](https://www.github.com/googleapis/java-area120-tables/compare/v0.3.0...v0.3.1) (2021-06-04) - - -### Dependencies - -* update dependency com.google.cloud:google-cloud-shared-dependencies to v1.3.0 ([#177](https://www.github.com/googleapis/java-area120-tables/issues/177)) ([3564237](https://www.github.com/googleapis/java-area120-tables/commit/3564237f7fa9d891e8a866f82afdc519457fc640)) - -## [0.3.0](https://www.github.com/googleapis/java-area120-tables/compare/v0.2.3...v0.3.0) (2021-05-24) - - -### Features - -* add `gcf-owl-bot[bot]` to `ignoreAuthors` ([#168](https://www.github.com/googleapis/java-area120-tables/issues/168)) ([e61538f](https://www.github.com/googleapis/java-area120-tables/commit/e61538fcd808d228631d28ee17fe7dddd7a59298)) - - -### Bug Fixes - -* release scripts from issuing overlapping phases ([#155](https://www.github.com/googleapis/java-area120-tables/issues/155)) ([d8fbee0](https://www.github.com/googleapis/java-area120-tables/commit/d8fbee09c9d7fbdf65fdebd0097470e4f9a81d53)) -* typo ([#152](https://www.github.com/googleapis/java-area120-tables/issues/152)) ([97d6b85](https://www.github.com/googleapis/java-area120-tables/commit/97d6b85920992f39053755b9db2c75f778ec617d)) - - -### Dependencies - -* update dependency com.google.cloud:google-cloud-shared-dependencies to v1 ([#158](https://www.github.com/googleapis/java-area120-tables/issues/158)) ([7898196](https://www.github.com/googleapis/java-area120-tables/commit/78981961bbb88284278cec586c10d0a2356dc24b)) -* update dependency com.google.cloud:google-cloud-shared-dependencies to v1.1.0 ([#164](https://www.github.com/googleapis/java-area120-tables/issues/164)) ([4a1884b](https://www.github.com/googleapis/java-area120-tables/commit/4a1884b42d9b11280598354b3bac51628702cea5)) -* update dependency com.google.cloud:google-cloud-shared-dependencies to v1.2.0 ([#167](https://www.github.com/googleapis/java-area120-tables/issues/167)) ([ff28bfa](https://www.github.com/googleapis/java-area120-tables/commit/ff28bfaa40584cdb723a8107bd68be477e10c723)) - -### [0.2.3](https://www.github.com/googleapis/java-area120-tables/compare/v0.2.2...v0.2.3) (2021-04-12) - - -### Dependencies - -* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.21.0 ([#146](https://www.github.com/googleapis/java-area120-tables/issues/146)) ([02f88ba](https://www.github.com/googleapis/java-area120-tables/commit/02f88baec4264e0a8ac0a5cc5aaedc071c821268)) - -### [0.2.2](https://www.github.com/googleapis/java-area120-tables/compare/v0.2.1...v0.2.2) (2021-03-11) - - -### Dependencies - -* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.20.1 ([#135](https://www.github.com/googleapis/java-area120-tables/issues/135)) ([cc85ce1](https://www.github.com/googleapis/java-area120-tables/commit/cc85ce1d9d550be924ca482ae647e40d8afa8c55)) - -### [0.2.1](https://www.github.com/googleapis/java-area120-tables/compare/v0.2.0...v0.2.1) (2021-02-25) - - -### Dependencies - -* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.20.0 ([#126](https://www.github.com/googleapis/java-area120-tables/issues/126)) ([89bc609](https://www.github.com/googleapis/java-area120-tables/commit/89bc6096d092e44181b7b90606b6673664a8da1b)) - -## [0.2.0](https://www.github.com/googleapis/java-area120-tables/compare/v0.1.10...v0.2.0) (2021-02-25) - - -### Features - -* Added ListWorkspaces, GetWorkspace, BatchDeleteRows APIs ([#121](https://www.github.com/googleapis/java-area120-tables/issues/121)) ([4e7da19](https://www.github.com/googleapis/java-area120-tables/commit/4e7da1964b8656a787fb8d1d6d358c2a20c7cc9a)) - -### [0.1.10](https://www.github.com/googleapis/java-area120-tables/compare/v0.1.9...v0.1.10) (2021-02-24) - - -### Documentation - -* generate sample code in the Java microgenerator ([#114](https://www.github.com/googleapis/java-area120-tables/issues/114)) ([e2657ea](https://www.github.com/googleapis/java-area120-tables/commit/e2657eac38719c7ca6c6b604756d93cf35aef056)) - - -### Dependencies - -* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.19.0 ([#119](https://www.github.com/googleapis/java-area120-tables/issues/119)) ([6a50a66](https://www.github.com/googleapis/java-area120-tables/commit/6a50a66a086a4207933c0c9d7c77c0ebe94d6ee7)) - -### [0.1.9](https://www.github.com/googleapis/java-area120-tables/compare/v0.1.8...v0.1.9) (2021-01-14) - - -### Dependencies - -* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.18.0 ([#98](https://www.github.com/googleapis/java-area120-tables/issues/98)) ([32023eb](https://www.github.com/googleapis/java-area120-tables/commit/32023ebe9ef89cada3469bd62094e178a77a28a5)) - -### [0.1.8](https://www.github.com/googleapis/java-area120-tables/compare/v0.1.7...v0.1.8) (2020-12-15) - - -### Dependencies - -* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.17.0 ([#90](https://www.github.com/googleapis/java-area120-tables/issues/90)) ([bbf19a9](https://www.github.com/googleapis/java-area120-tables/commit/bbf19a910e9676708882aefb3bc4c1b9fd3abb45)) - -### [0.1.7](https://www.github.com/googleapis/java-area120-tables/compare/v0.1.6...v0.1.7) (2020-12-14) - - -### Dependencies - -* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.16.1 ([0867592](https://www.github.com/googleapis/java-area120-tables/commit/08675923c629575a498cfbdfe44a612d0ed2d3f6)) - -### [0.1.6](https://www.github.com/googleapis/java-area120-tables/compare/v0.1.5...v0.1.6) (2020-12-02) - - -### Dependencies - -* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.16.0 ([#68](https://www.github.com/googleapis/java-area120-tables/issues/68)) ([a852082](https://www.github.com/googleapis/java-area120-tables/commit/a852082d761935b30617fd08f67b5886e90486aa)) - -### [0.1.5](https://www.github.com/googleapis/java-area120-tables/compare/v0.1.4...v0.1.5) (2020-10-31) - - -### Dependencies - -* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.14.1 ([#62](https://www.github.com/googleapis/java-area120-tables/issues/62)) ([a0274e2](https://www.github.com/googleapis/java-area120-tables/commit/a0274e2743e0de19ad93a8b96b4825c8512fd9cf)) - -### [0.1.4](https://www.github.com/googleapis/java-area120-tables/compare/v0.1.3...v0.1.4) (2020-10-22) - - -### Dependencies - -* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.13.0 ([#52](https://www.github.com/googleapis/java-area120-tables/issues/52)) ([2f8f340](https://www.github.com/googleapis/java-area120-tables/commit/2f8f3405c459a286f8a3b1cab484ad1efb1dac85)) - -### [0.1.3](https://www.github.com/googleapis/java-area120-tables/compare/v0.1.2...v0.1.3) (2020-10-19) - - -### Dependencies - -* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.12.1 ([#46](https://www.github.com/googleapis/java-area120-tables/issues/46)) ([41e4154](https://www.github.com/googleapis/java-area120-tables/commit/41e4154c219dc4ab340748d564349ebc2eb851ec)) - -### [0.1.2](https://www.github.com/googleapis/java-area120-tables/compare/v0.1.1...v0.1.2) (2020-10-12) - - -### Dependencies - -* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.10.2 ([#33](https://www.github.com/googleapis/java-area120-tables/issues/33)) ([24fabe5](https://www.github.com/googleapis/java-area120-tables/commit/24fabe5402b3d08d72093fb51ef937d40c77eb95)) - -### [0.1.1](https://www.github.com/googleapis/java-area120-tables/compare/v0.1.0...v0.1.1) (2020-09-23) - - -### Dependencies - -* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.10.0 ([#23](https://www.github.com/googleapis/java-area120-tables/issues/23)) ([31c8115](https://www.github.com/googleapis/java-area120-tables/commit/31c811566f1876647244c9b8e3be2c4ba4dc50f2)) - -## 0.1.0 (2020-09-10) - - -### Features - -* initial code generation ([76bba81](https://www.github.com/googleapis/java-area120-tables/commit/76bba8130a090faf3b49b60fce263a399367e6a7)) diff --git a/java-area120-tables/README.md b/java-area120-tables/README.md deleted file mode 100644 index 7af27763e5cf..000000000000 --- a/java-area120-tables/README.md +++ /dev/null @@ -1,210 +0,0 @@ -# Google Area 120 Tables Client for Java - -Java idiomatic client for [Area 120 Tables][product-docs]. - -[![Maven][maven-version-image]][maven-version-link] -![Stability][stability-image] - -- [Product Documentation][product-docs] -- [Client Library Documentation][javadocs] - -> Note: This client is a work-in-progress, and may occasionally -> make backwards-incompatible changes. - - -## Quickstart - -If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: - -```xml - - - - com.google.cloud - libraries-bom - 26.90.0 - pom - import - - - - - - - com.google.area120 - google-area120-tables - - -``` - -If you are using Maven without the BOM, add this to your dependencies: - - -```xml - - com.google.area120 - google-area120-tables - 0.103.0 - -``` - -If you are using Gradle 5.x or later, add this to your dependencies: - -```Groovy -implementation platform('com.google.cloud:libraries-bom:26.90.0') - -implementation 'com.google.area120:google-area120-tables' -``` - -If you are using Gradle without BOM, add this to your dependencies: - -```Groovy -implementation 'com.google.area120:google-area120-tables:0.103.0' -``` - -If you are using SBT, add this to your dependencies: - -```Scala -libraryDependencies += "com.google.area120" % "google-area120-tables" % "0.103.0" -``` - -## Authentication - -See the [Authentication][authentication] section in the base directory's README. - -## Authorization - -The client application making API calls must be granted [authorization scopes][auth-scopes] required for the desired Area 120 Tables APIs, and the authenticated principal must have the [IAM role(s)][predefined-iam-roles] required to access GCP resources using the Area 120 Tables API calls. - -## Getting Started - -### Prerequisites - -You will need a [Google Cloud Platform Console][developer-console] project with the Area 120 Tables [API enabled][enable-api]. -You will need to [enable billing][enable-billing] to use Google Area 120 Tables. -[Follow these instructions][create-project] to get your project set up. You will also need to set up the local development environment by -[installing the Google Cloud Command Line Interface][cloud-cli] and running the following commands in command line: -`gcloud auth login` and `gcloud config set project [YOUR PROJECT ID]`. - -### Installation and setup - -You'll need to obtain the `google-area120-tables` library. See the [Quickstart](#quickstart) section -to add `google-area120-tables` as a dependency in your code. - -## About Area 120 Tables - - -[Area 120 Tables][product-docs] provides programmatic methods to the Area 120 Tables API. - -See the [Area 120 Tables client library docs][javadocs] to learn how to -use this Area 120 Tables Client Library. - - - - - - -## Troubleshooting - -To get help, follow the instructions in the [shared Troubleshooting document][troubleshooting]. - -## Transport - -Area 120 Tables uses both gRPC and HTTP/JSON for the transport layer. - -## Supported Java Versions - -Java 8 or above is required for using this client. - -Google's Java client libraries, -[Google Cloud Client Libraries][cloudlibs] -and -[Google Cloud API Libraries][apilibs], -follow the -[Oracle Java SE support roadmap][oracle] -(see the Oracle Java SE Product Releases section). - -### For new development - -In general, new feature development occurs with support for the lowest Java -LTS version covered by Oracle's Premier Support (which typically lasts 5 years -from initial General Availability). If the minimum required JVM for a given -library is changed, it is accompanied by a [semver][semver] major release. - -Java 11 and (in September 2021) Java 17 are the best choices for new -development. - -### Keeping production systems current - -Google tests its client libraries with all current LTS versions covered by -Oracle's Extended Support (which typically lasts 8 years from initial -General Availability). - -#### Legacy support - -Google's client libraries support legacy versions of Java runtimes with long -term stable libraries that don't receive feature updates on a best efforts basis -as it may not be possible to backport all patches. - -Google provides updates on a best efforts basis to apps that continue to use -Java 7, though apps might need to upgrade to current versions of the library -that supports their JVM. - -#### Where to find specific information - -The latest versions and the supported Java versions are identified on -the individual GitHub repository `github.com/GoogleAPIs/java-SERVICENAME` -and on [google-cloud-java][g-c-j]. - -## Versioning -This library follows [Semantic Versioning](http://semver.org/). - - -It is currently in major version zero (``0.y.z``), which means that anything may change at any time -and the public API should not be considered stable. - - -## Contributing - - -Contributions to this library are always welcome and highly encouraged. - -See [CONTRIBUTING][contributing] for more information how to get started. - -Please note that this project is released with a Contributor Code of Conduct. By participating in -this project you agree to abide by its terms. See [Code of Conduct][code-of-conduct] for more -information. - - -## License - -Apache 2.0 - See [LICENSE][license] for more information. - -Java is a registered trademark of Oracle and/or its affiliates. - -[product-docs]: https://area120.google.com/ -[javadocs]: https://cloud.google.com/java/docs/reference/google-area120-tables/latest/overview -[stability-image]: https://img.shields.io/badge/stability-preview-yellow -[maven-version-image]: https://img.shields.io/maven-central/v/com.google.area120/google-area120-tables.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.area120/google-area120-tables/0.103.0 -[authentication]: https://github.com/googleapis/google-cloud-java#authentication -[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes -[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles -[iam-policy]: https://cloud.google.com/iam/docs/overview#cloud-iam-policy -[developer-console]: https://console.developers.google.com/ -[create-project]: https://cloud.google.com/resource-manager/docs/creating-managing-projects -[cloud-cli]: https://cloud.google.com/cli -[troubleshooting]: https://github.com/googleapis/google-cloud-java/blob/main/TROUBLESHOOTING.md -[contributing]: https://github.com/googleapis/google-cloud-java/blob/main/CONTRIBUTING.md -[code-of-conduct]: https://github.com/googleapis/google-cloud-java/blob/main/CODE_OF_CONDUCT.md#contributor-code-of-conduct -[license]: https://github.com/googleapis/google-cloud-java/blob/main/LICENSE -[enable-billing]: https://cloud.google.com/apis/docs/getting-started#enabling_billing -[enable-api]: https://console.cloud.google.com/flows/enableapi?apiid=area120tables.googleapis.com -[libraries-bom]: https://github.com/GoogleCloudPlatform/cloud-opensource-java/wiki/The-Google-Cloud-Platform-Libraries-BOM -[shell_img]: https://gstatic.com/cloudssh/images/open-btn.png - -[semver]: https://semver.org/ -[cloudlibs]: https://cloud.google.com/apis/docs/client-libraries-explained -[apilibs]: https://cloud.google.com/apis/docs/client-libraries-explained#google_api_client_libraries -[oracle]: https://www.oracle.com/java/technologies/java-se-support-roadmap.html -[g-c-j]: http://github.com/googleapis/google-cloud-java diff --git a/java-area120-tables/google-area120-tables-bom/pom.xml b/java-area120-tables/google-area120-tables-bom/pom.xml deleted file mode 100644 index 657d50ea4b0f..000000000000 --- a/java-area120-tables/google-area120-tables-bom/pom.xml +++ /dev/null @@ -1,46 +0,0 @@ - - - 4.0.0 - com.google.area120 - google-area120-tables-bom - 0.104.0 - pom - - - com.google.cloud - google-cloud-pom-parent - 1.94.0 - ../../google-cloud-pom-parent/pom.xml - - - Google Area 120 Tables BOM - - BOM for Area 120 Tables - - - - true - - - - - - - com.google.area120 - google-area120-tables - 0.104.0 - - - com.google.api.grpc - grpc-google-area120-tables-v1alpha1 - 0.104.0 - - - com.google.api.grpc - proto-google-area120-tables-v1alpha1 - 0.104.0 - - - - - diff --git a/java-area120-tables/google-area120-tables/pom.xml b/java-area120-tables/google-area120-tables/pom.xml deleted file mode 100644 index e191210a6d84..000000000000 --- a/java-area120-tables/google-area120-tables/pom.xml +++ /dev/null @@ -1,105 +0,0 @@ - - - 4.0.0 - com.google.area120 - google-area120-tables - 0.104.0 - jar - Google Area 120 Tables - provides programmatic methods to the Area 120 Tables API. - - com.google.area120 - google-area120-tables-parent - 0.104.0 - - - google-area120-tables - - - - io.grpc - grpc-api - - - io.grpc - grpc-stub - - - io.grpc - grpc-protobuf - - - com.google.api - api-common - - - com.google.protobuf - protobuf-java - - - com.google.api.grpc - proto-google-common-protos - - - - - com.google.api.grpc - proto-google-area120-tables-v1alpha1 - - - - com.google.guava - guava - - - com.google.api - gax - - - com.google.api - gax-grpc - - - com.google.api - gax-httpjson - - - org.threeten - threetenbp - - - - - junit - junit - test - - - - - com.google.api.grpc - grpc-google-area120-tables-v1alpha1 - test - - - - - com.google.api - gax - testlib - test - - - com.google.api - gax-grpc - testlib - test - - - com.google.api - gax-httpjson - testlib - test - - - diff --git a/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/TablesServiceClient.java b/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/TablesServiceClient.java deleted file mode 100644 index 1ebedb69992d..000000000000 --- a/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/TablesServiceClient.java +++ /dev/null @@ -1,1768 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha; - -import com.google.api.core.ApiFuture; -import com.google.api.core.ApiFutures; -import com.google.api.core.BetaApi; -import com.google.api.gax.core.BackgroundResource; -import com.google.api.gax.paging.AbstractFixedSizeCollection; -import com.google.api.gax.paging.AbstractPage; -import com.google.api.gax.paging.AbstractPagedListResponse; -import com.google.api.gax.rpc.PageContext; -import com.google.api.gax.rpc.UnaryCallable; -import com.google.area120.tables.v1alpha.stub.TablesServiceStub; -import com.google.area120.tables.v1alpha.stub.TablesServiceStubSettings; -import com.google.area120.tables.v1alpha1.BatchCreateRowsRequest; -import com.google.area120.tables.v1alpha1.BatchCreateRowsResponse; -import com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest; -import com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest; -import com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse; -import com.google.area120.tables.v1alpha1.CreateRowRequest; -import com.google.area120.tables.v1alpha1.DeleteRowRequest; -import com.google.area120.tables.v1alpha1.GetRowRequest; -import com.google.area120.tables.v1alpha1.GetTableRequest; -import com.google.area120.tables.v1alpha1.GetWorkspaceRequest; -import com.google.area120.tables.v1alpha1.ListRowsRequest; -import com.google.area120.tables.v1alpha1.ListRowsResponse; -import com.google.area120.tables.v1alpha1.ListTablesRequest; -import com.google.area120.tables.v1alpha1.ListTablesResponse; -import com.google.area120.tables.v1alpha1.ListWorkspacesRequest; -import com.google.area120.tables.v1alpha1.ListWorkspacesResponse; -import com.google.area120.tables.v1alpha1.Row; -import com.google.area120.tables.v1alpha1.RowName; -import com.google.area120.tables.v1alpha1.Table; -import com.google.area120.tables.v1alpha1.TableName; -import com.google.area120.tables.v1alpha1.UpdateRowRequest; -import com.google.area120.tables.v1alpha1.Workspace; -import com.google.area120.tables.v1alpha1.WorkspaceName; -import com.google.common.util.concurrent.MoreExecutors; -import com.google.protobuf.Empty; -import com.google.protobuf.FieldMask; -import java.io.IOException; -import java.util.List; -import java.util.concurrent.TimeUnit; -import javax.annotation.Generated; -import org.jspecify.annotations.NullMarked; -import org.jspecify.annotations.Nullable; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -/** - * Service Description: The Tables Service provides an API for reading and updating tables. It - * defines the following resource model: - * - *

- The API has a collection of [Table][google.area120.tables.v1alpha1.Table] resources, named - * `tables/*` - * - *

- Each Table has a collection of [Row][google.area120.tables.v1alpha1.Row] resources, named - * `tables/*/rows/*` - * - *

- The API has a collection of [Workspace][google.area120.tables.v1alpha1.Workspace] resources, - * named `workspaces/*`. - * - *

This class provides the ability to make remote calls to the backing service through method - * calls that map to API methods. Sample code to get started: - * - *

{@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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) {
- *   TableName name = TableName.of("[TABLE]");
- *   Table response = tablesServiceClient.getTable(name);
- * }
- * }
- * - *

Note: close() needs to be called on the TablesServiceClient object to clean up resources such - * as threads. In the example above, try-with-resources is used, which automatically calls close(). - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
Methods
MethodDescriptionMethod Variants

GetTable

Gets a table. Returns NOT_FOUND if the table does not exist.

- *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

- *
    - *
  • getTable(GetTableRequest request) - *

- *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

- *
    - *
  • getTable(TableName name) - *

  • getTable(String name) - *

- *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

- *
    - *
  • getTableCallable() - *

- *

ListTables

Lists tables for the user.

- *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

- *
    - *
  • listTables(ListTablesRequest request) - *

- *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

- *
    - *
  • listTablesPagedCallable() - *

  • listTablesCallable() - *

- *

GetWorkspace

Gets a workspace. Returns NOT_FOUND if the workspace does not exist.

- *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

- *
    - *
  • getWorkspace(GetWorkspaceRequest request) - *

- *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

- *
    - *
  • getWorkspace(WorkspaceName name) - *

  • getWorkspace(String name) - *

- *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

- *
    - *
  • getWorkspaceCallable() - *

- *

ListWorkspaces

Lists workspaces for the user.

- *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

- *
    - *
  • listWorkspaces(ListWorkspacesRequest request) - *

- *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

- *
    - *
  • listWorkspacesPagedCallable() - *

  • listWorkspacesCallable() - *

- *

GetRow

Gets a row. Returns NOT_FOUND if the row does not exist in the table.

- *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

- *
    - *
  • getRow(GetRowRequest request) - *

- *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

- *
    - *
  • getRow(RowName name) - *

  • getRow(String name) - *

- *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

- *
    - *
  • getRowCallable() - *

- *

ListRows

Lists rows in a table. Returns NOT_FOUND if the table does not exist.

- *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

- *
    - *
  • listRows(ListRowsRequest request) - *

- *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

- *
    - *
  • listRows(String parent) - *

- *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

- *
    - *
  • listRowsPagedCallable() - *

  • listRowsCallable() - *

- *

CreateRow

Creates a row.

- *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

- *
    - *
  • createRow(CreateRowRequest request) - *

- *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

- *
    - *
  • createRow(String parent, Row row) - *

- *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

- *
    - *
  • createRowCallable() - *

- *

BatchCreateRows

Creates multiple rows.

- *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

- *
    - *
  • batchCreateRows(BatchCreateRowsRequest request) - *

- *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

- *
    - *
  • batchCreateRowsCallable() - *

- *

UpdateRow

Updates a row.

- *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

- *
    - *
  • updateRow(UpdateRowRequest request) - *

- *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

- *
    - *
  • updateRow(Row row, FieldMask updateMask) - *

- *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

- *
    - *
  • updateRowCallable() - *

- *

BatchUpdateRows

Updates multiple rows.

- *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

- *
    - *
  • batchUpdateRows(BatchUpdateRowsRequest request) - *

- *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

- *
    - *
  • batchUpdateRowsCallable() - *

- *

DeleteRow

Deletes a row.

- *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

- *
    - *
  • deleteRow(DeleteRowRequest request) - *

- *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

- *
    - *
  • deleteRow(RowName name) - *

  • deleteRow(String name) - *

- *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

- *
    - *
  • deleteRowCallable() - *

- *

BatchDeleteRows

Deletes multiple rows.

- *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

- *
    - *
  • batchDeleteRows(BatchDeleteRowsRequest request) - *

- *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

- *
    - *
  • batchDeleteRowsCallable() - *

- *
- * - *

See the individual methods for example code. - * - *

Many parameters require resource names to be formatted in a particular way. To assist with - * these names, this class includes a format method for each type of name, and additionally a parse - * method to extract the individual identifiers contained within names that are returned. - * - *

This class can be customized by passing in a custom instance of TablesServiceSettings to - * create(). For example: - * - *

To customize credentials: - * - *

{@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
- * TablesServiceSettings tablesServiceSettings =
- *     TablesServiceSettings.newBuilder()
- *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
- *         .build();
- * TablesServiceClient tablesServiceClient = TablesServiceClient.create(tablesServiceSettings);
- * }
- * - *

To customize the endpoint: - * - *

{@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
- * TablesServiceSettings tablesServiceSettings =
- *     TablesServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
- * TablesServiceClient tablesServiceClient = TablesServiceClient.create(tablesServiceSettings);
- * }
- * - *

To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over - * the wire: - * - *

{@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
- * TablesServiceSettings tablesServiceSettings =
- *     TablesServiceSettings.newHttpJsonBuilder().build();
- * TablesServiceClient tablesServiceClient = TablesServiceClient.create(tablesServiceSettings);
- * }
- * - *

Please refer to the GitHub repository's samples for more quickstart code snippets. - */ -@NullMarked -@BetaApi -@Generated("by gapic-generator-java") -public class TablesServiceClient implements BackgroundResource { - private final @Nullable TablesServiceSettings settings; - private final TablesServiceStub stub; - - /** Constructs an instance of TablesServiceClient with default settings. */ - public static final TablesServiceClient create() throws IOException { - return create(TablesServiceSettings.newBuilder().build()); - } - - /** - * Constructs an instance of TablesServiceClient, using the given settings. The channels are - * created based on the settings passed in, or defaults for any settings that are not set. - */ - public static final TablesServiceClient create(TablesServiceSettings settings) - throws IOException { - return new TablesServiceClient(settings); - } - - /** - * Constructs an instance of TablesServiceClient, using the given stub for making calls. This is - * for advanced usage - prefer using create(TablesServiceSettings). - */ - public static final TablesServiceClient create(TablesServiceStub stub) { - return new TablesServiceClient(stub); - } - - /** - * Constructs an instance of TablesServiceClient, using the given settings. This is protected so - * that it is easy to make a subclass, but otherwise, the static factory methods should be - * preferred. - */ - protected TablesServiceClient(TablesServiceSettings settings) throws IOException { - this.settings = settings; - this.stub = ((TablesServiceStubSettings) settings.getStubSettings()).createStub(); - } - - protected TablesServiceClient(TablesServiceStub stub) { - this.settings = null; - this.stub = stub; - } - - public final @Nullable TablesServiceSettings getSettings() { - return settings; - } - - public TablesServiceStub getStub() { - return stub; - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Gets a table. Returns NOT_FOUND if the table does not exist. - * - *

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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) {
-   *   TableName name = TableName.of("[TABLE]");
-   *   Table response = tablesServiceClient.getTable(name);
-   * }
-   * }
- * - * @param name Required. The name of the table to retrieve. Format: tables/{table} - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final Table getTable(@Nullable TableName name) { - GetTableRequest request = - GetTableRequest.newBuilder().setName(name == null ? null : name.toString()).build(); - return getTable(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Gets a table. Returns NOT_FOUND if the table does not exist. - * - *

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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) {
-   *   String name = TableName.of("[TABLE]").toString();
-   *   Table response = tablesServiceClient.getTable(name);
-   * }
-   * }
- * - * @param name Required. The name of the table to retrieve. Format: tables/{table} - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final Table getTable(String name) { - GetTableRequest request = GetTableRequest.newBuilder().setName(name).build(); - return getTable(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Gets a table. Returns NOT_FOUND if the table does not exist. - * - *

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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) {
-   *   GetTableRequest request =
-   *       GetTableRequest.newBuilder().setName(TableName.of("[TABLE]").toString()).build();
-   *   Table response = tablesServiceClient.getTable(request);
-   * }
-   * }
- * - * @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 Table getTable(GetTableRequest request) { - return getTableCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Gets a table. Returns NOT_FOUND if the table does not exist. - * - *

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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) {
-   *   GetTableRequest request =
-   *       GetTableRequest.newBuilder().setName(TableName.of("[TABLE]").toString()).build();
-   *   ApiFuture future = tablesServiceClient.getTableCallable().futureCall(request);
-   *   // Do something.
-   *   Table response = future.get();
-   * }
-   * }
-   */
-  public final UnaryCallable getTableCallable() {
-    return stub.getTableCallable();
-  }
-
-  // AUTO-GENERATED DOCUMENTATION AND METHOD.
-  /**
-   * Lists tables for the user.
-   *
-   * 

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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) {
-   *   ListTablesRequest request =
-   *       ListTablesRequest.newBuilder()
-   *           .setPageSize(883849137)
-   *           .setPageToken("pageToken873572522")
-   *           .build();
-   *   for (Table element : tablesServiceClient.listTables(request).iterateAll()) {
-   *     // doThingsWith(element);
-   *   }
-   * }
-   * }
- * - * @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 ListTablesPagedResponse listTables(ListTablesRequest request) { - return listTablesPagedCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Lists tables for the user. - * - *

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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) {
-   *   ListTablesRequest request =
-   *       ListTablesRequest.newBuilder()
-   *           .setPageSize(883849137)
-   *           .setPageToken("pageToken873572522")
-   *           .build();
-   *   ApiFuture
future = tablesServiceClient.listTablesPagedCallable().futureCall(request); - * // Do something. - * for (Table element : future.get().iterateAll()) { - * // doThingsWith(element); - * } - * } - * } - */ - public final UnaryCallable listTablesPagedCallable() { - return stub.listTablesPagedCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Lists tables for the user. - * - *

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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) {
-   *   ListTablesRequest request =
-   *       ListTablesRequest.newBuilder()
-   *           .setPageSize(883849137)
-   *           .setPageToken("pageToken873572522")
-   *           .build();
-   *   while (true) {
-   *     ListTablesResponse response = tablesServiceClient.listTablesCallable().call(request);
-   *     for (Table element : response.getTablesList()) {
-   *       // doThingsWith(element);
-   *     }
-   *     String nextPageToken = response.getNextPageToken();
-   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
-   *       request = request.toBuilder().setPageToken(nextPageToken).build();
-   *     } else {
-   *       break;
-   *     }
-   *   }
-   * }
-   * }
- */ - public final UnaryCallable listTablesCallable() { - return stub.listTablesCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Gets a workspace. Returns NOT_FOUND if the workspace does not exist. - * - *

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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) {
-   *   WorkspaceName name = WorkspaceName.of("[WORKSPACE]");
-   *   Workspace response = tablesServiceClient.getWorkspace(name);
-   * }
-   * }
- * - * @param name Required. The name of the workspace to retrieve. Format: workspaces/{workspace} - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final Workspace getWorkspace(@Nullable WorkspaceName name) { - GetWorkspaceRequest request = - GetWorkspaceRequest.newBuilder().setName(name == null ? null : name.toString()).build(); - return getWorkspace(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Gets a workspace. Returns NOT_FOUND if the workspace does not exist. - * - *

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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) {
-   *   String name = WorkspaceName.of("[WORKSPACE]").toString();
-   *   Workspace response = tablesServiceClient.getWorkspace(name);
-   * }
-   * }
- * - * @param name Required. The name of the workspace to retrieve. Format: workspaces/{workspace} - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final Workspace getWorkspace(String name) { - GetWorkspaceRequest request = GetWorkspaceRequest.newBuilder().setName(name).build(); - return getWorkspace(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Gets a workspace. Returns NOT_FOUND if the workspace does not exist. - * - *

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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) {
-   *   GetWorkspaceRequest request =
-   *       GetWorkspaceRequest.newBuilder()
-   *           .setName(WorkspaceName.of("[WORKSPACE]").toString())
-   *           .build();
-   *   Workspace response = tablesServiceClient.getWorkspace(request);
-   * }
-   * }
- * - * @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 Workspace getWorkspace(GetWorkspaceRequest request) { - return getWorkspaceCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Gets a workspace. Returns NOT_FOUND if the workspace does not exist. - * - *

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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) {
-   *   GetWorkspaceRequest request =
-   *       GetWorkspaceRequest.newBuilder()
-   *           .setName(WorkspaceName.of("[WORKSPACE]").toString())
-   *           .build();
-   *   ApiFuture future = tablesServiceClient.getWorkspaceCallable().futureCall(request);
-   *   // Do something.
-   *   Workspace response = future.get();
-   * }
-   * }
- */ - public final UnaryCallable getWorkspaceCallable() { - return stub.getWorkspaceCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Lists workspaces for the user. - * - *

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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) {
-   *   ListWorkspacesRequest request =
-   *       ListWorkspacesRequest.newBuilder()
-   *           .setPageSize(883849137)
-   *           .setPageToken("pageToken873572522")
-   *           .build();
-   *   for (Workspace element : tablesServiceClient.listWorkspaces(request).iterateAll()) {
-   *     // doThingsWith(element);
-   *   }
-   * }
-   * }
- * - * @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 ListWorkspacesPagedResponse listWorkspaces(ListWorkspacesRequest request) { - return listWorkspacesPagedCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Lists workspaces for the user. - * - *

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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) {
-   *   ListWorkspacesRequest request =
-   *       ListWorkspacesRequest.newBuilder()
-   *           .setPageSize(883849137)
-   *           .setPageToken("pageToken873572522")
-   *           .build();
-   *   ApiFuture future =
-   *       tablesServiceClient.listWorkspacesPagedCallable().futureCall(request);
-   *   // Do something.
-   *   for (Workspace element : future.get().iterateAll()) {
-   *     // doThingsWith(element);
-   *   }
-   * }
-   * }
- */ - public final UnaryCallable - listWorkspacesPagedCallable() { - return stub.listWorkspacesPagedCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Lists workspaces for the user. - * - *

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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) {
-   *   ListWorkspacesRequest request =
-   *       ListWorkspacesRequest.newBuilder()
-   *           .setPageSize(883849137)
-   *           .setPageToken("pageToken873572522")
-   *           .build();
-   *   while (true) {
-   *     ListWorkspacesResponse response =
-   *         tablesServiceClient.listWorkspacesCallable().call(request);
-   *     for (Workspace element : response.getWorkspacesList()) {
-   *       // doThingsWith(element);
-   *     }
-   *     String nextPageToken = response.getNextPageToken();
-   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
-   *       request = request.toBuilder().setPageToken(nextPageToken).build();
-   *     } else {
-   *       break;
-   *     }
-   *   }
-   * }
-   * }
- */ - public final UnaryCallable - listWorkspacesCallable() { - return stub.listWorkspacesCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Gets a row. Returns NOT_FOUND if the row does not exist in the 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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) {
-   *   RowName name = RowName.of("[TABLE]", "[ROW]");
-   *   Row response = tablesServiceClient.getRow(name);
-   * }
-   * }
- * - * @param name Required. The name of the row to retrieve. Format: tables/{table}/rows/{row} - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final Row getRow(@Nullable RowName name) { - GetRowRequest request = - GetRowRequest.newBuilder().setName(name == null ? null : name.toString()).build(); - return getRow(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Gets a row. Returns NOT_FOUND if the row does not exist in the 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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) {
-   *   String name = RowName.of("[TABLE]", "[ROW]").toString();
-   *   Row response = tablesServiceClient.getRow(name);
-   * }
-   * }
- * - * @param name Required. The name of the row to retrieve. Format: tables/{table}/rows/{row} - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final Row getRow(String name) { - GetRowRequest request = GetRowRequest.newBuilder().setName(name).build(); - return getRow(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Gets a row. Returns NOT_FOUND if the row does not exist in the 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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) {
-   *   GetRowRequest request =
-   *       GetRowRequest.newBuilder()
-   *           .setName(RowName.of("[TABLE]", "[ROW]").toString())
-   *           .setView(View.forNumber(0))
-   *           .build();
-   *   Row response = tablesServiceClient.getRow(request);
-   * }
-   * }
- * - * @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 Row getRow(GetRowRequest request) { - return getRowCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Gets a row. Returns NOT_FOUND if the row does not exist in the 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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) {
-   *   GetRowRequest request =
-   *       GetRowRequest.newBuilder()
-   *           .setName(RowName.of("[TABLE]", "[ROW]").toString())
-   *           .setView(View.forNumber(0))
-   *           .build();
-   *   ApiFuture future = tablesServiceClient.getRowCallable().futureCall(request);
-   *   // Do something.
-   *   Row response = future.get();
-   * }
-   * }
- */ - public final UnaryCallable getRowCallable() { - return stub.getRowCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Lists rows in a table. Returns NOT_FOUND if the table does not exist. - * - *

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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) {
-   *   String parent = "parent-995424086";
-   *   for (Row element : tablesServiceClient.listRows(parent).iterateAll()) {
-   *     // doThingsWith(element);
-   *   }
-   * }
-   * }
- * - * @param parent Required. The parent table. Format: tables/{table} - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final ListRowsPagedResponse listRows(String parent) { - ListRowsRequest request = ListRowsRequest.newBuilder().setParent(parent).build(); - return listRows(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Lists rows in a table. Returns NOT_FOUND if the table does not exist. - * - *

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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) {
-   *   ListRowsRequest request =
-   *       ListRowsRequest.newBuilder()
-   *           .setParent("parent-995424086")
-   *           .setPageSize(883849137)
-   *           .setPageToken("pageToken873572522")
-   *           .setView(View.forNumber(0))
-   *           .setFilter("filter-1274492040")
-   *           .build();
-   *   for (Row element : tablesServiceClient.listRows(request).iterateAll()) {
-   *     // doThingsWith(element);
-   *   }
-   * }
-   * }
- * - * @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 ListRowsPagedResponse listRows(ListRowsRequest request) { - return listRowsPagedCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Lists rows in a table. Returns NOT_FOUND if the table does not exist. - * - *

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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) {
-   *   ListRowsRequest request =
-   *       ListRowsRequest.newBuilder()
-   *           .setParent("parent-995424086")
-   *           .setPageSize(883849137)
-   *           .setPageToken("pageToken873572522")
-   *           .setView(View.forNumber(0))
-   *           .setFilter("filter-1274492040")
-   *           .build();
-   *   ApiFuture future = tablesServiceClient.listRowsPagedCallable().futureCall(request);
-   *   // Do something.
-   *   for (Row element : future.get().iterateAll()) {
-   *     // doThingsWith(element);
-   *   }
-   * }
-   * }
- */ - public final UnaryCallable listRowsPagedCallable() { - return stub.listRowsPagedCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Lists rows in a table. Returns NOT_FOUND if the table does not exist. - * - *

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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) {
-   *   ListRowsRequest request =
-   *       ListRowsRequest.newBuilder()
-   *           .setParent("parent-995424086")
-   *           .setPageSize(883849137)
-   *           .setPageToken("pageToken873572522")
-   *           .setView(View.forNumber(0))
-   *           .setFilter("filter-1274492040")
-   *           .build();
-   *   while (true) {
-   *     ListRowsResponse response = tablesServiceClient.listRowsCallable().call(request);
-   *     for (Row element : response.getRowsList()) {
-   *       // doThingsWith(element);
-   *     }
-   *     String nextPageToken = response.getNextPageToken();
-   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
-   *       request = request.toBuilder().setPageToken(nextPageToken).build();
-   *     } else {
-   *       break;
-   *     }
-   *   }
-   * }
-   * }
- */ - public final UnaryCallable listRowsCallable() { - return stub.listRowsCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Creates a row. - * - *

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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) {
-   *   String parent = "parent-995424086";
-   *   Row row = Row.newBuilder().build();
-   *   Row response = tablesServiceClient.createRow(parent, row);
-   * }
-   * }
- * - * @param parent Required. The parent table where this row will be created. Format: tables/{table} - * @param row Required. The row to create. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final Row createRow(String parent, Row row) { - CreateRowRequest request = CreateRowRequest.newBuilder().setParent(parent).setRow(row).build(); - return createRow(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Creates a row. - * - *

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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) {
-   *   CreateRowRequest request =
-   *       CreateRowRequest.newBuilder()
-   *           .setParent("parent-995424086")
-   *           .setRow(Row.newBuilder().build())
-   *           .setView(View.forNumber(0))
-   *           .build();
-   *   Row response = tablesServiceClient.createRow(request);
-   * }
-   * }
- * - * @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 Row createRow(CreateRowRequest request) { - return createRowCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Creates a row. - * - *

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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) {
-   *   CreateRowRequest request =
-   *       CreateRowRequest.newBuilder()
-   *           .setParent("parent-995424086")
-   *           .setRow(Row.newBuilder().build())
-   *           .setView(View.forNumber(0))
-   *           .build();
-   *   ApiFuture future = tablesServiceClient.createRowCallable().futureCall(request);
-   *   // Do something.
-   *   Row response = future.get();
-   * }
-   * }
- */ - public final UnaryCallable createRowCallable() { - return stub.createRowCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Creates multiple rows. - * - *

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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) {
-   *   BatchCreateRowsRequest request =
-   *       BatchCreateRowsRequest.newBuilder()
-   *           .setParent("parent-995424086")
-   *           .addAllRequests(new ArrayList())
-   *           .build();
-   *   BatchCreateRowsResponse response = tablesServiceClient.batchCreateRows(request);
-   * }
-   * }
- * - * @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 BatchCreateRowsResponse batchCreateRows(BatchCreateRowsRequest request) { - return batchCreateRowsCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Creates multiple rows. - * - *

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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) {
-   *   BatchCreateRowsRequest request =
-   *       BatchCreateRowsRequest.newBuilder()
-   *           .setParent("parent-995424086")
-   *           .addAllRequests(new ArrayList())
-   *           .build();
-   *   ApiFuture future =
-   *       tablesServiceClient.batchCreateRowsCallable().futureCall(request);
-   *   // Do something.
-   *   BatchCreateRowsResponse response = future.get();
-   * }
-   * }
- */ - public final UnaryCallable - batchCreateRowsCallable() { - return stub.batchCreateRowsCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Updates a row. - * - *

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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) {
-   *   Row row = Row.newBuilder().build();
-   *   FieldMask updateMask = FieldMask.newBuilder().build();
-   *   Row response = tablesServiceClient.updateRow(row, updateMask);
-   * }
-   * }
- * - * @param row Required. The row to update. - * @param updateMask The list of fields to update. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final Row updateRow(Row row, FieldMask updateMask) { - UpdateRowRequest request = - UpdateRowRequest.newBuilder().setRow(row).setUpdateMask(updateMask).build(); - return updateRow(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Updates a row. - * - *

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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) {
-   *   UpdateRowRequest request =
-   *       UpdateRowRequest.newBuilder()
-   *           .setRow(Row.newBuilder().build())
-   *           .setUpdateMask(FieldMask.newBuilder().build())
-   *           .setView(View.forNumber(0))
-   *           .build();
-   *   Row response = tablesServiceClient.updateRow(request);
-   * }
-   * }
- * - * @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 Row updateRow(UpdateRowRequest request) { - return updateRowCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Updates a row. - * - *

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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) {
-   *   UpdateRowRequest request =
-   *       UpdateRowRequest.newBuilder()
-   *           .setRow(Row.newBuilder().build())
-   *           .setUpdateMask(FieldMask.newBuilder().build())
-   *           .setView(View.forNumber(0))
-   *           .build();
-   *   ApiFuture future = tablesServiceClient.updateRowCallable().futureCall(request);
-   *   // Do something.
-   *   Row response = future.get();
-   * }
-   * }
- */ - public final UnaryCallable updateRowCallable() { - return stub.updateRowCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Updates multiple rows. - * - *

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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) {
-   *   BatchUpdateRowsRequest request =
-   *       BatchUpdateRowsRequest.newBuilder()
-   *           .setParent("parent-995424086")
-   *           .addAllRequests(new ArrayList())
-   *           .build();
-   *   BatchUpdateRowsResponse response = tablesServiceClient.batchUpdateRows(request);
-   * }
-   * }
- * - * @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 BatchUpdateRowsResponse batchUpdateRows(BatchUpdateRowsRequest request) { - return batchUpdateRowsCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Updates multiple rows. - * - *

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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) {
-   *   BatchUpdateRowsRequest request =
-   *       BatchUpdateRowsRequest.newBuilder()
-   *           .setParent("parent-995424086")
-   *           .addAllRequests(new ArrayList())
-   *           .build();
-   *   ApiFuture future =
-   *       tablesServiceClient.batchUpdateRowsCallable().futureCall(request);
-   *   // Do something.
-   *   BatchUpdateRowsResponse response = future.get();
-   * }
-   * }
- */ - public final UnaryCallable - batchUpdateRowsCallable() { - return stub.batchUpdateRowsCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Deletes a row. - * - *

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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) {
-   *   RowName name = RowName.of("[TABLE]", "[ROW]");
-   *   tablesServiceClient.deleteRow(name);
-   * }
-   * }
- * - * @param name Required. The name of the row to delete. Format: tables/{table}/rows/{row} - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final void deleteRow(@Nullable RowName name) { - DeleteRowRequest request = - DeleteRowRequest.newBuilder().setName(name == null ? null : name.toString()).build(); - deleteRow(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Deletes a row. - * - *

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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) {
-   *   String name = RowName.of("[TABLE]", "[ROW]").toString();
-   *   tablesServiceClient.deleteRow(name);
-   * }
-   * }
- * - * @param name Required. The name of the row to delete. Format: tables/{table}/rows/{row} - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final void deleteRow(String name) { - DeleteRowRequest request = DeleteRowRequest.newBuilder().setName(name).build(); - deleteRow(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Deletes a row. - * - *

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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) {
-   *   DeleteRowRequest request =
-   *       DeleteRowRequest.newBuilder().setName(RowName.of("[TABLE]", "[ROW]").toString()).build();
-   *   tablesServiceClient.deleteRow(request);
-   * }
-   * }
- * - * @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 void deleteRow(DeleteRowRequest request) { - deleteRowCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Deletes a row. - * - *

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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) {
-   *   DeleteRowRequest request =
-   *       DeleteRowRequest.newBuilder().setName(RowName.of("[TABLE]", "[ROW]").toString()).build();
-   *   ApiFuture future = tablesServiceClient.deleteRowCallable().futureCall(request);
-   *   // Do something.
-   *   future.get();
-   * }
-   * }
- */ - public final UnaryCallable deleteRowCallable() { - return stub.deleteRowCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Deletes multiple rows. - * - *

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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) {
-   *   BatchDeleteRowsRequest request =
-   *       BatchDeleteRowsRequest.newBuilder()
-   *           .setParent(TableName.of("[TABLE]").toString())
-   *           .addAllNames(new ArrayList())
-   *           .build();
-   *   tablesServiceClient.batchDeleteRows(request);
-   * }
-   * }
- * - * @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 void batchDeleteRows(BatchDeleteRowsRequest request) { - batchDeleteRowsCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Deletes multiple rows. - * - *

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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) {
-   *   BatchDeleteRowsRequest request =
-   *       BatchDeleteRowsRequest.newBuilder()
-   *           .setParent(TableName.of("[TABLE]").toString())
-   *           .addAllNames(new ArrayList())
-   *           .build();
-   *   ApiFuture future = tablesServiceClient.batchDeleteRowsCallable().futureCall(request);
-   *   // Do something.
-   *   future.get();
-   * }
-   * }
- */ - public final UnaryCallable batchDeleteRowsCallable() { - return stub.batchDeleteRowsCallable(); - } - - @Override - public final void close() { - stub.close(); - } - - @Override - public void shutdown() { - stub.shutdown(); - } - - @Override - public boolean isShutdown() { - return stub.isShutdown(); - } - - @Override - public boolean isTerminated() { - return stub.isTerminated(); - } - - @Override - public void shutdownNow() { - stub.shutdownNow(); - } - - @Override - public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { - return stub.awaitTermination(duration, unit); - } - - public static class ListTablesPagedResponse - extends AbstractPagedListResponse< - ListTablesRequest, - ListTablesResponse, - Table, - ListTablesPage, - ListTablesFixedSizeCollection> { - - public static ApiFuture createAsync( - PageContext context, - ApiFuture futureResponse) { - ApiFuture futurePage = - ListTablesPage.createEmptyPage().createPageAsync(context, futureResponse); - return ApiFutures.transform( - futurePage, input -> new ListTablesPagedResponse(input), MoreExecutors.directExecutor()); - } - - private ListTablesPagedResponse(ListTablesPage page) { - super(page, ListTablesFixedSizeCollection.createEmptyCollection()); - } - } - - public static class ListTablesPage - extends AbstractPage { - - private ListTablesPage( - @Nullable PageContext context, - @Nullable ListTablesResponse response) { - super(context, response); - } - - private static ListTablesPage createEmptyPage() { - return new ListTablesPage(null, null); - } - - @Override - protected ListTablesPage createPage( - @Nullable PageContext context, - @Nullable ListTablesResponse response) { - return new ListTablesPage(context, response); - } - - @Override - public ApiFuture createPageAsync( - @Nullable PageContext context, - ApiFuture futureResponse) { - return super.createPageAsync(context, futureResponse); - } - } - - public static class ListTablesFixedSizeCollection - extends AbstractFixedSizeCollection< - ListTablesRequest, - ListTablesResponse, - Table, - ListTablesPage, - ListTablesFixedSizeCollection> { - - private ListTablesFixedSizeCollection( - @Nullable List pages, int collectionSize) { - super(pages, collectionSize); - } - - private static ListTablesFixedSizeCollection createEmptyCollection() { - return new ListTablesFixedSizeCollection(null, 0); - } - - @Override - protected ListTablesFixedSizeCollection createCollection( - @Nullable List pages, int collectionSize) { - return new ListTablesFixedSizeCollection(pages, collectionSize); - } - } - - public static class ListWorkspacesPagedResponse - extends AbstractPagedListResponse< - ListWorkspacesRequest, - ListWorkspacesResponse, - Workspace, - ListWorkspacesPage, - ListWorkspacesFixedSizeCollection> { - - public static ApiFuture createAsync( - PageContext context, - ApiFuture futureResponse) { - ApiFuture futurePage = - ListWorkspacesPage.createEmptyPage().createPageAsync(context, futureResponse); - return ApiFutures.transform( - futurePage, - input -> new ListWorkspacesPagedResponse(input), - MoreExecutors.directExecutor()); - } - - private ListWorkspacesPagedResponse(ListWorkspacesPage page) { - super(page, ListWorkspacesFixedSizeCollection.createEmptyCollection()); - } - } - - public static class ListWorkspacesPage - extends AbstractPage< - ListWorkspacesRequest, ListWorkspacesResponse, Workspace, ListWorkspacesPage> { - - private ListWorkspacesPage( - @Nullable PageContext context, - @Nullable ListWorkspacesResponse response) { - super(context, response); - } - - private static ListWorkspacesPage createEmptyPage() { - return new ListWorkspacesPage(null, null); - } - - @Override - protected ListWorkspacesPage createPage( - @Nullable PageContext context, - @Nullable ListWorkspacesResponse response) { - return new ListWorkspacesPage(context, response); - } - - @Override - public ApiFuture createPageAsync( - @Nullable PageContext context, - ApiFuture futureResponse) { - return super.createPageAsync(context, futureResponse); - } - } - - public static class ListWorkspacesFixedSizeCollection - extends AbstractFixedSizeCollection< - ListWorkspacesRequest, - ListWorkspacesResponse, - Workspace, - ListWorkspacesPage, - ListWorkspacesFixedSizeCollection> { - - private ListWorkspacesFixedSizeCollection( - @Nullable List pages, int collectionSize) { - super(pages, collectionSize); - } - - private static ListWorkspacesFixedSizeCollection createEmptyCollection() { - return new ListWorkspacesFixedSizeCollection(null, 0); - } - - @Override - protected ListWorkspacesFixedSizeCollection createCollection( - @Nullable List pages, int collectionSize) { - return new ListWorkspacesFixedSizeCollection(pages, collectionSize); - } - } - - public static class ListRowsPagedResponse - extends AbstractPagedListResponse< - ListRowsRequest, ListRowsResponse, Row, ListRowsPage, ListRowsFixedSizeCollection> { - - public static ApiFuture createAsync( - PageContext context, - ApiFuture futureResponse) { - ApiFuture futurePage = - ListRowsPage.createEmptyPage().createPageAsync(context, futureResponse); - return ApiFutures.transform( - futurePage, input -> new ListRowsPagedResponse(input), MoreExecutors.directExecutor()); - } - - private ListRowsPagedResponse(ListRowsPage page) { - super(page, ListRowsFixedSizeCollection.createEmptyCollection()); - } - } - - public static class ListRowsPage - extends AbstractPage { - - private ListRowsPage( - @Nullable PageContext context, - @Nullable ListRowsResponse response) { - super(context, response); - } - - private static ListRowsPage createEmptyPage() { - return new ListRowsPage(null, null); - } - - @Override - protected ListRowsPage createPage( - @Nullable PageContext context, - @Nullable ListRowsResponse response) { - return new ListRowsPage(context, response); - } - - @Override - public ApiFuture createPageAsync( - @Nullable PageContext context, - ApiFuture futureResponse) { - return super.createPageAsync(context, futureResponse); - } - } - - public static class ListRowsFixedSizeCollection - extends AbstractFixedSizeCollection< - ListRowsRequest, ListRowsResponse, Row, ListRowsPage, ListRowsFixedSizeCollection> { - - private ListRowsFixedSizeCollection(@Nullable List pages, int collectionSize) { - super(pages, collectionSize); - } - - private static ListRowsFixedSizeCollection createEmptyCollection() { - return new ListRowsFixedSizeCollection(null, 0); - } - - @Override - protected ListRowsFixedSizeCollection createCollection( - @Nullable List pages, int collectionSize) { - return new ListRowsFixedSizeCollection(pages, collectionSize); - } - } -} 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 deleted file mode 100644 index 5700b8164632..000000000000 --- a/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/TablesServiceSettings.java +++ /dev/null @@ -1,366 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha; - -import static com.google.area120.tables.v1alpha.TablesServiceClient.ListRowsPagedResponse; -import static com.google.area120.tables.v1alpha.TablesServiceClient.ListTablesPagedResponse; -import static com.google.area120.tables.v1alpha.TablesServiceClient.ListWorkspacesPagedResponse; - -import com.google.api.core.ApiFunction; -import com.google.api.core.BetaApi; -import com.google.api.gax.core.GoogleCredentialsProvider; -import com.google.api.gax.core.InstantiatingExecutorProvider; -import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; -import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; -import com.google.api.gax.rpc.ApiClientHeaderProvider; -import com.google.api.gax.rpc.ClientContext; -import com.google.api.gax.rpc.ClientSettings; -import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.TransportChannelProvider; -import com.google.api.gax.rpc.UnaryCallSettings; -import com.google.area120.tables.v1alpha.stub.TablesServiceStubSettings; -import com.google.area120.tables.v1alpha1.BatchCreateRowsRequest; -import com.google.area120.tables.v1alpha1.BatchCreateRowsResponse; -import com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest; -import com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest; -import com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse; -import com.google.area120.tables.v1alpha1.CreateRowRequest; -import com.google.area120.tables.v1alpha1.DeleteRowRequest; -import com.google.area120.tables.v1alpha1.GetRowRequest; -import com.google.area120.tables.v1alpha1.GetTableRequest; -import com.google.area120.tables.v1alpha1.GetWorkspaceRequest; -import com.google.area120.tables.v1alpha1.ListRowsRequest; -import com.google.area120.tables.v1alpha1.ListRowsResponse; -import com.google.area120.tables.v1alpha1.ListTablesRequest; -import com.google.area120.tables.v1alpha1.ListTablesResponse; -import com.google.area120.tables.v1alpha1.ListWorkspacesRequest; -import com.google.area120.tables.v1alpha1.ListWorkspacesResponse; -import com.google.area120.tables.v1alpha1.Row; -import com.google.area120.tables.v1alpha1.Table; -import com.google.area120.tables.v1alpha1.UpdateRowRequest; -import com.google.area120.tables.v1alpha1.Workspace; -import com.google.protobuf.Empty; -import java.io.IOException; -import java.util.List; -import javax.annotation.Generated; -import org.jspecify.annotations.NullMarked; -import org.jspecify.annotations.Nullable; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -/** - * Settings class to configure an instance of {@link TablesServiceClient}. - * - *

The default instance has everything set to sensible defaults: - * - *

    - *
  • The default service address (area120tables.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. - *
- * - *

The builder of this class is recursive, so contained classes are themselves builders. When - * build() is called, the tree of builders is called to create the complete settings object. - * - *

For example, to set the - * [RetrySettings](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.retrying.RetrySettings) - * of getTable: - * - *

{@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
- * TablesServiceSettings.Builder tablesServiceSettingsBuilder = TablesServiceSettings.newBuilder();
- * tablesServiceSettingsBuilder
- *     .getTableSettings()
- *     .setRetrySettings(
- *         tablesServiceSettingsBuilder
- *             .getTableSettings()
- *             .getRetrySettings()
- *             .toBuilder()
- *             .setInitialRetryDelayDuration(Duration.ofSeconds(1))
- *             .setInitialRpcTimeoutDuration(Duration.ofSeconds(5))
- *             .setMaxAttempts(5)
- *             .setMaxRetryDelayDuration(Duration.ofSeconds(30))
- *             .setMaxRpcTimeoutDuration(Duration.ofSeconds(60))
- *             .setRetryDelayMultiplier(1.3)
- *             .setRpcTimeoutMultiplier(1.5)
- *             .setTotalTimeoutDuration(Duration.ofSeconds(300))
- *             .build());
- * TablesServiceSettings tablesServiceSettings = tablesServiceSettingsBuilder.build();
- * }
- * - * Please refer to the [Client Side Retry - * Guide](https://docs.cloud.google.com/java/docs/client-retries) for additional support in setting - * retries. - */ -@NullMarked -@BetaApi -@Generated("by gapic-generator-java") -public class TablesServiceSettings extends ClientSettings { - - /** Returns the object with the settings used for calls to getTable. */ - public UnaryCallSettings getTableSettings() { - return ((TablesServiceStubSettings) getStubSettings()).getTableSettings(); - } - - /** Returns the object with the settings used for calls to listTables. */ - public PagedCallSettings - listTablesSettings() { - return ((TablesServiceStubSettings) getStubSettings()).listTablesSettings(); - } - - /** Returns the object with the settings used for calls to getWorkspace. */ - public UnaryCallSettings getWorkspaceSettings() { - return ((TablesServiceStubSettings) getStubSettings()).getWorkspaceSettings(); - } - - /** Returns the object with the settings used for calls to listWorkspaces. */ - public PagedCallSettings< - ListWorkspacesRequest, ListWorkspacesResponse, ListWorkspacesPagedResponse> - listWorkspacesSettings() { - return ((TablesServiceStubSettings) getStubSettings()).listWorkspacesSettings(); - } - - /** Returns the object with the settings used for calls to getRow. */ - public UnaryCallSettings getRowSettings() { - return ((TablesServiceStubSettings) getStubSettings()).getRowSettings(); - } - - /** Returns the object with the settings used for calls to listRows. */ - public PagedCallSettings - listRowsSettings() { - return ((TablesServiceStubSettings) getStubSettings()).listRowsSettings(); - } - - /** Returns the object with the settings used for calls to createRow. */ - public UnaryCallSettings createRowSettings() { - return ((TablesServiceStubSettings) getStubSettings()).createRowSettings(); - } - - /** Returns the object with the settings used for calls to batchCreateRows. */ - public UnaryCallSettings - batchCreateRowsSettings() { - return ((TablesServiceStubSettings) getStubSettings()).batchCreateRowsSettings(); - } - - /** Returns the object with the settings used for calls to updateRow. */ - public UnaryCallSettings updateRowSettings() { - return ((TablesServiceStubSettings) getStubSettings()).updateRowSettings(); - } - - /** Returns the object with the settings used for calls to batchUpdateRows. */ - public UnaryCallSettings - batchUpdateRowsSettings() { - return ((TablesServiceStubSettings) getStubSettings()).batchUpdateRowsSettings(); - } - - /** Returns the object with the settings used for calls to deleteRow. */ - public UnaryCallSettings deleteRowSettings() { - return ((TablesServiceStubSettings) getStubSettings()).deleteRowSettings(); - } - - /** Returns the object with the settings used for calls to batchDeleteRows. */ - public UnaryCallSettings batchDeleteRowsSettings() { - return ((TablesServiceStubSettings) getStubSettings()).batchDeleteRowsSettings(); - } - - public static final TablesServiceSettings create(TablesServiceStubSettings stub) - throws IOException { - return new TablesServiceSettings.Builder(stub.toBuilder()).build(); - } - - /** Returns a builder for the default ExecutorProvider for this service. */ - public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { - return TablesServiceStubSettings.defaultExecutorProviderBuilder(); - } - - /** Returns the default service endpoint. */ - public static String getDefaultEndpoint() { - return TablesServiceStubSettings.getDefaultEndpoint(); - } - - /** Returns the default service scopes. */ - public static List getDefaultServiceScopes() { - return TablesServiceStubSettings.getDefaultServiceScopes(); - } - - /** Returns a builder for the default credentials for this service. */ - public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { - return TablesServiceStubSettings.defaultCredentialsProviderBuilder(); - } - - /** Returns a builder for the default gRPC ChannelProvider for this service. */ - public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { - return TablesServiceStubSettings.defaultGrpcTransportProviderBuilder(); - } - - /** Returns a builder for the default REST ChannelProvider for this service. */ - @BetaApi - public static InstantiatingHttpJsonChannelProvider.Builder - defaultHttpJsonTransportProviderBuilder() { - return TablesServiceStubSettings.defaultHttpJsonTransportProviderBuilder(); - } - - public static TransportChannelProvider defaultTransportChannelProvider() { - return TablesServiceStubSettings.defaultTransportChannelProvider(); - } - - public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { - return TablesServiceStubSettings.defaultApiClientHeaderProviderBuilder(); - } - - /** Returns a new gRPC builder for this class. */ - public static Builder newBuilder() { - return Builder.createDefault(); - } - - /** Returns a new REST builder for this class. */ - public static Builder newHttpJsonBuilder() { - return Builder.createHttpJsonDefault(); - } - - /** Returns a new builder for this class. */ - public static Builder newBuilder(@Nullable ClientContext clientContext) { - return new Builder(clientContext); - } - - /** Returns a builder containing all the values of this settings class. */ - public Builder toBuilder() { - return new Builder(this); - } - - protected TablesServiceSettings(Builder settingsBuilder) throws IOException { - super(settingsBuilder); - } - - /** Builder for TablesServiceSettings. */ - public static class Builder extends ClientSettings.Builder { - - protected Builder() throws IOException { - this(((ClientContext) null)); - } - - protected Builder(@Nullable ClientContext clientContext) { - super(TablesServiceStubSettings.newBuilder(clientContext)); - } - - protected Builder(TablesServiceSettings settings) { - super(settings.getStubSettings().toBuilder()); - } - - protected Builder(TablesServiceStubSettings.Builder stubSettings) { - super(stubSettings); - } - - private static Builder createDefault() { - return new Builder(TablesServiceStubSettings.newBuilder()); - } - - private static Builder createHttpJsonDefault() { - return new Builder(TablesServiceStubSettings.newHttpJsonBuilder()); - } - - public TablesServiceStubSettings.Builder getStubSettingsBuilder() { - return ((TablesServiceStubSettings.Builder) getStubSettings()); - } - - /** - * Applies the given settings updater function to all of the unary API methods in this service. - * - *

Note: This method does not support applying settings to streaming methods. - */ - public Builder applyToAllUnaryMethods( - ApiFunction, Void> settingsUpdater) { - super.applyToAllUnaryMethods( - getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); - return this; - } - - /** Returns the builder for the settings used for calls to getTable. */ - public UnaryCallSettings.Builder getTableSettings() { - return getStubSettingsBuilder().getTableSettings(); - } - - /** Returns the builder for the settings used for calls to listTables. */ - public PagedCallSettings.Builder - listTablesSettings() { - return getStubSettingsBuilder().listTablesSettings(); - } - - /** Returns the builder for the settings used for calls to getWorkspace. */ - public UnaryCallSettings.Builder getWorkspaceSettings() { - return getStubSettingsBuilder().getWorkspaceSettings(); - } - - /** Returns the builder for the settings used for calls to listWorkspaces. */ - public PagedCallSettings.Builder< - ListWorkspacesRequest, ListWorkspacesResponse, ListWorkspacesPagedResponse> - listWorkspacesSettings() { - return getStubSettingsBuilder().listWorkspacesSettings(); - } - - /** Returns the builder for the settings used for calls to getRow. */ - public UnaryCallSettings.Builder getRowSettings() { - return getStubSettingsBuilder().getRowSettings(); - } - - /** Returns the builder for the settings used for calls to listRows. */ - public PagedCallSettings.Builder - listRowsSettings() { - return getStubSettingsBuilder().listRowsSettings(); - } - - /** Returns the builder for the settings used for calls to createRow. */ - public UnaryCallSettings.Builder createRowSettings() { - return getStubSettingsBuilder().createRowSettings(); - } - - /** Returns the builder for the settings used for calls to batchCreateRows. */ - public UnaryCallSettings.Builder - batchCreateRowsSettings() { - return getStubSettingsBuilder().batchCreateRowsSettings(); - } - - /** Returns the builder for the settings used for calls to updateRow. */ - public UnaryCallSettings.Builder updateRowSettings() { - return getStubSettingsBuilder().updateRowSettings(); - } - - /** Returns the builder for the settings used for calls to batchUpdateRows. */ - public UnaryCallSettings.Builder - batchUpdateRowsSettings() { - return getStubSettingsBuilder().batchUpdateRowsSettings(); - } - - /** Returns the builder for the settings used for calls to deleteRow. */ - public UnaryCallSettings.Builder deleteRowSettings() { - return getStubSettingsBuilder().deleteRowSettings(); - } - - /** Returns the builder for the settings used for calls to batchDeleteRows. */ - public UnaryCallSettings.Builder batchDeleteRowsSettings() { - return getStubSettingsBuilder().batchDeleteRowsSettings(); - } - - @Override - public TablesServiceSettings build() throws IOException { - return new TablesServiceSettings(this); - } - } -} diff --git a/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/gapic_metadata.json b/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/gapic_metadata.json deleted file mode 100644 index a5c0ccdbbec0..000000000000 --- a/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/gapic_metadata.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "schema": "1.0", - "comment": "This file maps proto services/RPCs to the corresponding library clients/methods", - "language": "java", - "protoPackage": "google.area120.tables.v1alpha1", - "libraryPackage": "com.google.area120.tables.v1alpha", - "services": { - "TablesService": { - "clients": { - "grpc": { - "libraryClient": "TablesServiceClient", - "rpcs": { - "BatchCreateRows": { - "methods": ["batchCreateRows", "batchCreateRowsCallable"] - }, - "BatchDeleteRows": { - "methods": ["batchDeleteRows", "batchDeleteRowsCallable"] - }, - "BatchUpdateRows": { - "methods": ["batchUpdateRows", "batchUpdateRowsCallable"] - }, - "CreateRow": { - "methods": ["createRow", "createRow", "createRowCallable"] - }, - "DeleteRow": { - "methods": ["deleteRow", "deleteRow", "deleteRow", "deleteRowCallable"] - }, - "GetRow": { - "methods": ["getRow", "getRow", "getRow", "getRowCallable"] - }, - "GetTable": { - "methods": ["getTable", "getTable", "getTable", "getTableCallable"] - }, - "GetWorkspace": { - "methods": ["getWorkspace", "getWorkspace", "getWorkspace", "getWorkspaceCallable"] - }, - "ListRows": { - "methods": ["listRows", "listRows", "listRowsPagedCallable", "listRowsCallable"] - }, - "ListTables": { - "methods": ["listTables", "listTablesPagedCallable", "listTablesCallable"] - }, - "ListWorkspaces": { - "methods": ["listWorkspaces", "listWorkspacesPagedCallable", "listWorkspacesCallable"] - }, - "UpdateRow": { - "methods": ["updateRow", "updateRow", "updateRowCallable"] - } - } - } - } - } - } -} \ No newline at end of file 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 deleted file mode 100644 index 3c68020a70c4..000000000000 --- a/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/package-info.java +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/** - * A client to Area120 Tables API - * - *

The interfaces provided are listed below, along with usage samples. - * - *

======================= TablesServiceClient ======================= - * - *

Service Description: The Tables Service provides an API for reading and updating tables. It - * defines the following resource model: - * - *

- The API has a collection of [Table][google.area120.tables.v1alpha1.Table] resources, named - * `tables/*` - * - *

- Each Table has a collection of [Row][google.area120.tables.v1alpha1.Row] resources, named - * `tables/*/rows/*` - * - *

- The API has a collection of [Workspace][google.area120.tables.v1alpha1.Workspace] resources, - * named `workspaces/*`. - * - *

Sample for TablesServiceClient: - * - *

{@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 (TablesServiceClient tablesServiceClient = TablesServiceClient.create()) {
- *   TableName name = TableName.of("[TABLE]");
- *   Table response = tablesServiceClient.getTable(name);
- * }
- * }
- */ -@Generated("by gapic-generator-java") -package com.google.area120.tables.v1alpha; - -import javax.annotation.Generated; diff --git a/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/stub/GrpcTablesServiceCallableFactory.java b/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/stub/GrpcTablesServiceCallableFactory.java deleted file mode 100644 index f2b2ebcaf764..000000000000 --- a/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/stub/GrpcTablesServiceCallableFactory.java +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.stub; - -import com.google.api.core.BetaApi; -import com.google.api.gax.grpc.GrpcCallSettings; -import com.google.api.gax.grpc.GrpcCallableFactory; -import com.google.api.gax.grpc.GrpcStubCallableFactory; -import com.google.api.gax.rpc.BatchingCallSettings; -import com.google.api.gax.rpc.BidiStreamingCallable; -import com.google.api.gax.rpc.ClientContext; -import com.google.api.gax.rpc.ClientStreamingCallable; -import com.google.api.gax.rpc.OperationCallSettings; -import com.google.api.gax.rpc.OperationCallable; -import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.ServerStreamingCallSettings; -import com.google.api.gax.rpc.ServerStreamingCallable; -import com.google.api.gax.rpc.StreamingCallSettings; -import com.google.api.gax.rpc.UnaryCallSettings; -import com.google.api.gax.rpc.UnaryCallable; -import com.google.longrunning.Operation; -import com.google.longrunning.stub.OperationsStub; -import javax.annotation.Generated; -import org.jspecify.annotations.NullMarked; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -/** - * gRPC callable factory implementation for the TablesService service API. - * - *

This class is for advanced usage. - */ -@NullMarked -@BetaApi -@Generated("by gapic-generator-java") -public class GrpcTablesServiceCallableFactory implements GrpcStubCallableFactory { - - @Override - public UnaryCallable createUnaryCallable( - GrpcCallSettings grpcCallSettings, - UnaryCallSettings callSettings, - ClientContext clientContext) { - return GrpcCallableFactory.createUnaryCallable(grpcCallSettings, callSettings, clientContext); - } - - @Override - public - UnaryCallable createPagedCallable( - GrpcCallSettings grpcCallSettings, - PagedCallSettings callSettings, - ClientContext clientContext) { - return GrpcCallableFactory.createPagedCallable(grpcCallSettings, callSettings, clientContext); - } - - @Override - public UnaryCallable createBatchingCallable( - GrpcCallSettings grpcCallSettings, - BatchingCallSettings callSettings, - ClientContext clientContext) { - return GrpcCallableFactory.createBatchingCallable( - grpcCallSettings, callSettings, clientContext); - } - - @Override - public - OperationCallable createOperationCallable( - GrpcCallSettings grpcCallSettings, - OperationCallSettings callSettings, - ClientContext clientContext, - OperationsStub operationsStub) { - return GrpcCallableFactory.createOperationCallable( - grpcCallSettings, callSettings, clientContext, operationsStub); - } - - @Override - public - BidiStreamingCallable createBidiStreamingCallable( - GrpcCallSettings grpcCallSettings, - StreamingCallSettings callSettings, - ClientContext clientContext) { - return GrpcCallableFactory.createBidiStreamingCallable( - grpcCallSettings, callSettings, clientContext); - } - - @Override - public - ServerStreamingCallable createServerStreamingCallable( - GrpcCallSettings grpcCallSettings, - ServerStreamingCallSettings callSettings, - ClientContext clientContext) { - return GrpcCallableFactory.createServerStreamingCallable( - grpcCallSettings, callSettings, clientContext); - } - - @Override - public - ClientStreamingCallable createClientStreamingCallable( - GrpcCallSettings grpcCallSettings, - StreamingCallSettings callSettings, - ClientContext clientContext) { - return GrpcCallableFactory.createClientStreamingCallable( - grpcCallSettings, callSettings, clientContext); - } -} diff --git a/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/stub/GrpcTablesServiceStub.java b/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/stub/GrpcTablesServiceStub.java deleted file mode 100644 index 18c332e417d0..000000000000 --- a/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/stub/GrpcTablesServiceStub.java +++ /dev/null @@ -1,535 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.stub; - -import static com.google.area120.tables.v1alpha.TablesServiceClient.ListRowsPagedResponse; -import static com.google.area120.tables.v1alpha.TablesServiceClient.ListTablesPagedResponse; -import static com.google.area120.tables.v1alpha.TablesServiceClient.ListWorkspacesPagedResponse; - -import com.google.api.core.BetaApi; -import com.google.api.gax.core.BackgroundResource; -import com.google.api.gax.core.BackgroundResourceAggregation; -import com.google.api.gax.grpc.GrpcCallSettings; -import com.google.api.gax.grpc.GrpcStubCallableFactory; -import com.google.api.gax.rpc.ClientContext; -import com.google.api.gax.rpc.RequestParamsBuilder; -import com.google.api.gax.rpc.UnaryCallable; -import com.google.area120.tables.v1alpha1.BatchCreateRowsRequest; -import com.google.area120.tables.v1alpha1.BatchCreateRowsResponse; -import com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest; -import com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest; -import com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse; -import com.google.area120.tables.v1alpha1.CreateRowRequest; -import com.google.area120.tables.v1alpha1.DeleteRowRequest; -import com.google.area120.tables.v1alpha1.GetRowRequest; -import com.google.area120.tables.v1alpha1.GetTableRequest; -import com.google.area120.tables.v1alpha1.GetWorkspaceRequest; -import com.google.area120.tables.v1alpha1.ListRowsRequest; -import com.google.area120.tables.v1alpha1.ListRowsResponse; -import com.google.area120.tables.v1alpha1.ListTablesRequest; -import com.google.area120.tables.v1alpha1.ListTablesResponse; -import com.google.area120.tables.v1alpha1.ListWorkspacesRequest; -import com.google.area120.tables.v1alpha1.ListWorkspacesResponse; -import com.google.area120.tables.v1alpha1.Row; -import com.google.area120.tables.v1alpha1.Table; -import com.google.area120.tables.v1alpha1.UpdateRowRequest; -import com.google.area120.tables.v1alpha1.Workspace; -import com.google.longrunning.stub.GrpcOperationsStub; -import com.google.protobuf.Empty; -import io.grpc.MethodDescriptor; -import io.grpc.protobuf.ProtoUtils; -import java.io.IOException; -import java.util.concurrent.TimeUnit; -import javax.annotation.Generated; -import org.jspecify.annotations.NullMarked; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -/** - * gRPC stub implementation for the TablesService service API. - * - *

This class is for advanced usage and reflects the underlying API directly. - */ -@NullMarked -@BetaApi -@Generated("by gapic-generator-java") -public class GrpcTablesServiceStub extends TablesServiceStub { - private static final MethodDescriptor getTableMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.area120.tables.v1alpha1.TablesService/GetTable") - .setRequestMarshaller(ProtoUtils.marshaller(GetTableRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Table.getDefaultInstance())) - .setSampledToLocalTracing(true) - .build(); - - private static final MethodDescriptor - listTablesMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.area120.tables.v1alpha1.TablesService/ListTables") - .setRequestMarshaller(ProtoUtils.marshaller(ListTablesRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(ListTablesResponse.getDefaultInstance())) - .setSampledToLocalTracing(true) - .build(); - - private static final MethodDescriptor - getWorkspaceMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.area120.tables.v1alpha1.TablesService/GetWorkspace") - .setRequestMarshaller(ProtoUtils.marshaller(GetWorkspaceRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Workspace.getDefaultInstance())) - .setSampledToLocalTracing(true) - .build(); - - private static final MethodDescriptor - listWorkspacesMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.area120.tables.v1alpha1.TablesService/ListWorkspaces") - .setRequestMarshaller( - ProtoUtils.marshaller(ListWorkspacesRequest.getDefaultInstance())) - .setResponseMarshaller( - ProtoUtils.marshaller(ListWorkspacesResponse.getDefaultInstance())) - .setSampledToLocalTracing(true) - .build(); - - private static final MethodDescriptor getRowMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.area120.tables.v1alpha1.TablesService/GetRow") - .setRequestMarshaller(ProtoUtils.marshaller(GetRowRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Row.getDefaultInstance())) - .setSampledToLocalTracing(true) - .build(); - - private static final MethodDescriptor - listRowsMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.area120.tables.v1alpha1.TablesService/ListRows") - .setRequestMarshaller(ProtoUtils.marshaller(ListRowsRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(ListRowsResponse.getDefaultInstance())) - .setSampledToLocalTracing(true) - .build(); - - private static final MethodDescriptor createRowMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.area120.tables.v1alpha1.TablesService/CreateRow") - .setRequestMarshaller(ProtoUtils.marshaller(CreateRowRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Row.getDefaultInstance())) - .setSampledToLocalTracing(true) - .build(); - - private static final MethodDescriptor - batchCreateRowsMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.area120.tables.v1alpha1.TablesService/BatchCreateRows") - .setRequestMarshaller( - ProtoUtils.marshaller(BatchCreateRowsRequest.getDefaultInstance())) - .setResponseMarshaller( - ProtoUtils.marshaller(BatchCreateRowsResponse.getDefaultInstance())) - .setSampledToLocalTracing(true) - .build(); - - private static final MethodDescriptor updateRowMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.area120.tables.v1alpha1.TablesService/UpdateRow") - .setRequestMarshaller(ProtoUtils.marshaller(UpdateRowRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Row.getDefaultInstance())) - .setSampledToLocalTracing(true) - .build(); - - private static final MethodDescriptor - batchUpdateRowsMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.area120.tables.v1alpha1.TablesService/BatchUpdateRows") - .setRequestMarshaller( - ProtoUtils.marshaller(BatchUpdateRowsRequest.getDefaultInstance())) - .setResponseMarshaller( - ProtoUtils.marshaller(BatchUpdateRowsResponse.getDefaultInstance())) - .setSampledToLocalTracing(true) - .build(); - - private static final MethodDescriptor deleteRowMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.area120.tables.v1alpha1.TablesService/DeleteRow") - .setRequestMarshaller(ProtoUtils.marshaller(DeleteRowRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) - .setSampledToLocalTracing(true) - .build(); - - private static final MethodDescriptor - batchDeleteRowsMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.area120.tables.v1alpha1.TablesService/BatchDeleteRows") - .setRequestMarshaller( - ProtoUtils.marshaller(BatchDeleteRowsRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) - .setSampledToLocalTracing(true) - .build(); - - private final UnaryCallable getTableCallable; - private final UnaryCallable listTablesCallable; - private final UnaryCallable listTablesPagedCallable; - private final UnaryCallable getWorkspaceCallable; - private final UnaryCallable listWorkspacesCallable; - private final UnaryCallable - listWorkspacesPagedCallable; - private final UnaryCallable getRowCallable; - private final UnaryCallable listRowsCallable; - private final UnaryCallable listRowsPagedCallable; - private final UnaryCallable createRowCallable; - private final UnaryCallable - batchCreateRowsCallable; - private final UnaryCallable updateRowCallable; - private final UnaryCallable - batchUpdateRowsCallable; - private final UnaryCallable deleteRowCallable; - private final UnaryCallable batchDeleteRowsCallable; - - private final BackgroundResource backgroundResources; - private final GrpcOperationsStub operationsStub; - private final GrpcStubCallableFactory callableFactory; - - public static final GrpcTablesServiceStub create(TablesServiceStubSettings settings) - throws IOException { - return new GrpcTablesServiceStub(settings, ClientContext.create(settings)); - } - - public static final GrpcTablesServiceStub create(ClientContext clientContext) throws IOException { - return new GrpcTablesServiceStub(TablesServiceStubSettings.newBuilder().build(), clientContext); - } - - public static final GrpcTablesServiceStub create( - ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException { - return new GrpcTablesServiceStub( - TablesServiceStubSettings.newBuilder().build(), clientContext, callableFactory); - } - - /** - * Constructs an instance of GrpcTablesServiceStub, using the given settings. This is protected so - * that it is easy to make a subclass, but otherwise, the static factory methods should be - * preferred. - */ - protected GrpcTablesServiceStub(TablesServiceStubSettings settings, ClientContext clientContext) - throws IOException { - this(settings, clientContext, new GrpcTablesServiceCallableFactory()); - } - - /** - * Constructs an instance of GrpcTablesServiceStub, using the given settings. This is protected so - * that it is easy to make a subclass, but otherwise, the static factory methods should be - * preferred. - */ - protected GrpcTablesServiceStub( - TablesServiceStubSettings settings, - ClientContext clientContext, - GrpcStubCallableFactory callableFactory) - throws IOException { - this.callableFactory = callableFactory; - this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory); - - GrpcCallSettings getTableTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(getTableMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("name", String.valueOf(request.getName())); - return builder.build(); - }) - .setResourceNameExtractor(request -> request.getName()) - .build(); - GrpcCallSettings listTablesTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(listTablesMethodDescriptor) - .build(); - GrpcCallSettings getWorkspaceTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(getWorkspaceMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("name", String.valueOf(request.getName())); - return builder.build(); - }) - .setResourceNameExtractor(request -> request.getName()) - .build(); - GrpcCallSettings - listWorkspacesTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(listWorkspacesMethodDescriptor) - .build(); - GrpcCallSettings getRowTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(getRowMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("name", String.valueOf(request.getName())); - return builder.build(); - }) - .setResourceNameExtractor(request -> request.getName()) - .build(); - GrpcCallSettings listRowsTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(listRowsMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("parent", String.valueOf(request.getParent())); - return builder.build(); - }) - .build(); - GrpcCallSettings createRowTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(createRowMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("parent", String.valueOf(request.getParent())); - return builder.build(); - }) - .build(); - GrpcCallSettings - batchCreateRowsTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(batchCreateRowsMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("parent", String.valueOf(request.getParent())); - return builder.build(); - }) - .build(); - GrpcCallSettings updateRowTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(updateRowMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("row.name", String.valueOf(request.getRow().getName())); - return builder.build(); - }) - .build(); - GrpcCallSettings - batchUpdateRowsTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(batchUpdateRowsMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("parent", String.valueOf(request.getParent())); - return builder.build(); - }) - .build(); - GrpcCallSettings deleteRowTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(deleteRowMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("name", String.valueOf(request.getName())); - return builder.build(); - }) - .setResourceNameExtractor(request -> request.getName()) - .build(); - GrpcCallSettings batchDeleteRowsTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(batchDeleteRowsMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("parent", String.valueOf(request.getParent())); - return builder.build(); - }) - .setResourceNameExtractor(request -> request.getParent()) - .build(); - - this.getTableCallable = - callableFactory.createUnaryCallable( - getTableTransportSettings, settings.getTableSettings(), clientContext); - this.listTablesCallable = - callableFactory.createUnaryCallable( - listTablesTransportSettings, settings.listTablesSettings(), clientContext); - this.listTablesPagedCallable = - callableFactory.createPagedCallable( - listTablesTransportSettings, settings.listTablesSettings(), clientContext); - this.getWorkspaceCallable = - callableFactory.createUnaryCallable( - getWorkspaceTransportSettings, settings.getWorkspaceSettings(), clientContext); - this.listWorkspacesCallable = - callableFactory.createUnaryCallable( - listWorkspacesTransportSettings, settings.listWorkspacesSettings(), clientContext); - this.listWorkspacesPagedCallable = - callableFactory.createPagedCallable( - listWorkspacesTransportSettings, settings.listWorkspacesSettings(), clientContext); - this.getRowCallable = - callableFactory.createUnaryCallable( - getRowTransportSettings, settings.getRowSettings(), clientContext); - this.listRowsCallable = - callableFactory.createUnaryCallable( - listRowsTransportSettings, settings.listRowsSettings(), clientContext); - this.listRowsPagedCallable = - callableFactory.createPagedCallable( - listRowsTransportSettings, settings.listRowsSettings(), clientContext); - this.createRowCallable = - callableFactory.createUnaryCallable( - createRowTransportSettings, settings.createRowSettings(), clientContext); - this.batchCreateRowsCallable = - callableFactory.createUnaryCallable( - batchCreateRowsTransportSettings, settings.batchCreateRowsSettings(), clientContext); - this.updateRowCallable = - callableFactory.createUnaryCallable( - updateRowTransportSettings, settings.updateRowSettings(), clientContext); - this.batchUpdateRowsCallable = - callableFactory.createUnaryCallable( - batchUpdateRowsTransportSettings, settings.batchUpdateRowsSettings(), clientContext); - this.deleteRowCallable = - callableFactory.createUnaryCallable( - deleteRowTransportSettings, settings.deleteRowSettings(), clientContext); - this.batchDeleteRowsCallable = - callableFactory.createUnaryCallable( - batchDeleteRowsTransportSettings, settings.batchDeleteRowsSettings(), clientContext); - - this.backgroundResources = - new BackgroundResourceAggregation(clientContext.getBackgroundResources()); - } - - public GrpcOperationsStub getOperationsStub() { - return operationsStub; - } - - @Override - public UnaryCallable getTableCallable() { - return getTableCallable; - } - - @Override - public UnaryCallable listTablesCallable() { - return listTablesCallable; - } - - @Override - public UnaryCallable listTablesPagedCallable() { - return listTablesPagedCallable; - } - - @Override - public UnaryCallable getWorkspaceCallable() { - return getWorkspaceCallable; - } - - @Override - public UnaryCallable listWorkspacesCallable() { - return listWorkspacesCallable; - } - - @Override - public UnaryCallable - listWorkspacesPagedCallable() { - return listWorkspacesPagedCallable; - } - - @Override - public UnaryCallable getRowCallable() { - return getRowCallable; - } - - @Override - public UnaryCallable listRowsCallable() { - return listRowsCallable; - } - - @Override - public UnaryCallable listRowsPagedCallable() { - return listRowsPagedCallable; - } - - @Override - public UnaryCallable createRowCallable() { - return createRowCallable; - } - - @Override - public UnaryCallable batchCreateRowsCallable() { - return batchCreateRowsCallable; - } - - @Override - public UnaryCallable updateRowCallable() { - return updateRowCallable; - } - - @Override - public UnaryCallable batchUpdateRowsCallable() { - return batchUpdateRowsCallable; - } - - @Override - public UnaryCallable deleteRowCallable() { - return deleteRowCallable; - } - - @Override - public UnaryCallable batchDeleteRowsCallable() { - return batchDeleteRowsCallable; - } - - @Override - public final void close() { - try { - backgroundResources.close(); - } catch (RuntimeException e) { - throw e; - } catch (Exception e) { - throw new IllegalStateException("Failed to close resource", e); - } - } - - @Override - public void shutdown() { - backgroundResources.shutdown(); - } - - @Override - public boolean isShutdown() { - return backgroundResources.isShutdown(); - } - - @Override - public boolean isTerminated() { - return backgroundResources.isTerminated(); - } - - @Override - public void shutdownNow() { - backgroundResources.shutdownNow(); - } - - @Override - public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { - return backgroundResources.awaitTermination(duration, unit); - } -} diff --git a/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/stub/HttpJsonTablesServiceCallableFactory.java b/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/stub/HttpJsonTablesServiceCallableFactory.java deleted file mode 100644 index 49a66a8abdf4..000000000000 --- a/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/stub/HttpJsonTablesServiceCallableFactory.java +++ /dev/null @@ -1,105 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.stub; - -import com.google.api.core.BetaApi; -import com.google.api.gax.httpjson.HttpJsonCallSettings; -import com.google.api.gax.httpjson.HttpJsonCallableFactory; -import com.google.api.gax.httpjson.HttpJsonOperationSnapshotCallable; -import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; -import com.google.api.gax.httpjson.longrunning.stub.OperationsStub; -import com.google.api.gax.rpc.BatchingCallSettings; -import com.google.api.gax.rpc.ClientContext; -import com.google.api.gax.rpc.OperationCallSettings; -import com.google.api.gax.rpc.OperationCallable; -import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.ServerStreamingCallSettings; -import com.google.api.gax.rpc.ServerStreamingCallable; -import com.google.api.gax.rpc.UnaryCallSettings; -import com.google.api.gax.rpc.UnaryCallable; -import com.google.longrunning.Operation; -import javax.annotation.Generated; -import org.jspecify.annotations.NullMarked; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -/** - * REST callable factory implementation for the TablesService service API. - * - *

This class is for advanced usage. - */ -@NullMarked -@BetaApi -@Generated("by gapic-generator-java") -public class HttpJsonTablesServiceCallableFactory - implements HttpJsonStubCallableFactory { - - @Override - public UnaryCallable createUnaryCallable( - HttpJsonCallSettings httpJsonCallSettings, - UnaryCallSettings callSettings, - ClientContext clientContext) { - return HttpJsonCallableFactory.createUnaryCallable( - httpJsonCallSettings, callSettings, clientContext); - } - - @Override - public - UnaryCallable createPagedCallable( - HttpJsonCallSettings httpJsonCallSettings, - PagedCallSettings callSettings, - ClientContext clientContext) { - return HttpJsonCallableFactory.createPagedCallable( - httpJsonCallSettings, callSettings, clientContext); - } - - @Override - public UnaryCallable createBatchingCallable( - HttpJsonCallSettings httpJsonCallSettings, - BatchingCallSettings callSettings, - ClientContext clientContext) { - return HttpJsonCallableFactory.createBatchingCallable( - httpJsonCallSettings, callSettings, clientContext); - } - - @Override - public - OperationCallable createOperationCallable( - HttpJsonCallSettings httpJsonCallSettings, - OperationCallSettings callSettings, - ClientContext clientContext, - OperationsStub operationsStub) { - UnaryCallable innerCallable = - HttpJsonCallableFactory.createBaseUnaryCallable( - httpJsonCallSettings, callSettings.getInitialCallSettings(), clientContext); - HttpJsonOperationSnapshotCallable initialCallable = - new HttpJsonOperationSnapshotCallable( - innerCallable, - httpJsonCallSettings.getMethodDescriptor().getOperationSnapshotFactory()); - return HttpJsonCallableFactory.createOperationCallable( - callSettings, clientContext, operationsStub.longRunningClient(), initialCallable); - } - - @Override - public - ServerStreamingCallable createServerStreamingCallable( - HttpJsonCallSettings httpJsonCallSettings, - ServerStreamingCallSettings callSettings, - ClientContext clientContext) { - return HttpJsonCallableFactory.createServerStreamingCallable( - httpJsonCallSettings, callSettings, clientContext); - } -} 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 deleted file mode 100644 index ece30dae6209..000000000000 --- a/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/stub/HttpJsonTablesServiceStub.java +++ /dev/null @@ -1,872 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.stub; - -import static com.google.area120.tables.v1alpha.TablesServiceClient.ListRowsPagedResponse; -import static com.google.area120.tables.v1alpha.TablesServiceClient.ListTablesPagedResponse; -import static com.google.area120.tables.v1alpha.TablesServiceClient.ListWorkspacesPagedResponse; - -import com.google.api.core.BetaApi; -import com.google.api.core.InternalApi; -import com.google.api.gax.core.BackgroundResource; -import com.google.api.gax.core.BackgroundResourceAggregation; -import com.google.api.gax.httpjson.ApiMethodDescriptor; -import com.google.api.gax.httpjson.HttpJsonCallSettings; -import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; -import com.google.api.gax.httpjson.ProtoMessageRequestFormatter; -import com.google.api.gax.httpjson.ProtoMessageResponseParser; -import com.google.api.gax.httpjson.ProtoRestSerializer; -import com.google.api.gax.rpc.ClientContext; -import com.google.api.gax.rpc.RequestParamsBuilder; -import com.google.api.gax.rpc.UnaryCallable; -import com.google.area120.tables.v1alpha1.BatchCreateRowsRequest; -import com.google.area120.tables.v1alpha1.BatchCreateRowsResponse; -import com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest; -import com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest; -import com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse; -import com.google.area120.tables.v1alpha1.CreateRowRequest; -import com.google.area120.tables.v1alpha1.DeleteRowRequest; -import com.google.area120.tables.v1alpha1.GetRowRequest; -import com.google.area120.tables.v1alpha1.GetTableRequest; -import com.google.area120.tables.v1alpha1.GetWorkspaceRequest; -import com.google.area120.tables.v1alpha1.ListRowsRequest; -import com.google.area120.tables.v1alpha1.ListRowsResponse; -import com.google.area120.tables.v1alpha1.ListTablesRequest; -import com.google.area120.tables.v1alpha1.ListTablesResponse; -import com.google.area120.tables.v1alpha1.ListWorkspacesRequest; -import com.google.area120.tables.v1alpha1.ListWorkspacesResponse; -import com.google.area120.tables.v1alpha1.Row; -import com.google.area120.tables.v1alpha1.Table; -import com.google.area120.tables.v1alpha1.UpdateRowRequest; -import com.google.area120.tables.v1alpha1.Workspace; -import com.google.protobuf.Empty; -import com.google.protobuf.TypeRegistry; -import java.io.IOException; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import java.util.concurrent.TimeUnit; -import javax.annotation.Generated; -import org.jspecify.annotations.NullMarked; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -/** - * REST stub implementation for the TablesService service API. - * - *

This class is for advanced usage and reflects the underlying API directly. - */ -@NullMarked -@BetaApi -@Generated("by gapic-generator-java") -public class HttpJsonTablesServiceStub extends TablesServiceStub { - private static final TypeRegistry typeRegistry = TypeRegistry.newBuilder().build(); - - private static final ApiMethodDescriptor getTableMethodDescriptor = - ApiMethodDescriptor.newBuilder() - .setFullMethodName("google.area120.tables.v1alpha1.TablesService/GetTable") - .setHttpMethod("GET") - .setType(ApiMethodDescriptor.MethodType.UNARY) - .setRequestFormatter( - ProtoMessageRequestFormatter.newBuilder() - .setPath( - "/v1alpha1/{name=tables/*}", - request -> { - Map fields = new HashMap<>(); - ProtoRestSerializer serializer = - ProtoRestSerializer.create(); - serializer.putPathParam(fields, "name", request.getName()); - return fields; - }) - .setQueryParamsExtractor( - request -> { - Map> fields = new HashMap<>(); - ProtoRestSerializer serializer = - ProtoRestSerializer.create(); - serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); - return fields; - }) - .setRequestBodyExtractor(request -> null) - .build()) - .setResponseParser( - ProtoMessageResponseParser.

newBuilder() - .setDefaultInstance(Table.getDefaultInstance()) - .setDefaultTypeRegistry(typeRegistry) - .build()) - .build(); - - private static final ApiMethodDescriptor - listTablesMethodDescriptor = - ApiMethodDescriptor.newBuilder() - .setFullMethodName("google.area120.tables.v1alpha1.TablesService/ListTables") - .setHttpMethod("GET") - .setType(ApiMethodDescriptor.MethodType.UNARY) - .setRequestFormatter( - ProtoMessageRequestFormatter.newBuilder() - .setPath( - "/v1alpha1/tables", - request -> { - Map fields = new HashMap<>(); - ProtoRestSerializer serializer = - ProtoRestSerializer.create(); - return fields; - }) - .setQueryParamsExtractor( - request -> { - Map> fields = new HashMap<>(); - ProtoRestSerializer serializer = - ProtoRestSerializer.create(); - serializer.putQueryParam(fields, "pageSize", request.getPageSize()); - serializer.putQueryParam(fields, "pageToken", request.getPageToken()); - serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); - return fields; - }) - .setRequestBodyExtractor(request -> null) - .build()) - .setResponseParser( - ProtoMessageResponseParser.newBuilder() - .setDefaultInstance(ListTablesResponse.getDefaultInstance()) - .setDefaultTypeRegistry(typeRegistry) - .build()) - .build(); - - private static final ApiMethodDescriptor - getWorkspaceMethodDescriptor = - ApiMethodDescriptor.newBuilder() - .setFullMethodName("google.area120.tables.v1alpha1.TablesService/GetWorkspace") - .setHttpMethod("GET") - .setType(ApiMethodDescriptor.MethodType.UNARY) - .setRequestFormatter( - ProtoMessageRequestFormatter.newBuilder() - .setPath( - "/v1alpha1/{name=workspaces/*}", - request -> { - Map fields = new HashMap<>(); - ProtoRestSerializer serializer = - ProtoRestSerializer.create(); - serializer.putPathParam(fields, "name", request.getName()); - return fields; - }) - .setQueryParamsExtractor( - request -> { - Map> fields = new HashMap<>(); - ProtoRestSerializer serializer = - ProtoRestSerializer.create(); - serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); - return fields; - }) - .setRequestBodyExtractor(request -> null) - .build()) - .setResponseParser( - ProtoMessageResponseParser.newBuilder() - .setDefaultInstance(Workspace.getDefaultInstance()) - .setDefaultTypeRegistry(typeRegistry) - .build()) - .build(); - - private static final ApiMethodDescriptor - listWorkspacesMethodDescriptor = - ApiMethodDescriptor.newBuilder() - .setFullMethodName("google.area120.tables.v1alpha1.TablesService/ListWorkspaces") - .setHttpMethod("GET") - .setType(ApiMethodDescriptor.MethodType.UNARY) - .setRequestFormatter( - ProtoMessageRequestFormatter.newBuilder() - .setPath( - "/v1alpha1/workspaces", - request -> { - Map fields = new HashMap<>(); - ProtoRestSerializer serializer = - ProtoRestSerializer.create(); - return fields; - }) - .setQueryParamsExtractor( - request -> { - Map> fields = new HashMap<>(); - ProtoRestSerializer serializer = - ProtoRestSerializer.create(); - serializer.putQueryParam(fields, "pageSize", request.getPageSize()); - serializer.putQueryParam(fields, "pageToken", request.getPageToken()); - serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); - return fields; - }) - .setRequestBodyExtractor(request -> null) - .build()) - .setResponseParser( - ProtoMessageResponseParser.newBuilder() - .setDefaultInstance(ListWorkspacesResponse.getDefaultInstance()) - .setDefaultTypeRegistry(typeRegistry) - .build()) - .build(); - - private static final ApiMethodDescriptor getRowMethodDescriptor = - ApiMethodDescriptor.newBuilder() - .setFullMethodName("google.area120.tables.v1alpha1.TablesService/GetRow") - .setHttpMethod("GET") - .setType(ApiMethodDescriptor.MethodType.UNARY) - .setRequestFormatter( - ProtoMessageRequestFormatter.newBuilder() - .setPath( - "/v1alpha1/{name=tables/*/rows/*}", - request -> { - Map fields = new HashMap<>(); - ProtoRestSerializer serializer = - ProtoRestSerializer.create(); - serializer.putPathParam(fields, "name", request.getName()); - return fields; - }) - .setQueryParamsExtractor( - request -> { - Map> fields = new HashMap<>(); - ProtoRestSerializer serializer = - ProtoRestSerializer.create(); - serializer.putQueryParam(fields, "view", request.getViewValue()); - serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); - return fields; - }) - .setRequestBodyExtractor(request -> null) - .build()) - .setResponseParser( - ProtoMessageResponseParser.newBuilder() - .setDefaultInstance(Row.getDefaultInstance()) - .setDefaultTypeRegistry(typeRegistry) - .build()) - .build(); - - private static final ApiMethodDescriptor - listRowsMethodDescriptor = - ApiMethodDescriptor.newBuilder() - .setFullMethodName("google.area120.tables.v1alpha1.TablesService/ListRows") - .setHttpMethod("GET") - .setType(ApiMethodDescriptor.MethodType.UNARY) - .setRequestFormatter( - ProtoMessageRequestFormatter.newBuilder() - .setPath( - "/v1alpha1/{parent=tables/*}/rows", - request -> { - Map fields = new HashMap<>(); - ProtoRestSerializer serializer = - ProtoRestSerializer.create(); - serializer.putPathParam(fields, "parent", request.getParent()); - return fields; - }) - .setQueryParamsExtractor( - request -> { - Map> fields = new HashMap<>(); - ProtoRestSerializer serializer = - ProtoRestSerializer.create(); - serializer.putQueryParam(fields, "filter", request.getFilter()); - serializer.putQueryParam(fields, "pageSize", request.getPageSize()); - serializer.putQueryParam(fields, "pageToken", request.getPageToken()); - serializer.putQueryParam(fields, "view", request.getViewValue()); - serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); - return fields; - }) - .setRequestBodyExtractor(request -> null) - .build()) - .setResponseParser( - ProtoMessageResponseParser.newBuilder() - .setDefaultInstance(ListRowsResponse.getDefaultInstance()) - .setDefaultTypeRegistry(typeRegistry) - .build()) - .build(); - - private static final ApiMethodDescriptor createRowMethodDescriptor = - ApiMethodDescriptor.newBuilder() - .setFullMethodName("google.area120.tables.v1alpha1.TablesService/CreateRow") - .setHttpMethod("POST") - .setType(ApiMethodDescriptor.MethodType.UNARY) - .setRequestFormatter( - ProtoMessageRequestFormatter.newBuilder() - .setPath( - "/v1alpha1/{parent=tables/*}/rows", - request -> { - Map fields = new HashMap<>(); - ProtoRestSerializer serializer = - ProtoRestSerializer.create(); - serializer.putPathParam(fields, "parent", request.getParent()); - return fields; - }) - .setQueryParamsExtractor( - request -> { - Map> fields = new HashMap<>(); - ProtoRestSerializer serializer = - ProtoRestSerializer.create(); - serializer.putQueryParam(fields, "view", request.getViewValue()); - serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); - return fields; - }) - .setRequestBodyExtractor( - request -> ProtoRestSerializer.create().toBody("row", request.getRow(), true)) - .build()) - .setResponseParser( - ProtoMessageResponseParser.newBuilder() - .setDefaultInstance(Row.getDefaultInstance()) - .setDefaultTypeRegistry(typeRegistry) - .build()) - .build(); - - private static final ApiMethodDescriptor - batchCreateRowsMethodDescriptor = - ApiMethodDescriptor.newBuilder() - .setFullMethodName("google.area120.tables.v1alpha1.TablesService/BatchCreateRows") - .setHttpMethod("POST") - .setType(ApiMethodDescriptor.MethodType.UNARY) - .setRequestFormatter( - ProtoMessageRequestFormatter.newBuilder() - .setPath( - "/v1alpha1/{parent=tables/*}/rows:batchCreate", - request -> { - Map fields = new HashMap<>(); - ProtoRestSerializer serializer = - ProtoRestSerializer.create(); - serializer.putPathParam(fields, "parent", request.getParent()); - return fields; - }) - .setQueryParamsExtractor( - request -> { - Map> fields = new HashMap<>(); - ProtoRestSerializer serializer = - ProtoRestSerializer.create(); - serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); - return fields; - }) - .setRequestBodyExtractor( - request -> - ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearParent().build(), true)) - .build()) - .setResponseParser( - ProtoMessageResponseParser.newBuilder() - .setDefaultInstance(BatchCreateRowsResponse.getDefaultInstance()) - .setDefaultTypeRegistry(typeRegistry) - .build()) - .build(); - - private static final ApiMethodDescriptor updateRowMethodDescriptor = - ApiMethodDescriptor.newBuilder() - .setFullMethodName("google.area120.tables.v1alpha1.TablesService/UpdateRow") - .setHttpMethod("PATCH") - .setType(ApiMethodDescriptor.MethodType.UNARY) - .setRequestFormatter( - ProtoMessageRequestFormatter.newBuilder() - .setPath( - "/v1alpha1/{row.name=tables/*/rows/*}", - request -> { - Map fields = new HashMap<>(); - ProtoRestSerializer serializer = - ProtoRestSerializer.create(); - serializer.putPathParam(fields, "row.name", request.getRow().getName()); - return fields; - }) - .setQueryParamsExtractor( - request -> { - Map> fields = new HashMap<>(); - ProtoRestSerializer serializer = - ProtoRestSerializer.create(); - serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); - serializer.putQueryParam(fields, "view", request.getViewValue()); - serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); - return fields; - }) - .setRequestBodyExtractor( - request -> ProtoRestSerializer.create().toBody("row", request.getRow(), true)) - .build()) - .setResponseParser( - ProtoMessageResponseParser.newBuilder() - .setDefaultInstance(Row.getDefaultInstance()) - .setDefaultTypeRegistry(typeRegistry) - .build()) - .build(); - - private static final ApiMethodDescriptor - batchUpdateRowsMethodDescriptor = - ApiMethodDescriptor.newBuilder() - .setFullMethodName("google.area120.tables.v1alpha1.TablesService/BatchUpdateRows") - .setHttpMethod("POST") - .setType(ApiMethodDescriptor.MethodType.UNARY) - .setRequestFormatter( - ProtoMessageRequestFormatter.newBuilder() - .setPath( - "/v1alpha1/{parent=tables/*}/rows:batchUpdate", - request -> { - Map fields = new HashMap<>(); - ProtoRestSerializer serializer = - ProtoRestSerializer.create(); - serializer.putPathParam(fields, "parent", request.getParent()); - return fields; - }) - .setQueryParamsExtractor( - request -> { - Map> fields = new HashMap<>(); - ProtoRestSerializer serializer = - ProtoRestSerializer.create(); - serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); - return fields; - }) - .setRequestBodyExtractor( - request -> - ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearParent().build(), true)) - .build()) - .setResponseParser( - ProtoMessageResponseParser.newBuilder() - .setDefaultInstance(BatchUpdateRowsResponse.getDefaultInstance()) - .setDefaultTypeRegistry(typeRegistry) - .build()) - .build(); - - private static final ApiMethodDescriptor deleteRowMethodDescriptor = - ApiMethodDescriptor.newBuilder() - .setFullMethodName("google.area120.tables.v1alpha1.TablesService/DeleteRow") - .setHttpMethod("DELETE") - .setType(ApiMethodDescriptor.MethodType.UNARY) - .setRequestFormatter( - ProtoMessageRequestFormatter.newBuilder() - .setPath( - "/v1alpha1/{name=tables/*/rows/*}", - request -> { - Map fields = new HashMap<>(); - ProtoRestSerializer serializer = - ProtoRestSerializer.create(); - serializer.putPathParam(fields, "name", request.getName()); - return fields; - }) - .setQueryParamsExtractor( - request -> { - Map> fields = new HashMap<>(); - ProtoRestSerializer serializer = - ProtoRestSerializer.create(); - serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); - return fields; - }) - .setRequestBodyExtractor(request -> null) - .build()) - .setResponseParser( - ProtoMessageResponseParser.newBuilder() - .setDefaultInstance(Empty.getDefaultInstance()) - .setDefaultTypeRegistry(typeRegistry) - .build()) - .build(); - - private static final ApiMethodDescriptor - batchDeleteRowsMethodDescriptor = - ApiMethodDescriptor.newBuilder() - .setFullMethodName("google.area120.tables.v1alpha1.TablesService/BatchDeleteRows") - .setHttpMethod("POST") - .setType(ApiMethodDescriptor.MethodType.UNARY) - .setRequestFormatter( - ProtoMessageRequestFormatter.newBuilder() - .setPath( - "/v1alpha1/{parent=tables/*}/rows:batchDelete", - request -> { - Map fields = new HashMap<>(); - ProtoRestSerializer serializer = - ProtoRestSerializer.create(); - serializer.putPathParam(fields, "parent", request.getParent()); - return fields; - }) - .setQueryParamsExtractor( - request -> { - Map> fields = new HashMap<>(); - ProtoRestSerializer serializer = - ProtoRestSerializer.create(); - serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); - return fields; - }) - .setRequestBodyExtractor( - request -> - ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearParent().build(), true)) - .build()) - .setResponseParser( - ProtoMessageResponseParser.newBuilder() - .setDefaultInstance(Empty.getDefaultInstance()) - .setDefaultTypeRegistry(typeRegistry) - .build()) - .build(); - - private final UnaryCallable getTableCallable; - private final UnaryCallable listTablesCallable; - private final UnaryCallable listTablesPagedCallable; - private final UnaryCallable getWorkspaceCallable; - private final UnaryCallable listWorkspacesCallable; - private final UnaryCallable - listWorkspacesPagedCallable; - private final UnaryCallable getRowCallable; - private final UnaryCallable listRowsCallable; - private final UnaryCallable listRowsPagedCallable; - private final UnaryCallable createRowCallable; - private final UnaryCallable - batchCreateRowsCallable; - private final UnaryCallable updateRowCallable; - private final UnaryCallable - batchUpdateRowsCallable; - private final UnaryCallable deleteRowCallable; - private final UnaryCallable batchDeleteRowsCallable; - - private final BackgroundResource backgroundResources; - private final HttpJsonStubCallableFactory callableFactory; - - public static final HttpJsonTablesServiceStub create(TablesServiceStubSettings settings) - throws IOException { - return new HttpJsonTablesServiceStub(settings, ClientContext.create(settings)); - } - - public static final HttpJsonTablesServiceStub create(ClientContext clientContext) - throws IOException { - return new HttpJsonTablesServiceStub( - TablesServiceStubSettings.newHttpJsonBuilder().build(), clientContext); - } - - public static final HttpJsonTablesServiceStub create( - ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { - return new HttpJsonTablesServiceStub( - TablesServiceStubSettings.newHttpJsonBuilder().build(), clientContext, callableFactory); - } - - /** - * Constructs an instance of HttpJsonTablesServiceStub, using the given settings. This is - * protected so that it is easy to make a subclass, but otherwise, the static factory methods - * should be preferred. - */ - protected HttpJsonTablesServiceStub( - TablesServiceStubSettings settings, ClientContext clientContext) throws IOException { - this(settings, clientContext, new HttpJsonTablesServiceCallableFactory()); - } - - /** - * Constructs an instance of HttpJsonTablesServiceStub, using the given settings. This is - * protected so that it is easy to make a subclass, but otherwise, the static factory methods - * should be preferred. - */ - protected HttpJsonTablesServiceStub( - TablesServiceStubSettings settings, - ClientContext clientContext, - HttpJsonStubCallableFactory callableFactory) - throws IOException { - this.callableFactory = callableFactory; - - HttpJsonCallSettings getTableTransportSettings = - HttpJsonCallSettings.newBuilder() - .setMethodDescriptor(getTableMethodDescriptor) - .setTypeRegistry(typeRegistry) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("name", String.valueOf(request.getName())); - return builder.build(); - }) - .setResourceNameExtractor(request -> request.getName()) - .build(); - HttpJsonCallSettings listTablesTransportSettings = - HttpJsonCallSettings.newBuilder() - .setMethodDescriptor(listTablesMethodDescriptor) - .setTypeRegistry(typeRegistry) - .build(); - HttpJsonCallSettings getWorkspaceTransportSettings = - HttpJsonCallSettings.newBuilder() - .setMethodDescriptor(getWorkspaceMethodDescriptor) - .setTypeRegistry(typeRegistry) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("name", String.valueOf(request.getName())); - return builder.build(); - }) - .setResourceNameExtractor(request -> request.getName()) - .build(); - HttpJsonCallSettings - listWorkspacesTransportSettings = - HttpJsonCallSettings.newBuilder() - .setMethodDescriptor(listWorkspacesMethodDescriptor) - .setTypeRegistry(typeRegistry) - .build(); - HttpJsonCallSettings getRowTransportSettings = - HttpJsonCallSettings.newBuilder() - .setMethodDescriptor(getRowMethodDescriptor) - .setTypeRegistry(typeRegistry) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("name", String.valueOf(request.getName())); - return builder.build(); - }) - .setResourceNameExtractor(request -> request.getName()) - .build(); - HttpJsonCallSettings listRowsTransportSettings = - HttpJsonCallSettings.newBuilder() - .setMethodDescriptor(listRowsMethodDescriptor) - .setTypeRegistry(typeRegistry) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("parent", String.valueOf(request.getParent())); - return builder.build(); - }) - .build(); - HttpJsonCallSettings createRowTransportSettings = - HttpJsonCallSettings.newBuilder() - .setMethodDescriptor(createRowMethodDescriptor) - .setTypeRegistry(typeRegistry) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("parent", String.valueOf(request.getParent())); - return builder.build(); - }) - .build(); - HttpJsonCallSettings - batchCreateRowsTransportSettings = - HttpJsonCallSettings.newBuilder() - .setMethodDescriptor(batchCreateRowsMethodDescriptor) - .setTypeRegistry(typeRegistry) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("parent", String.valueOf(request.getParent())); - return builder.build(); - }) - .build(); - HttpJsonCallSettings updateRowTransportSettings = - HttpJsonCallSettings.newBuilder() - .setMethodDescriptor(updateRowMethodDescriptor) - .setTypeRegistry(typeRegistry) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("row.name", String.valueOf(request.getRow().getName())); - return builder.build(); - }) - .build(); - HttpJsonCallSettings - batchUpdateRowsTransportSettings = - HttpJsonCallSettings.newBuilder() - .setMethodDescriptor(batchUpdateRowsMethodDescriptor) - .setTypeRegistry(typeRegistry) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("parent", String.valueOf(request.getParent())); - return builder.build(); - }) - .build(); - HttpJsonCallSettings deleteRowTransportSettings = - HttpJsonCallSettings.newBuilder() - .setMethodDescriptor(deleteRowMethodDescriptor) - .setTypeRegistry(typeRegistry) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("name", String.valueOf(request.getName())); - return builder.build(); - }) - .setResourceNameExtractor(request -> request.getName()) - .build(); - HttpJsonCallSettings batchDeleteRowsTransportSettings = - HttpJsonCallSettings.newBuilder() - .setMethodDescriptor(batchDeleteRowsMethodDescriptor) - .setTypeRegistry(typeRegistry) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("parent", String.valueOf(request.getParent())); - return builder.build(); - }) - .setResourceNameExtractor(request -> request.getParent()) - .build(); - - this.getTableCallable = - callableFactory.createUnaryCallable( - getTableTransportSettings, settings.getTableSettings(), clientContext); - this.listTablesCallable = - callableFactory.createUnaryCallable( - listTablesTransportSettings, settings.listTablesSettings(), clientContext); - this.listTablesPagedCallable = - callableFactory.createPagedCallable( - listTablesTransportSettings, settings.listTablesSettings(), clientContext); - this.getWorkspaceCallable = - callableFactory.createUnaryCallable( - getWorkspaceTransportSettings, settings.getWorkspaceSettings(), clientContext); - this.listWorkspacesCallable = - callableFactory.createUnaryCallable( - listWorkspacesTransportSettings, settings.listWorkspacesSettings(), clientContext); - this.listWorkspacesPagedCallable = - callableFactory.createPagedCallable( - listWorkspacesTransportSettings, settings.listWorkspacesSettings(), clientContext); - this.getRowCallable = - callableFactory.createUnaryCallable( - getRowTransportSettings, settings.getRowSettings(), clientContext); - this.listRowsCallable = - callableFactory.createUnaryCallable( - listRowsTransportSettings, settings.listRowsSettings(), clientContext); - this.listRowsPagedCallable = - callableFactory.createPagedCallable( - listRowsTransportSettings, settings.listRowsSettings(), clientContext); - this.createRowCallable = - callableFactory.createUnaryCallable( - createRowTransportSettings, settings.createRowSettings(), clientContext); - this.batchCreateRowsCallable = - callableFactory.createUnaryCallable( - batchCreateRowsTransportSettings, settings.batchCreateRowsSettings(), clientContext); - this.updateRowCallable = - callableFactory.createUnaryCallable( - updateRowTransportSettings, settings.updateRowSettings(), clientContext); - this.batchUpdateRowsCallable = - callableFactory.createUnaryCallable( - batchUpdateRowsTransportSettings, settings.batchUpdateRowsSettings(), clientContext); - this.deleteRowCallable = - callableFactory.createUnaryCallable( - deleteRowTransportSettings, settings.deleteRowSettings(), clientContext); - this.batchDeleteRowsCallable = - callableFactory.createUnaryCallable( - batchDeleteRowsTransportSettings, settings.batchDeleteRowsSettings(), clientContext); - - this.backgroundResources = - new BackgroundResourceAggregation(clientContext.getBackgroundResources()); - } - - @InternalApi - public static List getMethodDescriptors() { - List methodDescriptors = new ArrayList<>(); - methodDescriptors.add(getTableMethodDescriptor); - methodDescriptors.add(listTablesMethodDescriptor); - methodDescriptors.add(getWorkspaceMethodDescriptor); - methodDescriptors.add(listWorkspacesMethodDescriptor); - methodDescriptors.add(getRowMethodDescriptor); - methodDescriptors.add(listRowsMethodDescriptor); - methodDescriptors.add(createRowMethodDescriptor); - methodDescriptors.add(batchCreateRowsMethodDescriptor); - methodDescriptors.add(updateRowMethodDescriptor); - methodDescriptors.add(batchUpdateRowsMethodDescriptor); - methodDescriptors.add(deleteRowMethodDescriptor); - methodDescriptors.add(batchDeleteRowsMethodDescriptor); - return methodDescriptors; - } - - @Override - public UnaryCallable getTableCallable() { - return getTableCallable; - } - - @Override - public UnaryCallable listTablesCallable() { - return listTablesCallable; - } - - @Override - public UnaryCallable listTablesPagedCallable() { - return listTablesPagedCallable; - } - - @Override - public UnaryCallable getWorkspaceCallable() { - return getWorkspaceCallable; - } - - @Override - public UnaryCallable listWorkspacesCallable() { - return listWorkspacesCallable; - } - - @Override - public UnaryCallable - listWorkspacesPagedCallable() { - return listWorkspacesPagedCallable; - } - - @Override - public UnaryCallable getRowCallable() { - return getRowCallable; - } - - @Override - public UnaryCallable listRowsCallable() { - return listRowsCallable; - } - - @Override - public UnaryCallable listRowsPagedCallable() { - return listRowsPagedCallable; - } - - @Override - public UnaryCallable createRowCallable() { - return createRowCallable; - } - - @Override - public UnaryCallable batchCreateRowsCallable() { - return batchCreateRowsCallable; - } - - @Override - public UnaryCallable updateRowCallable() { - return updateRowCallable; - } - - @Override - public UnaryCallable batchUpdateRowsCallable() { - return batchUpdateRowsCallable; - } - - @Override - public UnaryCallable deleteRowCallable() { - return deleteRowCallable; - } - - @Override - public UnaryCallable batchDeleteRowsCallable() { - return batchDeleteRowsCallable; - } - - @Override - public final void close() { - try { - backgroundResources.close(); - } catch (RuntimeException e) { - throw e; - } catch (Exception e) { - throw new IllegalStateException("Failed to close resource", e); - } - } - - @Override - public void shutdown() { - backgroundResources.shutdown(); - } - - @Override - public boolean isShutdown() { - return backgroundResources.isShutdown(); - } - - @Override - public boolean isTerminated() { - return backgroundResources.isTerminated(); - } - - @Override - public void shutdownNow() { - backgroundResources.shutdownNow(); - } - - @Override - public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { - return backgroundResources.awaitTermination(duration, unit); - } -} diff --git a/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/stub/TablesServiceStub.java b/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/stub/TablesServiceStub.java deleted file mode 100644 index 70ecb355492b..000000000000 --- a/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/stub/TablesServiceStub.java +++ /dev/null @@ -1,124 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.stub; - -import static com.google.area120.tables.v1alpha.TablesServiceClient.ListRowsPagedResponse; -import static com.google.area120.tables.v1alpha.TablesServiceClient.ListTablesPagedResponse; -import static com.google.area120.tables.v1alpha.TablesServiceClient.ListWorkspacesPagedResponse; - -import com.google.api.core.BetaApi; -import com.google.api.gax.core.BackgroundResource; -import com.google.api.gax.rpc.UnaryCallable; -import com.google.area120.tables.v1alpha1.BatchCreateRowsRequest; -import com.google.area120.tables.v1alpha1.BatchCreateRowsResponse; -import com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest; -import com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest; -import com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse; -import com.google.area120.tables.v1alpha1.CreateRowRequest; -import com.google.area120.tables.v1alpha1.DeleteRowRequest; -import com.google.area120.tables.v1alpha1.GetRowRequest; -import com.google.area120.tables.v1alpha1.GetTableRequest; -import com.google.area120.tables.v1alpha1.GetWorkspaceRequest; -import com.google.area120.tables.v1alpha1.ListRowsRequest; -import com.google.area120.tables.v1alpha1.ListRowsResponse; -import com.google.area120.tables.v1alpha1.ListTablesRequest; -import com.google.area120.tables.v1alpha1.ListTablesResponse; -import com.google.area120.tables.v1alpha1.ListWorkspacesRequest; -import com.google.area120.tables.v1alpha1.ListWorkspacesResponse; -import com.google.area120.tables.v1alpha1.Row; -import com.google.area120.tables.v1alpha1.Table; -import com.google.area120.tables.v1alpha1.UpdateRowRequest; -import com.google.area120.tables.v1alpha1.Workspace; -import com.google.protobuf.Empty; -import javax.annotation.Generated; -import org.jspecify.annotations.NullMarked; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -/** - * Base stub class for the TablesService service API. - * - *

This class is for advanced usage and reflects the underlying API directly. - */ -@NullMarked -@BetaApi -@Generated("by gapic-generator-java") -public abstract class TablesServiceStub implements BackgroundResource { - - public UnaryCallable getTableCallable() { - throw new UnsupportedOperationException("Not implemented: getTableCallable()"); - } - - public UnaryCallable listTablesPagedCallable() { - throw new UnsupportedOperationException("Not implemented: listTablesPagedCallable()"); - } - - public UnaryCallable listTablesCallable() { - throw new UnsupportedOperationException("Not implemented: listTablesCallable()"); - } - - public UnaryCallable getWorkspaceCallable() { - throw new UnsupportedOperationException("Not implemented: getWorkspaceCallable()"); - } - - public UnaryCallable - listWorkspacesPagedCallable() { - throw new UnsupportedOperationException("Not implemented: listWorkspacesPagedCallable()"); - } - - public UnaryCallable listWorkspacesCallable() { - throw new UnsupportedOperationException("Not implemented: listWorkspacesCallable()"); - } - - public UnaryCallable getRowCallable() { - throw new UnsupportedOperationException("Not implemented: getRowCallable()"); - } - - public UnaryCallable listRowsPagedCallable() { - throw new UnsupportedOperationException("Not implemented: listRowsPagedCallable()"); - } - - public UnaryCallable listRowsCallable() { - throw new UnsupportedOperationException("Not implemented: listRowsCallable()"); - } - - public UnaryCallable createRowCallable() { - throw new UnsupportedOperationException("Not implemented: createRowCallable()"); - } - - public UnaryCallable batchCreateRowsCallable() { - throw new UnsupportedOperationException("Not implemented: batchCreateRowsCallable()"); - } - - public UnaryCallable updateRowCallable() { - throw new UnsupportedOperationException("Not implemented: updateRowCallable()"); - } - - public UnaryCallable batchUpdateRowsCallable() { - throw new UnsupportedOperationException("Not implemented: batchUpdateRowsCallable()"); - } - - public UnaryCallable deleteRowCallable() { - throw new UnsupportedOperationException("Not implemented: deleteRowCallable()"); - } - - public UnaryCallable batchDeleteRowsCallable() { - throw new UnsupportedOperationException("Not implemented: batchDeleteRowsCallable()"); - } - - @Override - public abstract void close(); -} 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 deleted file mode 100644 index efaeff305248..000000000000 --- a/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/stub/TablesServiceStubSettings.java +++ /dev/null @@ -1,813 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.stub; - -import static com.google.area120.tables.v1alpha.TablesServiceClient.ListRowsPagedResponse; -import static com.google.area120.tables.v1alpha.TablesServiceClient.ListTablesPagedResponse; -import static com.google.area120.tables.v1alpha.TablesServiceClient.ListWorkspacesPagedResponse; - -import com.google.api.core.ApiFunction; -import com.google.api.core.ApiFuture; -import com.google.api.core.BetaApi; -import com.google.api.core.ObsoleteApi; -import com.google.api.gax.core.GaxProperties; -import com.google.api.gax.core.GoogleCredentialsProvider; -import com.google.api.gax.core.InstantiatingExecutorProvider; -import com.google.api.gax.grpc.GaxGrpcProperties; -import com.google.api.gax.grpc.GrpcTransportChannel; -import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; -import com.google.api.gax.httpjson.GaxHttpJsonProperties; -import com.google.api.gax.httpjson.HttpJsonTransportChannel; -import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; -import com.google.api.gax.retrying.RetrySettings; -import com.google.api.gax.rpc.ApiCallContext; -import com.google.api.gax.rpc.ApiClientHeaderProvider; -import com.google.api.gax.rpc.ClientContext; -import com.google.api.gax.rpc.LibraryMetadata; -import com.google.api.gax.rpc.PageContext; -import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.PagedListDescriptor; -import com.google.api.gax.rpc.PagedListResponseFactory; -import com.google.api.gax.rpc.StatusCode; -import com.google.api.gax.rpc.StubSettings; -import com.google.api.gax.rpc.TransportChannelProvider; -import com.google.api.gax.rpc.UnaryCallSettings; -import com.google.api.gax.rpc.UnaryCallable; -import com.google.area120.tables.v1alpha1.BatchCreateRowsRequest; -import com.google.area120.tables.v1alpha1.BatchCreateRowsResponse; -import com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest; -import com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest; -import com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse; -import com.google.area120.tables.v1alpha1.CreateRowRequest; -import com.google.area120.tables.v1alpha1.DeleteRowRequest; -import com.google.area120.tables.v1alpha1.GetRowRequest; -import com.google.area120.tables.v1alpha1.GetTableRequest; -import com.google.area120.tables.v1alpha1.GetWorkspaceRequest; -import com.google.area120.tables.v1alpha1.ListRowsRequest; -import com.google.area120.tables.v1alpha1.ListRowsResponse; -import com.google.area120.tables.v1alpha1.ListTablesRequest; -import com.google.area120.tables.v1alpha1.ListTablesResponse; -import com.google.area120.tables.v1alpha1.ListWorkspacesRequest; -import com.google.area120.tables.v1alpha1.ListWorkspacesResponse; -import com.google.area120.tables.v1alpha1.Row; -import com.google.area120.tables.v1alpha1.Table; -import com.google.area120.tables.v1alpha1.UpdateRowRequest; -import com.google.area120.tables.v1alpha1.Workspace; -import com.google.common.collect.ImmutableList; -import com.google.common.collect.ImmutableMap; -import com.google.common.collect.ImmutableSet; -import com.google.common.collect.Lists; -import com.google.protobuf.Empty; -import java.io.IOException; -import java.time.Duration; -import java.util.List; -import javax.annotation.Generated; -import org.jspecify.annotations.NullMarked; -import org.jspecify.annotations.Nullable; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -/** - * Settings class to configure an instance of {@link TablesServiceStub}. - * - *

The default instance has everything set to sensible defaults: - * - *

    - *
  • The default service address (area120tables.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. - *
- * - *

The builder of this class is recursive, so contained classes are themselves builders. When - * build() is called, the tree of builders is called to create the complete settings object. - * - *

For example, to set the - * [RetrySettings](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.retrying.RetrySettings) - * of getTable: - * - *

{@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
- * TablesServiceStubSettings.Builder tablesServiceSettingsBuilder =
- *     TablesServiceStubSettings.newBuilder();
- * tablesServiceSettingsBuilder
- *     .getTableSettings()
- *     .setRetrySettings(
- *         tablesServiceSettingsBuilder
- *             .getTableSettings()
- *             .getRetrySettings()
- *             .toBuilder()
- *             .setInitialRetryDelayDuration(Duration.ofSeconds(1))
- *             .setInitialRpcTimeoutDuration(Duration.ofSeconds(5))
- *             .setMaxAttempts(5)
- *             .setMaxRetryDelayDuration(Duration.ofSeconds(30))
- *             .setMaxRpcTimeoutDuration(Duration.ofSeconds(60))
- *             .setRetryDelayMultiplier(1.3)
- *             .setRpcTimeoutMultiplier(1.5)
- *             .setTotalTimeoutDuration(Duration.ofSeconds(300))
- *             .build());
- * TablesServiceStubSettings tablesServiceSettings = tablesServiceSettingsBuilder.build();
- * }
- * - * Please refer to the [Client Side Retry - * Guide](https://docs.cloud.google.com/java/docs/client-retries) for additional support in setting - * retries. - */ -@NullMarked -@BetaApi -@Generated("by gapic-generator-java") -@SuppressWarnings("CanonicalDuration") -public class TablesServiceStubSettings extends StubSettings { - /** The default scopes of the service. */ - private static final ImmutableList DEFAULT_SERVICE_SCOPES = - ImmutableList.builder() - .add("https://www.googleapis.com/auth/drive") - .add("https://www.googleapis.com/auth/drive.file") - .add("https://www.googleapis.com/auth/drive.readonly") - .add("https://www.googleapis.com/auth/spreadsheets") - .add("https://www.googleapis.com/auth/spreadsheets.readonly") - .add("https://www.googleapis.com/auth/tables") - .build(); - - private final UnaryCallSettings getTableSettings; - private final PagedCallSettings - listTablesSettings; - private final UnaryCallSettings getWorkspaceSettings; - private final PagedCallSettings< - ListWorkspacesRequest, ListWorkspacesResponse, ListWorkspacesPagedResponse> - listWorkspacesSettings; - private final UnaryCallSettings getRowSettings; - private final PagedCallSettings - listRowsSettings; - private final UnaryCallSettings createRowSettings; - private final UnaryCallSettings - batchCreateRowsSettings; - private final UnaryCallSettings updateRowSettings; - private final UnaryCallSettings - batchUpdateRowsSettings; - private final UnaryCallSettings deleteRowSettings; - private final UnaryCallSettings batchDeleteRowsSettings; - - private static final PagedListDescriptor - LIST_TABLES_PAGE_STR_DESC = - new PagedListDescriptor() { - @Override - public String emptyToken() { - return ""; - } - - @Override - public ListTablesRequest injectToken(ListTablesRequest payload, String token) { - return ListTablesRequest.newBuilder(payload).setPageToken(token).build(); - } - - @Override - public ListTablesRequest injectPageSize(ListTablesRequest payload, int pageSize) { - return ListTablesRequest.newBuilder(payload).setPageSize(pageSize).build(); - } - - @Override - public Integer extractPageSize(ListTablesRequest payload) { - return payload.getPageSize(); - } - - @Override - public String extractNextToken(ListTablesResponse payload) { - return payload.getNextPageToken(); - } - - @Override - public Iterable
extractResources(ListTablesResponse payload) { - return payload.getTablesList(); - } - }; - - private static final PagedListDescriptor - LIST_WORKSPACES_PAGE_STR_DESC = - new PagedListDescriptor() { - @Override - public String emptyToken() { - return ""; - } - - @Override - public ListWorkspacesRequest injectToken(ListWorkspacesRequest payload, String token) { - return ListWorkspacesRequest.newBuilder(payload).setPageToken(token).build(); - } - - @Override - public ListWorkspacesRequest injectPageSize( - ListWorkspacesRequest payload, int pageSize) { - return ListWorkspacesRequest.newBuilder(payload).setPageSize(pageSize).build(); - } - - @Override - public Integer extractPageSize(ListWorkspacesRequest payload) { - return payload.getPageSize(); - } - - @Override - public String extractNextToken(ListWorkspacesResponse payload) { - return payload.getNextPageToken(); - } - - @Override - public Iterable extractResources(ListWorkspacesResponse payload) { - return payload.getWorkspacesList(); - } - }; - - private static final PagedListDescriptor - LIST_ROWS_PAGE_STR_DESC = - new PagedListDescriptor() { - @Override - public String emptyToken() { - return ""; - } - - @Override - public ListRowsRequest injectToken(ListRowsRequest payload, String token) { - return ListRowsRequest.newBuilder(payload).setPageToken(token).build(); - } - - @Override - public ListRowsRequest injectPageSize(ListRowsRequest payload, int pageSize) { - return ListRowsRequest.newBuilder(payload).setPageSize(pageSize).build(); - } - - @Override - public Integer extractPageSize(ListRowsRequest payload) { - return payload.getPageSize(); - } - - @Override - public String extractNextToken(ListRowsResponse payload) { - return payload.getNextPageToken(); - } - - @Override - public Iterable extractResources(ListRowsResponse payload) { - return payload.getRowsList(); - } - }; - - private static final PagedListResponseFactory< - ListTablesRequest, ListTablesResponse, ListTablesPagedResponse> - LIST_TABLES_PAGE_STR_FACT = - new PagedListResponseFactory< - ListTablesRequest, ListTablesResponse, ListTablesPagedResponse>() { - @Override - public ApiFuture getFuturePagedResponse( - UnaryCallable callable, - ListTablesRequest request, - ApiCallContext context, - ApiFuture futureResponse) { - PageContext pageContext = - PageContext.create(callable, LIST_TABLES_PAGE_STR_DESC, request, context); - return ListTablesPagedResponse.createAsync(pageContext, futureResponse); - } - }; - - private static final PagedListResponseFactory< - ListWorkspacesRequest, ListWorkspacesResponse, ListWorkspacesPagedResponse> - LIST_WORKSPACES_PAGE_STR_FACT = - new PagedListResponseFactory< - ListWorkspacesRequest, ListWorkspacesResponse, ListWorkspacesPagedResponse>() { - @Override - public ApiFuture getFuturePagedResponse( - UnaryCallable callable, - ListWorkspacesRequest request, - ApiCallContext context, - ApiFuture futureResponse) { - PageContext pageContext = - PageContext.create(callable, LIST_WORKSPACES_PAGE_STR_DESC, request, context); - return ListWorkspacesPagedResponse.createAsync(pageContext, futureResponse); - } - }; - - private static final PagedListResponseFactory< - ListRowsRequest, ListRowsResponse, ListRowsPagedResponse> - LIST_ROWS_PAGE_STR_FACT = - new PagedListResponseFactory() { - @Override - public ApiFuture getFuturePagedResponse( - UnaryCallable callable, - ListRowsRequest request, - ApiCallContext context, - ApiFuture futureResponse) { - PageContext pageContext = - PageContext.create(callable, LIST_ROWS_PAGE_STR_DESC, request, context); - return ListRowsPagedResponse.createAsync(pageContext, futureResponse); - } - }; - - /** Returns the object with the settings used for calls to getTable. */ - public UnaryCallSettings getTableSettings() { - return getTableSettings; - } - - /** Returns the object with the settings used for calls to listTables. */ - public PagedCallSettings - listTablesSettings() { - return listTablesSettings; - } - - /** Returns the object with the settings used for calls to getWorkspace. */ - public UnaryCallSettings getWorkspaceSettings() { - return getWorkspaceSettings; - } - - /** Returns the object with the settings used for calls to listWorkspaces. */ - public PagedCallSettings< - ListWorkspacesRequest, ListWorkspacesResponse, ListWorkspacesPagedResponse> - listWorkspacesSettings() { - return listWorkspacesSettings; - } - - /** Returns the object with the settings used for calls to getRow. */ - public UnaryCallSettings getRowSettings() { - return getRowSettings; - } - - /** Returns the object with the settings used for calls to listRows. */ - public PagedCallSettings - listRowsSettings() { - return listRowsSettings; - } - - /** Returns the object with the settings used for calls to createRow. */ - public UnaryCallSettings createRowSettings() { - return createRowSettings; - } - - /** Returns the object with the settings used for calls to batchCreateRows. */ - public UnaryCallSettings - batchCreateRowsSettings() { - return batchCreateRowsSettings; - } - - /** Returns the object with the settings used for calls to updateRow. */ - public UnaryCallSettings updateRowSettings() { - return updateRowSettings; - } - - /** Returns the object with the settings used for calls to batchUpdateRows. */ - public UnaryCallSettings - batchUpdateRowsSettings() { - return batchUpdateRowsSettings; - } - - /** Returns the object with the settings used for calls to deleteRow. */ - public UnaryCallSettings deleteRowSettings() { - return deleteRowSettings; - } - - /** Returns the object with the settings used for calls to batchDeleteRows. */ - public UnaryCallSettings batchDeleteRowsSettings() { - return batchDeleteRowsSettings; - } - - public TablesServiceStub createStub() throws IOException { - if (getTransportChannelProvider() - .getTransportName() - .equals(GrpcTransportChannel.getGrpcTransportName())) { - return GrpcTablesServiceStub.create(this); - } - if (getTransportChannelProvider() - .getTransportName() - .equals(HttpJsonTransportChannel.getHttpJsonTransportName())) { - return HttpJsonTablesServiceStub.create(this); - } - throw new UnsupportedOperationException( - String.format( - "Transport not supported: %s", getTransportChannelProvider().getTransportName())); - } - - /** Returns the default service name. */ - @Override - public String getServiceName() { - return "area120tables"; - } - - /** Returns a builder for the default ExecutorProvider for this service. */ - public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { - return InstantiatingExecutorProvider.newBuilder(); - } - - /** Returns the default service endpoint. */ - @ObsoleteApi("Use getEndpoint() instead") - public static String getDefaultEndpoint() { - return "area120tables.googleapis.com:443"; - } - - /** Returns the default mTLS service endpoint. */ - public static String getDefaultMtlsEndpoint() { - return "area120tables.mtls.googleapis.com:443"; - } - - /** Returns the default service scopes. */ - public static List getDefaultServiceScopes() { - return DEFAULT_SERVICE_SCOPES; - } - - /** Returns a builder for the default credentials for this service. */ - public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { - return GoogleCredentialsProvider.newBuilder() - .setScopesToApply(DEFAULT_SERVICE_SCOPES) - .setUseJwtAccessWithScope(true); - } - - /** Returns a builder for the default gRPC ChannelProvider for this service. */ - public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { - return InstantiatingGrpcChannelProvider.newBuilder() - .setMaxInboundMessageSize(Integer.MAX_VALUE); - } - - /** Returns a builder for the default REST ChannelProvider for this service. */ - @BetaApi - public static InstantiatingHttpJsonChannelProvider.Builder - defaultHttpJsonTransportProviderBuilder() { - return InstantiatingHttpJsonChannelProvider.newBuilder(); - } - - public static TransportChannelProvider defaultTransportChannelProvider() { - return defaultGrpcTransportProviderBuilder().build(); - } - - public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder() { - return ApiClientHeaderProvider.newBuilder() - .setGeneratedLibToken( - "gapic", GaxProperties.getLibraryVersion(TablesServiceStubSettings.class)) - .setTransportToken( - GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); - } - - public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder() { - return ApiClientHeaderProvider.newBuilder() - .setGeneratedLibToken( - "gapic", GaxProperties.getLibraryVersion(TablesServiceStubSettings.class)) - .setTransportToken( - GaxHttpJsonProperties.getHttpJsonTokenName(), - GaxHttpJsonProperties.getHttpJsonVersion()); - } - - public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { - return TablesServiceStubSettings.defaultGrpcApiClientHeaderProviderBuilder(); - } - - /** Returns a new gRPC builder for this class. */ - public static Builder newBuilder() { - return Builder.createDefault(); - } - - /** Returns a new REST builder for this class. */ - public static Builder newHttpJsonBuilder() { - return Builder.createHttpJsonDefault(); - } - - /** Returns a new builder for this class. */ - public static Builder newBuilder(@Nullable ClientContext clientContext) { - return new Builder(clientContext); - } - - /** Returns a builder containing all the values of this settings class. */ - public Builder toBuilder() { - return new Builder(this); - } - - protected TablesServiceStubSettings(Builder settingsBuilder) throws IOException { - super(settingsBuilder); - - getTableSettings = settingsBuilder.getTableSettings().build(); - listTablesSettings = settingsBuilder.listTablesSettings().build(); - getWorkspaceSettings = settingsBuilder.getWorkspaceSettings().build(); - listWorkspacesSettings = settingsBuilder.listWorkspacesSettings().build(); - getRowSettings = settingsBuilder.getRowSettings().build(); - listRowsSettings = settingsBuilder.listRowsSettings().build(); - createRowSettings = settingsBuilder.createRowSettings().build(); - batchCreateRowsSettings = settingsBuilder.batchCreateRowsSettings().build(); - updateRowSettings = settingsBuilder.updateRowSettings().build(); - batchUpdateRowsSettings = settingsBuilder.batchUpdateRowsSettings().build(); - deleteRowSettings = settingsBuilder.deleteRowSettings().build(); - batchDeleteRowsSettings = settingsBuilder.batchDeleteRowsSettings().build(); - } - - @Override - protected LibraryMetadata getLibraryMetadata() { - return LibraryMetadata.newBuilder() - .setArtifactName("com.google.area120:google-area120-tables") - .setRepository("googleapis/google-cloud-java") - .setVersion(Version.VERSION) - .build(); - } - - /** Builder for TablesServiceStubSettings. */ - public static class Builder extends StubSettings.Builder { - private final ImmutableList> unaryMethodSettingsBuilders; - private final UnaryCallSettings.Builder getTableSettings; - private final PagedCallSettings.Builder< - ListTablesRequest, ListTablesResponse, ListTablesPagedResponse> - listTablesSettings; - private final UnaryCallSettings.Builder getWorkspaceSettings; - private final PagedCallSettings.Builder< - ListWorkspacesRequest, ListWorkspacesResponse, ListWorkspacesPagedResponse> - listWorkspacesSettings; - private final UnaryCallSettings.Builder getRowSettings; - private final PagedCallSettings.Builder< - ListRowsRequest, ListRowsResponse, ListRowsPagedResponse> - listRowsSettings; - private final UnaryCallSettings.Builder createRowSettings; - private final UnaryCallSettings.Builder - batchCreateRowsSettings; - private final UnaryCallSettings.Builder updateRowSettings; - private final UnaryCallSettings.Builder - batchUpdateRowsSettings; - private final UnaryCallSettings.Builder deleteRowSettings; - private final UnaryCallSettings.Builder batchDeleteRowsSettings; - private static final ImmutableMap> - RETRYABLE_CODE_DEFINITIONS; - - static { - ImmutableMap.Builder> definitions = - ImmutableMap.builder(); - definitions.put( - "no_retry_1_codes", ImmutableSet.copyOf(Lists.newArrayList())); - RETRYABLE_CODE_DEFINITIONS = definitions.build(); - } - - private static final ImmutableMap RETRY_PARAM_DEFINITIONS; - - static { - ImmutableMap.Builder definitions = ImmutableMap.builder(); - RetrySettings settings = null; - settings = - RetrySettings.newBuilder() - .setInitialRpcTimeoutDuration(Duration.ofMillis(60000L)) - .setRpcTimeoutMultiplier(1.0) - .setMaxRpcTimeoutDuration(Duration.ofMillis(60000L)) - .setTotalTimeoutDuration(Duration.ofMillis(60000L)) - .build(); - definitions.put("no_retry_1_params", settings); - RETRY_PARAM_DEFINITIONS = definitions.build(); - } - - protected Builder() { - this(((ClientContext) null)); - } - - protected Builder(@Nullable ClientContext clientContext) { - super(clientContext); - - getTableSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); - listTablesSettings = PagedCallSettings.newBuilder(LIST_TABLES_PAGE_STR_FACT); - getWorkspaceSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); - listWorkspacesSettings = PagedCallSettings.newBuilder(LIST_WORKSPACES_PAGE_STR_FACT); - getRowSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); - listRowsSettings = PagedCallSettings.newBuilder(LIST_ROWS_PAGE_STR_FACT); - createRowSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); - batchCreateRowsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); - updateRowSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); - batchUpdateRowsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); - deleteRowSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); - batchDeleteRowsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); - - unaryMethodSettingsBuilders = - ImmutableList.>of( - getTableSettings, - listTablesSettings, - getWorkspaceSettings, - listWorkspacesSettings, - getRowSettings, - listRowsSettings, - createRowSettings, - batchCreateRowsSettings, - updateRowSettings, - batchUpdateRowsSettings, - deleteRowSettings, - batchDeleteRowsSettings); - initDefaults(this); - } - - protected Builder(TablesServiceStubSettings settings) { - super(settings); - - getTableSettings = settings.getTableSettings.toBuilder(); - listTablesSettings = settings.listTablesSettings.toBuilder(); - getWorkspaceSettings = settings.getWorkspaceSettings.toBuilder(); - listWorkspacesSettings = settings.listWorkspacesSettings.toBuilder(); - getRowSettings = settings.getRowSettings.toBuilder(); - listRowsSettings = settings.listRowsSettings.toBuilder(); - createRowSettings = settings.createRowSettings.toBuilder(); - batchCreateRowsSettings = settings.batchCreateRowsSettings.toBuilder(); - updateRowSettings = settings.updateRowSettings.toBuilder(); - batchUpdateRowsSettings = settings.batchUpdateRowsSettings.toBuilder(); - deleteRowSettings = settings.deleteRowSettings.toBuilder(); - batchDeleteRowsSettings = settings.batchDeleteRowsSettings.toBuilder(); - - unaryMethodSettingsBuilders = - ImmutableList.>of( - getTableSettings, - listTablesSettings, - getWorkspaceSettings, - listWorkspacesSettings, - getRowSettings, - listRowsSettings, - createRowSettings, - batchCreateRowsSettings, - updateRowSettings, - batchUpdateRowsSettings, - deleteRowSettings, - batchDeleteRowsSettings); - } - - private static Builder createDefault() { - Builder builder = new Builder(((ClientContext) null)); - - builder.setTransportChannelProvider(defaultTransportChannelProvider()); - builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); - builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); - builder.setSwitchToMtlsEndpointAllowed(true); - - return initDefaults(builder); - } - - private static Builder createHttpJsonDefault() { - Builder builder = new Builder(((ClientContext) null)); - - builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); - builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); - builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); - builder.setSwitchToMtlsEndpointAllowed(true); - - return initDefaults(builder); - } - - private static Builder initDefaults(Builder builder) { - builder - .getTableSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); - - builder - .listTablesSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); - - builder - .getWorkspaceSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); - - builder - .listWorkspacesSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); - - builder - .getRowSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); - - builder - .listRowsSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); - - builder - .createRowSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); - - builder - .batchCreateRowsSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); - - builder - .updateRowSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); - - builder - .batchUpdateRowsSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); - - builder - .deleteRowSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); - - builder - .batchDeleteRowsSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); - - return builder; - } - - /** - * Applies the given settings updater function to all of the unary API methods in this service. - * - *

Note: This method does not support applying settings to streaming methods. - */ - public Builder applyToAllUnaryMethods( - ApiFunction, Void> settingsUpdater) { - super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); - return this; - } - - public ImmutableList> unaryMethodSettingsBuilders() { - return unaryMethodSettingsBuilders; - } - - /** Returns the builder for the settings used for calls to getTable. */ - public UnaryCallSettings.Builder getTableSettings() { - return getTableSettings; - } - - /** Returns the builder for the settings used for calls to listTables. */ - public PagedCallSettings.Builder - listTablesSettings() { - return listTablesSettings; - } - - /** Returns the builder for the settings used for calls to getWorkspace. */ - public UnaryCallSettings.Builder getWorkspaceSettings() { - return getWorkspaceSettings; - } - - /** Returns the builder for the settings used for calls to listWorkspaces. */ - public PagedCallSettings.Builder< - ListWorkspacesRequest, ListWorkspacesResponse, ListWorkspacesPagedResponse> - listWorkspacesSettings() { - return listWorkspacesSettings; - } - - /** Returns the builder for the settings used for calls to getRow. */ - public UnaryCallSettings.Builder getRowSettings() { - return getRowSettings; - } - - /** Returns the builder for the settings used for calls to listRows. */ - public PagedCallSettings.Builder - listRowsSettings() { - return listRowsSettings; - } - - /** Returns the builder for the settings used for calls to createRow. */ - public UnaryCallSettings.Builder createRowSettings() { - return createRowSettings; - } - - /** Returns the builder for the settings used for calls to batchCreateRows. */ - public UnaryCallSettings.Builder - batchCreateRowsSettings() { - return batchCreateRowsSettings; - } - - /** Returns the builder for the settings used for calls to updateRow. */ - public UnaryCallSettings.Builder updateRowSettings() { - return updateRowSettings; - } - - /** Returns the builder for the settings used for calls to batchUpdateRows. */ - public UnaryCallSettings.Builder - batchUpdateRowsSettings() { - return batchUpdateRowsSettings; - } - - /** Returns the builder for the settings used for calls to deleteRow. */ - public UnaryCallSettings.Builder deleteRowSettings() { - return deleteRowSettings; - } - - /** Returns the builder for the settings used for calls to batchDeleteRows. */ - public UnaryCallSettings.Builder batchDeleteRowsSettings() { - return batchDeleteRowsSettings; - } - - @Override - public TablesServiceStubSettings build() throws IOException { - return new TablesServiceStubSettings(this); - } - } -} diff --git a/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/stub/Version.java b/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/stub/Version.java deleted file mode 100644 index 469b03a8fc7f..000000000000 --- a/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/stub/Version.java +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.stub; - -import com.google.api.core.InternalApi; - -@InternalApi("For internal use only") -final class Version { - // {x-version-update-start:google-area120-tables:current} - static final String VERSION = "0.104.0"; - // {x-version-update-end} - -} diff --git a/java-area120-tables/google-area120-tables/src/main/resources/META-INF/native-image/com.google.area120.tables.v1alpha/reflect-config.json b/java-area120-tables/google-area120-tables/src/main/resources/META-INF/native-image/com.google.area120.tables.v1alpha/reflect-config.json deleted file mode 100644 index bb30770cb7d7..000000000000 --- a/java-area120-tables/google-area120-tables/src/main/resources/META-INF/native-image/com.google.area120.tables.v1alpha/reflect-config.json +++ /dev/null @@ -1,1829 +0,0 @@ -[ - { - "name": "com.google.api.BatchingConfigProto", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.BatchingConfigProto$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.BatchingDescriptorProto", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.BatchingDescriptorProto$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.BatchingSettingsProto", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.BatchingSettingsProto$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.ClientLibraryDestination", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.ClientLibraryOrganization", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.ClientLibrarySettings", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.ClientLibrarySettings$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.CommonLanguageSettings", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.CommonLanguageSettings$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.CppSettings", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.CppSettings$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.CustomHttpPattern", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.CustomHttpPattern$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.DotnetSettings", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.DotnetSettings$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.FieldBehavior", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.FlowControlLimitExceededBehaviorProto", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.GoSettings", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.GoSettings$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.Http", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.Http$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.HttpRule", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.HttpRule$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.JavaSettings", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.JavaSettings$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.LaunchStage", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.MethodSettings", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.MethodSettings$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.MethodSettings$LongRunning", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.MethodSettings$LongRunning$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.NodeSettings", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.NodeSettings$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.PhpSettings", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.PhpSettings$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.Publishing", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.Publishing$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.PythonSettings", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.PythonSettings$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.PythonSettings$ExperimentalFeatures", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.PythonSettings$ExperimentalFeatures$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.ResourceDescriptor", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.ResourceDescriptor$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.ResourceDescriptor$History", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.ResourceDescriptor$Style", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.ResourceReference", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.ResourceReference$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.RubySettings", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.RubySettings$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.SelectiveGapicGeneration", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.SelectiveGapicGeneration$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.BatchCreateRowsRequest", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.BatchCreateRowsRequest$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.BatchCreateRowsResponse", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.BatchCreateRowsResponse$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.ColumnDescription", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.ColumnDescription$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.CreateRowRequest", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.CreateRowRequest$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.DeleteRowRequest", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.DeleteRowRequest$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.GetRowRequest", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.GetRowRequest$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.GetTableRequest", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.GetTableRequest$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.GetWorkspaceRequest", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.GetWorkspaceRequest$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.LabeledItem", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.LabeledItem$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.ListRowsRequest", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.ListRowsRequest$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.ListRowsResponse", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.ListRowsResponse$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.ListTablesRequest", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.ListTablesRequest$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.ListTablesResponse", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.ListTablesResponse$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.ListWorkspacesRequest", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.ListWorkspacesRequest$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.ListWorkspacesResponse", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.ListWorkspacesResponse$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.LookupDetails", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.LookupDetails$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.RelationshipDetails", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.RelationshipDetails$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.Row", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.Row$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.Table", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.Table$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.UpdateRowRequest", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.UpdateRowRequest$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.View", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.Workspace", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.area120.tables.v1alpha1.Workspace$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$DescriptorProto", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ExtensionRange", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ExtensionRange$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ReservedRange", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ReservedRange$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$Edition", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto$EnumReservedRange", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto$EnumReservedRange$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$EnumOptions", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$EnumOptions$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$EnumValueDescriptorProto", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$EnumValueDescriptorProto$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$EnumValueOptions", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$EnumValueOptions$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$Declaration", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$Declaration$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$VerificationState", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FeatureSet", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FeatureSet$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FeatureSet$EnforceNamingStyle", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FeatureSet$EnumType", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FeatureSet$FieldPresence", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FeatureSet$JsonFormat", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FeatureSet$MessageEncoding", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FeatureSet$RepeatedFieldEncoding", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FeatureSet$Utf8Validation", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FeatureSet$VisibilityFeature", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FeatureSet$VisibilityFeature$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FeatureSet$VisibilityFeature$DefaultSymbolVisibility", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults$FeatureSetEditionDefault", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults$FeatureSetEditionDefault$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto$Label", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto$Type", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FieldOptions", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FieldOptions$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FieldOptions$CType", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FieldOptions$EditionDefault", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FieldOptions$EditionDefault$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FieldOptions$FeatureSupport", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FieldOptions$FeatureSupport$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FieldOptions$JSType", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FieldOptions$OptionRetention", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FieldOptions$OptionTargetType", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FileDescriptorProto", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FileDescriptorProto$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FileDescriptorSet", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FileDescriptorSet$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FileOptions", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FileOptions$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FileOptions$OptimizeMode", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Annotation", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Annotation$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Annotation$Semantic", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$MessageOptions", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$MessageOptions$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$MethodDescriptorProto", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$MethodDescriptorProto$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$MethodOptions", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$MethodOptions$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$MethodOptions$IdempotencyLevel", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$OneofDescriptorProto", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$OneofDescriptorProto$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$OneofOptions", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$OneofOptions$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$ServiceDescriptorProto", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$ServiceDescriptorProto$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$ServiceOptions", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$ServiceOptions$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo$Location", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo$Location$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$SymbolVisibility", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption$NamePart", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption$NamePart$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.Duration", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.Duration$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.Empty", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.Empty$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.FieldMask", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.FieldMask$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.ListValue", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.ListValue$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.NullValue", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.Struct", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.Struct$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.Value", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.Value$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - } -] \ No newline at end of file diff --git a/java-area120-tables/google-area120-tables/src/test/java/com/google/area120/tables/v1alpha/MockTablesService.java b/java-area120-tables/google-area120-tables/src/test/java/com/google/area120/tables/v1alpha/MockTablesService.java deleted file mode 100644 index 61ea5327678e..000000000000 --- a/java-area120-tables/google-area120-tables/src/test/java/com/google/area120/tables/v1alpha/MockTablesService.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha; - -import com.google.api.core.BetaApi; -import com.google.api.gax.grpc.testing.MockGrpcService; -import com.google.protobuf.AbstractMessage; -import io.grpc.ServerServiceDefinition; -import java.util.List; -import javax.annotation.Generated; - -@BetaApi -@Generated("by gapic-generator-java") -public class MockTablesService implements MockGrpcService { - private final MockTablesServiceImpl serviceImpl; - - public MockTablesService() { - serviceImpl = new MockTablesServiceImpl(); - } - - @Override - public List getRequests() { - return serviceImpl.getRequests(); - } - - @Override - public void addResponse(AbstractMessage response) { - serviceImpl.addResponse(response); - } - - @Override - public void addException(Exception exception) { - serviceImpl.addException(exception); - } - - @Override - public ServerServiceDefinition getServiceDefinition() { - return serviceImpl.bindService(); - } - - @Override - public void reset() { - serviceImpl.reset(); - } -} diff --git a/java-area120-tables/google-area120-tables/src/test/java/com/google/area120/tables/v1alpha/MockTablesServiceImpl.java b/java-area120-tables/google-area120-tables/src/test/java/com/google/area120/tables/v1alpha/MockTablesServiceImpl.java deleted file mode 100644 index 8bb1b9060085..000000000000 --- a/java-area120-tables/google-area120-tables/src/test/java/com/google/area120/tables/v1alpha/MockTablesServiceImpl.java +++ /dev/null @@ -1,327 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha; - -import com.google.api.core.BetaApi; -import com.google.area120.tables.v1alpha1.BatchCreateRowsRequest; -import com.google.area120.tables.v1alpha1.BatchCreateRowsResponse; -import com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest; -import com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest; -import com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse; -import com.google.area120.tables.v1alpha1.CreateRowRequest; -import com.google.area120.tables.v1alpha1.DeleteRowRequest; -import com.google.area120.tables.v1alpha1.GetRowRequest; -import com.google.area120.tables.v1alpha1.GetTableRequest; -import com.google.area120.tables.v1alpha1.GetWorkspaceRequest; -import com.google.area120.tables.v1alpha1.ListRowsRequest; -import com.google.area120.tables.v1alpha1.ListRowsResponse; -import com.google.area120.tables.v1alpha1.ListTablesRequest; -import com.google.area120.tables.v1alpha1.ListTablesResponse; -import com.google.area120.tables.v1alpha1.ListWorkspacesRequest; -import com.google.area120.tables.v1alpha1.ListWorkspacesResponse; -import com.google.area120.tables.v1alpha1.Row; -import com.google.area120.tables.v1alpha1.Table; -import com.google.area120.tables.v1alpha1.TablesServiceGrpc.TablesServiceImplBase; -import com.google.area120.tables.v1alpha1.UpdateRowRequest; -import com.google.area120.tables.v1alpha1.Workspace; -import com.google.protobuf.AbstractMessage; -import com.google.protobuf.Empty; -import io.grpc.stub.StreamObserver; -import java.util.ArrayList; -import java.util.LinkedList; -import java.util.List; -import java.util.Queue; -import javax.annotation.Generated; - -@BetaApi -@Generated("by gapic-generator-java") -public class MockTablesServiceImpl extends TablesServiceImplBase { - private List requests; - private Queue responses; - - public MockTablesServiceImpl() { - requests = new ArrayList<>(); - responses = new LinkedList<>(); - } - - public List getRequests() { - return requests; - } - - public void addResponse(AbstractMessage response) { - responses.add(response); - } - - public void setResponses(List responses) { - this.responses = new LinkedList(responses); - } - - public void addException(Exception exception) { - responses.add(exception); - } - - public void reset() { - requests = new ArrayList<>(); - responses = new LinkedList<>(); - } - - @Override - public void getTable(GetTableRequest request, StreamObserver

responseObserver) { - Object response = responses.poll(); - if (response instanceof Table) { - requests.add(request); - responseObserver.onNext(((Table) response)); - responseObserver.onCompleted(); - } else if (response instanceof Exception) { - responseObserver.onError(((Exception) response)); - } else { - responseObserver.onError( - new IllegalArgumentException( - String.format( - "Unrecognized response type %s for method GetTable, expected %s or %s", - response == null ? "null" : response.getClass().getName(), - Table.class.getName(), - Exception.class.getName()))); - } - } - - @Override - public void listTables( - ListTablesRequest request, StreamObserver responseObserver) { - Object response = responses.poll(); - if (response instanceof ListTablesResponse) { - requests.add(request); - responseObserver.onNext(((ListTablesResponse) response)); - responseObserver.onCompleted(); - } else if (response instanceof Exception) { - responseObserver.onError(((Exception) response)); - } else { - responseObserver.onError( - new IllegalArgumentException( - String.format( - "Unrecognized response type %s for method ListTables, expected %s or %s", - response == null ? "null" : response.getClass().getName(), - ListTablesResponse.class.getName(), - Exception.class.getName()))); - } - } - - @Override - public void getWorkspace( - GetWorkspaceRequest request, StreamObserver responseObserver) { - Object response = responses.poll(); - if (response instanceof Workspace) { - requests.add(request); - responseObserver.onNext(((Workspace) response)); - responseObserver.onCompleted(); - } else if (response instanceof Exception) { - responseObserver.onError(((Exception) response)); - } else { - responseObserver.onError( - new IllegalArgumentException( - String.format( - "Unrecognized response type %s for method GetWorkspace, expected %s or %s", - response == null ? "null" : response.getClass().getName(), - Workspace.class.getName(), - Exception.class.getName()))); - } - } - - @Override - public void listWorkspaces( - ListWorkspacesRequest request, StreamObserver responseObserver) { - Object response = responses.poll(); - if (response instanceof ListWorkspacesResponse) { - requests.add(request); - responseObserver.onNext(((ListWorkspacesResponse) response)); - responseObserver.onCompleted(); - } else if (response instanceof Exception) { - responseObserver.onError(((Exception) response)); - } else { - responseObserver.onError( - new IllegalArgumentException( - String.format( - "Unrecognized response type %s for method ListWorkspaces, expected %s or %s", - response == null ? "null" : response.getClass().getName(), - ListWorkspacesResponse.class.getName(), - Exception.class.getName()))); - } - } - - @Override - public void getRow(GetRowRequest request, StreamObserver responseObserver) { - Object response = responses.poll(); - if (response instanceof Row) { - requests.add(request); - responseObserver.onNext(((Row) response)); - responseObserver.onCompleted(); - } else if (response instanceof Exception) { - responseObserver.onError(((Exception) response)); - } else { - responseObserver.onError( - new IllegalArgumentException( - String.format( - "Unrecognized response type %s for method GetRow, expected %s or %s", - response == null ? "null" : response.getClass().getName(), - Row.class.getName(), - Exception.class.getName()))); - } - } - - @Override - public void listRows(ListRowsRequest request, StreamObserver responseObserver) { - Object response = responses.poll(); - if (response instanceof ListRowsResponse) { - requests.add(request); - responseObserver.onNext(((ListRowsResponse) response)); - responseObserver.onCompleted(); - } else if (response instanceof Exception) { - responseObserver.onError(((Exception) response)); - } else { - responseObserver.onError( - new IllegalArgumentException( - String.format( - "Unrecognized response type %s for method ListRows, expected %s or %s", - response == null ? "null" : response.getClass().getName(), - ListRowsResponse.class.getName(), - Exception.class.getName()))); - } - } - - @Override - public void createRow(CreateRowRequest request, StreamObserver responseObserver) { - Object response = responses.poll(); - if (response instanceof Row) { - requests.add(request); - responseObserver.onNext(((Row) response)); - responseObserver.onCompleted(); - } else if (response instanceof Exception) { - responseObserver.onError(((Exception) response)); - } else { - responseObserver.onError( - new IllegalArgumentException( - String.format( - "Unrecognized response type %s for method CreateRow, expected %s or %s", - response == null ? "null" : response.getClass().getName(), - Row.class.getName(), - Exception.class.getName()))); - } - } - - @Override - public void batchCreateRows( - BatchCreateRowsRequest request, StreamObserver responseObserver) { - Object response = responses.poll(); - if (response instanceof BatchCreateRowsResponse) { - requests.add(request); - responseObserver.onNext(((BatchCreateRowsResponse) response)); - responseObserver.onCompleted(); - } else if (response instanceof Exception) { - responseObserver.onError(((Exception) response)); - } else { - responseObserver.onError( - new IllegalArgumentException( - String.format( - "Unrecognized response type %s for method BatchCreateRows, expected %s or %s", - response == null ? "null" : response.getClass().getName(), - BatchCreateRowsResponse.class.getName(), - Exception.class.getName()))); - } - } - - @Override - public void updateRow(UpdateRowRequest request, StreamObserver responseObserver) { - Object response = responses.poll(); - if (response instanceof Row) { - requests.add(request); - responseObserver.onNext(((Row) response)); - responseObserver.onCompleted(); - } else if (response instanceof Exception) { - responseObserver.onError(((Exception) response)); - } else { - responseObserver.onError( - new IllegalArgumentException( - String.format( - "Unrecognized response type %s for method UpdateRow, expected %s or %s", - response == null ? "null" : response.getClass().getName(), - Row.class.getName(), - Exception.class.getName()))); - } - } - - @Override - public void batchUpdateRows( - BatchUpdateRowsRequest request, StreamObserver responseObserver) { - Object response = responses.poll(); - if (response instanceof BatchUpdateRowsResponse) { - requests.add(request); - responseObserver.onNext(((BatchUpdateRowsResponse) response)); - responseObserver.onCompleted(); - } else if (response instanceof Exception) { - responseObserver.onError(((Exception) response)); - } else { - responseObserver.onError( - new IllegalArgumentException( - String.format( - "Unrecognized response type %s for method BatchUpdateRows, expected %s or %s", - response == null ? "null" : response.getClass().getName(), - BatchUpdateRowsResponse.class.getName(), - Exception.class.getName()))); - } - } - - @Override - public void deleteRow(DeleteRowRequest request, StreamObserver responseObserver) { - Object response = responses.poll(); - if (response instanceof Empty) { - requests.add(request); - responseObserver.onNext(((Empty) response)); - responseObserver.onCompleted(); - } else if (response instanceof Exception) { - responseObserver.onError(((Exception) response)); - } else { - responseObserver.onError( - new IllegalArgumentException( - String.format( - "Unrecognized response type %s for method DeleteRow, expected %s or %s", - response == null ? "null" : response.getClass().getName(), - Empty.class.getName(), - Exception.class.getName()))); - } - } - - @Override - public void batchDeleteRows( - BatchDeleteRowsRequest request, StreamObserver responseObserver) { - Object response = responses.poll(); - if (response instanceof Empty) { - requests.add(request); - responseObserver.onNext(((Empty) response)); - responseObserver.onCompleted(); - } else if (response instanceof Exception) { - responseObserver.onError(((Exception) response)); - } else { - responseObserver.onError( - new IllegalArgumentException( - String.format( - "Unrecognized response type %s for method BatchDeleteRows, expected %s or %s", - response == null ? "null" : response.getClass().getName(), - Empty.class.getName(), - Exception.class.getName()))); - } - } -} diff --git a/java-area120-tables/google-area120-tables/src/test/java/com/google/area120/tables/v1alpha/TablesServiceClientHttpJsonTest.java b/java-area120-tables/google-area120-tables/src/test/java/com/google/area120/tables/v1alpha/TablesServiceClientHttpJsonTest.java deleted file mode 100644 index cc5db353ccaa..000000000000 --- a/java-area120-tables/google-area120-tables/src/test/java/com/google/area120/tables/v1alpha/TablesServiceClientHttpJsonTest.java +++ /dev/null @@ -1,873 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha; - -import static com.google.area120.tables.v1alpha.TablesServiceClient.ListRowsPagedResponse; -import static com.google.area120.tables.v1alpha.TablesServiceClient.ListTablesPagedResponse; -import static com.google.area120.tables.v1alpha.TablesServiceClient.ListWorkspacesPagedResponse; - -import com.google.api.gax.core.NoCredentialsProvider; -import com.google.api.gax.httpjson.GaxHttpJsonProperties; -import com.google.api.gax.httpjson.testing.MockHttpService; -import com.google.api.gax.rpc.ApiClientHeaderProvider; -import com.google.api.gax.rpc.ApiException; -import com.google.api.gax.rpc.ApiExceptionFactory; -import com.google.api.gax.rpc.InvalidArgumentException; -import com.google.api.gax.rpc.StatusCode; -import com.google.api.gax.rpc.testing.FakeStatusCode; -import com.google.area120.tables.v1alpha.stub.HttpJsonTablesServiceStub; -import com.google.area120.tables.v1alpha1.BatchCreateRowsRequest; -import com.google.area120.tables.v1alpha1.BatchCreateRowsResponse; -import com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest; -import com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest; -import com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse; -import com.google.area120.tables.v1alpha1.ColumnDescription; -import com.google.area120.tables.v1alpha1.CreateRowRequest; -import com.google.area120.tables.v1alpha1.ListRowsResponse; -import com.google.area120.tables.v1alpha1.ListTablesRequest; -import com.google.area120.tables.v1alpha1.ListTablesResponse; -import com.google.area120.tables.v1alpha1.ListWorkspacesRequest; -import com.google.area120.tables.v1alpha1.ListWorkspacesResponse; -import com.google.area120.tables.v1alpha1.Row; -import com.google.area120.tables.v1alpha1.RowName; -import com.google.area120.tables.v1alpha1.Table; -import com.google.area120.tables.v1alpha1.TableName; -import com.google.area120.tables.v1alpha1.UpdateRowRequest; -import com.google.area120.tables.v1alpha1.Workspace; -import com.google.area120.tables.v1alpha1.WorkspaceName; -import com.google.common.collect.Lists; -import com.google.protobuf.Empty; -import com.google.protobuf.FieldMask; -import com.google.protobuf.Value; -import java.io.IOException; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.HashMap; -import java.util.List; -import javax.annotation.Generated; -import org.junit.After; -import org.junit.AfterClass; -import org.junit.Assert; -import org.junit.Before; -import org.junit.BeforeClass; -import org.junit.Test; - -@Generated("by gapic-generator-java") -public class TablesServiceClientHttpJsonTest { - private static MockHttpService mockService; - private static TablesServiceClient client; - - @BeforeClass - public static void startStaticServer() throws IOException { - mockService = - new MockHttpService( - HttpJsonTablesServiceStub.getMethodDescriptors(), - TablesServiceSettings.getDefaultEndpoint()); - TablesServiceSettings settings = - TablesServiceSettings.newHttpJsonBuilder() - .setTransportChannelProvider( - TablesServiceSettings.defaultHttpJsonTransportProviderBuilder() - .setHttpTransport(mockService) - .build()) - .setCredentialsProvider(NoCredentialsProvider.create()) - .build(); - client = TablesServiceClient.create(settings); - } - - @AfterClass - public static void stopServer() { - client.close(); - } - - @Before - public void setUp() {} - - @After - public void tearDown() throws Exception { - mockService.reset(); - } - - @Test - public void getTableTest() throws Exception { - Table expectedResponse = - Table.newBuilder() - .setName(TableName.of("[TABLE]").toString()) - .setDisplayName("displayName1714148973") - .addAllColumns(new ArrayList()) - .build(); - mockService.addResponse(expectedResponse); - - TableName name = TableName.of("[TABLE]"); - - Table actualResponse = client.getTable(name); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockService.getRequestPaths(); - Assert.assertEquals(1, actualRequests.size()); - - String apiClientHeaderKey = - mockService - .getRequestHeaders() - .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) - .iterator() - .next(); - Assert.assertTrue( - GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() - .matcher(apiClientHeaderKey) - .matches()); - } - - @Test - public void getTableExceptionTest() throws Exception { - ApiException exception = - ApiExceptionFactory.createException( - new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); - mockService.addException(exception); - - try { - TableName name = TableName.of("[TABLE]"); - client.getTable(name); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void getTableTest2() throws Exception { - Table expectedResponse = - Table.newBuilder() - .setName(TableName.of("[TABLE]").toString()) - .setDisplayName("displayName1714148973") - .addAllColumns(new ArrayList()) - .build(); - mockService.addResponse(expectedResponse); - - String name = "tables/table-2379"; - - Table actualResponse = client.getTable(name); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockService.getRequestPaths(); - Assert.assertEquals(1, actualRequests.size()); - - String apiClientHeaderKey = - mockService - .getRequestHeaders() - .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) - .iterator() - .next(); - Assert.assertTrue( - GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() - .matcher(apiClientHeaderKey) - .matches()); - } - - @Test - public void getTableExceptionTest2() throws Exception { - ApiException exception = - ApiExceptionFactory.createException( - new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); - mockService.addException(exception); - - try { - String name = "tables/table-2379"; - client.getTable(name); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void listTablesTest() throws Exception { - Table responsesElement = Table.newBuilder().build(); - ListTablesResponse expectedResponse = - ListTablesResponse.newBuilder() - .setNextPageToken("") - .addAllTables(Arrays.asList(responsesElement)) - .build(); - mockService.addResponse(expectedResponse); - - ListTablesRequest request = - ListTablesRequest.newBuilder() - .setPageSize(883849137) - .setPageToken("pageToken873572522") - .build(); - - ListTablesPagedResponse pagedListResponse = client.listTables(request); - - List
resources = Lists.newArrayList(pagedListResponse.iterateAll()); - - Assert.assertEquals(1, resources.size()); - Assert.assertEquals(expectedResponse.getTablesList().get(0), resources.get(0)); - - List actualRequests = mockService.getRequestPaths(); - Assert.assertEquals(1, actualRequests.size()); - - String apiClientHeaderKey = - mockService - .getRequestHeaders() - .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) - .iterator() - .next(); - Assert.assertTrue( - GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() - .matcher(apiClientHeaderKey) - .matches()); - } - - @Test - public void listTablesExceptionTest() throws Exception { - ApiException exception = - ApiExceptionFactory.createException( - new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); - mockService.addException(exception); - - try { - ListTablesRequest request = - ListTablesRequest.newBuilder() - .setPageSize(883849137) - .setPageToken("pageToken873572522") - .build(); - client.listTables(request); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void getWorkspaceTest() throws Exception { - Workspace expectedResponse = - Workspace.newBuilder() - .setName(WorkspaceName.of("[WORKSPACE]").toString()) - .setDisplayName("displayName1714148973") - .addAllTables(new ArrayList
()) - .build(); - mockService.addResponse(expectedResponse); - - WorkspaceName name = WorkspaceName.of("[WORKSPACE]"); - - Workspace actualResponse = client.getWorkspace(name); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockService.getRequestPaths(); - Assert.assertEquals(1, actualRequests.size()); - - String apiClientHeaderKey = - mockService - .getRequestHeaders() - .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) - .iterator() - .next(); - Assert.assertTrue( - GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() - .matcher(apiClientHeaderKey) - .matches()); - } - - @Test - public void getWorkspaceExceptionTest() throws Exception { - ApiException exception = - ApiExceptionFactory.createException( - new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); - mockService.addException(exception); - - try { - WorkspaceName name = WorkspaceName.of("[WORKSPACE]"); - client.getWorkspace(name); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void getWorkspaceTest2() throws Exception { - Workspace expectedResponse = - Workspace.newBuilder() - .setName(WorkspaceName.of("[WORKSPACE]").toString()) - .setDisplayName("displayName1714148973") - .addAllTables(new ArrayList
()) - .build(); - mockService.addResponse(expectedResponse); - - String name = "workspaces/workspace-1084"; - - Workspace actualResponse = client.getWorkspace(name); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockService.getRequestPaths(); - Assert.assertEquals(1, actualRequests.size()); - - String apiClientHeaderKey = - mockService - .getRequestHeaders() - .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) - .iterator() - .next(); - Assert.assertTrue( - GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() - .matcher(apiClientHeaderKey) - .matches()); - } - - @Test - public void getWorkspaceExceptionTest2() throws Exception { - ApiException exception = - ApiExceptionFactory.createException( - new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); - mockService.addException(exception); - - try { - String name = "workspaces/workspace-1084"; - client.getWorkspace(name); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void listWorkspacesTest() throws Exception { - Workspace responsesElement = Workspace.newBuilder().build(); - ListWorkspacesResponse expectedResponse = - ListWorkspacesResponse.newBuilder() - .setNextPageToken("") - .addAllWorkspaces(Arrays.asList(responsesElement)) - .build(); - mockService.addResponse(expectedResponse); - - ListWorkspacesRequest request = - ListWorkspacesRequest.newBuilder() - .setPageSize(883849137) - .setPageToken("pageToken873572522") - .build(); - - ListWorkspacesPagedResponse pagedListResponse = client.listWorkspaces(request); - - List resources = Lists.newArrayList(pagedListResponse.iterateAll()); - - Assert.assertEquals(1, resources.size()); - Assert.assertEquals(expectedResponse.getWorkspacesList().get(0), resources.get(0)); - - List actualRequests = mockService.getRequestPaths(); - Assert.assertEquals(1, actualRequests.size()); - - String apiClientHeaderKey = - mockService - .getRequestHeaders() - .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) - .iterator() - .next(); - Assert.assertTrue( - GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() - .matcher(apiClientHeaderKey) - .matches()); - } - - @Test - public void listWorkspacesExceptionTest() throws Exception { - ApiException exception = - ApiExceptionFactory.createException( - new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); - mockService.addException(exception); - - try { - ListWorkspacesRequest request = - ListWorkspacesRequest.newBuilder() - .setPageSize(883849137) - .setPageToken("pageToken873572522") - .build(); - client.listWorkspaces(request); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void getRowTest() throws Exception { - Row expectedResponse = - Row.newBuilder() - .setName(RowName.of("[TABLE]", "[ROW]").toString()) - .putAllValues(new HashMap()) - .build(); - mockService.addResponse(expectedResponse); - - RowName name = RowName.of("[TABLE]", "[ROW]"); - - Row actualResponse = client.getRow(name); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockService.getRequestPaths(); - Assert.assertEquals(1, actualRequests.size()); - - String apiClientHeaderKey = - mockService - .getRequestHeaders() - .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) - .iterator() - .next(); - Assert.assertTrue( - GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() - .matcher(apiClientHeaderKey) - .matches()); - } - - @Test - public void getRowExceptionTest() throws Exception { - ApiException exception = - ApiExceptionFactory.createException( - new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); - mockService.addException(exception); - - try { - RowName name = RowName.of("[TABLE]", "[ROW]"); - client.getRow(name); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void getRowTest2() throws Exception { - Row expectedResponse = - Row.newBuilder() - .setName(RowName.of("[TABLE]", "[ROW]").toString()) - .putAllValues(new HashMap()) - .build(); - mockService.addResponse(expectedResponse); - - String name = "tables/table-4056/rows/row-4056"; - - Row actualResponse = client.getRow(name); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockService.getRequestPaths(); - Assert.assertEquals(1, actualRequests.size()); - - String apiClientHeaderKey = - mockService - .getRequestHeaders() - .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) - .iterator() - .next(); - Assert.assertTrue( - GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() - .matcher(apiClientHeaderKey) - .matches()); - } - - @Test - public void getRowExceptionTest2() throws Exception { - ApiException exception = - ApiExceptionFactory.createException( - new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); - mockService.addException(exception); - - try { - String name = "tables/table-4056/rows/row-4056"; - client.getRow(name); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void listRowsTest() throws Exception { - Row responsesElement = Row.newBuilder().build(); - ListRowsResponse expectedResponse = - ListRowsResponse.newBuilder() - .setNextPageToken("") - .addAllRows(Arrays.asList(responsesElement)) - .build(); - mockService.addResponse(expectedResponse); - - String parent = "tables/table-3978"; - - ListRowsPagedResponse pagedListResponse = client.listRows(parent); - - List resources = Lists.newArrayList(pagedListResponse.iterateAll()); - - Assert.assertEquals(1, resources.size()); - Assert.assertEquals(expectedResponse.getRowsList().get(0), resources.get(0)); - - List actualRequests = mockService.getRequestPaths(); - Assert.assertEquals(1, actualRequests.size()); - - String apiClientHeaderKey = - mockService - .getRequestHeaders() - .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) - .iterator() - .next(); - Assert.assertTrue( - GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() - .matcher(apiClientHeaderKey) - .matches()); - } - - @Test - public void listRowsExceptionTest() throws Exception { - ApiException exception = - ApiExceptionFactory.createException( - new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); - mockService.addException(exception); - - try { - String parent = "tables/table-3978"; - client.listRows(parent); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void createRowTest() throws Exception { - Row expectedResponse = - Row.newBuilder() - .setName(RowName.of("[TABLE]", "[ROW]").toString()) - .putAllValues(new HashMap()) - .build(); - mockService.addResponse(expectedResponse); - - String parent = "tables/table-3978"; - Row row = Row.newBuilder().build(); - - Row actualResponse = client.createRow(parent, row); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockService.getRequestPaths(); - Assert.assertEquals(1, actualRequests.size()); - - String apiClientHeaderKey = - mockService - .getRequestHeaders() - .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) - .iterator() - .next(); - Assert.assertTrue( - GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() - .matcher(apiClientHeaderKey) - .matches()); - } - - @Test - public void createRowExceptionTest() throws Exception { - ApiException exception = - ApiExceptionFactory.createException( - new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); - mockService.addException(exception); - - try { - String parent = "tables/table-3978"; - Row row = Row.newBuilder().build(); - client.createRow(parent, row); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void batchCreateRowsTest() throws Exception { - BatchCreateRowsResponse expectedResponse = - BatchCreateRowsResponse.newBuilder().addAllRows(new ArrayList()).build(); - mockService.addResponse(expectedResponse); - - BatchCreateRowsRequest request = - BatchCreateRowsRequest.newBuilder() - .setParent("tables/table-3978") - .addAllRequests(new ArrayList()) - .build(); - - BatchCreateRowsResponse actualResponse = client.batchCreateRows(request); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockService.getRequestPaths(); - Assert.assertEquals(1, actualRequests.size()); - - String apiClientHeaderKey = - mockService - .getRequestHeaders() - .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) - .iterator() - .next(); - Assert.assertTrue( - GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() - .matcher(apiClientHeaderKey) - .matches()); - } - - @Test - public void batchCreateRowsExceptionTest() throws Exception { - ApiException exception = - ApiExceptionFactory.createException( - new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); - mockService.addException(exception); - - try { - BatchCreateRowsRequest request = - BatchCreateRowsRequest.newBuilder() - .setParent("tables/table-3978") - .addAllRequests(new ArrayList()) - .build(); - client.batchCreateRows(request); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void updateRowTest() throws Exception { - Row expectedResponse = - Row.newBuilder() - .setName(RowName.of("[TABLE]", "[ROW]").toString()) - .putAllValues(new HashMap()) - .build(); - mockService.addResponse(expectedResponse); - - Row row = - Row.newBuilder() - .setName(RowName.of("[TABLE]", "[ROW]").toString()) - .putAllValues(new HashMap()) - .build(); - FieldMask updateMask = FieldMask.newBuilder().build(); - - Row actualResponse = client.updateRow(row, updateMask); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockService.getRequestPaths(); - Assert.assertEquals(1, actualRequests.size()); - - String apiClientHeaderKey = - mockService - .getRequestHeaders() - .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) - .iterator() - .next(); - Assert.assertTrue( - GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() - .matcher(apiClientHeaderKey) - .matches()); - } - - @Test - public void updateRowExceptionTest() throws Exception { - ApiException exception = - ApiExceptionFactory.createException( - new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); - mockService.addException(exception); - - try { - Row row = - Row.newBuilder() - .setName(RowName.of("[TABLE]", "[ROW]").toString()) - .putAllValues(new HashMap()) - .build(); - FieldMask updateMask = FieldMask.newBuilder().build(); - client.updateRow(row, updateMask); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void batchUpdateRowsTest() throws Exception { - BatchUpdateRowsResponse expectedResponse = - BatchUpdateRowsResponse.newBuilder().addAllRows(new ArrayList()).build(); - mockService.addResponse(expectedResponse); - - BatchUpdateRowsRequest request = - BatchUpdateRowsRequest.newBuilder() - .setParent("tables/table-3978") - .addAllRequests(new ArrayList()) - .build(); - - BatchUpdateRowsResponse actualResponse = client.batchUpdateRows(request); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockService.getRequestPaths(); - Assert.assertEquals(1, actualRequests.size()); - - String apiClientHeaderKey = - mockService - .getRequestHeaders() - .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) - .iterator() - .next(); - Assert.assertTrue( - GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() - .matcher(apiClientHeaderKey) - .matches()); - } - - @Test - public void batchUpdateRowsExceptionTest() throws Exception { - ApiException exception = - ApiExceptionFactory.createException( - new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); - mockService.addException(exception); - - try { - BatchUpdateRowsRequest request = - BatchUpdateRowsRequest.newBuilder() - .setParent("tables/table-3978") - .addAllRequests(new ArrayList()) - .build(); - client.batchUpdateRows(request); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void deleteRowTest() throws Exception { - Empty expectedResponse = Empty.newBuilder().build(); - mockService.addResponse(expectedResponse); - - RowName name = RowName.of("[TABLE]", "[ROW]"); - - client.deleteRow(name); - - List actualRequests = mockService.getRequestPaths(); - Assert.assertEquals(1, actualRequests.size()); - - String apiClientHeaderKey = - mockService - .getRequestHeaders() - .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) - .iterator() - .next(); - Assert.assertTrue( - GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() - .matcher(apiClientHeaderKey) - .matches()); - } - - @Test - public void deleteRowExceptionTest() throws Exception { - ApiException exception = - ApiExceptionFactory.createException( - new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); - mockService.addException(exception); - - try { - RowName name = RowName.of("[TABLE]", "[ROW]"); - client.deleteRow(name); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void deleteRowTest2() throws Exception { - Empty expectedResponse = Empty.newBuilder().build(); - mockService.addResponse(expectedResponse); - - String name = "tables/table-4056/rows/row-4056"; - - client.deleteRow(name); - - List actualRequests = mockService.getRequestPaths(); - Assert.assertEquals(1, actualRequests.size()); - - String apiClientHeaderKey = - mockService - .getRequestHeaders() - .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) - .iterator() - .next(); - Assert.assertTrue( - GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() - .matcher(apiClientHeaderKey) - .matches()); - } - - @Test - public void deleteRowExceptionTest2() throws Exception { - ApiException exception = - ApiExceptionFactory.createException( - new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); - mockService.addException(exception); - - try { - String name = "tables/table-4056/rows/row-4056"; - client.deleteRow(name); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void batchDeleteRowsTest() throws Exception { - Empty expectedResponse = Empty.newBuilder().build(); - mockService.addResponse(expectedResponse); - - BatchDeleteRowsRequest request = - BatchDeleteRowsRequest.newBuilder() - .setParent(TableName.of("[TABLE]").toString()) - .addAllNames(new ArrayList()) - .build(); - - client.batchDeleteRows(request); - - List actualRequests = mockService.getRequestPaths(); - Assert.assertEquals(1, actualRequests.size()); - - String apiClientHeaderKey = - mockService - .getRequestHeaders() - .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) - .iterator() - .next(); - Assert.assertTrue( - GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() - .matcher(apiClientHeaderKey) - .matches()); - } - - @Test - public void batchDeleteRowsExceptionTest() throws Exception { - ApiException exception = - ApiExceptionFactory.createException( - new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); - mockService.addException(exception); - - try { - BatchDeleteRowsRequest request = - BatchDeleteRowsRequest.newBuilder() - .setParent(TableName.of("[TABLE]").toString()) - .addAllNames(new ArrayList()) - .build(); - client.batchDeleteRows(request); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } -} diff --git a/java-area120-tables/google-area120-tables/src/test/java/com/google/area120/tables/v1alpha/TablesServiceClientTest.java b/java-area120-tables/google-area120-tables/src/test/java/com/google/area120/tables/v1alpha/TablesServiceClientTest.java deleted file mode 100644 index ef189c621231..000000000000 --- a/java-area120-tables/google-area120-tables/src/test/java/com/google/area120/tables/v1alpha/TablesServiceClientTest.java +++ /dev/null @@ -1,784 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha; - -import static com.google.area120.tables.v1alpha.TablesServiceClient.ListRowsPagedResponse; -import static com.google.area120.tables.v1alpha.TablesServiceClient.ListTablesPagedResponse; -import static com.google.area120.tables.v1alpha.TablesServiceClient.ListWorkspacesPagedResponse; - -import com.google.api.gax.core.NoCredentialsProvider; -import com.google.api.gax.grpc.GaxGrpcProperties; -import com.google.api.gax.grpc.testing.LocalChannelProvider; -import com.google.api.gax.grpc.testing.MockGrpcService; -import com.google.api.gax.grpc.testing.MockServiceHelper; -import com.google.api.gax.rpc.ApiClientHeaderProvider; -import com.google.api.gax.rpc.InvalidArgumentException; -import com.google.area120.tables.v1alpha1.BatchCreateRowsRequest; -import com.google.area120.tables.v1alpha1.BatchCreateRowsResponse; -import com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest; -import com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest; -import com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse; -import com.google.area120.tables.v1alpha1.ColumnDescription; -import com.google.area120.tables.v1alpha1.CreateRowRequest; -import com.google.area120.tables.v1alpha1.DeleteRowRequest; -import com.google.area120.tables.v1alpha1.GetRowRequest; -import com.google.area120.tables.v1alpha1.GetTableRequest; -import com.google.area120.tables.v1alpha1.GetWorkspaceRequest; -import com.google.area120.tables.v1alpha1.ListRowsRequest; -import com.google.area120.tables.v1alpha1.ListRowsResponse; -import com.google.area120.tables.v1alpha1.ListTablesRequest; -import com.google.area120.tables.v1alpha1.ListTablesResponse; -import com.google.area120.tables.v1alpha1.ListWorkspacesRequest; -import com.google.area120.tables.v1alpha1.ListWorkspacesResponse; -import com.google.area120.tables.v1alpha1.Row; -import com.google.area120.tables.v1alpha1.RowName; -import com.google.area120.tables.v1alpha1.Table; -import com.google.area120.tables.v1alpha1.TableName; -import com.google.area120.tables.v1alpha1.UpdateRowRequest; -import com.google.area120.tables.v1alpha1.Workspace; -import com.google.area120.tables.v1alpha1.WorkspaceName; -import com.google.common.collect.Lists; -import com.google.protobuf.AbstractMessage; -import com.google.protobuf.Empty; -import com.google.protobuf.FieldMask; -import com.google.protobuf.Value; -import io.grpc.StatusRuntimeException; -import java.io.IOException; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.HashMap; -import java.util.List; -import java.util.UUID; -import javax.annotation.Generated; -import org.junit.After; -import org.junit.AfterClass; -import org.junit.Assert; -import org.junit.Before; -import org.junit.BeforeClass; -import org.junit.Test; - -@Generated("by gapic-generator-java") -public class TablesServiceClientTest { - private static MockServiceHelper mockServiceHelper; - private static MockTablesService mockTablesService; - private LocalChannelProvider channelProvider; - private TablesServiceClient client; - - @BeforeClass - public static void startStaticServer() { - mockTablesService = new MockTablesService(); - mockServiceHelper = - new MockServiceHelper( - UUID.randomUUID().toString(), Arrays.asList(mockTablesService)); - mockServiceHelper.start(); - } - - @AfterClass - public static void stopServer() { - mockServiceHelper.stop(); - } - - @Before - public void setUp() throws IOException { - mockServiceHelper.reset(); - channelProvider = mockServiceHelper.createChannelProvider(); - TablesServiceSettings settings = - TablesServiceSettings.newBuilder() - .setTransportChannelProvider(channelProvider) - .setCredentialsProvider(NoCredentialsProvider.create()) - .build(); - client = TablesServiceClient.create(settings); - } - - @After - public void tearDown() throws Exception { - client.close(); - } - - @Test - public void getTableTest() throws Exception { - Table expectedResponse = - Table.newBuilder() - .setName(TableName.of("[TABLE]").toString()) - .setDisplayName("displayName1714148973") - .addAllColumns(new ArrayList()) - .build(); - mockTablesService.addResponse(expectedResponse); - - TableName name = TableName.of("[TABLE]"); - - Table actualResponse = client.getTable(name); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockTablesService.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - GetTableRequest actualRequest = ((GetTableRequest) actualRequests.get(0)); - - Assert.assertEquals(name.toString(), actualRequest.getName()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void getTableExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockTablesService.addException(exception); - - try { - TableName name = TableName.of("[TABLE]"); - client.getTable(name); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void getTableTest2() throws Exception { - Table expectedResponse = - Table.newBuilder() - .setName(TableName.of("[TABLE]").toString()) - .setDisplayName("displayName1714148973") - .addAllColumns(new ArrayList()) - .build(); - mockTablesService.addResponse(expectedResponse); - - String name = "name3373707"; - - Table actualResponse = client.getTable(name); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockTablesService.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - GetTableRequest actualRequest = ((GetTableRequest) actualRequests.get(0)); - - Assert.assertEquals(name, actualRequest.getName()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void getTableExceptionTest2() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockTablesService.addException(exception); - - try { - String name = "name3373707"; - client.getTable(name); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void listTablesTest() throws Exception { - Table responsesElement = Table.newBuilder().build(); - ListTablesResponse expectedResponse = - ListTablesResponse.newBuilder() - .setNextPageToken("") - .addAllTables(Arrays.asList(responsesElement)) - .build(); - mockTablesService.addResponse(expectedResponse); - - ListTablesRequest request = - ListTablesRequest.newBuilder() - .setPageSize(883849137) - .setPageToken("pageToken873572522") - .build(); - - ListTablesPagedResponse pagedListResponse = client.listTables(request); - - List
resources = Lists.newArrayList(pagedListResponse.iterateAll()); - - Assert.assertEquals(1, resources.size()); - Assert.assertEquals(expectedResponse.getTablesList().get(0), resources.get(0)); - - List actualRequests = mockTablesService.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - ListTablesRequest actualRequest = ((ListTablesRequest) actualRequests.get(0)); - - Assert.assertEquals(request.getPageSize(), actualRequest.getPageSize()); - Assert.assertEquals(request.getPageToken(), actualRequest.getPageToken()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void listTablesExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockTablesService.addException(exception); - - try { - ListTablesRequest request = - ListTablesRequest.newBuilder() - .setPageSize(883849137) - .setPageToken("pageToken873572522") - .build(); - client.listTables(request); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void getWorkspaceTest() throws Exception { - Workspace expectedResponse = - Workspace.newBuilder() - .setName(WorkspaceName.of("[WORKSPACE]").toString()) - .setDisplayName("displayName1714148973") - .addAllTables(new ArrayList
()) - .build(); - mockTablesService.addResponse(expectedResponse); - - WorkspaceName name = WorkspaceName.of("[WORKSPACE]"); - - Workspace actualResponse = client.getWorkspace(name); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockTablesService.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - GetWorkspaceRequest actualRequest = ((GetWorkspaceRequest) actualRequests.get(0)); - - Assert.assertEquals(name.toString(), actualRequest.getName()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void getWorkspaceExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockTablesService.addException(exception); - - try { - WorkspaceName name = WorkspaceName.of("[WORKSPACE]"); - client.getWorkspace(name); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void getWorkspaceTest2() throws Exception { - Workspace expectedResponse = - Workspace.newBuilder() - .setName(WorkspaceName.of("[WORKSPACE]").toString()) - .setDisplayName("displayName1714148973") - .addAllTables(new ArrayList
()) - .build(); - mockTablesService.addResponse(expectedResponse); - - String name = "name3373707"; - - Workspace actualResponse = client.getWorkspace(name); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockTablesService.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - GetWorkspaceRequest actualRequest = ((GetWorkspaceRequest) actualRequests.get(0)); - - Assert.assertEquals(name, actualRequest.getName()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void getWorkspaceExceptionTest2() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockTablesService.addException(exception); - - try { - String name = "name3373707"; - client.getWorkspace(name); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void listWorkspacesTest() throws Exception { - Workspace responsesElement = Workspace.newBuilder().build(); - ListWorkspacesResponse expectedResponse = - ListWorkspacesResponse.newBuilder() - .setNextPageToken("") - .addAllWorkspaces(Arrays.asList(responsesElement)) - .build(); - mockTablesService.addResponse(expectedResponse); - - ListWorkspacesRequest request = - ListWorkspacesRequest.newBuilder() - .setPageSize(883849137) - .setPageToken("pageToken873572522") - .build(); - - ListWorkspacesPagedResponse pagedListResponse = client.listWorkspaces(request); - - List resources = Lists.newArrayList(pagedListResponse.iterateAll()); - - Assert.assertEquals(1, resources.size()); - Assert.assertEquals(expectedResponse.getWorkspacesList().get(0), resources.get(0)); - - List actualRequests = mockTablesService.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - ListWorkspacesRequest actualRequest = ((ListWorkspacesRequest) actualRequests.get(0)); - - Assert.assertEquals(request.getPageSize(), actualRequest.getPageSize()); - Assert.assertEquals(request.getPageToken(), actualRequest.getPageToken()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void listWorkspacesExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockTablesService.addException(exception); - - try { - ListWorkspacesRequest request = - ListWorkspacesRequest.newBuilder() - .setPageSize(883849137) - .setPageToken("pageToken873572522") - .build(); - client.listWorkspaces(request); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void getRowTest() throws Exception { - Row expectedResponse = - Row.newBuilder() - .setName(RowName.of("[TABLE]", "[ROW]").toString()) - .putAllValues(new HashMap()) - .build(); - mockTablesService.addResponse(expectedResponse); - - RowName name = RowName.of("[TABLE]", "[ROW]"); - - Row actualResponse = client.getRow(name); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockTablesService.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - GetRowRequest actualRequest = ((GetRowRequest) actualRequests.get(0)); - - Assert.assertEquals(name.toString(), actualRequest.getName()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void getRowExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockTablesService.addException(exception); - - try { - RowName name = RowName.of("[TABLE]", "[ROW]"); - client.getRow(name); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void getRowTest2() throws Exception { - Row expectedResponse = - Row.newBuilder() - .setName(RowName.of("[TABLE]", "[ROW]").toString()) - .putAllValues(new HashMap()) - .build(); - mockTablesService.addResponse(expectedResponse); - - String name = "name3373707"; - - Row actualResponse = client.getRow(name); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockTablesService.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - GetRowRequest actualRequest = ((GetRowRequest) actualRequests.get(0)); - - Assert.assertEquals(name, actualRequest.getName()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void getRowExceptionTest2() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockTablesService.addException(exception); - - try { - String name = "name3373707"; - client.getRow(name); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void listRowsTest() throws Exception { - Row responsesElement = Row.newBuilder().build(); - ListRowsResponse expectedResponse = - ListRowsResponse.newBuilder() - .setNextPageToken("") - .addAllRows(Arrays.asList(responsesElement)) - .build(); - mockTablesService.addResponse(expectedResponse); - - String parent = "parent-995424086"; - - ListRowsPagedResponse pagedListResponse = client.listRows(parent); - - List resources = Lists.newArrayList(pagedListResponse.iterateAll()); - - Assert.assertEquals(1, resources.size()); - Assert.assertEquals(expectedResponse.getRowsList().get(0), resources.get(0)); - - List actualRequests = mockTablesService.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - ListRowsRequest actualRequest = ((ListRowsRequest) actualRequests.get(0)); - - Assert.assertEquals(parent, actualRequest.getParent()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void listRowsExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockTablesService.addException(exception); - - try { - String parent = "parent-995424086"; - client.listRows(parent); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void createRowTest() throws Exception { - Row expectedResponse = - Row.newBuilder() - .setName(RowName.of("[TABLE]", "[ROW]").toString()) - .putAllValues(new HashMap()) - .build(); - mockTablesService.addResponse(expectedResponse); - - String parent = "parent-995424086"; - Row row = Row.newBuilder().build(); - - Row actualResponse = client.createRow(parent, row); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockTablesService.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - CreateRowRequest actualRequest = ((CreateRowRequest) actualRequests.get(0)); - - Assert.assertEquals(parent, actualRequest.getParent()); - Assert.assertEquals(row, actualRequest.getRow()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void createRowExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockTablesService.addException(exception); - - try { - String parent = "parent-995424086"; - Row row = Row.newBuilder().build(); - client.createRow(parent, row); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void batchCreateRowsTest() throws Exception { - BatchCreateRowsResponse expectedResponse = - BatchCreateRowsResponse.newBuilder().addAllRows(new ArrayList()).build(); - mockTablesService.addResponse(expectedResponse); - - BatchCreateRowsRequest request = - BatchCreateRowsRequest.newBuilder() - .setParent("parent-995424086") - .addAllRequests(new ArrayList()) - .build(); - - BatchCreateRowsResponse actualResponse = client.batchCreateRows(request); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockTablesService.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - BatchCreateRowsRequest actualRequest = ((BatchCreateRowsRequest) actualRequests.get(0)); - - Assert.assertEquals(request.getParent(), actualRequest.getParent()); - Assert.assertEquals(request.getRequestsList(), actualRequest.getRequestsList()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void batchCreateRowsExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockTablesService.addException(exception); - - try { - BatchCreateRowsRequest request = - BatchCreateRowsRequest.newBuilder() - .setParent("parent-995424086") - .addAllRequests(new ArrayList()) - .build(); - client.batchCreateRows(request); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void updateRowTest() throws Exception { - Row expectedResponse = - Row.newBuilder() - .setName(RowName.of("[TABLE]", "[ROW]").toString()) - .putAllValues(new HashMap()) - .build(); - mockTablesService.addResponse(expectedResponse); - - Row row = Row.newBuilder().build(); - FieldMask updateMask = FieldMask.newBuilder().build(); - - Row actualResponse = client.updateRow(row, updateMask); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockTablesService.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - UpdateRowRequest actualRequest = ((UpdateRowRequest) actualRequests.get(0)); - - Assert.assertEquals(row, actualRequest.getRow()); - Assert.assertEquals(updateMask, actualRequest.getUpdateMask()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void updateRowExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockTablesService.addException(exception); - - try { - Row row = Row.newBuilder().build(); - FieldMask updateMask = FieldMask.newBuilder().build(); - client.updateRow(row, updateMask); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void batchUpdateRowsTest() throws Exception { - BatchUpdateRowsResponse expectedResponse = - BatchUpdateRowsResponse.newBuilder().addAllRows(new ArrayList()).build(); - mockTablesService.addResponse(expectedResponse); - - BatchUpdateRowsRequest request = - BatchUpdateRowsRequest.newBuilder() - .setParent("parent-995424086") - .addAllRequests(new ArrayList()) - .build(); - - BatchUpdateRowsResponse actualResponse = client.batchUpdateRows(request); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockTablesService.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - BatchUpdateRowsRequest actualRequest = ((BatchUpdateRowsRequest) actualRequests.get(0)); - - Assert.assertEquals(request.getParent(), actualRequest.getParent()); - Assert.assertEquals(request.getRequestsList(), actualRequest.getRequestsList()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void batchUpdateRowsExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockTablesService.addException(exception); - - try { - BatchUpdateRowsRequest request = - BatchUpdateRowsRequest.newBuilder() - .setParent("parent-995424086") - .addAllRequests(new ArrayList()) - .build(); - client.batchUpdateRows(request); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void deleteRowTest() throws Exception { - Empty expectedResponse = Empty.newBuilder().build(); - mockTablesService.addResponse(expectedResponse); - - RowName name = RowName.of("[TABLE]", "[ROW]"); - - client.deleteRow(name); - - List actualRequests = mockTablesService.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - DeleteRowRequest actualRequest = ((DeleteRowRequest) actualRequests.get(0)); - - Assert.assertEquals(name.toString(), actualRequest.getName()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void deleteRowExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockTablesService.addException(exception); - - try { - RowName name = RowName.of("[TABLE]", "[ROW]"); - client.deleteRow(name); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void deleteRowTest2() throws Exception { - Empty expectedResponse = Empty.newBuilder().build(); - mockTablesService.addResponse(expectedResponse); - - String name = "name3373707"; - - client.deleteRow(name); - - List actualRequests = mockTablesService.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - DeleteRowRequest actualRequest = ((DeleteRowRequest) actualRequests.get(0)); - - Assert.assertEquals(name, actualRequest.getName()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void deleteRowExceptionTest2() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockTablesService.addException(exception); - - try { - String name = "name3373707"; - client.deleteRow(name); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void batchDeleteRowsTest() throws Exception { - Empty expectedResponse = Empty.newBuilder().build(); - mockTablesService.addResponse(expectedResponse); - - BatchDeleteRowsRequest request = - BatchDeleteRowsRequest.newBuilder() - .setParent(TableName.of("[TABLE]").toString()) - .addAllNames(new ArrayList()) - .build(); - - client.batchDeleteRows(request); - - List actualRequests = mockTablesService.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - BatchDeleteRowsRequest actualRequest = ((BatchDeleteRowsRequest) actualRequests.get(0)); - - Assert.assertEquals(request.getParent(), actualRequest.getParent()); - Assert.assertEquals(request.getNamesList(), actualRequest.getNamesList()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void batchDeleteRowsExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockTablesService.addException(exception); - - try { - BatchDeleteRowsRequest request = - BatchDeleteRowsRequest.newBuilder() - .setParent(TableName.of("[TABLE]").toString()) - .addAllNames(new ArrayList()) - .build(); - client.batchDeleteRows(request); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } -} diff --git a/java-area120-tables/grpc-google-area120-tables-v1alpha1/pom.xml b/java-area120-tables/grpc-google-area120-tables-v1alpha1/pom.xml deleted file mode 100644 index 30449eb21dc8..000000000000 --- a/java-area120-tables/grpc-google-area120-tables-v1alpha1/pom.xml +++ /dev/null @@ -1,41 +0,0 @@ - - 4.0.0 - com.google.api.grpc - grpc-google-area120-tables-v1alpha1 - 0.104.0 - grpc-google-area120-tables-v1alpha1 - GRPC library for google-area120-tables - - com.google.area120 - google-area120-tables-parent - 0.104.0 - - - - io.grpc - grpc-api - - - io.grpc - grpc-stub - - - io.grpc - grpc-protobuf - - - com.google.protobuf - protobuf-java - - - com.google.api.grpc - proto-google-area120-tables-v1alpha1 - - - com.google.guava - guava - - - \ No newline at end of file diff --git a/java-area120-tables/grpc-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/TablesServiceGrpc.java b/java-area120-tables/grpc-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/TablesServiceGrpc.java deleted file mode 100644 index e31807264b8e..000000000000 --- a/java-area120-tables/grpc-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/TablesServiceGrpc.java +++ /dev/null @@ -1,1898 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.area120.tables.v1alpha1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * The Tables Service provides an API for reading and updating tables.
- * It defines the following resource model:
- * - The API has a collection of [Table][google.area120.tables.v1alpha1.Table]
- *   resources, named `tables/*`
- * - Each Table has a collection of [Row][google.area120.tables.v1alpha1.Row]
- *   resources, named `tables/*/rows/*`
- * - The API has a collection of
- *   [Workspace][google.area120.tables.v1alpha1.Workspace]
- *   resources, named `workspaces/*`.
- * 
- */ -@io.grpc.stub.annotations.GrpcGenerated -public final class TablesServiceGrpc { - - private TablesServiceGrpc() {} - - public static final java.lang.String SERVICE_NAME = - "google.area120.tables.v1alpha1.TablesService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.area120.tables.v1alpha1.GetTableRequest, - com.google.area120.tables.v1alpha1.Table> - getGetTableMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTable", - requestType = com.google.area120.tables.v1alpha1.GetTableRequest.class, - responseType = com.google.area120.tables.v1alpha1.Table.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.area120.tables.v1alpha1.GetTableRequest, - com.google.area120.tables.v1alpha1.Table> - getGetTableMethod() { - io.grpc.MethodDescriptor< - com.google.area120.tables.v1alpha1.GetTableRequest, - com.google.area120.tables.v1alpha1.Table> - getGetTableMethod; - if ((getGetTableMethod = TablesServiceGrpc.getGetTableMethod) == null) { - synchronized (TablesServiceGrpc.class) { - if ((getGetTableMethod = TablesServiceGrpc.getGetTableMethod) == null) { - TablesServiceGrpc.getGetTableMethod = - getGetTableMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTable")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.area120.tables.v1alpha1.GetTableRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.area120.tables.v1alpha1.Table.getDefaultInstance())) - .setSchemaDescriptor(new TablesServiceMethodDescriptorSupplier("GetTable")) - .build(); - } - } - } - return getGetTableMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.area120.tables.v1alpha1.ListTablesRequest, - com.google.area120.tables.v1alpha1.ListTablesResponse> - getListTablesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTables", - requestType = com.google.area120.tables.v1alpha1.ListTablesRequest.class, - responseType = com.google.area120.tables.v1alpha1.ListTablesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.area120.tables.v1alpha1.ListTablesRequest, - com.google.area120.tables.v1alpha1.ListTablesResponse> - getListTablesMethod() { - io.grpc.MethodDescriptor< - com.google.area120.tables.v1alpha1.ListTablesRequest, - com.google.area120.tables.v1alpha1.ListTablesResponse> - getListTablesMethod; - if ((getListTablesMethod = TablesServiceGrpc.getListTablesMethod) == null) { - synchronized (TablesServiceGrpc.class) { - if ((getListTablesMethod = TablesServiceGrpc.getListTablesMethod) == null) { - TablesServiceGrpc.getListTablesMethod = - getListTablesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTables")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.area120.tables.v1alpha1.ListTablesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.area120.tables.v1alpha1.ListTablesResponse - .getDefaultInstance())) - .setSchemaDescriptor(new TablesServiceMethodDescriptorSupplier("ListTables")) - .build(); - } - } - } - return getListTablesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.area120.tables.v1alpha1.GetWorkspaceRequest, - com.google.area120.tables.v1alpha1.Workspace> - getGetWorkspaceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetWorkspace", - requestType = com.google.area120.tables.v1alpha1.GetWorkspaceRequest.class, - responseType = com.google.area120.tables.v1alpha1.Workspace.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.area120.tables.v1alpha1.GetWorkspaceRequest, - com.google.area120.tables.v1alpha1.Workspace> - getGetWorkspaceMethod() { - io.grpc.MethodDescriptor< - com.google.area120.tables.v1alpha1.GetWorkspaceRequest, - com.google.area120.tables.v1alpha1.Workspace> - getGetWorkspaceMethod; - if ((getGetWorkspaceMethod = TablesServiceGrpc.getGetWorkspaceMethod) == null) { - synchronized (TablesServiceGrpc.class) { - if ((getGetWorkspaceMethod = TablesServiceGrpc.getGetWorkspaceMethod) == null) { - TablesServiceGrpc.getGetWorkspaceMethod = - getGetWorkspaceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetWorkspace")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.area120.tables.v1alpha1.GetWorkspaceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.area120.tables.v1alpha1.Workspace.getDefaultInstance())) - .setSchemaDescriptor( - new TablesServiceMethodDescriptorSupplier("GetWorkspace")) - .build(); - } - } - } - return getGetWorkspaceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.area120.tables.v1alpha1.ListWorkspacesRequest, - com.google.area120.tables.v1alpha1.ListWorkspacesResponse> - getListWorkspacesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListWorkspaces", - requestType = com.google.area120.tables.v1alpha1.ListWorkspacesRequest.class, - responseType = com.google.area120.tables.v1alpha1.ListWorkspacesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.area120.tables.v1alpha1.ListWorkspacesRequest, - com.google.area120.tables.v1alpha1.ListWorkspacesResponse> - getListWorkspacesMethod() { - io.grpc.MethodDescriptor< - com.google.area120.tables.v1alpha1.ListWorkspacesRequest, - com.google.area120.tables.v1alpha1.ListWorkspacesResponse> - getListWorkspacesMethod; - if ((getListWorkspacesMethod = TablesServiceGrpc.getListWorkspacesMethod) == null) { - synchronized (TablesServiceGrpc.class) { - if ((getListWorkspacesMethod = TablesServiceGrpc.getListWorkspacesMethod) == null) { - TablesServiceGrpc.getListWorkspacesMethod = - getListWorkspacesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListWorkspaces")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.area120.tables.v1alpha1.ListWorkspacesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.area120.tables.v1alpha1.ListWorkspacesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new TablesServiceMethodDescriptorSupplier("ListWorkspaces")) - .build(); - } - } - } - return getListWorkspacesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.area120.tables.v1alpha1.GetRowRequest, com.google.area120.tables.v1alpha1.Row> - getGetRowMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetRow", - requestType = com.google.area120.tables.v1alpha1.GetRowRequest.class, - responseType = com.google.area120.tables.v1alpha1.Row.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.area120.tables.v1alpha1.GetRowRequest, com.google.area120.tables.v1alpha1.Row> - getGetRowMethod() { - io.grpc.MethodDescriptor< - com.google.area120.tables.v1alpha1.GetRowRequest, - com.google.area120.tables.v1alpha1.Row> - getGetRowMethod; - if ((getGetRowMethod = TablesServiceGrpc.getGetRowMethod) == null) { - synchronized (TablesServiceGrpc.class) { - if ((getGetRowMethod = TablesServiceGrpc.getGetRowMethod) == null) { - TablesServiceGrpc.getGetRowMethod = - getGetRowMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRow")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.area120.tables.v1alpha1.GetRowRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.area120.tables.v1alpha1.Row.getDefaultInstance())) - .setSchemaDescriptor(new TablesServiceMethodDescriptorSupplier("GetRow")) - .build(); - } - } - } - return getGetRowMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.area120.tables.v1alpha1.ListRowsRequest, - com.google.area120.tables.v1alpha1.ListRowsResponse> - getListRowsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListRows", - requestType = com.google.area120.tables.v1alpha1.ListRowsRequest.class, - responseType = com.google.area120.tables.v1alpha1.ListRowsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.area120.tables.v1alpha1.ListRowsRequest, - com.google.area120.tables.v1alpha1.ListRowsResponse> - getListRowsMethod() { - io.grpc.MethodDescriptor< - com.google.area120.tables.v1alpha1.ListRowsRequest, - com.google.area120.tables.v1alpha1.ListRowsResponse> - getListRowsMethod; - if ((getListRowsMethod = TablesServiceGrpc.getListRowsMethod) == null) { - synchronized (TablesServiceGrpc.class) { - if ((getListRowsMethod = TablesServiceGrpc.getListRowsMethod) == null) { - TablesServiceGrpc.getListRowsMethod = - getListRowsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRows")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.area120.tables.v1alpha1.ListRowsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.area120.tables.v1alpha1.ListRowsResponse - .getDefaultInstance())) - .setSchemaDescriptor(new TablesServiceMethodDescriptorSupplier("ListRows")) - .build(); - } - } - } - return getListRowsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.area120.tables.v1alpha1.CreateRowRequest, - com.google.area120.tables.v1alpha1.Row> - getCreateRowMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateRow", - requestType = com.google.area120.tables.v1alpha1.CreateRowRequest.class, - responseType = com.google.area120.tables.v1alpha1.Row.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.area120.tables.v1alpha1.CreateRowRequest, - com.google.area120.tables.v1alpha1.Row> - getCreateRowMethod() { - io.grpc.MethodDescriptor< - com.google.area120.tables.v1alpha1.CreateRowRequest, - com.google.area120.tables.v1alpha1.Row> - getCreateRowMethod; - if ((getCreateRowMethod = TablesServiceGrpc.getCreateRowMethod) == null) { - synchronized (TablesServiceGrpc.class) { - if ((getCreateRowMethod = TablesServiceGrpc.getCreateRowMethod) == null) { - TablesServiceGrpc.getCreateRowMethod = - getCreateRowMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRow")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.area120.tables.v1alpha1.CreateRowRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.area120.tables.v1alpha1.Row.getDefaultInstance())) - .setSchemaDescriptor(new TablesServiceMethodDescriptorSupplier("CreateRow")) - .build(); - } - } - } - return getCreateRowMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.area120.tables.v1alpha1.BatchCreateRowsRequest, - com.google.area120.tables.v1alpha1.BatchCreateRowsResponse> - getBatchCreateRowsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchCreateRows", - requestType = com.google.area120.tables.v1alpha1.BatchCreateRowsRequest.class, - responseType = com.google.area120.tables.v1alpha1.BatchCreateRowsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.area120.tables.v1alpha1.BatchCreateRowsRequest, - com.google.area120.tables.v1alpha1.BatchCreateRowsResponse> - getBatchCreateRowsMethod() { - io.grpc.MethodDescriptor< - com.google.area120.tables.v1alpha1.BatchCreateRowsRequest, - com.google.area120.tables.v1alpha1.BatchCreateRowsResponse> - getBatchCreateRowsMethod; - if ((getBatchCreateRowsMethod = TablesServiceGrpc.getBatchCreateRowsMethod) == null) { - synchronized (TablesServiceGrpc.class) { - if ((getBatchCreateRowsMethod = TablesServiceGrpc.getBatchCreateRowsMethod) == null) { - TablesServiceGrpc.getBatchCreateRowsMethod = - getBatchCreateRowsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchCreateRows")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.area120.tables.v1alpha1.BatchCreateRowsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.area120.tables.v1alpha1.BatchCreateRowsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new TablesServiceMethodDescriptorSupplier("BatchCreateRows")) - .build(); - } - } - } - return getBatchCreateRowsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.area120.tables.v1alpha1.UpdateRowRequest, - com.google.area120.tables.v1alpha1.Row> - getUpdateRowMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateRow", - requestType = com.google.area120.tables.v1alpha1.UpdateRowRequest.class, - responseType = com.google.area120.tables.v1alpha1.Row.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.area120.tables.v1alpha1.UpdateRowRequest, - com.google.area120.tables.v1alpha1.Row> - getUpdateRowMethod() { - io.grpc.MethodDescriptor< - com.google.area120.tables.v1alpha1.UpdateRowRequest, - com.google.area120.tables.v1alpha1.Row> - getUpdateRowMethod; - if ((getUpdateRowMethod = TablesServiceGrpc.getUpdateRowMethod) == null) { - synchronized (TablesServiceGrpc.class) { - if ((getUpdateRowMethod = TablesServiceGrpc.getUpdateRowMethod) == null) { - TablesServiceGrpc.getUpdateRowMethod = - getUpdateRowMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRow")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.area120.tables.v1alpha1.UpdateRowRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.area120.tables.v1alpha1.Row.getDefaultInstance())) - .setSchemaDescriptor(new TablesServiceMethodDescriptorSupplier("UpdateRow")) - .build(); - } - } - } - return getUpdateRowMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest, - com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse> - getBatchUpdateRowsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchUpdateRows", - requestType = com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest.class, - responseType = com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest, - com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse> - getBatchUpdateRowsMethod() { - io.grpc.MethodDescriptor< - com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest, - com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse> - getBatchUpdateRowsMethod; - if ((getBatchUpdateRowsMethod = TablesServiceGrpc.getBatchUpdateRowsMethod) == null) { - synchronized (TablesServiceGrpc.class) { - if ((getBatchUpdateRowsMethod = TablesServiceGrpc.getBatchUpdateRowsMethod) == null) { - TablesServiceGrpc.getBatchUpdateRowsMethod = - getBatchUpdateRowsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchUpdateRows")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new TablesServiceMethodDescriptorSupplier("BatchUpdateRows")) - .build(); - } - } - } - return getBatchUpdateRowsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.area120.tables.v1alpha1.DeleteRowRequest, com.google.protobuf.Empty> - getDeleteRowMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteRow", - requestType = com.google.area120.tables.v1alpha1.DeleteRowRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.area120.tables.v1alpha1.DeleteRowRequest, com.google.protobuf.Empty> - getDeleteRowMethod() { - io.grpc.MethodDescriptor< - com.google.area120.tables.v1alpha1.DeleteRowRequest, com.google.protobuf.Empty> - getDeleteRowMethod; - if ((getDeleteRowMethod = TablesServiceGrpc.getDeleteRowMethod) == null) { - synchronized (TablesServiceGrpc.class) { - if ((getDeleteRowMethod = TablesServiceGrpc.getDeleteRowMethod) == null) { - TablesServiceGrpc.getDeleteRowMethod = - getDeleteRowMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRow")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.area120.tables.v1alpha1.DeleteRowRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new TablesServiceMethodDescriptorSupplier("DeleteRow")) - .build(); - } - } - } - return getDeleteRowMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest, com.google.protobuf.Empty> - getBatchDeleteRowsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchDeleteRows", - requestType = com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest, com.google.protobuf.Empty> - getBatchDeleteRowsMethod() { - io.grpc.MethodDescriptor< - com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest, com.google.protobuf.Empty> - getBatchDeleteRowsMethod; - if ((getBatchDeleteRowsMethod = TablesServiceGrpc.getBatchDeleteRowsMethod) == null) { - synchronized (TablesServiceGrpc.class) { - if ((getBatchDeleteRowsMethod = TablesServiceGrpc.getBatchDeleteRowsMethod) == null) { - TablesServiceGrpc.getBatchDeleteRowsMethod = - getBatchDeleteRowsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchDeleteRows")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new TablesServiceMethodDescriptorSupplier("BatchDeleteRows")) - .build(); - } - } - } - return getBatchDeleteRowsMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static TablesServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public TablesServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TablesServiceStub(channel, callOptions); - } - }; - return TablesServiceStub.newStub(factory, channel); - } - - /** Creates a new blocking-style stub that supports all types of calls on the service */ - public static TablesServiceBlockingV2Stub newBlockingV2Stub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public TablesServiceBlockingV2Stub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TablesServiceBlockingV2Stub(channel, callOptions); - } - }; - return TablesServiceBlockingV2Stub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static TablesServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public TablesServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TablesServiceBlockingStub(channel, callOptions); - } - }; - return TablesServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static TablesServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public TablesServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TablesServiceFutureStub(channel, callOptions); - } - }; - return TablesServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * The Tables Service provides an API for reading and updating tables.
-   * It defines the following resource model:
-   * - The API has a collection of [Table][google.area120.tables.v1alpha1.Table]
-   *   resources, named `tables/*`
-   * - Each Table has a collection of [Row][google.area120.tables.v1alpha1.Row]
-   *   resources, named `tables/*/rows/*`
-   * - The API has a collection of
-   *   [Workspace][google.area120.tables.v1alpha1.Workspace]
-   *   resources, named `workspaces/*`.
-   * 
- */ - public interface AsyncService { - - /** - * - * - *
-     * Gets a table. Returns NOT_FOUND if the table does not exist.
-     * 
- */ - default void getTable( - com.google.area120.tables.v1alpha1.GetTableRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTableMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists tables for the user.
-     * 
- */ - default void listTables( - com.google.area120.tables.v1alpha1.ListTablesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTablesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a workspace. Returns NOT_FOUND if the workspace does not exist.
-     * 
- */ - default void getWorkspace( - com.google.area120.tables.v1alpha1.GetWorkspaceRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetWorkspaceMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists workspaces for the user.
-     * 
- */ - default void listWorkspaces( - com.google.area120.tables.v1alpha1.ListWorkspacesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListWorkspacesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a row. Returns NOT_FOUND if the row does not exist in the table.
-     * 
- */ - default void getRow( - com.google.area120.tables.v1alpha1.GetRowRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetRowMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists rows in a table. Returns NOT_FOUND if the table does not exist.
-     * 
- */ - default void listRows( - com.google.area120.tables.v1alpha1.ListRowsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListRowsMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a row.
-     * 
- */ - default void createRow( - com.google.area120.tables.v1alpha1.CreateRowRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateRowMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates multiple rows.
-     * 
- */ - default void batchCreateRows( - com.google.area120.tables.v1alpha1.BatchCreateRowsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchCreateRowsMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a row.
-     * 
- */ - default void updateRow( - com.google.area120.tables.v1alpha1.UpdateRowRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateRowMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates multiple rows.
-     * 
- */ - default void batchUpdateRows( - com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchUpdateRowsMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a row.
-     * 
- */ - default void deleteRow( - com.google.area120.tables.v1alpha1.DeleteRowRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteRowMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes multiple rows.
-     * 
- */ - default void batchDeleteRows( - com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchDeleteRowsMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service TablesService. - * - *
-   * The Tables Service provides an API for reading and updating tables.
-   * It defines the following resource model:
-   * - The API has a collection of [Table][google.area120.tables.v1alpha1.Table]
-   *   resources, named `tables/*`
-   * - Each Table has a collection of [Row][google.area120.tables.v1alpha1.Row]
-   *   resources, named `tables/*/rows/*`
-   * - The API has a collection of
-   *   [Workspace][google.area120.tables.v1alpha1.Workspace]
-   *   resources, named `workspaces/*`.
-   * 
- */ - public abstract static class TablesServiceImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return TablesServiceGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service TablesService. - * - *
-   * The Tables Service provides an API for reading and updating tables.
-   * It defines the following resource model:
-   * - The API has a collection of [Table][google.area120.tables.v1alpha1.Table]
-   *   resources, named `tables/*`
-   * - Each Table has a collection of [Row][google.area120.tables.v1alpha1.Row]
-   *   resources, named `tables/*/rows/*`
-   * - The API has a collection of
-   *   [Workspace][google.area120.tables.v1alpha1.Workspace]
-   *   resources, named `workspaces/*`.
-   * 
- */ - public static final class TablesServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private TablesServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected TablesServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TablesServiceStub(channel, callOptions); - } - - /** - * - * - *
-     * Gets a table. Returns NOT_FOUND if the table does not exist.
-     * 
- */ - public void getTable( - com.google.area120.tables.v1alpha1.GetTableRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTableMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Lists tables for the user.
-     * 
- */ - public void listTables( - com.google.area120.tables.v1alpha1.ListTablesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTablesMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Gets a workspace. Returns NOT_FOUND if the workspace does not exist.
-     * 
- */ - public void getWorkspace( - com.google.area120.tables.v1alpha1.GetWorkspaceRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetWorkspaceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists workspaces for the user.
-     * 
- */ - public void listWorkspaces( - com.google.area120.tables.v1alpha1.ListWorkspacesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListWorkspacesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a row. Returns NOT_FOUND if the row does not exist in the table.
-     * 
- */ - public void getRow( - com.google.area120.tables.v1alpha1.GetRowRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetRowMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Lists rows in a table. Returns NOT_FOUND if the table does not exist.
-     * 
- */ - public void listRows( - com.google.area120.tables.v1alpha1.ListRowsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListRowsMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Creates a row.
-     * 
- */ - public void createRow( - com.google.area120.tables.v1alpha1.CreateRowRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateRowMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Creates multiple rows.
-     * 
- */ - public void batchCreateRows( - com.google.area120.tables.v1alpha1.BatchCreateRowsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchCreateRowsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a row.
-     * 
- */ - public void updateRow( - com.google.area120.tables.v1alpha1.UpdateRowRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateRowMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Updates multiple rows.
-     * 
- */ - public void batchUpdateRows( - com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchUpdateRowsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a row.
-     * 
- */ - public void deleteRow( - com.google.area120.tables.v1alpha1.DeleteRowRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteRowMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Deletes multiple rows.
-     * 
- */ - public void batchDeleteRows( - com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchDeleteRowsMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service TablesService. - * - *
-   * The Tables Service provides an API for reading and updating tables.
-   * It defines the following resource model:
-   * - The API has a collection of [Table][google.area120.tables.v1alpha1.Table]
-   *   resources, named `tables/*`
-   * - Each Table has a collection of [Row][google.area120.tables.v1alpha1.Row]
-   *   resources, named `tables/*/rows/*`
-   * - The API has a collection of
-   *   [Workspace][google.area120.tables.v1alpha1.Workspace]
-   *   resources, named `workspaces/*`.
-   * 
- */ - public static final class TablesServiceBlockingV2Stub - extends io.grpc.stub.AbstractBlockingStub { - private TablesServiceBlockingV2Stub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected TablesServiceBlockingV2Stub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TablesServiceBlockingV2Stub(channel, callOptions); - } - - /** - * - * - *
-     * Gets a table. Returns NOT_FOUND if the table does not exist.
-     * 
- */ - public com.google.area120.tables.v1alpha1.Table getTable( - com.google.area120.tables.v1alpha1.GetTableRequest request) throws io.grpc.StatusException { - return io.grpc.stub.ClientCalls.blockingV2UnaryCall( - getChannel(), getGetTableMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists tables for the user.
-     * 
- */ - public com.google.area120.tables.v1alpha1.ListTablesResponse listTables( - com.google.area120.tables.v1alpha1.ListTablesRequest request) - throws io.grpc.StatusException { - return io.grpc.stub.ClientCalls.blockingV2UnaryCall( - getChannel(), getListTablesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a workspace. Returns NOT_FOUND if the workspace does not exist.
-     * 
- */ - public com.google.area120.tables.v1alpha1.Workspace getWorkspace( - com.google.area120.tables.v1alpha1.GetWorkspaceRequest request) - throws io.grpc.StatusException { - return io.grpc.stub.ClientCalls.blockingV2UnaryCall( - getChannel(), getGetWorkspaceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists workspaces for the user.
-     * 
- */ - public com.google.area120.tables.v1alpha1.ListWorkspacesResponse listWorkspaces( - com.google.area120.tables.v1alpha1.ListWorkspacesRequest request) - throws io.grpc.StatusException { - return io.grpc.stub.ClientCalls.blockingV2UnaryCall( - getChannel(), getListWorkspacesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a row. Returns NOT_FOUND if the row does not exist in the table.
-     * 
- */ - public com.google.area120.tables.v1alpha1.Row getRow( - com.google.area120.tables.v1alpha1.GetRowRequest request) throws io.grpc.StatusException { - return io.grpc.stub.ClientCalls.blockingV2UnaryCall( - getChannel(), getGetRowMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists rows in a table. Returns NOT_FOUND if the table does not exist.
-     * 
- */ - public com.google.area120.tables.v1alpha1.ListRowsResponse listRows( - com.google.area120.tables.v1alpha1.ListRowsRequest request) throws io.grpc.StatusException { - return io.grpc.stub.ClientCalls.blockingV2UnaryCall( - getChannel(), getListRowsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a row.
-     * 
- */ - public com.google.area120.tables.v1alpha1.Row createRow( - com.google.area120.tables.v1alpha1.CreateRowRequest request) - throws io.grpc.StatusException { - return io.grpc.stub.ClientCalls.blockingV2UnaryCall( - getChannel(), getCreateRowMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates multiple rows.
-     * 
- */ - public com.google.area120.tables.v1alpha1.BatchCreateRowsResponse batchCreateRows( - com.google.area120.tables.v1alpha1.BatchCreateRowsRequest request) - throws io.grpc.StatusException { - return io.grpc.stub.ClientCalls.blockingV2UnaryCall( - getChannel(), getBatchCreateRowsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a row.
-     * 
- */ - public com.google.area120.tables.v1alpha1.Row updateRow( - com.google.area120.tables.v1alpha1.UpdateRowRequest request) - throws io.grpc.StatusException { - return io.grpc.stub.ClientCalls.blockingV2UnaryCall( - getChannel(), getUpdateRowMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates multiple rows.
-     * 
- */ - public com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse batchUpdateRows( - com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest request) - throws io.grpc.StatusException { - return io.grpc.stub.ClientCalls.blockingV2UnaryCall( - getChannel(), getBatchUpdateRowsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a row.
-     * 
- */ - public com.google.protobuf.Empty deleteRow( - com.google.area120.tables.v1alpha1.DeleteRowRequest request) - throws io.grpc.StatusException { - return io.grpc.stub.ClientCalls.blockingV2UnaryCall( - getChannel(), getDeleteRowMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes multiple rows.
-     * 
- */ - public com.google.protobuf.Empty batchDeleteRows( - com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest request) - throws io.grpc.StatusException { - return io.grpc.stub.ClientCalls.blockingV2UnaryCall( - getChannel(), getBatchDeleteRowsMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do limited synchronous rpc calls to service TablesService. - * - *
-   * The Tables Service provides an API for reading and updating tables.
-   * It defines the following resource model:
-   * - The API has a collection of [Table][google.area120.tables.v1alpha1.Table]
-   *   resources, named `tables/*`
-   * - Each Table has a collection of [Row][google.area120.tables.v1alpha1.Row]
-   *   resources, named `tables/*/rows/*`
-   * - The API has a collection of
-   *   [Workspace][google.area120.tables.v1alpha1.Workspace]
-   *   resources, named `workspaces/*`.
-   * 
- */ - public static final class TablesServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private TablesServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected TablesServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TablesServiceBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Gets a table. Returns NOT_FOUND if the table does not exist.
-     * 
- */ - public com.google.area120.tables.v1alpha1.Table getTable( - com.google.area120.tables.v1alpha1.GetTableRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTableMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists tables for the user.
-     * 
- */ - public com.google.area120.tables.v1alpha1.ListTablesResponse listTables( - com.google.area120.tables.v1alpha1.ListTablesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTablesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a workspace. Returns NOT_FOUND if the workspace does not exist.
-     * 
- */ - public com.google.area120.tables.v1alpha1.Workspace getWorkspace( - com.google.area120.tables.v1alpha1.GetWorkspaceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetWorkspaceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists workspaces for the user.
-     * 
- */ - public com.google.area120.tables.v1alpha1.ListWorkspacesResponse listWorkspaces( - com.google.area120.tables.v1alpha1.ListWorkspacesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListWorkspacesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a row. Returns NOT_FOUND if the row does not exist in the table.
-     * 
- */ - public com.google.area120.tables.v1alpha1.Row getRow( - com.google.area120.tables.v1alpha1.GetRowRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetRowMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists rows in a table. Returns NOT_FOUND if the table does not exist.
-     * 
- */ - public com.google.area120.tables.v1alpha1.ListRowsResponse listRows( - com.google.area120.tables.v1alpha1.ListRowsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListRowsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a row.
-     * 
- */ - public com.google.area120.tables.v1alpha1.Row createRow( - com.google.area120.tables.v1alpha1.CreateRowRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateRowMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates multiple rows.
-     * 
- */ - public com.google.area120.tables.v1alpha1.BatchCreateRowsResponse batchCreateRows( - com.google.area120.tables.v1alpha1.BatchCreateRowsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchCreateRowsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a row.
-     * 
- */ - public com.google.area120.tables.v1alpha1.Row updateRow( - com.google.area120.tables.v1alpha1.UpdateRowRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateRowMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates multiple rows.
-     * 
- */ - public com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse batchUpdateRows( - com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchUpdateRowsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a row.
-     * 
- */ - public com.google.protobuf.Empty deleteRow( - com.google.area120.tables.v1alpha1.DeleteRowRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteRowMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes multiple rows.
-     * 
- */ - public com.google.protobuf.Empty batchDeleteRows( - com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchDeleteRowsMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service TablesService. - * - *
-   * The Tables Service provides an API for reading and updating tables.
-   * It defines the following resource model:
-   * - The API has a collection of [Table][google.area120.tables.v1alpha1.Table]
-   *   resources, named `tables/*`
-   * - Each Table has a collection of [Row][google.area120.tables.v1alpha1.Row]
-   *   resources, named `tables/*/rows/*`
-   * - The API has a collection of
-   *   [Workspace][google.area120.tables.v1alpha1.Workspace]
-   *   resources, named `workspaces/*`.
-   * 
- */ - public static final class TablesServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private TablesServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected TablesServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TablesServiceFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Gets a table. Returns NOT_FOUND if the table does not exist.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.area120.tables.v1alpha1.Table> - getTable(com.google.area120.tables.v1alpha1.GetTableRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTableMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists tables for the user.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.area120.tables.v1alpha1.ListTablesResponse> - listTables(com.google.area120.tables.v1alpha1.ListTablesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTablesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a workspace. Returns NOT_FOUND if the workspace does not exist.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.area120.tables.v1alpha1.Workspace> - getWorkspace(com.google.area120.tables.v1alpha1.GetWorkspaceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetWorkspaceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists workspaces for the user.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.area120.tables.v1alpha1.ListWorkspacesResponse> - listWorkspaces(com.google.area120.tables.v1alpha1.ListWorkspacesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListWorkspacesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a row. Returns NOT_FOUND if the row does not exist in the table.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.area120.tables.v1alpha1.Row> - getRow(com.google.area120.tables.v1alpha1.GetRowRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetRowMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists rows in a table. Returns NOT_FOUND if the table does not exist.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.area120.tables.v1alpha1.ListRowsResponse> - listRows(com.google.area120.tables.v1alpha1.ListRowsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListRowsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a row.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.area120.tables.v1alpha1.Row> - createRow(com.google.area120.tables.v1alpha1.CreateRowRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateRowMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates multiple rows.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.area120.tables.v1alpha1.BatchCreateRowsResponse> - batchCreateRows(com.google.area120.tables.v1alpha1.BatchCreateRowsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchCreateRowsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a row.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.area120.tables.v1alpha1.Row> - updateRow(com.google.area120.tables.v1alpha1.UpdateRowRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateRowMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates multiple rows.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse> - batchUpdateRows(com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchUpdateRowsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a row.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteRow( - com.google.area120.tables.v1alpha1.DeleteRowRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteRowMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes multiple rows.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - batchDeleteRows(com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchDeleteRowsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_GET_TABLE = 0; - private static final int METHODID_LIST_TABLES = 1; - private static final int METHODID_GET_WORKSPACE = 2; - private static final int METHODID_LIST_WORKSPACES = 3; - private static final int METHODID_GET_ROW = 4; - private static final int METHODID_LIST_ROWS = 5; - private static final int METHODID_CREATE_ROW = 6; - private static final int METHODID_BATCH_CREATE_ROWS = 7; - private static final int METHODID_UPDATE_ROW = 8; - private static final int METHODID_BATCH_UPDATE_ROWS = 9; - private static final int METHODID_DELETE_ROW = 10; - private static final int METHODID_BATCH_DELETE_ROWS = 11; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_GET_TABLE: - serviceImpl.getTable( - (com.google.area120.tables.v1alpha1.GetTableRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_TABLES: - serviceImpl.listTables( - (com.google.area120.tables.v1alpha1.ListTablesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_WORKSPACE: - serviceImpl.getWorkspace( - (com.google.area120.tables.v1alpha1.GetWorkspaceRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_WORKSPACES: - serviceImpl.listWorkspaces( - (com.google.area120.tables.v1alpha1.ListWorkspacesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.area120.tables.v1alpha1.ListWorkspacesResponse>) - responseObserver); - break; - case METHODID_GET_ROW: - serviceImpl.getRow( - (com.google.area120.tables.v1alpha1.GetRowRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_ROWS: - serviceImpl.listRows( - (com.google.area120.tables.v1alpha1.ListRowsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_ROW: - serviceImpl.createRow( - (com.google.area120.tables.v1alpha1.CreateRowRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_BATCH_CREATE_ROWS: - serviceImpl.batchCreateRows( - (com.google.area120.tables.v1alpha1.BatchCreateRowsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.area120.tables.v1alpha1.BatchCreateRowsResponse>) - responseObserver); - break; - case METHODID_UPDATE_ROW: - serviceImpl.updateRow( - (com.google.area120.tables.v1alpha1.UpdateRowRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_BATCH_UPDATE_ROWS: - serviceImpl.batchUpdateRows( - (com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse>) - responseObserver); - break; - case METHODID_DELETE_ROW: - serviceImpl.deleteRow( - (com.google.area120.tables.v1alpha1.DeleteRowRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BATCH_DELETE_ROWS: - serviceImpl.batchDeleteRows( - (com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getGetTableMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.area120.tables.v1alpha1.GetTableRequest, - com.google.area120.tables.v1alpha1.Table>(service, METHODID_GET_TABLE))) - .addMethod( - getListTablesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.area120.tables.v1alpha1.ListTablesRequest, - com.google.area120.tables.v1alpha1.ListTablesResponse>( - service, METHODID_LIST_TABLES))) - .addMethod( - getGetWorkspaceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.area120.tables.v1alpha1.GetWorkspaceRequest, - com.google.area120.tables.v1alpha1.Workspace>(service, METHODID_GET_WORKSPACE))) - .addMethod( - getListWorkspacesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.area120.tables.v1alpha1.ListWorkspacesRequest, - com.google.area120.tables.v1alpha1.ListWorkspacesResponse>( - service, METHODID_LIST_WORKSPACES))) - .addMethod( - getGetRowMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.area120.tables.v1alpha1.GetRowRequest, - com.google.area120.tables.v1alpha1.Row>(service, METHODID_GET_ROW))) - .addMethod( - getListRowsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.area120.tables.v1alpha1.ListRowsRequest, - com.google.area120.tables.v1alpha1.ListRowsResponse>( - service, METHODID_LIST_ROWS))) - .addMethod( - getCreateRowMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.area120.tables.v1alpha1.CreateRowRequest, - com.google.area120.tables.v1alpha1.Row>(service, METHODID_CREATE_ROW))) - .addMethod( - getBatchCreateRowsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.area120.tables.v1alpha1.BatchCreateRowsRequest, - com.google.area120.tables.v1alpha1.BatchCreateRowsResponse>( - service, METHODID_BATCH_CREATE_ROWS))) - .addMethod( - getUpdateRowMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.area120.tables.v1alpha1.UpdateRowRequest, - com.google.area120.tables.v1alpha1.Row>(service, METHODID_UPDATE_ROW))) - .addMethod( - getBatchUpdateRowsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest, - com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse>( - service, METHODID_BATCH_UPDATE_ROWS))) - .addMethod( - getDeleteRowMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.area120.tables.v1alpha1.DeleteRowRequest, com.google.protobuf.Empty>( - service, METHODID_DELETE_ROW))) - .addMethod( - getBatchDeleteRowsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest, - com.google.protobuf.Empty>(service, METHODID_BATCH_DELETE_ROWS))) - .build(); - } - - private abstract static class TablesServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - TablesServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("TablesService"); - } - } - - private static final class TablesServiceFileDescriptorSupplier - extends TablesServiceBaseDescriptorSupplier { - TablesServiceFileDescriptorSupplier() {} - } - - private static final class TablesServiceMethodDescriptorSupplier - extends TablesServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - TablesServiceMethodDescriptorSupplier(java.lang.String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (TablesServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new TablesServiceFileDescriptorSupplier()) - .addMethod(getGetTableMethod()) - .addMethod(getListTablesMethod()) - .addMethod(getGetWorkspaceMethod()) - .addMethod(getListWorkspacesMethod()) - .addMethod(getGetRowMethod()) - .addMethod(getListRowsMethod()) - .addMethod(getCreateRowMethod()) - .addMethod(getBatchCreateRowsMethod()) - .addMethod(getUpdateRowMethod()) - .addMethod(getBatchUpdateRowsMethod()) - .addMethod(getDeleteRowMethod()) - .addMethod(getBatchDeleteRowsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-area120-tables/pom.xml b/java-area120-tables/pom.xml deleted file mode 100644 index 1f98466ebfef..000000000000 --- a/java-area120-tables/pom.xml +++ /dev/null @@ -1,58 +0,0 @@ - - - 4.0.0 - com.google.area120 - google-area120-tables-parent - pom - 0.104.0 - Google Area 120 Tables Parent - - Java idiomatic client for Google Cloud Platform services. - - - - com.google.cloud - google-cloud-jar-parent - 1.94.0 - ../google-cloud-jar-parent/pom.xml - - - - UTF-8 - UTF-8 - github - google-area120-tables-parent - - - - - - - com.google.area120 - google-area120-tables - 0.104.0 - - - com.google.api.grpc - proto-google-area120-tables-v1alpha1 - 0.104.0 - - - com.google.api.grpc - grpc-google-area120-tables-v1alpha1 - 0.104.0 - - - - - - - - google-area120-tables - grpc-google-area120-tables-v1alpha1 - proto-google-area120-tables-v1alpha1 - - google-area120-tables-bom - - - diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/clirr-ignored-differences.xml b/java-area120-tables/proto-google-area120-tables-v1alpha1/clirr-ignored-differences.xml deleted file mode 100644 index b656cdd97c43..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/clirr-ignored-differences.xml +++ /dev/null @@ -1,80 +0,0 @@ - - - - - 7012 - com/google/area120/tables/v1alpha1/*OrBuilder - * get*(*) - - - 7012 - com/google/area120/tables/v1alpha1/*OrBuilder - boolean contains*(*) - - - 7012 - com/google/area120/tables/v1alpha1/*OrBuilder - boolean has*(*) - - - - 7006 - com/google/area120/tables/v1alpha1/** - * getDefaultInstanceForType() - ** - - - 7006 - com/google/area120/tables/v1alpha1/** - * addRepeatedField(*) - ** - - - 7006 - com/google/area120/tables/v1alpha1/** - * clear() - ** - - - 7006 - com/google/area120/tables/v1alpha1/** - * clearField(*) - ** - - - 7006 - com/google/area120/tables/v1alpha1/** - * clearOneof(*) - ** - - - 7006 - com/google/area120/tables/v1alpha1/** - * clone() - ** - - - 7006 - com/google/area120/tables/v1alpha1/** - * mergeUnknownFields(*) - ** - - - 7006 - com/google/area120/tables/v1alpha1/** - * setField(*) - ** - - - 7006 - com/google/area120/tables/v1alpha1/** - * setRepeatedField(*) - ** - - - 7006 - com/google/area120/tables/v1alpha1/** - * setUnknownFields(*) - ** - - diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/pom.xml b/java-area120-tables/proto-google-area120-tables-v1alpha1/pom.xml deleted file mode 100644 index 258c7662f131..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/pom.xml +++ /dev/null @@ -1,33 +0,0 @@ - - 4.0.0 - com.google.api.grpc - proto-google-area120-tables-v1alpha1 - 0.104.0 - proto-google-area120-tables-v1alpha1 - Proto library for google-area120-tables - - com.google.area120 - google-area120-tables-parent - 0.104.0 - - - - com.google.protobuf - protobuf-java - - - com.google.api.grpc - proto-google-common-protos - - - com.google.api - api-common - - - com.google.guava - guava - - - \ No newline at end of file diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/BatchCreateRowsRequest.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/BatchCreateRowsRequest.java deleted file mode 100644 index 7a8d074d380c..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/BatchCreateRowsRequest.java +++ /dev/null @@ -1,1221 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -/** - * - * - *
- * Request message for TablesService.BatchCreateRows.
- * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.BatchCreateRowsRequest} - */ -@com.google.protobuf.Generated -public final class BatchCreateRowsRequest extends com.google.protobuf.GeneratedMessage - implements - // @@protoc_insertion_point(message_implements:google.area120.tables.v1alpha1.BatchCreateRowsRequest) - BatchCreateRowsRequestOrBuilder { - private static final long serialVersionUID = 0L; - - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 6, - /* suffix= */ "", - "BatchCreateRowsRequest"); - } - - // Use BatchCreateRowsRequest.newBuilder() to construct. - private BatchCreateRowsRequest(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private BatchCreateRowsRequest() { - parent_ = ""; - requests_ = java.util.Collections.emptyList(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_BatchCreateRowsRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_BatchCreateRowsRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.BatchCreateRowsRequest.class, - com.google.area120.tables.v1alpha1.BatchCreateRowsRequest.Builder.class); - } - - public static final int PARENT_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private volatile java.lang.Object parent_ = ""; - - /** - * - * - *
-   * Required. The parent table where the rows will be created.
-   * Format: tables/{table}
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The parent. - */ - @java.lang.Override - public java.lang.String getParent() { - java.lang.Object ref = parent_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - parent_ = s; - return s; - } - } - - /** - * - * - *
-   * Required. The parent table where the rows will be created.
-   * Format: tables/{table}
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for parent. - */ - @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { - java.lang.Object ref = parent_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - parent_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int REQUESTS_FIELD_NUMBER = 2; - - @SuppressWarnings("serial") - private java.util.List requests_; - - /** - * - * - *
-   * Required. The request message specifying the rows to create.
-   *
-   * A maximum of 500 rows can be created in a single batch.
-   * 
- * - * - * repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - @java.lang.Override - public java.util.List getRequestsList() { - return requests_; - } - - /** - * - * - *
-   * Required. The request message specifying the rows to create.
-   *
-   * A maximum of 500 rows can be created in a single batch.
-   * 
- * - * - * repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - @java.lang.Override - public java.util.List - getRequestsOrBuilderList() { - return requests_; - } - - /** - * - * - *
-   * Required. The request message specifying the rows to create.
-   *
-   * A maximum of 500 rows can be created in a single batch.
-   * 
- * - * - * repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - @java.lang.Override - public int getRequestsCount() { - return requests_.size(); - } - - /** - * - * - *
-   * Required. The request message specifying the rows to create.
-   *
-   * A maximum of 500 rows can be created in a single batch.
-   * 
- * - * - * repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - @java.lang.Override - public com.google.area120.tables.v1alpha1.CreateRowRequest getRequests(int index) { - return requests_.get(index); - } - - /** - * - * - *
-   * Required. The request message specifying the rows to create.
-   *
-   * A maximum of 500 rows can be created in a single batch.
-   * 
- * - * - * repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - @java.lang.Override - public com.google.area120.tables.v1alpha1.CreateRowRequestOrBuilder getRequestsOrBuilder( - int index) { - return requests_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_); - } - for (int i = 0; i < requests_.size(); i++) { - output.writeMessage(2, requests_.get(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_); - } - for (int i = 0; i < requests_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, requests_.get(i)); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.area120.tables.v1alpha1.BatchCreateRowsRequest)) { - return super.equals(obj); - } - com.google.area120.tables.v1alpha1.BatchCreateRowsRequest other = - (com.google.area120.tables.v1alpha1.BatchCreateRowsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getRequestsList().equals(other.getRequestsList())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PARENT_FIELD_NUMBER; - hash = (53 * hash) + getParent().hashCode(); - if (getRequestsCount() > 0) { - hash = (37 * hash) + REQUESTS_FIELD_NUMBER; - hash = (53 * hash) + getRequestsList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.area120.tables.v1alpha1.BatchCreateRowsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.BatchCreateRowsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.BatchCreateRowsRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.BatchCreateRowsRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.BatchCreateRowsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.BatchCreateRowsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.BatchCreateRowsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.BatchCreateRowsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.BatchCreateRowsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.BatchCreateRowsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.BatchCreateRowsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.BatchCreateRowsRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.area120.tables.v1alpha1.BatchCreateRowsRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * - * - *
-   * Request message for TablesService.BatchCreateRows.
-   * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.BatchCreateRowsRequest} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder - implements - // @@protoc_insertion_point(builder_implements:google.area120.tables.v1alpha1.BatchCreateRowsRequest) - com.google.area120.tables.v1alpha1.BatchCreateRowsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_BatchCreateRowsRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_BatchCreateRowsRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.BatchCreateRowsRequest.class, - com.google.area120.tables.v1alpha1.BatchCreateRowsRequest.Builder.class); - } - - // Construct using com.google.area120.tables.v1alpha1.BatchCreateRowsRequest.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - parent_ = ""; - if (requestsBuilder_ == null) { - requests_ = java.util.Collections.emptyList(); - } else { - requests_ = null; - requestsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_BatchCreateRowsRequest_descriptor; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.BatchCreateRowsRequest getDefaultInstanceForType() { - return com.google.area120.tables.v1alpha1.BatchCreateRowsRequest.getDefaultInstance(); - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.BatchCreateRowsRequest build() { - com.google.area120.tables.v1alpha1.BatchCreateRowsRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.BatchCreateRowsRequest buildPartial() { - com.google.area120.tables.v1alpha1.BatchCreateRowsRequest result = - new com.google.area120.tables.v1alpha1.BatchCreateRowsRequest(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields( - com.google.area120.tables.v1alpha1.BatchCreateRowsRequest result) { - if (requestsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { - requests_ = java.util.Collections.unmodifiableList(requests_); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.requests_ = requests_; - } else { - result.requests_ = requestsBuilder_.build(); - } - } - - private void buildPartial0(com.google.area120.tables.v1alpha1.BatchCreateRowsRequest result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.parent_ = parent_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.area120.tables.v1alpha1.BatchCreateRowsRequest) { - return mergeFrom((com.google.area120.tables.v1alpha1.BatchCreateRowsRequest) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.area120.tables.v1alpha1.BatchCreateRowsRequest other) { - if (other == com.google.area120.tables.v1alpha1.BatchCreateRowsRequest.getDefaultInstance()) - return this; - if (!other.getParent().isEmpty()) { - parent_ = other.parent_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (requestsBuilder_ == null) { - if (!other.requests_.isEmpty()) { - if (requests_.isEmpty()) { - requests_ = other.requests_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureRequestsIsMutable(); - requests_.addAll(other.requests_); - } - onChanged(); - } - } else { - if (!other.requests_.isEmpty()) { - if (requestsBuilder_.isEmpty()) { - requestsBuilder_.dispose(); - requestsBuilder_ = null; - requests_ = other.requests_; - bitField0_ = (bitField0_ & ~0x00000002); - requestsBuilder_ = - com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? internalGetRequestsFieldBuilder() - : null; - } else { - requestsBuilder_.addAllMessages(other.requests_); - } - } - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - com.google.area120.tables.v1alpha1.CreateRowRequest m = - input.readMessage( - com.google.area120.tables.v1alpha1.CreateRowRequest.parser(), - extensionRegistry); - if (requestsBuilder_ == null) { - ensureRequestsIsMutable(); - requests_.add(m); - } else { - requestsBuilder_.addMessage(m); - } - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object parent_ = ""; - - /** - * - * - *
-     * Required. The parent table where the rows will be created.
-     * Format: tables/{table}
-     * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The parent. - */ - public java.lang.String getParent() { - java.lang.Object ref = parent_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - parent_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * - * - *
-     * Required. The parent table where the rows will be created.
-     * Format: tables/{table}
-     * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for parent. - */ - public com.google.protobuf.ByteString getParentBytes() { - java.lang.Object ref = parent_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - parent_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * - * - *
-     * Required. The parent table where the rows will be created.
-     * Format: tables/{table}
-     * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The parent to set. - * @return This builder for chaining. - */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - parent_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * - * - *
-     * Required. The parent table where the rows will be created.
-     * Format: tables/{table}
-     * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return This builder for chaining. - */ - public Builder clearParent() { - parent_ = getDefaultInstance().getParent(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * - * - *
-     * Required. The parent table where the rows will be created.
-     * Format: tables/{table}
-     * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The bytes for parent to set. - * @return This builder for chaining. - */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - parent_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private java.util.List requests_ = - java.util.Collections.emptyList(); - - private void ensureRequestsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - requests_ = - new java.util.ArrayList(requests_); - bitField0_ |= 0x00000002; - } - } - - private com.google.protobuf.RepeatedFieldBuilder< - com.google.area120.tables.v1alpha1.CreateRowRequest, - com.google.area120.tables.v1alpha1.CreateRowRequest.Builder, - com.google.area120.tables.v1alpha1.CreateRowRequestOrBuilder> - requestsBuilder_; - - /** - * - * - *
-     * Required. The request message specifying the rows to create.
-     *
-     * A maximum of 500 rows can be created in a single batch.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public java.util.List getRequestsList() { - if (requestsBuilder_ == null) { - return java.util.Collections.unmodifiableList(requests_); - } else { - return requestsBuilder_.getMessageList(); - } - } - - /** - * - * - *
-     * Required. The request message specifying the rows to create.
-     *
-     * A maximum of 500 rows can be created in a single batch.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public int getRequestsCount() { - if (requestsBuilder_ == null) { - return requests_.size(); - } else { - return requestsBuilder_.getCount(); - } - } - - /** - * - * - *
-     * Required. The request message specifying the rows to create.
-     *
-     * A maximum of 500 rows can be created in a single batch.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.area120.tables.v1alpha1.CreateRowRequest getRequests(int index) { - if (requestsBuilder_ == null) { - return requests_.get(index); - } else { - return requestsBuilder_.getMessage(index); - } - } - - /** - * - * - *
-     * Required. The request message specifying the rows to create.
-     *
-     * A maximum of 500 rows can be created in a single batch.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder setRequests( - int index, com.google.area120.tables.v1alpha1.CreateRowRequest value) { - if (requestsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureRequestsIsMutable(); - requests_.set(index, value); - onChanged(); - } else { - requestsBuilder_.setMessage(index, value); - } - return this; - } - - /** - * - * - *
-     * Required. The request message specifying the rows to create.
-     *
-     * A maximum of 500 rows can be created in a single batch.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder setRequests( - int index, com.google.area120.tables.v1alpha1.CreateRowRequest.Builder builderForValue) { - if (requestsBuilder_ == null) { - ensureRequestsIsMutable(); - requests_.set(index, builderForValue.build()); - onChanged(); - } else { - requestsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - * - * - *
-     * Required. The request message specifying the rows to create.
-     *
-     * A maximum of 500 rows can be created in a single batch.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder addRequests(com.google.area120.tables.v1alpha1.CreateRowRequest value) { - if (requestsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureRequestsIsMutable(); - requests_.add(value); - onChanged(); - } else { - requestsBuilder_.addMessage(value); - } - return this; - } - - /** - * - * - *
-     * Required. The request message specifying the rows to create.
-     *
-     * A maximum of 500 rows can be created in a single batch.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder addRequests( - int index, com.google.area120.tables.v1alpha1.CreateRowRequest value) { - if (requestsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureRequestsIsMutable(); - requests_.add(index, value); - onChanged(); - } else { - requestsBuilder_.addMessage(index, value); - } - return this; - } - - /** - * - * - *
-     * Required. The request message specifying the rows to create.
-     *
-     * A maximum of 500 rows can be created in a single batch.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder addRequests( - com.google.area120.tables.v1alpha1.CreateRowRequest.Builder builderForValue) { - if (requestsBuilder_ == null) { - ensureRequestsIsMutable(); - requests_.add(builderForValue.build()); - onChanged(); - } else { - requestsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - * - * - *
-     * Required. The request message specifying the rows to create.
-     *
-     * A maximum of 500 rows can be created in a single batch.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder addRequests( - int index, com.google.area120.tables.v1alpha1.CreateRowRequest.Builder builderForValue) { - if (requestsBuilder_ == null) { - ensureRequestsIsMutable(); - requests_.add(index, builderForValue.build()); - onChanged(); - } else { - requestsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - * - * - *
-     * Required. The request message specifying the rows to create.
-     *
-     * A maximum of 500 rows can be created in a single batch.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder addAllRequests( - java.lang.Iterable values) { - if (requestsBuilder_ == null) { - ensureRequestsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, requests_); - onChanged(); - } else { - requestsBuilder_.addAllMessages(values); - } - return this; - } - - /** - * - * - *
-     * Required. The request message specifying the rows to create.
-     *
-     * A maximum of 500 rows can be created in a single batch.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder clearRequests() { - if (requestsBuilder_ == null) { - requests_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - } else { - requestsBuilder_.clear(); - } - return this; - } - - /** - * - * - *
-     * Required. The request message specifying the rows to create.
-     *
-     * A maximum of 500 rows can be created in a single batch.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder removeRequests(int index) { - if (requestsBuilder_ == null) { - ensureRequestsIsMutable(); - requests_.remove(index); - onChanged(); - } else { - requestsBuilder_.remove(index); - } - return this; - } - - /** - * - * - *
-     * Required. The request message specifying the rows to create.
-     *
-     * A maximum of 500 rows can be created in a single batch.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.area120.tables.v1alpha1.CreateRowRequest.Builder getRequestsBuilder( - int index) { - return internalGetRequestsFieldBuilder().getBuilder(index); - } - - /** - * - * - *
-     * Required. The request message specifying the rows to create.
-     *
-     * A maximum of 500 rows can be created in a single batch.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.area120.tables.v1alpha1.CreateRowRequestOrBuilder getRequestsOrBuilder( - int index) { - if (requestsBuilder_ == null) { - return requests_.get(index); - } else { - return requestsBuilder_.getMessageOrBuilder(index); - } - } - - /** - * - * - *
-     * Required. The request message specifying the rows to create.
-     *
-     * A maximum of 500 rows can be created in a single batch.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public java.util.List - getRequestsOrBuilderList() { - if (requestsBuilder_ != null) { - return requestsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(requests_); - } - } - - /** - * - * - *
-     * Required. The request message specifying the rows to create.
-     *
-     * A maximum of 500 rows can be created in a single batch.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.area120.tables.v1alpha1.CreateRowRequest.Builder addRequestsBuilder() { - return internalGetRequestsFieldBuilder() - .addBuilder(com.google.area120.tables.v1alpha1.CreateRowRequest.getDefaultInstance()); - } - - /** - * - * - *
-     * Required. The request message specifying the rows to create.
-     *
-     * A maximum of 500 rows can be created in a single batch.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.area120.tables.v1alpha1.CreateRowRequest.Builder addRequestsBuilder( - int index) { - return internalGetRequestsFieldBuilder() - .addBuilder( - index, com.google.area120.tables.v1alpha1.CreateRowRequest.getDefaultInstance()); - } - - /** - * - * - *
-     * Required. The request message specifying the rows to create.
-     *
-     * A maximum of 500 rows can be created in a single batch.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public java.util.List - getRequestsBuilderList() { - return internalGetRequestsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilder< - com.google.area120.tables.v1alpha1.CreateRowRequest, - com.google.area120.tables.v1alpha1.CreateRowRequest.Builder, - com.google.area120.tables.v1alpha1.CreateRowRequestOrBuilder> - internalGetRequestsFieldBuilder() { - if (requestsBuilder_ == null) { - requestsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilder< - com.google.area120.tables.v1alpha1.CreateRowRequest, - com.google.area120.tables.v1alpha1.CreateRowRequest.Builder, - com.google.area120.tables.v1alpha1.CreateRowRequestOrBuilder>( - requests_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); - requests_ = null; - } - return requestsBuilder_; - } - - // @@protoc_insertion_point(builder_scope:google.area120.tables.v1alpha1.BatchCreateRowsRequest) - } - - // @@protoc_insertion_point(class_scope:google.area120.tables.v1alpha1.BatchCreateRowsRequest) - private static final com.google.area120.tables.v1alpha1.BatchCreateRowsRequest DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.area120.tables.v1alpha1.BatchCreateRowsRequest(); - } - - public static com.google.area120.tables.v1alpha1.BatchCreateRowsRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateRowsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.BatchCreateRowsRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/BatchCreateRowsRequestOrBuilder.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/BatchCreateRowsRequestOrBuilder.java deleted file mode 100644 index b194c2d276fc..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/BatchCreateRowsRequestOrBuilder.java +++ /dev/null @@ -1,132 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -@com.google.protobuf.Generated -public interface BatchCreateRowsRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.area120.tables.v1alpha1.BatchCreateRowsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The parent table where the rows will be created.
-   * Format: tables/{table}
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The parent. - */ - java.lang.String getParent(); - - /** - * - * - *
-   * Required. The parent table where the rows will be created.
-   * Format: tables/{table}
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); - - /** - * - * - *
-   * Required. The request message specifying the rows to create.
-   *
-   * A maximum of 500 rows can be created in a single batch.
-   * 
- * - * - * repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - java.util.List getRequestsList(); - - /** - * - * - *
-   * Required. The request message specifying the rows to create.
-   *
-   * A maximum of 500 rows can be created in a single batch.
-   * 
- * - * - * repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.area120.tables.v1alpha1.CreateRowRequest getRequests(int index); - - /** - * - * - *
-   * Required. The request message specifying the rows to create.
-   *
-   * A maximum of 500 rows can be created in a single batch.
-   * 
- * - * - * repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - int getRequestsCount(); - - /** - * - * - *
-   * Required. The request message specifying the rows to create.
-   *
-   * A maximum of 500 rows can be created in a single batch.
-   * 
- * - * - * repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - java.util.List - getRequestsOrBuilderList(); - - /** - * - * - *
-   * Required. The request message specifying the rows to create.
-   *
-   * A maximum of 500 rows can be created in a single batch.
-   * 
- * - * - * repeated .google.area120.tables.v1alpha1.CreateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.area120.tables.v1alpha1.CreateRowRequestOrBuilder getRequestsOrBuilder(int index); -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/BatchCreateRowsResponse.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/BatchCreateRowsResponse.java deleted file mode 100644 index b0343bf3654d..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/BatchCreateRowsResponse.java +++ /dev/null @@ -1,922 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -/** - * - * - *
- * Response message for TablesService.BatchCreateRows.
- * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.BatchCreateRowsResponse} - */ -@com.google.protobuf.Generated -public final class BatchCreateRowsResponse extends com.google.protobuf.GeneratedMessage - implements - // @@protoc_insertion_point(message_implements:google.area120.tables.v1alpha1.BatchCreateRowsResponse) - BatchCreateRowsResponseOrBuilder { - private static final long serialVersionUID = 0L; - - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 6, - /* suffix= */ "", - "BatchCreateRowsResponse"); - } - - // Use BatchCreateRowsResponse.newBuilder() to construct. - private BatchCreateRowsResponse(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private BatchCreateRowsResponse() { - rows_ = java.util.Collections.emptyList(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_BatchCreateRowsResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_BatchCreateRowsResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.BatchCreateRowsResponse.class, - com.google.area120.tables.v1alpha1.BatchCreateRowsResponse.Builder.class); - } - - public static final int ROWS_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private java.util.List rows_; - - /** - * - * - *
-   * The created rows.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - @java.lang.Override - public java.util.List getRowsList() { - return rows_; - } - - /** - * - * - *
-   * The created rows.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - @java.lang.Override - public java.util.List - getRowsOrBuilderList() { - return rows_; - } - - /** - * - * - *
-   * The created rows.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - @java.lang.Override - public int getRowsCount() { - return rows_.size(); - } - - /** - * - * - *
-   * The created rows.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - @java.lang.Override - public com.google.area120.tables.v1alpha1.Row getRows(int index) { - return rows_.get(index); - } - - /** - * - * - *
-   * The created rows.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - @java.lang.Override - public com.google.area120.tables.v1alpha1.RowOrBuilder getRowsOrBuilder(int index) { - return rows_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < rows_.size(); i++) { - output.writeMessage(1, rows_.get(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < rows_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, rows_.get(i)); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.area120.tables.v1alpha1.BatchCreateRowsResponse)) { - return super.equals(obj); - } - com.google.area120.tables.v1alpha1.BatchCreateRowsResponse other = - (com.google.area120.tables.v1alpha1.BatchCreateRowsResponse) obj; - - if (!getRowsList().equals(other.getRowsList())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getRowsCount() > 0) { - hash = (37 * hash) + ROWS_FIELD_NUMBER; - hash = (53 * hash) + getRowsList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.area120.tables.v1alpha1.BatchCreateRowsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.BatchCreateRowsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.BatchCreateRowsResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.BatchCreateRowsResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.BatchCreateRowsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.BatchCreateRowsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.BatchCreateRowsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.BatchCreateRowsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.BatchCreateRowsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.BatchCreateRowsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.BatchCreateRowsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.BatchCreateRowsResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.area120.tables.v1alpha1.BatchCreateRowsResponse prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * - * - *
-   * Response message for TablesService.BatchCreateRows.
-   * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.BatchCreateRowsResponse} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder - implements - // @@protoc_insertion_point(builder_implements:google.area120.tables.v1alpha1.BatchCreateRowsResponse) - com.google.area120.tables.v1alpha1.BatchCreateRowsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_BatchCreateRowsResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_BatchCreateRowsResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.BatchCreateRowsResponse.class, - com.google.area120.tables.v1alpha1.BatchCreateRowsResponse.Builder.class); - } - - // Construct using com.google.area120.tables.v1alpha1.BatchCreateRowsResponse.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - if (rowsBuilder_ == null) { - rows_ = java.util.Collections.emptyList(); - } else { - rows_ = null; - rowsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_BatchCreateRowsResponse_descriptor; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.BatchCreateRowsResponse getDefaultInstanceForType() { - return com.google.area120.tables.v1alpha1.BatchCreateRowsResponse.getDefaultInstance(); - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.BatchCreateRowsResponse build() { - com.google.area120.tables.v1alpha1.BatchCreateRowsResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.BatchCreateRowsResponse buildPartial() { - com.google.area120.tables.v1alpha1.BatchCreateRowsResponse result = - new com.google.area120.tables.v1alpha1.BatchCreateRowsResponse(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields( - com.google.area120.tables.v1alpha1.BatchCreateRowsResponse result) { - if (rowsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - rows_ = java.util.Collections.unmodifiableList(rows_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.rows_ = rows_; - } else { - result.rows_ = rowsBuilder_.build(); - } - } - - private void buildPartial0(com.google.area120.tables.v1alpha1.BatchCreateRowsResponse result) { - int from_bitField0_ = bitField0_; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.area120.tables.v1alpha1.BatchCreateRowsResponse) { - return mergeFrom((com.google.area120.tables.v1alpha1.BatchCreateRowsResponse) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.area120.tables.v1alpha1.BatchCreateRowsResponse other) { - if (other == com.google.area120.tables.v1alpha1.BatchCreateRowsResponse.getDefaultInstance()) - return this; - if (rowsBuilder_ == null) { - if (!other.rows_.isEmpty()) { - if (rows_.isEmpty()) { - rows_ = other.rows_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureRowsIsMutable(); - rows_.addAll(other.rows_); - } - onChanged(); - } - } else { - if (!other.rows_.isEmpty()) { - if (rowsBuilder_.isEmpty()) { - rowsBuilder_.dispose(); - rowsBuilder_ = null; - rows_ = other.rows_; - bitField0_ = (bitField0_ & ~0x00000001); - rowsBuilder_ = - com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? internalGetRowsFieldBuilder() - : null; - } else { - rowsBuilder_.addAllMessages(other.rows_); - } - } - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.area120.tables.v1alpha1.Row m = - input.readMessage( - com.google.area120.tables.v1alpha1.Row.parser(), extensionRegistry); - if (rowsBuilder_ == null) { - ensureRowsIsMutable(); - rows_.add(m); - } else { - rowsBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.util.List rows_ = - java.util.Collections.emptyList(); - - private void ensureRowsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - rows_ = new java.util.ArrayList(rows_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilder< - com.google.area120.tables.v1alpha1.Row, - com.google.area120.tables.v1alpha1.Row.Builder, - com.google.area120.tables.v1alpha1.RowOrBuilder> - rowsBuilder_; - - /** - * - * - *
-     * The created rows.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public java.util.List getRowsList() { - if (rowsBuilder_ == null) { - return java.util.Collections.unmodifiableList(rows_); - } else { - return rowsBuilder_.getMessageList(); - } - } - - /** - * - * - *
-     * The created rows.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public int getRowsCount() { - if (rowsBuilder_ == null) { - return rows_.size(); - } else { - return rowsBuilder_.getCount(); - } - } - - /** - * - * - *
-     * The created rows.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public com.google.area120.tables.v1alpha1.Row getRows(int index) { - if (rowsBuilder_ == null) { - return rows_.get(index); - } else { - return rowsBuilder_.getMessage(index); - } - } - - /** - * - * - *
-     * The created rows.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public Builder setRows(int index, com.google.area120.tables.v1alpha1.Row value) { - if (rowsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureRowsIsMutable(); - rows_.set(index, value); - onChanged(); - } else { - rowsBuilder_.setMessage(index, value); - } - return this; - } - - /** - * - * - *
-     * The created rows.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public Builder setRows( - int index, com.google.area120.tables.v1alpha1.Row.Builder builderForValue) { - if (rowsBuilder_ == null) { - ensureRowsIsMutable(); - rows_.set(index, builderForValue.build()); - onChanged(); - } else { - rowsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - * - * - *
-     * The created rows.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public Builder addRows(com.google.area120.tables.v1alpha1.Row value) { - if (rowsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureRowsIsMutable(); - rows_.add(value); - onChanged(); - } else { - rowsBuilder_.addMessage(value); - } - return this; - } - - /** - * - * - *
-     * The created rows.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public Builder addRows(int index, com.google.area120.tables.v1alpha1.Row value) { - if (rowsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureRowsIsMutable(); - rows_.add(index, value); - onChanged(); - } else { - rowsBuilder_.addMessage(index, value); - } - return this; - } - - /** - * - * - *
-     * The created rows.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public Builder addRows(com.google.area120.tables.v1alpha1.Row.Builder builderForValue) { - if (rowsBuilder_ == null) { - ensureRowsIsMutable(); - rows_.add(builderForValue.build()); - onChanged(); - } else { - rowsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - * - * - *
-     * The created rows.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public Builder addRows( - int index, com.google.area120.tables.v1alpha1.Row.Builder builderForValue) { - if (rowsBuilder_ == null) { - ensureRowsIsMutable(); - rows_.add(index, builderForValue.build()); - onChanged(); - } else { - rowsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - * - * - *
-     * The created rows.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public Builder addAllRows( - java.lang.Iterable values) { - if (rowsBuilder_ == null) { - ensureRowsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rows_); - onChanged(); - } else { - rowsBuilder_.addAllMessages(values); - } - return this; - } - - /** - * - * - *
-     * The created rows.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public Builder clearRows() { - if (rowsBuilder_ == null) { - rows_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - rowsBuilder_.clear(); - } - return this; - } - - /** - * - * - *
-     * The created rows.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public Builder removeRows(int index) { - if (rowsBuilder_ == null) { - ensureRowsIsMutable(); - rows_.remove(index); - onChanged(); - } else { - rowsBuilder_.remove(index); - } - return this; - } - - /** - * - * - *
-     * The created rows.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public com.google.area120.tables.v1alpha1.Row.Builder getRowsBuilder(int index) { - return internalGetRowsFieldBuilder().getBuilder(index); - } - - /** - * - * - *
-     * The created rows.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public com.google.area120.tables.v1alpha1.RowOrBuilder getRowsOrBuilder(int index) { - if (rowsBuilder_ == null) { - return rows_.get(index); - } else { - return rowsBuilder_.getMessageOrBuilder(index); - } - } - - /** - * - * - *
-     * The created rows.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public java.util.List - getRowsOrBuilderList() { - if (rowsBuilder_ != null) { - return rowsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(rows_); - } - } - - /** - * - * - *
-     * The created rows.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public com.google.area120.tables.v1alpha1.Row.Builder addRowsBuilder() { - return internalGetRowsFieldBuilder() - .addBuilder(com.google.area120.tables.v1alpha1.Row.getDefaultInstance()); - } - - /** - * - * - *
-     * The created rows.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public com.google.area120.tables.v1alpha1.Row.Builder addRowsBuilder(int index) { - return internalGetRowsFieldBuilder() - .addBuilder(index, com.google.area120.tables.v1alpha1.Row.getDefaultInstance()); - } - - /** - * - * - *
-     * The created rows.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public java.util.List getRowsBuilderList() { - return internalGetRowsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilder< - com.google.area120.tables.v1alpha1.Row, - com.google.area120.tables.v1alpha1.Row.Builder, - com.google.area120.tables.v1alpha1.RowOrBuilder> - internalGetRowsFieldBuilder() { - if (rowsBuilder_ == null) { - rowsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilder< - com.google.area120.tables.v1alpha1.Row, - com.google.area120.tables.v1alpha1.Row.Builder, - com.google.area120.tables.v1alpha1.RowOrBuilder>( - rows_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - rows_ = null; - } - return rowsBuilder_; - } - - // @@protoc_insertion_point(builder_scope:google.area120.tables.v1alpha1.BatchCreateRowsResponse) - } - - // @@protoc_insertion_point(class_scope:google.area120.tables.v1alpha1.BatchCreateRowsResponse) - private static final com.google.area120.tables.v1alpha1.BatchCreateRowsResponse DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.area120.tables.v1alpha1.BatchCreateRowsResponse(); - } - - public static com.google.area120.tables.v1alpha1.BatchCreateRowsResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateRowsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.BatchCreateRowsResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/BatchCreateRowsResponseOrBuilder.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/BatchCreateRowsResponseOrBuilder.java deleted file mode 100644 index 4dcbfa231eeb..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/BatchCreateRowsResponseOrBuilder.java +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -@com.google.protobuf.Generated -public interface BatchCreateRowsResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.area120.tables.v1alpha1.BatchCreateRowsResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The created rows.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - java.util.List getRowsList(); - - /** - * - * - *
-   * The created rows.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - com.google.area120.tables.v1alpha1.Row getRows(int index); - - /** - * - * - *
-   * The created rows.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - int getRowsCount(); - - /** - * - * - *
-   * The created rows.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - java.util.List getRowsOrBuilderList(); - - /** - * - * - *
-   * The created rows.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - com.google.area120.tables.v1alpha1.RowOrBuilder getRowsOrBuilder(int index); -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/BatchDeleteRowsRequest.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/BatchDeleteRowsRequest.java deleted file mode 100644 index 18851f328e08..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/BatchDeleteRowsRequest.java +++ /dev/null @@ -1,973 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -/** - * - * - *
- * Request message for TablesService.BatchDeleteRows
- * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.BatchDeleteRowsRequest} - */ -@com.google.protobuf.Generated -public final class BatchDeleteRowsRequest extends com.google.protobuf.GeneratedMessage - implements - // @@protoc_insertion_point(message_implements:google.area120.tables.v1alpha1.BatchDeleteRowsRequest) - BatchDeleteRowsRequestOrBuilder { - private static final long serialVersionUID = 0L; - - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 6, - /* suffix= */ "", - "BatchDeleteRowsRequest"); - } - - // Use BatchDeleteRowsRequest.newBuilder() to construct. - private BatchDeleteRowsRequest(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private BatchDeleteRowsRequest() { - parent_ = ""; - names_ = com.google.protobuf.LazyStringArrayList.emptyList(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_BatchDeleteRowsRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_BatchDeleteRowsRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest.class, - com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest.Builder.class); - } - - public static final int PARENT_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private volatile java.lang.Object parent_ = ""; - - /** - * - * - *
-   * Required. The parent table shared by all rows being deleted.
-   * Format: tables/{table}
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - @java.lang.Override - public java.lang.String getParent() { - java.lang.Object ref = parent_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - parent_ = s; - return s; - } - } - - /** - * - * - *
-   * Required. The parent table shared by all rows being deleted.
-   * Format: tables/{table}
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { - java.lang.Object ref = parent_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - parent_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int NAMES_FIELD_NUMBER = 2; - - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList names_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - - /** - * - * - *
-   * Required. The names of the rows to delete. All rows must belong to the parent table
-   * or else the entire batch will fail. A maximum of 500 rows can be deleted
-   * in a batch.
-   * Format: tables/{table}/rows/{row}
-   * 
- * - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return A list containing the names. - */ - public com.google.protobuf.ProtocolStringList getNamesList() { - return names_; - } - - /** - * - * - *
-   * Required. The names of the rows to delete. All rows must belong to the parent table
-   * or else the entire batch will fail. A maximum of 500 rows can be deleted
-   * in a batch.
-   * Format: tables/{table}/rows/{row}
-   * 
- * - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The count of names. - */ - public int getNamesCount() { - return names_.size(); - } - - /** - * - * - *
-   * Required. The names of the rows to delete. All rows must belong to the parent table
-   * or else the entire batch will fail. A maximum of 500 rows can be deleted
-   * in a batch.
-   * Format: tables/{table}/rows/{row}
-   * 
- * - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @param index The index of the element to return. - * @return The names at the given index. - */ - public java.lang.String getNames(int index) { - return names_.get(index); - } - - /** - * - * - *
-   * Required. The names of the rows to delete. All rows must belong to the parent table
-   * or else the entire batch will fail. A maximum of 500 rows can be deleted
-   * in a batch.
-   * Format: tables/{table}/rows/{row}
-   * 
- * - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @param index The index of the value to return. - * @return The bytes of the names at the given index. - */ - public com.google.protobuf.ByteString getNamesBytes(int index) { - return names_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_); - } - for (int i = 0; i < names_.size(); i++) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, names_.getRaw(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_); - } - { - int dataSize = 0; - for (int i = 0; i < names_.size(); i++) { - dataSize += computeStringSizeNoTag(names_.getRaw(i)); - } - size += dataSize; - size += 1 * getNamesList().size(); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest)) { - return super.equals(obj); - } - com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest other = - (com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getNamesList().equals(other.getNamesList())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PARENT_FIELD_NUMBER; - hash = (53 * hash) + getParent().hashCode(); - if (getNamesCount() > 0) { - hash = (37 * hash) + NAMES_FIELD_NUMBER; - hash = (53 * hash) + getNamesList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * - * - *
-   * Request message for TablesService.BatchDeleteRows
-   * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.BatchDeleteRowsRequest} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder - implements - // @@protoc_insertion_point(builder_implements:google.area120.tables.v1alpha1.BatchDeleteRowsRequest) - com.google.area120.tables.v1alpha1.BatchDeleteRowsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_BatchDeleteRowsRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_BatchDeleteRowsRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest.class, - com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest.Builder.class); - } - - // Construct using com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - parent_ = ""; - names_ = com.google.protobuf.LazyStringArrayList.emptyList(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_BatchDeleteRowsRequest_descriptor; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest getDefaultInstanceForType() { - return com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest.getDefaultInstance(); - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest build() { - com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest buildPartial() { - com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest result = - new com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.parent_ = parent_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - names_.makeImmutable(); - result.names_ = names_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest) { - return mergeFrom((com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest other) { - if (other == com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest.getDefaultInstance()) - return this; - if (!other.getParent().isEmpty()) { - parent_ = other.parent_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.names_.isEmpty()) { - if (names_.isEmpty()) { - names_ = other.names_; - bitField0_ |= 0x00000002; - } else { - ensureNamesIsMutable(); - names_.addAll(other.names_); - } - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureNamesIsMutable(); - names_.add(s); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object parent_ = ""; - - /** - * - * - *
-     * Required. The parent table shared by all rows being deleted.
-     * Format: tables/{table}
-     * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - public java.lang.String getParent() { - java.lang.Object ref = parent_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - parent_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * - * - *
-     * Required. The parent table shared by all rows being deleted.
-     * Format: tables/{table}
-     * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - public com.google.protobuf.ByteString getParentBytes() { - java.lang.Object ref = parent_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - parent_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * - * - *
-     * Required. The parent table shared by all rows being deleted.
-     * Format: tables/{table}
-     * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @param value The parent to set. - * @return This builder for chaining. - */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - parent_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * - * - *
-     * Required. The parent table shared by all rows being deleted.
-     * Format: tables/{table}
-     * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return This builder for chaining. - */ - public Builder clearParent() { - parent_ = getDefaultInstance().getParent(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * - * - *
-     * Required. The parent table shared by all rows being deleted.
-     * Format: tables/{table}
-     * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @param value The bytes for parent to set. - * @return This builder for chaining. - */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - parent_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringArrayList names_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - - private void ensureNamesIsMutable() { - if (!names_.isModifiable()) { - names_ = new com.google.protobuf.LazyStringArrayList(names_); - } - bitField0_ |= 0x00000002; - } - - /** - * - * - *
-     * Required. The names of the rows to delete. All rows must belong to the parent table
-     * or else the entire batch will fail. A maximum of 500 rows can be deleted
-     * in a batch.
-     * Format: tables/{table}/rows/{row}
-     * 
- * - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return A list containing the names. - */ - public com.google.protobuf.ProtocolStringList getNamesList() { - names_.makeImmutable(); - return names_; - } - - /** - * - * - *
-     * Required. The names of the rows to delete. All rows must belong to the parent table
-     * or else the entire batch will fail. A maximum of 500 rows can be deleted
-     * in a batch.
-     * Format: tables/{table}/rows/{row}
-     * 
- * - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The count of names. - */ - public int getNamesCount() { - return names_.size(); - } - - /** - * - * - *
-     * Required. The names of the rows to delete. All rows must belong to the parent table
-     * or else the entire batch will fail. A maximum of 500 rows can be deleted
-     * in a batch.
-     * Format: tables/{table}/rows/{row}
-     * 
- * - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @param index The index of the element to return. - * @return The names at the given index. - */ - public java.lang.String getNames(int index) { - return names_.get(index); - } - - /** - * - * - *
-     * Required. The names of the rows to delete. All rows must belong to the parent table
-     * or else the entire batch will fail. A maximum of 500 rows can be deleted
-     * in a batch.
-     * Format: tables/{table}/rows/{row}
-     * 
- * - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @param index The index of the value to return. - * @return The bytes of the names at the given index. - */ - public com.google.protobuf.ByteString getNamesBytes(int index) { - return names_.getByteString(index); - } - - /** - * - * - *
-     * Required. The names of the rows to delete. All rows must belong to the parent table
-     * or else the entire batch will fail. A maximum of 500 rows can be deleted
-     * in a batch.
-     * Format: tables/{table}/rows/{row}
-     * 
- * - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @param index The index to set the value at. - * @param value The names to set. - * @return This builder for chaining. - */ - public Builder setNames(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureNamesIsMutable(); - names_.set(index, value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * - * - *
-     * Required. The names of the rows to delete. All rows must belong to the parent table
-     * or else the entire batch will fail. A maximum of 500 rows can be deleted
-     * in a batch.
-     * Format: tables/{table}/rows/{row}
-     * 
- * - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @param value The names to add. - * @return This builder for chaining. - */ - public Builder addNames(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureNamesIsMutable(); - names_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * - * - *
-     * Required. The names of the rows to delete. All rows must belong to the parent table
-     * or else the entire batch will fail. A maximum of 500 rows can be deleted
-     * in a batch.
-     * Format: tables/{table}/rows/{row}
-     * 
- * - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @param values The names to add. - * @return This builder for chaining. - */ - public Builder addAllNames(java.lang.Iterable values) { - ensureNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, names_); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * - * - *
-     * Required. The names of the rows to delete. All rows must belong to the parent table
-     * or else the entire batch will fail. A maximum of 500 rows can be deleted
-     * in a batch.
-     * Format: tables/{table}/rows/{row}
-     * 
- * - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return This builder for chaining. - */ - public Builder clearNames() { - names_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; - onChanged(); - return this; - } - - /** - * - * - *
-     * Required. The names of the rows to delete. All rows must belong to the parent table
-     * or else the entire batch will fail. A maximum of 500 rows can be deleted
-     * in a batch.
-     * Format: tables/{table}/rows/{row}
-     * 
- * - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @param value The bytes of the names to add. - * @return This builder for chaining. - */ - public Builder addNamesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureNamesIsMutable(); - names_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:google.area120.tables.v1alpha1.BatchDeleteRowsRequest) - } - - // @@protoc_insertion_point(class_scope:google.area120.tables.v1alpha1.BatchDeleteRowsRequest) - private static final com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest(); - } - - public static com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchDeleteRowsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/BatchDeleteRowsRequestOrBuilder.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/BatchDeleteRowsRequestOrBuilder.java deleted file mode 100644 index 2710e344d497..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/BatchDeleteRowsRequestOrBuilder.java +++ /dev/null @@ -1,134 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -@com.google.protobuf.Generated -public interface BatchDeleteRowsRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.area120.tables.v1alpha1.BatchDeleteRowsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The parent table shared by all rows being deleted.
-   * Format: tables/{table}
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - - /** - * - * - *
-   * Required. The parent table shared by all rows being deleted.
-   * Format: tables/{table}
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); - - /** - * - * - *
-   * Required. The names of the rows to delete. All rows must belong to the parent table
-   * or else the entire batch will fail. A maximum of 500 rows can be deleted
-   * in a batch.
-   * Format: tables/{table}/rows/{row}
-   * 
- * - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return A list containing the names. - */ - java.util.List getNamesList(); - - /** - * - * - *
-   * Required. The names of the rows to delete. All rows must belong to the parent table
-   * or else the entire batch will fail. A maximum of 500 rows can be deleted
-   * in a batch.
-   * Format: tables/{table}/rows/{row}
-   * 
- * - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The count of names. - */ - int getNamesCount(); - - /** - * - * - *
-   * Required. The names of the rows to delete. All rows must belong to the parent table
-   * or else the entire batch will fail. A maximum of 500 rows can be deleted
-   * in a batch.
-   * Format: tables/{table}/rows/{row}
-   * 
- * - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @param index The index of the element to return. - * @return The names at the given index. - */ - java.lang.String getNames(int index); - - /** - * - * - *
-   * Required. The names of the rows to delete. All rows must belong to the parent table
-   * or else the entire batch will fail. A maximum of 500 rows can be deleted
-   * in a batch.
-   * Format: tables/{table}/rows/{row}
-   * 
- * - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @param index The index of the value to return. - * @return The bytes of the names at the given index. - */ - com.google.protobuf.ByteString getNamesBytes(int index); -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/BatchUpdateRowsRequest.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/BatchUpdateRowsRequest.java deleted file mode 100644 index 81da762d7adb..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/BatchUpdateRowsRequest.java +++ /dev/null @@ -1,1221 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -/** - * - * - *
- * Request message for TablesService.BatchUpdateRows.
- * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.BatchUpdateRowsRequest} - */ -@com.google.protobuf.Generated -public final class BatchUpdateRowsRequest extends com.google.protobuf.GeneratedMessage - implements - // @@protoc_insertion_point(message_implements:google.area120.tables.v1alpha1.BatchUpdateRowsRequest) - BatchUpdateRowsRequestOrBuilder { - private static final long serialVersionUID = 0L; - - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 6, - /* suffix= */ "", - "BatchUpdateRowsRequest"); - } - - // Use BatchUpdateRowsRequest.newBuilder() to construct. - private BatchUpdateRowsRequest(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private BatchUpdateRowsRequest() { - parent_ = ""; - requests_ = java.util.Collections.emptyList(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_BatchUpdateRowsRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_BatchUpdateRowsRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest.class, - com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest.Builder.class); - } - - public static final int PARENT_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private volatile java.lang.Object parent_ = ""; - - /** - * - * - *
-   * Required. The parent table shared by all rows being updated.
-   * Format: tables/{table}
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The parent. - */ - @java.lang.Override - public java.lang.String getParent() { - java.lang.Object ref = parent_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - parent_ = s; - return s; - } - } - - /** - * - * - *
-   * Required. The parent table shared by all rows being updated.
-   * Format: tables/{table}
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for parent. - */ - @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { - java.lang.Object ref = parent_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - parent_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int REQUESTS_FIELD_NUMBER = 2; - - @SuppressWarnings("serial") - private java.util.List requests_; - - /** - * - * - *
-   * Required. The request messages specifying the rows to update.
-   *
-   * A maximum of 500 rows can be modified in a single batch.
-   * 
- * - * - * repeated .google.area120.tables.v1alpha1.UpdateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - @java.lang.Override - public java.util.List getRequestsList() { - return requests_; - } - - /** - * - * - *
-   * Required. The request messages specifying the rows to update.
-   *
-   * A maximum of 500 rows can be modified in a single batch.
-   * 
- * - * - * repeated .google.area120.tables.v1alpha1.UpdateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - @java.lang.Override - public java.util.List - getRequestsOrBuilderList() { - return requests_; - } - - /** - * - * - *
-   * Required. The request messages specifying the rows to update.
-   *
-   * A maximum of 500 rows can be modified in a single batch.
-   * 
- * - * - * repeated .google.area120.tables.v1alpha1.UpdateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - @java.lang.Override - public int getRequestsCount() { - return requests_.size(); - } - - /** - * - * - *
-   * Required. The request messages specifying the rows to update.
-   *
-   * A maximum of 500 rows can be modified in a single batch.
-   * 
- * - * - * repeated .google.area120.tables.v1alpha1.UpdateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - @java.lang.Override - public com.google.area120.tables.v1alpha1.UpdateRowRequest getRequests(int index) { - return requests_.get(index); - } - - /** - * - * - *
-   * Required. The request messages specifying the rows to update.
-   *
-   * A maximum of 500 rows can be modified in a single batch.
-   * 
- * - * - * repeated .google.area120.tables.v1alpha1.UpdateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - @java.lang.Override - public com.google.area120.tables.v1alpha1.UpdateRowRequestOrBuilder getRequestsOrBuilder( - int index) { - return requests_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_); - } - for (int i = 0; i < requests_.size(); i++) { - output.writeMessage(2, requests_.get(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_); - } - for (int i = 0; i < requests_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, requests_.get(i)); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest)) { - return super.equals(obj); - } - com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest other = - (com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getRequestsList().equals(other.getRequestsList())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PARENT_FIELD_NUMBER; - hash = (53 * hash) + getParent().hashCode(); - if (getRequestsCount() > 0) { - hash = (37 * hash) + REQUESTS_FIELD_NUMBER; - hash = (53 * hash) + getRequestsList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * - * - *
-   * Request message for TablesService.BatchUpdateRows.
-   * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.BatchUpdateRowsRequest} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder - implements - // @@protoc_insertion_point(builder_implements:google.area120.tables.v1alpha1.BatchUpdateRowsRequest) - com.google.area120.tables.v1alpha1.BatchUpdateRowsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_BatchUpdateRowsRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_BatchUpdateRowsRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest.class, - com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest.Builder.class); - } - - // Construct using com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - parent_ = ""; - if (requestsBuilder_ == null) { - requests_ = java.util.Collections.emptyList(); - } else { - requests_ = null; - requestsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_BatchUpdateRowsRequest_descriptor; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest getDefaultInstanceForType() { - return com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest.getDefaultInstance(); - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest build() { - com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest buildPartial() { - com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest result = - new com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields( - com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest result) { - if (requestsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { - requests_ = java.util.Collections.unmodifiableList(requests_); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.requests_ = requests_; - } else { - result.requests_ = requestsBuilder_.build(); - } - } - - private void buildPartial0(com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.parent_ = parent_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest) { - return mergeFrom((com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest other) { - if (other == com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest.getDefaultInstance()) - return this; - if (!other.getParent().isEmpty()) { - parent_ = other.parent_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (requestsBuilder_ == null) { - if (!other.requests_.isEmpty()) { - if (requests_.isEmpty()) { - requests_ = other.requests_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureRequestsIsMutable(); - requests_.addAll(other.requests_); - } - onChanged(); - } - } else { - if (!other.requests_.isEmpty()) { - if (requestsBuilder_.isEmpty()) { - requestsBuilder_.dispose(); - requestsBuilder_ = null; - requests_ = other.requests_; - bitField0_ = (bitField0_ & ~0x00000002); - requestsBuilder_ = - com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? internalGetRequestsFieldBuilder() - : null; - } else { - requestsBuilder_.addAllMessages(other.requests_); - } - } - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - com.google.area120.tables.v1alpha1.UpdateRowRequest m = - input.readMessage( - com.google.area120.tables.v1alpha1.UpdateRowRequest.parser(), - extensionRegistry); - if (requestsBuilder_ == null) { - ensureRequestsIsMutable(); - requests_.add(m); - } else { - requestsBuilder_.addMessage(m); - } - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object parent_ = ""; - - /** - * - * - *
-     * Required. The parent table shared by all rows being updated.
-     * Format: tables/{table}
-     * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The parent. - */ - public java.lang.String getParent() { - java.lang.Object ref = parent_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - parent_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * - * - *
-     * Required. The parent table shared by all rows being updated.
-     * Format: tables/{table}
-     * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for parent. - */ - public com.google.protobuf.ByteString getParentBytes() { - java.lang.Object ref = parent_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - parent_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * - * - *
-     * Required. The parent table shared by all rows being updated.
-     * Format: tables/{table}
-     * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The parent to set. - * @return This builder for chaining. - */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - parent_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * - * - *
-     * Required. The parent table shared by all rows being updated.
-     * Format: tables/{table}
-     * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return This builder for chaining. - */ - public Builder clearParent() { - parent_ = getDefaultInstance().getParent(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * - * - *
-     * Required. The parent table shared by all rows being updated.
-     * Format: tables/{table}
-     * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The bytes for parent to set. - * @return This builder for chaining. - */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - parent_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private java.util.List requests_ = - java.util.Collections.emptyList(); - - private void ensureRequestsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - requests_ = - new java.util.ArrayList(requests_); - bitField0_ |= 0x00000002; - } - } - - private com.google.protobuf.RepeatedFieldBuilder< - com.google.area120.tables.v1alpha1.UpdateRowRequest, - com.google.area120.tables.v1alpha1.UpdateRowRequest.Builder, - com.google.area120.tables.v1alpha1.UpdateRowRequestOrBuilder> - requestsBuilder_; - - /** - * - * - *
-     * Required. The request messages specifying the rows to update.
-     *
-     * A maximum of 500 rows can be modified in a single batch.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.UpdateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public java.util.List getRequestsList() { - if (requestsBuilder_ == null) { - return java.util.Collections.unmodifiableList(requests_); - } else { - return requestsBuilder_.getMessageList(); - } - } - - /** - * - * - *
-     * Required. The request messages specifying the rows to update.
-     *
-     * A maximum of 500 rows can be modified in a single batch.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.UpdateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public int getRequestsCount() { - if (requestsBuilder_ == null) { - return requests_.size(); - } else { - return requestsBuilder_.getCount(); - } - } - - /** - * - * - *
-     * Required. The request messages specifying the rows to update.
-     *
-     * A maximum of 500 rows can be modified in a single batch.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.UpdateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.area120.tables.v1alpha1.UpdateRowRequest getRequests(int index) { - if (requestsBuilder_ == null) { - return requests_.get(index); - } else { - return requestsBuilder_.getMessage(index); - } - } - - /** - * - * - *
-     * Required. The request messages specifying the rows to update.
-     *
-     * A maximum of 500 rows can be modified in a single batch.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.UpdateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder setRequests( - int index, com.google.area120.tables.v1alpha1.UpdateRowRequest value) { - if (requestsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureRequestsIsMutable(); - requests_.set(index, value); - onChanged(); - } else { - requestsBuilder_.setMessage(index, value); - } - return this; - } - - /** - * - * - *
-     * Required. The request messages specifying the rows to update.
-     *
-     * A maximum of 500 rows can be modified in a single batch.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.UpdateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder setRequests( - int index, com.google.area120.tables.v1alpha1.UpdateRowRequest.Builder builderForValue) { - if (requestsBuilder_ == null) { - ensureRequestsIsMutable(); - requests_.set(index, builderForValue.build()); - onChanged(); - } else { - requestsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - * - * - *
-     * Required. The request messages specifying the rows to update.
-     *
-     * A maximum of 500 rows can be modified in a single batch.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.UpdateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder addRequests(com.google.area120.tables.v1alpha1.UpdateRowRequest value) { - if (requestsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureRequestsIsMutable(); - requests_.add(value); - onChanged(); - } else { - requestsBuilder_.addMessage(value); - } - return this; - } - - /** - * - * - *
-     * Required. The request messages specifying the rows to update.
-     *
-     * A maximum of 500 rows can be modified in a single batch.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.UpdateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder addRequests( - int index, com.google.area120.tables.v1alpha1.UpdateRowRequest value) { - if (requestsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureRequestsIsMutable(); - requests_.add(index, value); - onChanged(); - } else { - requestsBuilder_.addMessage(index, value); - } - return this; - } - - /** - * - * - *
-     * Required. The request messages specifying the rows to update.
-     *
-     * A maximum of 500 rows can be modified in a single batch.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.UpdateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder addRequests( - com.google.area120.tables.v1alpha1.UpdateRowRequest.Builder builderForValue) { - if (requestsBuilder_ == null) { - ensureRequestsIsMutable(); - requests_.add(builderForValue.build()); - onChanged(); - } else { - requestsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - * - * - *
-     * Required. The request messages specifying the rows to update.
-     *
-     * A maximum of 500 rows can be modified in a single batch.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.UpdateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder addRequests( - int index, com.google.area120.tables.v1alpha1.UpdateRowRequest.Builder builderForValue) { - if (requestsBuilder_ == null) { - ensureRequestsIsMutable(); - requests_.add(index, builderForValue.build()); - onChanged(); - } else { - requestsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - * - * - *
-     * Required. The request messages specifying the rows to update.
-     *
-     * A maximum of 500 rows can be modified in a single batch.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.UpdateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder addAllRequests( - java.lang.Iterable values) { - if (requestsBuilder_ == null) { - ensureRequestsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, requests_); - onChanged(); - } else { - requestsBuilder_.addAllMessages(values); - } - return this; - } - - /** - * - * - *
-     * Required. The request messages specifying the rows to update.
-     *
-     * A maximum of 500 rows can be modified in a single batch.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.UpdateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder clearRequests() { - if (requestsBuilder_ == null) { - requests_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - } else { - requestsBuilder_.clear(); - } - return this; - } - - /** - * - * - *
-     * Required. The request messages specifying the rows to update.
-     *
-     * A maximum of 500 rows can be modified in a single batch.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.UpdateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder removeRequests(int index) { - if (requestsBuilder_ == null) { - ensureRequestsIsMutable(); - requests_.remove(index); - onChanged(); - } else { - requestsBuilder_.remove(index); - } - return this; - } - - /** - * - * - *
-     * Required. The request messages specifying the rows to update.
-     *
-     * A maximum of 500 rows can be modified in a single batch.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.UpdateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.area120.tables.v1alpha1.UpdateRowRequest.Builder getRequestsBuilder( - int index) { - return internalGetRequestsFieldBuilder().getBuilder(index); - } - - /** - * - * - *
-     * Required. The request messages specifying the rows to update.
-     *
-     * A maximum of 500 rows can be modified in a single batch.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.UpdateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.area120.tables.v1alpha1.UpdateRowRequestOrBuilder getRequestsOrBuilder( - int index) { - if (requestsBuilder_ == null) { - return requests_.get(index); - } else { - return requestsBuilder_.getMessageOrBuilder(index); - } - } - - /** - * - * - *
-     * Required. The request messages specifying the rows to update.
-     *
-     * A maximum of 500 rows can be modified in a single batch.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.UpdateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public java.util.List - getRequestsOrBuilderList() { - if (requestsBuilder_ != null) { - return requestsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(requests_); - } - } - - /** - * - * - *
-     * Required. The request messages specifying the rows to update.
-     *
-     * A maximum of 500 rows can be modified in a single batch.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.UpdateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.area120.tables.v1alpha1.UpdateRowRequest.Builder addRequestsBuilder() { - return internalGetRequestsFieldBuilder() - .addBuilder(com.google.area120.tables.v1alpha1.UpdateRowRequest.getDefaultInstance()); - } - - /** - * - * - *
-     * Required. The request messages specifying the rows to update.
-     *
-     * A maximum of 500 rows can be modified in a single batch.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.UpdateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.area120.tables.v1alpha1.UpdateRowRequest.Builder addRequestsBuilder( - int index) { - return internalGetRequestsFieldBuilder() - .addBuilder( - index, com.google.area120.tables.v1alpha1.UpdateRowRequest.getDefaultInstance()); - } - - /** - * - * - *
-     * Required. The request messages specifying the rows to update.
-     *
-     * A maximum of 500 rows can be modified in a single batch.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.UpdateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public java.util.List - getRequestsBuilderList() { - return internalGetRequestsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilder< - com.google.area120.tables.v1alpha1.UpdateRowRequest, - com.google.area120.tables.v1alpha1.UpdateRowRequest.Builder, - com.google.area120.tables.v1alpha1.UpdateRowRequestOrBuilder> - internalGetRequestsFieldBuilder() { - if (requestsBuilder_ == null) { - requestsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilder< - com.google.area120.tables.v1alpha1.UpdateRowRequest, - com.google.area120.tables.v1alpha1.UpdateRowRequest.Builder, - com.google.area120.tables.v1alpha1.UpdateRowRequestOrBuilder>( - requests_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); - requests_ = null; - } - return requestsBuilder_; - } - - // @@protoc_insertion_point(builder_scope:google.area120.tables.v1alpha1.BatchUpdateRowsRequest) - } - - // @@protoc_insertion_point(class_scope:google.area120.tables.v1alpha1.BatchUpdateRowsRequest) - private static final com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest(); - } - - public static com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchUpdateRowsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/BatchUpdateRowsRequestOrBuilder.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/BatchUpdateRowsRequestOrBuilder.java deleted file mode 100644 index 95a22ce9805e..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/BatchUpdateRowsRequestOrBuilder.java +++ /dev/null @@ -1,132 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -@com.google.protobuf.Generated -public interface BatchUpdateRowsRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.area120.tables.v1alpha1.BatchUpdateRowsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The parent table shared by all rows being updated.
-   * Format: tables/{table}
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The parent. - */ - java.lang.String getParent(); - - /** - * - * - *
-   * Required. The parent table shared by all rows being updated.
-   * Format: tables/{table}
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); - - /** - * - * - *
-   * Required. The request messages specifying the rows to update.
-   *
-   * A maximum of 500 rows can be modified in a single batch.
-   * 
- * - * - * repeated .google.area120.tables.v1alpha1.UpdateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - java.util.List getRequestsList(); - - /** - * - * - *
-   * Required. The request messages specifying the rows to update.
-   *
-   * A maximum of 500 rows can be modified in a single batch.
-   * 
- * - * - * repeated .google.area120.tables.v1alpha1.UpdateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.area120.tables.v1alpha1.UpdateRowRequest getRequests(int index); - - /** - * - * - *
-   * Required. The request messages specifying the rows to update.
-   *
-   * A maximum of 500 rows can be modified in a single batch.
-   * 
- * - * - * repeated .google.area120.tables.v1alpha1.UpdateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - int getRequestsCount(); - - /** - * - * - *
-   * Required. The request messages specifying the rows to update.
-   *
-   * A maximum of 500 rows can be modified in a single batch.
-   * 
- * - * - * repeated .google.area120.tables.v1alpha1.UpdateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - java.util.List - getRequestsOrBuilderList(); - - /** - * - * - *
-   * Required. The request messages specifying the rows to update.
-   *
-   * A maximum of 500 rows can be modified in a single batch.
-   * 
- * - * - * repeated .google.area120.tables.v1alpha1.UpdateRowRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.area120.tables.v1alpha1.UpdateRowRequestOrBuilder getRequestsOrBuilder(int index); -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/BatchUpdateRowsResponse.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/BatchUpdateRowsResponse.java deleted file mode 100644 index ef8b92f5d2dd..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/BatchUpdateRowsResponse.java +++ /dev/null @@ -1,922 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -/** - * - * - *
- * Response message for TablesService.BatchUpdateRows.
- * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.BatchUpdateRowsResponse} - */ -@com.google.protobuf.Generated -public final class BatchUpdateRowsResponse extends com.google.protobuf.GeneratedMessage - implements - // @@protoc_insertion_point(message_implements:google.area120.tables.v1alpha1.BatchUpdateRowsResponse) - BatchUpdateRowsResponseOrBuilder { - private static final long serialVersionUID = 0L; - - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 6, - /* suffix= */ "", - "BatchUpdateRowsResponse"); - } - - // Use BatchUpdateRowsResponse.newBuilder() to construct. - private BatchUpdateRowsResponse(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private BatchUpdateRowsResponse() { - rows_ = java.util.Collections.emptyList(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_BatchUpdateRowsResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_BatchUpdateRowsResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse.class, - com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse.Builder.class); - } - - public static final int ROWS_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private java.util.List rows_; - - /** - * - * - *
-   * The updated rows.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - @java.lang.Override - public java.util.List getRowsList() { - return rows_; - } - - /** - * - * - *
-   * The updated rows.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - @java.lang.Override - public java.util.List - getRowsOrBuilderList() { - return rows_; - } - - /** - * - * - *
-   * The updated rows.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - @java.lang.Override - public int getRowsCount() { - return rows_.size(); - } - - /** - * - * - *
-   * The updated rows.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - @java.lang.Override - public com.google.area120.tables.v1alpha1.Row getRows(int index) { - return rows_.get(index); - } - - /** - * - * - *
-   * The updated rows.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - @java.lang.Override - public com.google.area120.tables.v1alpha1.RowOrBuilder getRowsOrBuilder(int index) { - return rows_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < rows_.size(); i++) { - output.writeMessage(1, rows_.get(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < rows_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, rows_.get(i)); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse)) { - return super.equals(obj); - } - com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse other = - (com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse) obj; - - if (!getRowsList().equals(other.getRowsList())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getRowsCount() > 0) { - hash = (37 * hash) + ROWS_FIELD_NUMBER; - hash = (53 * hash) + getRowsList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * - * - *
-   * Response message for TablesService.BatchUpdateRows.
-   * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.BatchUpdateRowsResponse} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder - implements - // @@protoc_insertion_point(builder_implements:google.area120.tables.v1alpha1.BatchUpdateRowsResponse) - com.google.area120.tables.v1alpha1.BatchUpdateRowsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_BatchUpdateRowsResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_BatchUpdateRowsResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse.class, - com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse.Builder.class); - } - - // Construct using com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - if (rowsBuilder_ == null) { - rows_ = java.util.Collections.emptyList(); - } else { - rows_ = null; - rowsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_BatchUpdateRowsResponse_descriptor; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse getDefaultInstanceForType() { - return com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse.getDefaultInstance(); - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse build() { - com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse buildPartial() { - com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse result = - new com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields( - com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse result) { - if (rowsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - rows_ = java.util.Collections.unmodifiableList(rows_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.rows_ = rows_; - } else { - result.rows_ = rowsBuilder_.build(); - } - } - - private void buildPartial0(com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse result) { - int from_bitField0_ = bitField0_; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse) { - return mergeFrom((com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse other) { - if (other == com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse.getDefaultInstance()) - return this; - if (rowsBuilder_ == null) { - if (!other.rows_.isEmpty()) { - if (rows_.isEmpty()) { - rows_ = other.rows_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureRowsIsMutable(); - rows_.addAll(other.rows_); - } - onChanged(); - } - } else { - if (!other.rows_.isEmpty()) { - if (rowsBuilder_.isEmpty()) { - rowsBuilder_.dispose(); - rowsBuilder_ = null; - rows_ = other.rows_; - bitField0_ = (bitField0_ & ~0x00000001); - rowsBuilder_ = - com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? internalGetRowsFieldBuilder() - : null; - } else { - rowsBuilder_.addAllMessages(other.rows_); - } - } - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.area120.tables.v1alpha1.Row m = - input.readMessage( - com.google.area120.tables.v1alpha1.Row.parser(), extensionRegistry); - if (rowsBuilder_ == null) { - ensureRowsIsMutable(); - rows_.add(m); - } else { - rowsBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.util.List rows_ = - java.util.Collections.emptyList(); - - private void ensureRowsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - rows_ = new java.util.ArrayList(rows_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilder< - com.google.area120.tables.v1alpha1.Row, - com.google.area120.tables.v1alpha1.Row.Builder, - com.google.area120.tables.v1alpha1.RowOrBuilder> - rowsBuilder_; - - /** - * - * - *
-     * The updated rows.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public java.util.List getRowsList() { - if (rowsBuilder_ == null) { - return java.util.Collections.unmodifiableList(rows_); - } else { - return rowsBuilder_.getMessageList(); - } - } - - /** - * - * - *
-     * The updated rows.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public int getRowsCount() { - if (rowsBuilder_ == null) { - return rows_.size(); - } else { - return rowsBuilder_.getCount(); - } - } - - /** - * - * - *
-     * The updated rows.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public com.google.area120.tables.v1alpha1.Row getRows(int index) { - if (rowsBuilder_ == null) { - return rows_.get(index); - } else { - return rowsBuilder_.getMessage(index); - } - } - - /** - * - * - *
-     * The updated rows.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public Builder setRows(int index, com.google.area120.tables.v1alpha1.Row value) { - if (rowsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureRowsIsMutable(); - rows_.set(index, value); - onChanged(); - } else { - rowsBuilder_.setMessage(index, value); - } - return this; - } - - /** - * - * - *
-     * The updated rows.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public Builder setRows( - int index, com.google.area120.tables.v1alpha1.Row.Builder builderForValue) { - if (rowsBuilder_ == null) { - ensureRowsIsMutable(); - rows_.set(index, builderForValue.build()); - onChanged(); - } else { - rowsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - * - * - *
-     * The updated rows.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public Builder addRows(com.google.area120.tables.v1alpha1.Row value) { - if (rowsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureRowsIsMutable(); - rows_.add(value); - onChanged(); - } else { - rowsBuilder_.addMessage(value); - } - return this; - } - - /** - * - * - *
-     * The updated rows.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public Builder addRows(int index, com.google.area120.tables.v1alpha1.Row value) { - if (rowsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureRowsIsMutable(); - rows_.add(index, value); - onChanged(); - } else { - rowsBuilder_.addMessage(index, value); - } - return this; - } - - /** - * - * - *
-     * The updated rows.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public Builder addRows(com.google.area120.tables.v1alpha1.Row.Builder builderForValue) { - if (rowsBuilder_ == null) { - ensureRowsIsMutable(); - rows_.add(builderForValue.build()); - onChanged(); - } else { - rowsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - * - * - *
-     * The updated rows.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public Builder addRows( - int index, com.google.area120.tables.v1alpha1.Row.Builder builderForValue) { - if (rowsBuilder_ == null) { - ensureRowsIsMutable(); - rows_.add(index, builderForValue.build()); - onChanged(); - } else { - rowsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - * - * - *
-     * The updated rows.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public Builder addAllRows( - java.lang.Iterable values) { - if (rowsBuilder_ == null) { - ensureRowsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rows_); - onChanged(); - } else { - rowsBuilder_.addAllMessages(values); - } - return this; - } - - /** - * - * - *
-     * The updated rows.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public Builder clearRows() { - if (rowsBuilder_ == null) { - rows_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - rowsBuilder_.clear(); - } - return this; - } - - /** - * - * - *
-     * The updated rows.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public Builder removeRows(int index) { - if (rowsBuilder_ == null) { - ensureRowsIsMutable(); - rows_.remove(index); - onChanged(); - } else { - rowsBuilder_.remove(index); - } - return this; - } - - /** - * - * - *
-     * The updated rows.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public com.google.area120.tables.v1alpha1.Row.Builder getRowsBuilder(int index) { - return internalGetRowsFieldBuilder().getBuilder(index); - } - - /** - * - * - *
-     * The updated rows.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public com.google.area120.tables.v1alpha1.RowOrBuilder getRowsOrBuilder(int index) { - if (rowsBuilder_ == null) { - return rows_.get(index); - } else { - return rowsBuilder_.getMessageOrBuilder(index); - } - } - - /** - * - * - *
-     * The updated rows.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public java.util.List - getRowsOrBuilderList() { - if (rowsBuilder_ != null) { - return rowsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(rows_); - } - } - - /** - * - * - *
-     * The updated rows.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public com.google.area120.tables.v1alpha1.Row.Builder addRowsBuilder() { - return internalGetRowsFieldBuilder() - .addBuilder(com.google.area120.tables.v1alpha1.Row.getDefaultInstance()); - } - - /** - * - * - *
-     * The updated rows.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public com.google.area120.tables.v1alpha1.Row.Builder addRowsBuilder(int index) { - return internalGetRowsFieldBuilder() - .addBuilder(index, com.google.area120.tables.v1alpha1.Row.getDefaultInstance()); - } - - /** - * - * - *
-     * The updated rows.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public java.util.List getRowsBuilderList() { - return internalGetRowsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilder< - com.google.area120.tables.v1alpha1.Row, - com.google.area120.tables.v1alpha1.Row.Builder, - com.google.area120.tables.v1alpha1.RowOrBuilder> - internalGetRowsFieldBuilder() { - if (rowsBuilder_ == null) { - rowsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilder< - com.google.area120.tables.v1alpha1.Row, - com.google.area120.tables.v1alpha1.Row.Builder, - com.google.area120.tables.v1alpha1.RowOrBuilder>( - rows_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - rows_ = null; - } - return rowsBuilder_; - } - - // @@protoc_insertion_point(builder_scope:google.area120.tables.v1alpha1.BatchUpdateRowsResponse) - } - - // @@protoc_insertion_point(class_scope:google.area120.tables.v1alpha1.BatchUpdateRowsResponse) - private static final com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse(); - } - - public static com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchUpdateRowsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/BatchUpdateRowsResponseOrBuilder.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/BatchUpdateRowsResponseOrBuilder.java deleted file mode 100644 index 0c199b1ecb92..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/BatchUpdateRowsResponseOrBuilder.java +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -@com.google.protobuf.Generated -public interface BatchUpdateRowsResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.area120.tables.v1alpha1.BatchUpdateRowsResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The updated rows.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - java.util.List getRowsList(); - - /** - * - * - *
-   * The updated rows.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - com.google.area120.tables.v1alpha1.Row getRows(int index); - - /** - * - * - *
-   * The updated rows.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - int getRowsCount(); - - /** - * - * - *
-   * The updated rows.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - java.util.List getRowsOrBuilderList(); - - /** - * - * - *
-   * The updated rows.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - com.google.area120.tables.v1alpha1.RowOrBuilder getRowsOrBuilder(int index); -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ColumnDescription.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ColumnDescription.java deleted file mode 100644 index b192e6fb0c6a..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ColumnDescription.java +++ /dev/null @@ -1,2330 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -/** - * - * - *
- * Details on a column in the table.
- * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.ColumnDescription} - */ -@com.google.protobuf.Generated -public final class ColumnDescription extends com.google.protobuf.GeneratedMessage - implements - // @@protoc_insertion_point(message_implements:google.area120.tables.v1alpha1.ColumnDescription) - ColumnDescriptionOrBuilder { - private static final long serialVersionUID = 0L; - - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 6, - /* suffix= */ "", - "ColumnDescription"); - } - - // Use ColumnDescription.newBuilder() to construct. - private ColumnDescription(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private ColumnDescription() { - name_ = ""; - dataType_ = ""; - id_ = ""; - labels_ = java.util.Collections.emptyList(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_ColumnDescription_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_ColumnDescription_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.ColumnDescription.class, - com.google.area120.tables.v1alpha1.ColumnDescription.Builder.class); - } - - private int bitField0_; - public static final int NAME_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private volatile java.lang.Object name_ = ""; - - /** - * - * - *
-   * column name
-   * 
- * - * string name = 1; - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - - /** - * - * - *
-   * column name
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DATA_TYPE_FIELD_NUMBER = 2; - - @SuppressWarnings("serial") - private volatile java.lang.Object dataType_ = ""; - - /** - * - * - *
-   * Data type of the column
-   * Supported types are auto_id, boolean, boolean_list, creator,
-   * create_timestamp, date, dropdown, location, integer,
-   * integer_list, number, number_list, person, person_list, tags, check_list,
-   * text, text_list, update_timestamp, updater, relationship,
-   * file_attachment_list.
-   * These types directly map to the column types supported on Tables website.
-   * 
- * - * string data_type = 2; - * - * @return The dataType. - */ - @java.lang.Override - public java.lang.String getDataType() { - java.lang.Object ref = dataType_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - dataType_ = s; - return s; - } - } - - /** - * - * - *
-   * Data type of the column
-   * Supported types are auto_id, boolean, boolean_list, creator,
-   * create_timestamp, date, dropdown, location, integer,
-   * integer_list, number, number_list, person, person_list, tags, check_list,
-   * text, text_list, update_timestamp, updater, relationship,
-   * file_attachment_list.
-   * These types directly map to the column types supported on Tables website.
-   * 
- * - * string data_type = 2; - * - * @return The bytes for dataType. - */ - @java.lang.Override - public com.google.protobuf.ByteString getDataTypeBytes() { - java.lang.Object ref = dataType_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - dataType_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ID_FIELD_NUMBER = 3; - - @SuppressWarnings("serial") - private volatile java.lang.Object id_ = ""; - - /** - * - * - *
-   * Internal id for a column.
-   * 
- * - * string id = 3; - * - * @return The id. - */ - @java.lang.Override - public java.lang.String getId() { - java.lang.Object ref = id_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - id_ = s; - return s; - } - } - - /** - * - * - *
-   * Internal id for a column.
-   * 
- * - * string id = 3; - * - * @return The bytes for id. - */ - @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { - java.lang.Object ref = id_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - id_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int LABELS_FIELD_NUMBER = 4; - - @SuppressWarnings("serial") - private java.util.List labels_; - - /** - * - * - *
-   * Optional. Range of labeled values for the column.
-   * Some columns like tags and drop-downs limit the values to a set of
-   * possible values. We return the range of values in such cases to help
-   * clients implement better user data validation.
-   * 
- * - * - * repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - @java.lang.Override - public java.util.List getLabelsList() { - return labels_; - } - - /** - * - * - *
-   * Optional. Range of labeled values for the column.
-   * Some columns like tags and drop-downs limit the values to a set of
-   * possible values. We return the range of values in such cases to help
-   * clients implement better user data validation.
-   * 
- * - * - * repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - @java.lang.Override - public java.util.List - getLabelsOrBuilderList() { - return labels_; - } - - /** - * - * - *
-   * Optional. Range of labeled values for the column.
-   * Some columns like tags and drop-downs limit the values to a set of
-   * possible values. We return the range of values in such cases to help
-   * clients implement better user data validation.
-   * 
- * - * - * repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - @java.lang.Override - public int getLabelsCount() { - return labels_.size(); - } - - /** - * - * - *
-   * Optional. Range of labeled values for the column.
-   * Some columns like tags and drop-downs limit the values to a set of
-   * possible values. We return the range of values in such cases to help
-   * clients implement better user data validation.
-   * 
- * - * - * repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - @java.lang.Override - public com.google.area120.tables.v1alpha1.LabeledItem getLabels(int index) { - return labels_.get(index); - } - - /** - * - * - *
-   * Optional. Range of labeled values for the column.
-   * Some columns like tags and drop-downs limit the values to a set of
-   * possible values. We return the range of values in such cases to help
-   * clients implement better user data validation.
-   * 
- * - * - * repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - @java.lang.Override - public com.google.area120.tables.v1alpha1.LabeledItemOrBuilder getLabelsOrBuilder(int index) { - return labels_.get(index); - } - - public static final int RELATIONSHIP_DETAILS_FIELD_NUMBER = 5; - private com.google.area120.tables.v1alpha1.RelationshipDetails relationshipDetails_; - - /** - * - * - *
-   * Optional. Additional details about a relationship column. Specified when data_type
-   * is relationship.
-   * 
- * - * - * .google.area120.tables.v1alpha1.RelationshipDetails relationship_details = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return Whether the relationshipDetails field is set. - */ - @java.lang.Override - public boolean hasRelationshipDetails() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * - * - *
-   * Optional. Additional details about a relationship column. Specified when data_type
-   * is relationship.
-   * 
- * - * - * .google.area120.tables.v1alpha1.RelationshipDetails relationship_details = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The relationshipDetails. - */ - @java.lang.Override - public com.google.area120.tables.v1alpha1.RelationshipDetails getRelationshipDetails() { - return relationshipDetails_ == null - ? com.google.area120.tables.v1alpha1.RelationshipDetails.getDefaultInstance() - : relationshipDetails_; - } - - /** - * - * - *
-   * Optional. Additional details about a relationship column. Specified when data_type
-   * is relationship.
-   * 
- * - * - * .google.area120.tables.v1alpha1.RelationshipDetails relationship_details = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - @java.lang.Override - public com.google.area120.tables.v1alpha1.RelationshipDetailsOrBuilder - getRelationshipDetailsOrBuilder() { - return relationshipDetails_ == null - ? com.google.area120.tables.v1alpha1.RelationshipDetails.getDefaultInstance() - : relationshipDetails_; - } - - public static final int LOOKUP_DETAILS_FIELD_NUMBER = 6; - private com.google.area120.tables.v1alpha1.LookupDetails lookupDetails_; - - /** - * - * - *
-   * Optional. Indicates that this is a lookup column whose value is derived from the
-   * relationship column specified in the details. Lookup columns can not be
-   * updated directly. To change the value you must update the associated
-   * relationship column.
-   * 
- * - * - * .google.area120.tables.v1alpha1.LookupDetails lookup_details = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return Whether the lookupDetails field is set. - */ - @java.lang.Override - public boolean hasLookupDetails() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * - * - *
-   * Optional. Indicates that this is a lookup column whose value is derived from the
-   * relationship column specified in the details. Lookup columns can not be
-   * updated directly. To change the value you must update the associated
-   * relationship column.
-   * 
- * - * - * .google.area120.tables.v1alpha1.LookupDetails lookup_details = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The lookupDetails. - */ - @java.lang.Override - public com.google.area120.tables.v1alpha1.LookupDetails getLookupDetails() { - return lookupDetails_ == null - ? com.google.area120.tables.v1alpha1.LookupDetails.getDefaultInstance() - : lookupDetails_; - } - - /** - * - * - *
-   * Optional. Indicates that this is a lookup column whose value is derived from the
-   * relationship column specified in the details. Lookup columns can not be
-   * updated directly. To change the value you must update the associated
-   * relationship column.
-   * 
- * - * - * .google.area120.tables.v1alpha1.LookupDetails lookup_details = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - @java.lang.Override - public com.google.area120.tables.v1alpha1.LookupDetailsOrBuilder getLookupDetailsOrBuilder() { - return lookupDetails_ == null - ? com.google.area120.tables.v1alpha1.LookupDetails.getDefaultInstance() - : lookupDetails_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(dataType_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, dataType_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(id_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 3, id_); - } - for (int i = 0; i < labels_.size(); i++) { - output.writeMessage(4, labels_.get(i)); - } - if (((bitField0_ & 0x00000001) != 0)) { - output.writeMessage(5, getRelationshipDetails()); - } - if (((bitField0_ & 0x00000002) != 0)) { - output.writeMessage(6, getLookupDetails()); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(dataType_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, dataType_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(id_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(3, id_); - } - for (int i = 0; i < labels_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, labels_.get(i)); - } - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getRelationshipDetails()); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getLookupDetails()); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.area120.tables.v1alpha1.ColumnDescription)) { - return super.equals(obj); - } - com.google.area120.tables.v1alpha1.ColumnDescription other = - (com.google.area120.tables.v1alpha1.ColumnDescription) obj; - - if (!getName().equals(other.getName())) return false; - if (!getDataType().equals(other.getDataType())) return false; - if (!getId().equals(other.getId())) return false; - if (!getLabelsList().equals(other.getLabelsList())) return false; - if (hasRelationshipDetails() != other.hasRelationshipDetails()) return false; - if (hasRelationshipDetails()) { - if (!getRelationshipDetails().equals(other.getRelationshipDetails())) return false; - } - if (hasLookupDetails() != other.hasLookupDetails()) return false; - if (hasLookupDetails()) { - if (!getLookupDetails().equals(other.getLookupDetails())) return false; - } - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (37 * hash) + DATA_TYPE_FIELD_NUMBER; - hash = (53 * hash) + getDataType().hashCode(); - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - if (getLabelsCount() > 0) { - hash = (37 * hash) + LABELS_FIELD_NUMBER; - hash = (53 * hash) + getLabelsList().hashCode(); - } - if (hasRelationshipDetails()) { - hash = (37 * hash) + RELATIONSHIP_DETAILS_FIELD_NUMBER; - hash = (53 * hash) + getRelationshipDetails().hashCode(); - } - if (hasLookupDetails()) { - hash = (37 * hash) + LOOKUP_DETAILS_FIELD_NUMBER; - hash = (53 * hash) + getLookupDetails().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.area120.tables.v1alpha1.ColumnDescription parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.ColumnDescription parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.ColumnDescription parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.ColumnDescription parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.ColumnDescription parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.ColumnDescription parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.ColumnDescription parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.ColumnDescription parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.ColumnDescription parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.ColumnDescription parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.ColumnDescription parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.ColumnDescription parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.area120.tables.v1alpha1.ColumnDescription prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * - * - *
-   * Details on a column in the table.
-   * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.ColumnDescription} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder - implements - // @@protoc_insertion_point(builder_implements:google.area120.tables.v1alpha1.ColumnDescription) - com.google.area120.tables.v1alpha1.ColumnDescriptionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_ColumnDescription_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_ColumnDescription_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.ColumnDescription.class, - com.google.area120.tables.v1alpha1.ColumnDescription.Builder.class); - } - - // Construct using com.google.area120.tables.v1alpha1.ColumnDescription.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - internalGetLabelsFieldBuilder(); - internalGetRelationshipDetailsFieldBuilder(); - internalGetLookupDetailsFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - name_ = ""; - dataType_ = ""; - id_ = ""; - if (labelsBuilder_ == null) { - labels_ = java.util.Collections.emptyList(); - } else { - labels_ = null; - labelsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000008); - relationshipDetails_ = null; - if (relationshipDetailsBuilder_ != null) { - relationshipDetailsBuilder_.dispose(); - relationshipDetailsBuilder_ = null; - } - lookupDetails_ = null; - if (lookupDetailsBuilder_ != null) { - lookupDetailsBuilder_.dispose(); - lookupDetailsBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_ColumnDescription_descriptor; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.ColumnDescription getDefaultInstanceForType() { - return com.google.area120.tables.v1alpha1.ColumnDescription.getDefaultInstance(); - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.ColumnDescription build() { - com.google.area120.tables.v1alpha1.ColumnDescription result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.ColumnDescription buildPartial() { - com.google.area120.tables.v1alpha1.ColumnDescription result = - new com.google.area120.tables.v1alpha1.ColumnDescription(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields( - com.google.area120.tables.v1alpha1.ColumnDescription result) { - if (labelsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0)) { - labels_ = java.util.Collections.unmodifiableList(labels_); - bitField0_ = (bitField0_ & ~0x00000008); - } - result.labels_ = labels_; - } else { - result.labels_ = labelsBuilder_.build(); - } - } - - private void buildPartial0(com.google.area120.tables.v1alpha1.ColumnDescription result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.name_ = name_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.dataType_ = dataType_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.id_ = id_; - } - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000010) != 0)) { - result.relationshipDetails_ = - relationshipDetailsBuilder_ == null - ? relationshipDetails_ - : relationshipDetailsBuilder_.build(); - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000020) != 0)) { - result.lookupDetails_ = - lookupDetailsBuilder_ == null ? lookupDetails_ : lookupDetailsBuilder_.build(); - to_bitField0_ |= 0x00000002; - } - result.bitField0_ |= to_bitField0_; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.area120.tables.v1alpha1.ColumnDescription) { - return mergeFrom((com.google.area120.tables.v1alpha1.ColumnDescription) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.area120.tables.v1alpha1.ColumnDescription other) { - if (other == com.google.area120.tables.v1alpha1.ColumnDescription.getDefaultInstance()) - return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getDataType().isEmpty()) { - dataType_ = other.dataType_; - bitField0_ |= 0x00000002; - onChanged(); - } - if (!other.getId().isEmpty()) { - id_ = other.id_; - bitField0_ |= 0x00000004; - onChanged(); - } - if (labelsBuilder_ == null) { - if (!other.labels_.isEmpty()) { - if (labels_.isEmpty()) { - labels_ = other.labels_; - bitField0_ = (bitField0_ & ~0x00000008); - } else { - ensureLabelsIsMutable(); - labels_.addAll(other.labels_); - } - onChanged(); - } - } else { - if (!other.labels_.isEmpty()) { - if (labelsBuilder_.isEmpty()) { - labelsBuilder_.dispose(); - labelsBuilder_ = null; - labels_ = other.labels_; - bitField0_ = (bitField0_ & ~0x00000008); - labelsBuilder_ = - com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? internalGetLabelsFieldBuilder() - : null; - } else { - labelsBuilder_.addAllMessages(other.labels_); - } - } - } - if (other.hasRelationshipDetails()) { - mergeRelationshipDetails(other.getRelationshipDetails()); - } - if (other.hasLookupDetails()) { - mergeLookupDetails(other.getLookupDetails()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - dataType_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - id_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - com.google.area120.tables.v1alpha1.LabeledItem m = - input.readMessage( - com.google.area120.tables.v1alpha1.LabeledItem.parser(), extensionRegistry); - if (labelsBuilder_ == null) { - ensureLabelsIsMutable(); - labels_.add(m); - } else { - labelsBuilder_.addMessage(m); - } - break; - } // case 34 - case 42: - { - input.readMessage( - internalGetRelationshipDetailsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - input.readMessage( - internalGetLookupDetailsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object name_ = ""; - - /** - * - * - *
-     * column name
-     * 
- * - * string name = 1; - * - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * - * - *
-     * column name
-     * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * - * - *
-     * column name
-     * 
- * - * string name = 1; - * - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - name_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * - * - *
-     * column name
-     * 
- * - * string name = 1; - * - * @return This builder for chaining. - */ - public Builder clearName() { - name_ = getDefaultInstance().getName(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * - * - *
-     * column name
-     * 
- * - * string name = 1; - * - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - name_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private java.lang.Object dataType_ = ""; - - /** - * - * - *
-     * Data type of the column
-     * Supported types are auto_id, boolean, boolean_list, creator,
-     * create_timestamp, date, dropdown, location, integer,
-     * integer_list, number, number_list, person, person_list, tags, check_list,
-     * text, text_list, update_timestamp, updater, relationship,
-     * file_attachment_list.
-     * These types directly map to the column types supported on Tables website.
-     * 
- * - * string data_type = 2; - * - * @return The dataType. - */ - public java.lang.String getDataType() { - java.lang.Object ref = dataType_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - dataType_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * - * - *
-     * Data type of the column
-     * Supported types are auto_id, boolean, boolean_list, creator,
-     * create_timestamp, date, dropdown, location, integer,
-     * integer_list, number, number_list, person, person_list, tags, check_list,
-     * text, text_list, update_timestamp, updater, relationship,
-     * file_attachment_list.
-     * These types directly map to the column types supported on Tables website.
-     * 
- * - * string data_type = 2; - * - * @return The bytes for dataType. - */ - public com.google.protobuf.ByteString getDataTypeBytes() { - java.lang.Object ref = dataType_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - dataType_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * - * - *
-     * Data type of the column
-     * Supported types are auto_id, boolean, boolean_list, creator,
-     * create_timestamp, date, dropdown, location, integer,
-     * integer_list, number, number_list, person, person_list, tags, check_list,
-     * text, text_list, update_timestamp, updater, relationship,
-     * file_attachment_list.
-     * These types directly map to the column types supported on Tables website.
-     * 
- * - * string data_type = 2; - * - * @param value The dataType to set. - * @return This builder for chaining. - */ - public Builder setDataType(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - dataType_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * - * - *
-     * Data type of the column
-     * Supported types are auto_id, boolean, boolean_list, creator,
-     * create_timestamp, date, dropdown, location, integer,
-     * integer_list, number, number_list, person, person_list, tags, check_list,
-     * text, text_list, update_timestamp, updater, relationship,
-     * file_attachment_list.
-     * These types directly map to the column types supported on Tables website.
-     * 
- * - * string data_type = 2; - * - * @return This builder for chaining. - */ - public Builder clearDataType() { - dataType_ = getDefaultInstance().getDataType(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - - /** - * - * - *
-     * Data type of the column
-     * Supported types are auto_id, boolean, boolean_list, creator,
-     * create_timestamp, date, dropdown, location, integer,
-     * integer_list, number, number_list, person, person_list, tags, check_list,
-     * text, text_list, update_timestamp, updater, relationship,
-     * file_attachment_list.
-     * These types directly map to the column types supported on Tables website.
-     * 
- * - * string data_type = 2; - * - * @param value The bytes for dataType to set. - * @return This builder for chaining. - */ - public Builder setDataTypeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - dataType_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - private java.lang.Object id_ = ""; - - /** - * - * - *
-     * Internal id for a column.
-     * 
- * - * string id = 3; - * - * @return The id. - */ - public java.lang.String getId() { - java.lang.Object ref = id_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - id_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * - * - *
-     * Internal id for a column.
-     * 
- * - * string id = 3; - * - * @return The bytes for id. - */ - public com.google.protobuf.ByteString getIdBytes() { - java.lang.Object ref = id_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - id_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * - * - *
-     * Internal id for a column.
-     * 
- * - * string id = 3; - * - * @param value The id to set. - * @return This builder for chaining. - */ - public Builder setId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - * - * - *
-     * Internal id for a column.
-     * 
- * - * string id = 3; - * - * @return This builder for chaining. - */ - public Builder clearId() { - id_ = getDefaultInstance().getId(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } - - /** - * - * - *
-     * Internal id for a column.
-     * 
- * - * string id = 3; - * - * @param value The bytes for id to set. - * @return This builder for chaining. - */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - id_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - private java.util.List labels_ = - java.util.Collections.emptyList(); - - private void ensureLabelsIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { - labels_ = new java.util.ArrayList(labels_); - bitField0_ |= 0x00000008; - } - } - - private com.google.protobuf.RepeatedFieldBuilder< - com.google.area120.tables.v1alpha1.LabeledItem, - com.google.area120.tables.v1alpha1.LabeledItem.Builder, - com.google.area120.tables.v1alpha1.LabeledItemOrBuilder> - labelsBuilder_; - - /** - * - * - *
-     * Optional. Range of labeled values for the column.
-     * Some columns like tags and drop-downs limit the values to a set of
-     * possible values. We return the range of values in such cases to help
-     * clients implement better user data validation.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public java.util.List getLabelsList() { - if (labelsBuilder_ == null) { - return java.util.Collections.unmodifiableList(labels_); - } else { - return labelsBuilder_.getMessageList(); - } - } - - /** - * - * - *
-     * Optional. Range of labeled values for the column.
-     * Some columns like tags and drop-downs limit the values to a set of
-     * possible values. We return the range of values in such cases to help
-     * clients implement better user data validation.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public int getLabelsCount() { - if (labelsBuilder_ == null) { - return labels_.size(); - } else { - return labelsBuilder_.getCount(); - } - } - - /** - * - * - *
-     * Optional. Range of labeled values for the column.
-     * Some columns like tags and drop-downs limit the values to a set of
-     * possible values. We return the range of values in such cases to help
-     * clients implement better user data validation.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public com.google.area120.tables.v1alpha1.LabeledItem getLabels(int index) { - if (labelsBuilder_ == null) { - return labels_.get(index); - } else { - return labelsBuilder_.getMessage(index); - } - } - - /** - * - * - *
-     * Optional. Range of labeled values for the column.
-     * Some columns like tags and drop-downs limit the values to a set of
-     * possible values. We return the range of values in such cases to help
-     * clients implement better user data validation.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public Builder setLabels(int index, com.google.area120.tables.v1alpha1.LabeledItem value) { - if (labelsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureLabelsIsMutable(); - labels_.set(index, value); - onChanged(); - } else { - labelsBuilder_.setMessage(index, value); - } - return this; - } - - /** - * - * - *
-     * Optional. Range of labeled values for the column.
-     * Some columns like tags and drop-downs limit the values to a set of
-     * possible values. We return the range of values in such cases to help
-     * clients implement better user data validation.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public Builder setLabels( - int index, com.google.area120.tables.v1alpha1.LabeledItem.Builder builderForValue) { - if (labelsBuilder_ == null) { - ensureLabelsIsMutable(); - labels_.set(index, builderForValue.build()); - onChanged(); - } else { - labelsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - * - * - *
-     * Optional. Range of labeled values for the column.
-     * Some columns like tags and drop-downs limit the values to a set of
-     * possible values. We return the range of values in such cases to help
-     * clients implement better user data validation.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public Builder addLabels(com.google.area120.tables.v1alpha1.LabeledItem value) { - if (labelsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureLabelsIsMutable(); - labels_.add(value); - onChanged(); - } else { - labelsBuilder_.addMessage(value); - } - return this; - } - - /** - * - * - *
-     * Optional. Range of labeled values for the column.
-     * Some columns like tags and drop-downs limit the values to a set of
-     * possible values. We return the range of values in such cases to help
-     * clients implement better user data validation.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public Builder addLabels(int index, com.google.area120.tables.v1alpha1.LabeledItem value) { - if (labelsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureLabelsIsMutable(); - labels_.add(index, value); - onChanged(); - } else { - labelsBuilder_.addMessage(index, value); - } - return this; - } - - /** - * - * - *
-     * Optional. Range of labeled values for the column.
-     * Some columns like tags and drop-downs limit the values to a set of
-     * possible values. We return the range of values in such cases to help
-     * clients implement better user data validation.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public Builder addLabels( - com.google.area120.tables.v1alpha1.LabeledItem.Builder builderForValue) { - if (labelsBuilder_ == null) { - ensureLabelsIsMutable(); - labels_.add(builderForValue.build()); - onChanged(); - } else { - labelsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - * - * - *
-     * Optional. Range of labeled values for the column.
-     * Some columns like tags and drop-downs limit the values to a set of
-     * possible values. We return the range of values in such cases to help
-     * clients implement better user data validation.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public Builder addLabels( - int index, com.google.area120.tables.v1alpha1.LabeledItem.Builder builderForValue) { - if (labelsBuilder_ == null) { - ensureLabelsIsMutable(); - labels_.add(index, builderForValue.build()); - onChanged(); - } else { - labelsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - * - * - *
-     * Optional. Range of labeled values for the column.
-     * Some columns like tags and drop-downs limit the values to a set of
-     * possible values. We return the range of values in such cases to help
-     * clients implement better user data validation.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public Builder addAllLabels( - java.lang.Iterable values) { - if (labelsBuilder_ == null) { - ensureLabelsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, labels_); - onChanged(); - } else { - labelsBuilder_.addAllMessages(values); - } - return this; - } - - /** - * - * - *
-     * Optional. Range of labeled values for the column.
-     * Some columns like tags and drop-downs limit the values to a set of
-     * possible values. We return the range of values in such cases to help
-     * clients implement better user data validation.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public Builder clearLabels() { - if (labelsBuilder_ == null) { - labels_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - } else { - labelsBuilder_.clear(); - } - return this; - } - - /** - * - * - *
-     * Optional. Range of labeled values for the column.
-     * Some columns like tags and drop-downs limit the values to a set of
-     * possible values. We return the range of values in such cases to help
-     * clients implement better user data validation.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public Builder removeLabels(int index) { - if (labelsBuilder_ == null) { - ensureLabelsIsMutable(); - labels_.remove(index); - onChanged(); - } else { - labelsBuilder_.remove(index); - } - return this; - } - - /** - * - * - *
-     * Optional. Range of labeled values for the column.
-     * Some columns like tags and drop-downs limit the values to a set of
-     * possible values. We return the range of values in such cases to help
-     * clients implement better user data validation.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public com.google.area120.tables.v1alpha1.LabeledItem.Builder getLabelsBuilder(int index) { - return internalGetLabelsFieldBuilder().getBuilder(index); - } - - /** - * - * - *
-     * Optional. Range of labeled values for the column.
-     * Some columns like tags and drop-downs limit the values to a set of
-     * possible values. We return the range of values in such cases to help
-     * clients implement better user data validation.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public com.google.area120.tables.v1alpha1.LabeledItemOrBuilder getLabelsOrBuilder(int index) { - if (labelsBuilder_ == null) { - return labels_.get(index); - } else { - return labelsBuilder_.getMessageOrBuilder(index); - } - } - - /** - * - * - *
-     * Optional. Range of labeled values for the column.
-     * Some columns like tags and drop-downs limit the values to a set of
-     * possible values. We return the range of values in such cases to help
-     * clients implement better user data validation.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public java.util.List - getLabelsOrBuilderList() { - if (labelsBuilder_ != null) { - return labelsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(labels_); - } - } - - /** - * - * - *
-     * Optional. Range of labeled values for the column.
-     * Some columns like tags and drop-downs limit the values to a set of
-     * possible values. We return the range of values in such cases to help
-     * clients implement better user data validation.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public com.google.area120.tables.v1alpha1.LabeledItem.Builder addLabelsBuilder() { - return internalGetLabelsFieldBuilder() - .addBuilder(com.google.area120.tables.v1alpha1.LabeledItem.getDefaultInstance()); - } - - /** - * - * - *
-     * Optional. Range of labeled values for the column.
-     * Some columns like tags and drop-downs limit the values to a set of
-     * possible values. We return the range of values in such cases to help
-     * clients implement better user data validation.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public com.google.area120.tables.v1alpha1.LabeledItem.Builder addLabelsBuilder(int index) { - return internalGetLabelsFieldBuilder() - .addBuilder(index, com.google.area120.tables.v1alpha1.LabeledItem.getDefaultInstance()); - } - - /** - * - * - *
-     * Optional. Range of labeled values for the column.
-     * Some columns like tags and drop-downs limit the values to a set of
-     * possible values. We return the range of values in such cases to help
-     * clients implement better user data validation.
-     * 
- * - * - * repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public java.util.List - getLabelsBuilderList() { - return internalGetLabelsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilder< - com.google.area120.tables.v1alpha1.LabeledItem, - com.google.area120.tables.v1alpha1.LabeledItem.Builder, - com.google.area120.tables.v1alpha1.LabeledItemOrBuilder> - internalGetLabelsFieldBuilder() { - if (labelsBuilder_ == null) { - labelsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilder< - com.google.area120.tables.v1alpha1.LabeledItem, - com.google.area120.tables.v1alpha1.LabeledItem.Builder, - com.google.area120.tables.v1alpha1.LabeledItemOrBuilder>( - labels_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); - labels_ = null; - } - return labelsBuilder_; - } - - private com.google.area120.tables.v1alpha1.RelationshipDetails relationshipDetails_; - private com.google.protobuf.SingleFieldBuilder< - com.google.area120.tables.v1alpha1.RelationshipDetails, - com.google.area120.tables.v1alpha1.RelationshipDetails.Builder, - com.google.area120.tables.v1alpha1.RelationshipDetailsOrBuilder> - relationshipDetailsBuilder_; - - /** - * - * - *
-     * Optional. Additional details about a relationship column. Specified when data_type
-     * is relationship.
-     * 
- * - * - * .google.area120.tables.v1alpha1.RelationshipDetails relationship_details = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return Whether the relationshipDetails field is set. - */ - public boolean hasRelationshipDetails() { - return ((bitField0_ & 0x00000010) != 0); - } - - /** - * - * - *
-     * Optional. Additional details about a relationship column. Specified when data_type
-     * is relationship.
-     * 
- * - * - * .google.area120.tables.v1alpha1.RelationshipDetails relationship_details = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The relationshipDetails. - */ - public com.google.area120.tables.v1alpha1.RelationshipDetails getRelationshipDetails() { - if (relationshipDetailsBuilder_ == null) { - return relationshipDetails_ == null - ? com.google.area120.tables.v1alpha1.RelationshipDetails.getDefaultInstance() - : relationshipDetails_; - } else { - return relationshipDetailsBuilder_.getMessage(); - } - } - - /** - * - * - *
-     * Optional. Additional details about a relationship column. Specified when data_type
-     * is relationship.
-     * 
- * - * - * .google.area120.tables.v1alpha1.RelationshipDetails relationship_details = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public Builder setRelationshipDetails( - com.google.area120.tables.v1alpha1.RelationshipDetails value) { - if (relationshipDetailsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - relationshipDetails_ = value; - } else { - relationshipDetailsBuilder_.setMessage(value); - } - bitField0_ |= 0x00000010; - onChanged(); - return this; - } - - /** - * - * - *
-     * Optional. Additional details about a relationship column. Specified when data_type
-     * is relationship.
-     * 
- * - * - * .google.area120.tables.v1alpha1.RelationshipDetails relationship_details = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public Builder setRelationshipDetails( - com.google.area120.tables.v1alpha1.RelationshipDetails.Builder builderForValue) { - if (relationshipDetailsBuilder_ == null) { - relationshipDetails_ = builderForValue.build(); - } else { - relationshipDetailsBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000010; - onChanged(); - return this; - } - - /** - * - * - *
-     * Optional. Additional details about a relationship column. Specified when data_type
-     * is relationship.
-     * 
- * - * - * .google.area120.tables.v1alpha1.RelationshipDetails relationship_details = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public Builder mergeRelationshipDetails( - com.google.area120.tables.v1alpha1.RelationshipDetails value) { - if (relationshipDetailsBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && relationshipDetails_ != null - && relationshipDetails_ - != com.google.area120.tables.v1alpha1.RelationshipDetails.getDefaultInstance()) { - getRelationshipDetailsBuilder().mergeFrom(value); - } else { - relationshipDetails_ = value; - } - } else { - relationshipDetailsBuilder_.mergeFrom(value); - } - if (relationshipDetails_ != null) { - bitField0_ |= 0x00000010; - onChanged(); - } - return this; - } - - /** - * - * - *
-     * Optional. Additional details about a relationship column. Specified when data_type
-     * is relationship.
-     * 
- * - * - * .google.area120.tables.v1alpha1.RelationshipDetails relationship_details = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public Builder clearRelationshipDetails() { - bitField0_ = (bitField0_ & ~0x00000010); - relationshipDetails_ = null; - if (relationshipDetailsBuilder_ != null) { - relationshipDetailsBuilder_.dispose(); - relationshipDetailsBuilder_ = null; - } - onChanged(); - return this; - } - - /** - * - * - *
-     * Optional. Additional details about a relationship column. Specified when data_type
-     * is relationship.
-     * 
- * - * - * .google.area120.tables.v1alpha1.RelationshipDetails relationship_details = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public com.google.area120.tables.v1alpha1.RelationshipDetails.Builder - getRelationshipDetailsBuilder() { - bitField0_ |= 0x00000010; - onChanged(); - return internalGetRelationshipDetailsFieldBuilder().getBuilder(); - } - - /** - * - * - *
-     * Optional. Additional details about a relationship column. Specified when data_type
-     * is relationship.
-     * 
- * - * - * .google.area120.tables.v1alpha1.RelationshipDetails relationship_details = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public com.google.area120.tables.v1alpha1.RelationshipDetailsOrBuilder - getRelationshipDetailsOrBuilder() { - if (relationshipDetailsBuilder_ != null) { - return relationshipDetailsBuilder_.getMessageOrBuilder(); - } else { - return relationshipDetails_ == null - ? com.google.area120.tables.v1alpha1.RelationshipDetails.getDefaultInstance() - : relationshipDetails_; - } - } - - /** - * - * - *
-     * Optional. Additional details about a relationship column. Specified when data_type
-     * is relationship.
-     * 
- * - * - * .google.area120.tables.v1alpha1.RelationshipDetails relationship_details = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - private com.google.protobuf.SingleFieldBuilder< - com.google.area120.tables.v1alpha1.RelationshipDetails, - com.google.area120.tables.v1alpha1.RelationshipDetails.Builder, - com.google.area120.tables.v1alpha1.RelationshipDetailsOrBuilder> - internalGetRelationshipDetailsFieldBuilder() { - if (relationshipDetailsBuilder_ == null) { - relationshipDetailsBuilder_ = - new com.google.protobuf.SingleFieldBuilder< - com.google.area120.tables.v1alpha1.RelationshipDetails, - com.google.area120.tables.v1alpha1.RelationshipDetails.Builder, - com.google.area120.tables.v1alpha1.RelationshipDetailsOrBuilder>( - getRelationshipDetails(), getParentForChildren(), isClean()); - relationshipDetails_ = null; - } - return relationshipDetailsBuilder_; - } - - private com.google.area120.tables.v1alpha1.LookupDetails lookupDetails_; - private com.google.protobuf.SingleFieldBuilder< - com.google.area120.tables.v1alpha1.LookupDetails, - com.google.area120.tables.v1alpha1.LookupDetails.Builder, - com.google.area120.tables.v1alpha1.LookupDetailsOrBuilder> - lookupDetailsBuilder_; - - /** - * - * - *
-     * Optional. Indicates that this is a lookup column whose value is derived from the
-     * relationship column specified in the details. Lookup columns can not be
-     * updated directly. To change the value you must update the associated
-     * relationship column.
-     * 
- * - * - * .google.area120.tables.v1alpha1.LookupDetails lookup_details = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return Whether the lookupDetails field is set. - */ - public boolean hasLookupDetails() { - return ((bitField0_ & 0x00000020) != 0); - } - - /** - * - * - *
-     * Optional. Indicates that this is a lookup column whose value is derived from the
-     * relationship column specified in the details. Lookup columns can not be
-     * updated directly. To change the value you must update the associated
-     * relationship column.
-     * 
- * - * - * .google.area120.tables.v1alpha1.LookupDetails lookup_details = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The lookupDetails. - */ - public com.google.area120.tables.v1alpha1.LookupDetails getLookupDetails() { - if (lookupDetailsBuilder_ == null) { - return lookupDetails_ == null - ? com.google.area120.tables.v1alpha1.LookupDetails.getDefaultInstance() - : lookupDetails_; - } else { - return lookupDetailsBuilder_.getMessage(); - } - } - - /** - * - * - *
-     * Optional. Indicates that this is a lookup column whose value is derived from the
-     * relationship column specified in the details. Lookup columns can not be
-     * updated directly. To change the value you must update the associated
-     * relationship column.
-     * 
- * - * - * .google.area120.tables.v1alpha1.LookupDetails lookup_details = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public Builder setLookupDetails(com.google.area120.tables.v1alpha1.LookupDetails value) { - if (lookupDetailsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - lookupDetails_ = value; - } else { - lookupDetailsBuilder_.setMessage(value); - } - bitField0_ |= 0x00000020; - onChanged(); - return this; - } - - /** - * - * - *
-     * Optional. Indicates that this is a lookup column whose value is derived from the
-     * relationship column specified in the details. Lookup columns can not be
-     * updated directly. To change the value you must update the associated
-     * relationship column.
-     * 
- * - * - * .google.area120.tables.v1alpha1.LookupDetails lookup_details = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public Builder setLookupDetails( - com.google.area120.tables.v1alpha1.LookupDetails.Builder builderForValue) { - if (lookupDetailsBuilder_ == null) { - lookupDetails_ = builderForValue.build(); - } else { - lookupDetailsBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000020; - onChanged(); - return this; - } - - /** - * - * - *
-     * Optional. Indicates that this is a lookup column whose value is derived from the
-     * relationship column specified in the details. Lookup columns can not be
-     * updated directly. To change the value you must update the associated
-     * relationship column.
-     * 
- * - * - * .google.area120.tables.v1alpha1.LookupDetails lookup_details = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public Builder mergeLookupDetails(com.google.area120.tables.v1alpha1.LookupDetails value) { - if (lookupDetailsBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && lookupDetails_ != null - && lookupDetails_ - != com.google.area120.tables.v1alpha1.LookupDetails.getDefaultInstance()) { - getLookupDetailsBuilder().mergeFrom(value); - } else { - lookupDetails_ = value; - } - } else { - lookupDetailsBuilder_.mergeFrom(value); - } - if (lookupDetails_ != null) { - bitField0_ |= 0x00000020; - onChanged(); - } - return this; - } - - /** - * - * - *
-     * Optional. Indicates that this is a lookup column whose value is derived from the
-     * relationship column specified in the details. Lookup columns can not be
-     * updated directly. To change the value you must update the associated
-     * relationship column.
-     * 
- * - * - * .google.area120.tables.v1alpha1.LookupDetails lookup_details = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public Builder clearLookupDetails() { - bitField0_ = (bitField0_ & ~0x00000020); - lookupDetails_ = null; - if (lookupDetailsBuilder_ != null) { - lookupDetailsBuilder_.dispose(); - lookupDetailsBuilder_ = null; - } - onChanged(); - return this; - } - - /** - * - * - *
-     * Optional. Indicates that this is a lookup column whose value is derived from the
-     * relationship column specified in the details. Lookup columns can not be
-     * updated directly. To change the value you must update the associated
-     * relationship column.
-     * 
- * - * - * .google.area120.tables.v1alpha1.LookupDetails lookup_details = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public com.google.area120.tables.v1alpha1.LookupDetails.Builder getLookupDetailsBuilder() { - bitField0_ |= 0x00000020; - onChanged(); - return internalGetLookupDetailsFieldBuilder().getBuilder(); - } - - /** - * - * - *
-     * Optional. Indicates that this is a lookup column whose value is derived from the
-     * relationship column specified in the details. Lookup columns can not be
-     * updated directly. To change the value you must update the associated
-     * relationship column.
-     * 
- * - * - * .google.area120.tables.v1alpha1.LookupDetails lookup_details = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public com.google.area120.tables.v1alpha1.LookupDetailsOrBuilder getLookupDetailsOrBuilder() { - if (lookupDetailsBuilder_ != null) { - return lookupDetailsBuilder_.getMessageOrBuilder(); - } else { - return lookupDetails_ == null - ? com.google.area120.tables.v1alpha1.LookupDetails.getDefaultInstance() - : lookupDetails_; - } - } - - /** - * - * - *
-     * Optional. Indicates that this is a lookup column whose value is derived from the
-     * relationship column specified in the details. Lookup columns can not be
-     * updated directly. To change the value you must update the associated
-     * relationship column.
-     * 
- * - * - * .google.area120.tables.v1alpha1.LookupDetails lookup_details = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - private com.google.protobuf.SingleFieldBuilder< - com.google.area120.tables.v1alpha1.LookupDetails, - com.google.area120.tables.v1alpha1.LookupDetails.Builder, - com.google.area120.tables.v1alpha1.LookupDetailsOrBuilder> - internalGetLookupDetailsFieldBuilder() { - if (lookupDetailsBuilder_ == null) { - lookupDetailsBuilder_ = - new com.google.protobuf.SingleFieldBuilder< - com.google.area120.tables.v1alpha1.LookupDetails, - com.google.area120.tables.v1alpha1.LookupDetails.Builder, - com.google.area120.tables.v1alpha1.LookupDetailsOrBuilder>( - getLookupDetails(), getParentForChildren(), isClean()); - lookupDetails_ = null; - } - return lookupDetailsBuilder_; - } - - // @@protoc_insertion_point(builder_scope:google.area120.tables.v1alpha1.ColumnDescription) - } - - // @@protoc_insertion_point(class_scope:google.area120.tables.v1alpha1.ColumnDescription) - private static final com.google.area120.tables.v1alpha1.ColumnDescription DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.area120.tables.v1alpha1.ColumnDescription(); - } - - public static com.google.area120.tables.v1alpha1.ColumnDescription getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ColumnDescription parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.ColumnDescription getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ColumnDescriptionOrBuilder.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ColumnDescriptionOrBuilder.java deleted file mode 100644 index d6edaef8d6df..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ColumnDescriptionOrBuilder.java +++ /dev/null @@ -1,297 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -@com.google.protobuf.Generated -public interface ColumnDescriptionOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.area120.tables.v1alpha1.ColumnDescription) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * column name
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - - /** - * - * - *
-   * column name
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * - * - *
-   * Data type of the column
-   * Supported types are auto_id, boolean, boolean_list, creator,
-   * create_timestamp, date, dropdown, location, integer,
-   * integer_list, number, number_list, person, person_list, tags, check_list,
-   * text, text_list, update_timestamp, updater, relationship,
-   * file_attachment_list.
-   * These types directly map to the column types supported on Tables website.
-   * 
- * - * string data_type = 2; - * - * @return The dataType. - */ - java.lang.String getDataType(); - - /** - * - * - *
-   * Data type of the column
-   * Supported types are auto_id, boolean, boolean_list, creator,
-   * create_timestamp, date, dropdown, location, integer,
-   * integer_list, number, number_list, person, person_list, tags, check_list,
-   * text, text_list, update_timestamp, updater, relationship,
-   * file_attachment_list.
-   * These types directly map to the column types supported on Tables website.
-   * 
- * - * string data_type = 2; - * - * @return The bytes for dataType. - */ - com.google.protobuf.ByteString getDataTypeBytes(); - - /** - * - * - *
-   * Internal id for a column.
-   * 
- * - * string id = 3; - * - * @return The id. - */ - java.lang.String getId(); - - /** - * - * - *
-   * Internal id for a column.
-   * 
- * - * string id = 3; - * - * @return The bytes for id. - */ - com.google.protobuf.ByteString getIdBytes(); - - /** - * - * - *
-   * Optional. Range of labeled values for the column.
-   * Some columns like tags and drop-downs limit the values to a set of
-   * possible values. We return the range of values in such cases to help
-   * clients implement better user data validation.
-   * 
- * - * - * repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - java.util.List getLabelsList(); - - /** - * - * - *
-   * Optional. Range of labeled values for the column.
-   * Some columns like tags and drop-downs limit the values to a set of
-   * possible values. We return the range of values in such cases to help
-   * clients implement better user data validation.
-   * 
- * - * - * repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - com.google.area120.tables.v1alpha1.LabeledItem getLabels(int index); - - /** - * - * - *
-   * Optional. Range of labeled values for the column.
-   * Some columns like tags and drop-downs limit the values to a set of
-   * possible values. We return the range of values in such cases to help
-   * clients implement better user data validation.
-   * 
- * - * - * repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - int getLabelsCount(); - - /** - * - * - *
-   * Optional. Range of labeled values for the column.
-   * Some columns like tags and drop-downs limit the values to a set of
-   * possible values. We return the range of values in such cases to help
-   * clients implement better user data validation.
-   * 
- * - * - * repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - java.util.List - getLabelsOrBuilderList(); - - /** - * - * - *
-   * Optional. Range of labeled values for the column.
-   * Some columns like tags and drop-downs limit the values to a set of
-   * possible values. We return the range of values in such cases to help
-   * clients implement better user data validation.
-   * 
- * - * - * repeated .google.area120.tables.v1alpha1.LabeledItem labels = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - com.google.area120.tables.v1alpha1.LabeledItemOrBuilder getLabelsOrBuilder(int index); - - /** - * - * - *
-   * Optional. Additional details about a relationship column. Specified when data_type
-   * is relationship.
-   * 
- * - * - * .google.area120.tables.v1alpha1.RelationshipDetails relationship_details = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return Whether the relationshipDetails field is set. - */ - boolean hasRelationshipDetails(); - - /** - * - * - *
-   * Optional. Additional details about a relationship column. Specified when data_type
-   * is relationship.
-   * 
- * - * - * .google.area120.tables.v1alpha1.RelationshipDetails relationship_details = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The relationshipDetails. - */ - com.google.area120.tables.v1alpha1.RelationshipDetails getRelationshipDetails(); - - /** - * - * - *
-   * Optional. Additional details about a relationship column. Specified when data_type
-   * is relationship.
-   * 
- * - * - * .google.area120.tables.v1alpha1.RelationshipDetails relationship_details = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - com.google.area120.tables.v1alpha1.RelationshipDetailsOrBuilder getRelationshipDetailsOrBuilder(); - - /** - * - * - *
-   * Optional. Indicates that this is a lookup column whose value is derived from the
-   * relationship column specified in the details. Lookup columns can not be
-   * updated directly. To change the value you must update the associated
-   * relationship column.
-   * 
- * - * - * .google.area120.tables.v1alpha1.LookupDetails lookup_details = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return Whether the lookupDetails field is set. - */ - boolean hasLookupDetails(); - - /** - * - * - *
-   * Optional. Indicates that this is a lookup column whose value is derived from the
-   * relationship column specified in the details. Lookup columns can not be
-   * updated directly. To change the value you must update the associated
-   * relationship column.
-   * 
- * - * - * .google.area120.tables.v1alpha1.LookupDetails lookup_details = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The lookupDetails. - */ - com.google.area120.tables.v1alpha1.LookupDetails getLookupDetails(); - - /** - * - * - *
-   * Optional. Indicates that this is a lookup column whose value is derived from the
-   * relationship column specified in the details. Lookup columns can not be
-   * updated directly. To change the value you must update the associated
-   * relationship column.
-   * 
- * - * - * .google.area120.tables.v1alpha1.LookupDetails lookup_details = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - com.google.area120.tables.v1alpha1.LookupDetailsOrBuilder getLookupDetailsOrBuilder(); -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/CreateRowRequest.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/CreateRowRequest.java deleted file mode 100644 index 94a84f069727..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/CreateRowRequest.java +++ /dev/null @@ -1,1072 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -/** - * - * - *
- * Request message for TablesService.CreateRow.
- * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.CreateRowRequest} - */ -@com.google.protobuf.Generated -public final class CreateRowRequest extends com.google.protobuf.GeneratedMessage - implements - // @@protoc_insertion_point(message_implements:google.area120.tables.v1alpha1.CreateRowRequest) - CreateRowRequestOrBuilder { - private static final long serialVersionUID = 0L; - - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 6, - /* suffix= */ "", - "CreateRowRequest"); - } - - // Use CreateRowRequest.newBuilder() to construct. - private CreateRowRequest(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private CreateRowRequest() { - parent_ = ""; - view_ = 0; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_CreateRowRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_CreateRowRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.CreateRowRequest.class, - com.google.area120.tables.v1alpha1.CreateRowRequest.Builder.class); - } - - private int bitField0_; - public static final int PARENT_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private volatile java.lang.Object parent_ = ""; - - /** - * - * - *
-   * Required. The parent table where this row will be created.
-   * Format: tables/{table}
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The parent. - */ - @java.lang.Override - public java.lang.String getParent() { - java.lang.Object ref = parent_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - parent_ = s; - return s; - } - } - - /** - * - * - *
-   * Required. The parent table where this row will be created.
-   * Format: tables/{table}
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for parent. - */ - @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { - java.lang.Object ref = parent_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - parent_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ROW_FIELD_NUMBER = 2; - private com.google.area120.tables.v1alpha1.Row row_; - - /** - * - * - *
-   * Required. The row to create.
-   * 
- * - * .google.area120.tables.v1alpha1.Row row = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the row field is set. - */ - @java.lang.Override - public boolean hasRow() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * - * - *
-   * Required. The row to create.
-   * 
- * - * .google.area120.tables.v1alpha1.Row row = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The row. - */ - @java.lang.Override - public com.google.area120.tables.v1alpha1.Row getRow() { - return row_ == null ? com.google.area120.tables.v1alpha1.Row.getDefaultInstance() : row_; - } - - /** - * - * - *
-   * Required. The row to create.
-   * 
- * - * .google.area120.tables.v1alpha1.Row row = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - @java.lang.Override - public com.google.area120.tables.v1alpha1.RowOrBuilder getRowOrBuilder() { - return row_ == null ? com.google.area120.tables.v1alpha1.Row.getDefaultInstance() : row_; - } - - public static final int VIEW_FIELD_NUMBER = 3; - private int view_ = 0; - - /** - * - * - *
-   * Optional. Column key to use for values in the row.
-   * Defaults to user entered name.
-   * 
- * - * .google.area120.tables.v1alpha1.View view = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The enum numeric value on the wire for view. - */ - @java.lang.Override - public int getViewValue() { - return view_; - } - - /** - * - * - *
-   * Optional. Column key to use for values in the row.
-   * Defaults to user entered name.
-   * 
- * - * .google.area120.tables.v1alpha1.View view = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The view. - */ - @java.lang.Override - public com.google.area120.tables.v1alpha1.View getView() { - com.google.area120.tables.v1alpha1.View result = - com.google.area120.tables.v1alpha1.View.forNumber(view_); - return result == null ? com.google.area120.tables.v1alpha1.View.UNRECOGNIZED : result; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_); - } - if (((bitField0_ & 0x00000001) != 0)) { - output.writeMessage(2, getRow()); - } - if (view_ != com.google.area120.tables.v1alpha1.View.VIEW_UNSPECIFIED.getNumber()) { - output.writeEnum(3, view_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_); - } - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRow()); - } - if (view_ != com.google.area120.tables.v1alpha1.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, view_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.area120.tables.v1alpha1.CreateRowRequest)) { - return super.equals(obj); - } - com.google.area120.tables.v1alpha1.CreateRowRequest other = - (com.google.area120.tables.v1alpha1.CreateRowRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (hasRow() != other.hasRow()) return false; - if (hasRow()) { - if (!getRow().equals(other.getRow())) return false; - } - if (view_ != other.view_) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PARENT_FIELD_NUMBER; - hash = (53 * hash) + getParent().hashCode(); - if (hasRow()) { - hash = (37 * hash) + ROW_FIELD_NUMBER; - hash = (53 * hash) + getRow().hashCode(); - } - hash = (37 * hash) + VIEW_FIELD_NUMBER; - hash = (53 * hash) + view_; - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.area120.tables.v1alpha1.CreateRowRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.CreateRowRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.CreateRowRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.CreateRowRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.CreateRowRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.CreateRowRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.CreateRowRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.CreateRowRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.CreateRowRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.CreateRowRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.CreateRowRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.CreateRowRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.area120.tables.v1alpha1.CreateRowRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * - * - *
-   * Request message for TablesService.CreateRow.
-   * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.CreateRowRequest} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder - implements - // @@protoc_insertion_point(builder_implements:google.area120.tables.v1alpha1.CreateRowRequest) - com.google.area120.tables.v1alpha1.CreateRowRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_CreateRowRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_CreateRowRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.CreateRowRequest.class, - com.google.area120.tables.v1alpha1.CreateRowRequest.Builder.class); - } - - // Construct using com.google.area120.tables.v1alpha1.CreateRowRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - internalGetRowFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - parent_ = ""; - row_ = null; - if (rowBuilder_ != null) { - rowBuilder_.dispose(); - rowBuilder_ = null; - } - view_ = 0; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_CreateRowRequest_descriptor; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.CreateRowRequest getDefaultInstanceForType() { - return com.google.area120.tables.v1alpha1.CreateRowRequest.getDefaultInstance(); - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.CreateRowRequest build() { - com.google.area120.tables.v1alpha1.CreateRowRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.CreateRowRequest buildPartial() { - com.google.area120.tables.v1alpha1.CreateRowRequest result = - new com.google.area120.tables.v1alpha1.CreateRowRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.google.area120.tables.v1alpha1.CreateRowRequest result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.parent_ = parent_; - } - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000002) != 0)) { - result.row_ = rowBuilder_ == null ? row_ : rowBuilder_.build(); - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.view_ = view_; - } - result.bitField0_ |= to_bitField0_; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.area120.tables.v1alpha1.CreateRowRequest) { - return mergeFrom((com.google.area120.tables.v1alpha1.CreateRowRequest) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.area120.tables.v1alpha1.CreateRowRequest other) { - if (other == com.google.area120.tables.v1alpha1.CreateRowRequest.getDefaultInstance()) - return this; - if (!other.getParent().isEmpty()) { - parent_ = other.parent_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (other.hasRow()) { - mergeRow(other.getRow()); - } - if (other.view_ != 0) { - setViewValue(other.getViewValue()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(internalGetRowFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - view_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object parent_ = ""; - - /** - * - * - *
-     * Required. The parent table where this row will be created.
-     * Format: tables/{table}
-     * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The parent. - */ - public java.lang.String getParent() { - java.lang.Object ref = parent_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - parent_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * - * - *
-     * Required. The parent table where this row will be created.
-     * Format: tables/{table}
-     * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for parent. - */ - public com.google.protobuf.ByteString getParentBytes() { - java.lang.Object ref = parent_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - parent_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * - * - *
-     * Required. The parent table where this row will be created.
-     * Format: tables/{table}
-     * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The parent to set. - * @return This builder for chaining. - */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - parent_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * - * - *
-     * Required. The parent table where this row will be created.
-     * Format: tables/{table}
-     * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return This builder for chaining. - */ - public Builder clearParent() { - parent_ = getDefaultInstance().getParent(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * - * - *
-     * Required. The parent table where this row will be created.
-     * Format: tables/{table}
-     * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The bytes for parent to set. - * @return This builder for chaining. - */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - parent_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private com.google.area120.tables.v1alpha1.Row row_; - private com.google.protobuf.SingleFieldBuilder< - com.google.area120.tables.v1alpha1.Row, - com.google.area120.tables.v1alpha1.Row.Builder, - com.google.area120.tables.v1alpha1.RowOrBuilder> - rowBuilder_; - - /** - * - * - *
-     * Required. The row to create.
-     * 
- * - * .google.area120.tables.v1alpha1.Row row = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the row field is set. - */ - public boolean hasRow() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * - * - *
-     * Required. The row to create.
-     * 
- * - * .google.area120.tables.v1alpha1.Row row = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The row. - */ - public com.google.area120.tables.v1alpha1.Row getRow() { - if (rowBuilder_ == null) { - return row_ == null ? com.google.area120.tables.v1alpha1.Row.getDefaultInstance() : row_; - } else { - return rowBuilder_.getMessage(); - } - } - - /** - * - * - *
-     * Required. The row to create.
-     * 
- * - * .google.area120.tables.v1alpha1.Row row = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder setRow(com.google.area120.tables.v1alpha1.Row value) { - if (rowBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - row_ = value; - } else { - rowBuilder_.setMessage(value); - } - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * - * - *
-     * Required. The row to create.
-     * 
- * - * .google.area120.tables.v1alpha1.Row row = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder setRow(com.google.area120.tables.v1alpha1.Row.Builder builderForValue) { - if (rowBuilder_ == null) { - row_ = builderForValue.build(); - } else { - rowBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * - * - *
-     * Required. The row to create.
-     * 
- * - * .google.area120.tables.v1alpha1.Row row = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder mergeRow(com.google.area120.tables.v1alpha1.Row value) { - if (rowBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && row_ != null - && row_ != com.google.area120.tables.v1alpha1.Row.getDefaultInstance()) { - getRowBuilder().mergeFrom(value); - } else { - row_ = value; - } - } else { - rowBuilder_.mergeFrom(value); - } - if (row_ != null) { - bitField0_ |= 0x00000002; - onChanged(); - } - return this; - } - - /** - * - * - *
-     * Required. The row to create.
-     * 
- * - * .google.area120.tables.v1alpha1.Row row = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder clearRow() { - bitField0_ = (bitField0_ & ~0x00000002); - row_ = null; - if (rowBuilder_ != null) { - rowBuilder_.dispose(); - rowBuilder_ = null; - } - onChanged(); - return this; - } - - /** - * - * - *
-     * Required. The row to create.
-     * 
- * - * .google.area120.tables.v1alpha1.Row row = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.area120.tables.v1alpha1.Row.Builder getRowBuilder() { - bitField0_ |= 0x00000002; - onChanged(); - return internalGetRowFieldBuilder().getBuilder(); - } - - /** - * - * - *
-     * Required. The row to create.
-     * 
- * - * .google.area120.tables.v1alpha1.Row row = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.area120.tables.v1alpha1.RowOrBuilder getRowOrBuilder() { - if (rowBuilder_ != null) { - return rowBuilder_.getMessageOrBuilder(); - } else { - return row_ == null ? com.google.area120.tables.v1alpha1.Row.getDefaultInstance() : row_; - } - } - - /** - * - * - *
-     * Required. The row to create.
-     * 
- * - * .google.area120.tables.v1alpha1.Row row = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - private com.google.protobuf.SingleFieldBuilder< - com.google.area120.tables.v1alpha1.Row, - com.google.area120.tables.v1alpha1.Row.Builder, - com.google.area120.tables.v1alpha1.RowOrBuilder> - internalGetRowFieldBuilder() { - if (rowBuilder_ == null) { - rowBuilder_ = - new com.google.protobuf.SingleFieldBuilder< - com.google.area120.tables.v1alpha1.Row, - com.google.area120.tables.v1alpha1.Row.Builder, - com.google.area120.tables.v1alpha1.RowOrBuilder>( - getRow(), getParentForChildren(), isClean()); - row_ = null; - } - return rowBuilder_; - } - - private int view_ = 0; - - /** - * - * - *
-     * Optional. Column key to use for values in the row.
-     * Defaults to user entered name.
-     * 
- * - * - * .google.area120.tables.v1alpha1.View view = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The enum numeric value on the wire for view. - */ - @java.lang.Override - public int getViewValue() { - return view_; - } - - /** - * - * - *
-     * Optional. Column key to use for values in the row.
-     * Defaults to user entered name.
-     * 
- * - * - * .google.area120.tables.v1alpha1.View view = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @param value The enum numeric value on the wire for view to set. - * @return This builder for chaining. - */ - public Builder setViewValue(int value) { - view_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - * - * - *
-     * Optional. Column key to use for values in the row.
-     * Defaults to user entered name.
-     * 
- * - * - * .google.area120.tables.v1alpha1.View view = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The view. - */ - @java.lang.Override - public com.google.area120.tables.v1alpha1.View getView() { - com.google.area120.tables.v1alpha1.View result = - com.google.area120.tables.v1alpha1.View.forNumber(view_); - return result == null ? com.google.area120.tables.v1alpha1.View.UNRECOGNIZED : result; - } - - /** - * - * - *
-     * Optional. Column key to use for values in the row.
-     * Defaults to user entered name.
-     * 
- * - * - * .google.area120.tables.v1alpha1.View view = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @param value The view to set. - * @return This builder for chaining. - */ - public Builder setView(com.google.area120.tables.v1alpha1.View value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - view_ = value.getNumber(); - onChanged(); - return this; - } - - /** - * - * - *
-     * Optional. Column key to use for values in the row.
-     * Defaults to user entered name.
-     * 
- * - * - * .google.area120.tables.v1alpha1.View view = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return This builder for chaining. - */ - public Builder clearView() { - bitField0_ = (bitField0_ & ~0x00000004); - view_ = 0; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:google.area120.tables.v1alpha1.CreateRowRequest) - } - - // @@protoc_insertion_point(class_scope:google.area120.tables.v1alpha1.CreateRowRequest) - private static final com.google.area120.tables.v1alpha1.CreateRowRequest DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.area120.tables.v1alpha1.CreateRowRequest(); - } - - public static com.google.area120.tables.v1alpha1.CreateRowRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateRowRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.CreateRowRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/CreateRowRequestOrBuilder.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/CreateRowRequestOrBuilder.java deleted file mode 100644 index 2cc234c7bcb7..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/CreateRowRequestOrBuilder.java +++ /dev/null @@ -1,126 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -@com.google.protobuf.Generated -public interface CreateRowRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.area120.tables.v1alpha1.CreateRowRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The parent table where this row will be created.
-   * Format: tables/{table}
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The parent. - */ - java.lang.String getParent(); - - /** - * - * - *
-   * Required. The parent table where this row will be created.
-   * Format: tables/{table}
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); - - /** - * - * - *
-   * Required. The row to create.
-   * 
- * - * .google.area120.tables.v1alpha1.Row row = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the row field is set. - */ - boolean hasRow(); - - /** - * - * - *
-   * Required. The row to create.
-   * 
- * - * .google.area120.tables.v1alpha1.Row row = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The row. - */ - com.google.area120.tables.v1alpha1.Row getRow(); - - /** - * - * - *
-   * Required. The row to create.
-   * 
- * - * .google.area120.tables.v1alpha1.Row row = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.area120.tables.v1alpha1.RowOrBuilder getRowOrBuilder(); - - /** - * - * - *
-   * Optional. Column key to use for values in the row.
-   * Defaults to user entered name.
-   * 
- * - * .google.area120.tables.v1alpha1.View view = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The enum numeric value on the wire for view. - */ - int getViewValue(); - - /** - * - * - *
-   * Optional. Column key to use for values in the row.
-   * Defaults to user entered name.
-   * 
- * - * .google.area120.tables.v1alpha1.View view = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The view. - */ - com.google.area120.tables.v1alpha1.View getView(); -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/DeleteRowRequest.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/DeleteRowRequest.java deleted file mode 100644 index 9bbeed7f5a19..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/DeleteRowRequest.java +++ /dev/null @@ -1,617 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -/** - * - * - *
- * Request message for TablesService.DeleteRow
- * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.DeleteRowRequest} - */ -@com.google.protobuf.Generated -public final class DeleteRowRequest extends com.google.protobuf.GeneratedMessage - implements - // @@protoc_insertion_point(message_implements:google.area120.tables.v1alpha1.DeleteRowRequest) - DeleteRowRequestOrBuilder { - private static final long serialVersionUID = 0L; - - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 6, - /* suffix= */ "", - "DeleteRowRequest"); - } - - // Use DeleteRowRequest.newBuilder() to construct. - private DeleteRowRequest(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private DeleteRowRequest() { - name_ = ""; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_DeleteRowRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_DeleteRowRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.DeleteRowRequest.class, - com.google.area120.tables.v1alpha1.DeleteRowRequest.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private volatile java.lang.Object name_ = ""; - - /** - * - * - *
-   * Required. The name of the row to delete.
-   * Format: tables/{table}/rows/{row}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - - /** - * - * - *
-   * Required. The name of the row to delete.
-   * Format: tables/{table}/rows/{row}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.area120.tables.v1alpha1.DeleteRowRequest)) { - return super.equals(obj); - } - com.google.area120.tables.v1alpha1.DeleteRowRequest other = - (com.google.area120.tables.v1alpha1.DeleteRowRequest) obj; - - if (!getName().equals(other.getName())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.area120.tables.v1alpha1.DeleteRowRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.DeleteRowRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.DeleteRowRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.DeleteRowRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.DeleteRowRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.DeleteRowRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.DeleteRowRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.DeleteRowRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.DeleteRowRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.DeleteRowRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.DeleteRowRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.DeleteRowRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.area120.tables.v1alpha1.DeleteRowRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * - * - *
-   * Request message for TablesService.DeleteRow
-   * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.DeleteRowRequest} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder - implements - // @@protoc_insertion_point(builder_implements:google.area120.tables.v1alpha1.DeleteRowRequest) - com.google.area120.tables.v1alpha1.DeleteRowRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_DeleteRowRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_DeleteRowRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.DeleteRowRequest.class, - com.google.area120.tables.v1alpha1.DeleteRowRequest.Builder.class); - } - - // Construct using com.google.area120.tables.v1alpha1.DeleteRowRequest.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - name_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_DeleteRowRequest_descriptor; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.DeleteRowRequest getDefaultInstanceForType() { - return com.google.area120.tables.v1alpha1.DeleteRowRequest.getDefaultInstance(); - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.DeleteRowRequest build() { - com.google.area120.tables.v1alpha1.DeleteRowRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.DeleteRowRequest buildPartial() { - com.google.area120.tables.v1alpha1.DeleteRowRequest result = - new com.google.area120.tables.v1alpha1.DeleteRowRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.google.area120.tables.v1alpha1.DeleteRowRequest result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.name_ = name_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.area120.tables.v1alpha1.DeleteRowRequest) { - return mergeFrom((com.google.area120.tables.v1alpha1.DeleteRowRequest) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.area120.tables.v1alpha1.DeleteRowRequest other) { - if (other == com.google.area120.tables.v1alpha1.DeleteRowRequest.getDefaultInstance()) - return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - bitField0_ |= 0x00000001; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object name_ = ""; - - /** - * - * - *
-     * Required. The name of the row to delete.
-     * Format: tables/{table}/rows/{row}
-     * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * - * - *
-     * Required. The name of the row to delete.
-     * Format: tables/{table}/rows/{row}
-     * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * - * - *
-     * Required. The name of the row to delete.
-     * Format: tables/{table}/rows/{row}
-     * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - name_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * - * - *
-     * Required. The name of the row to delete.
-     * Format: tables/{table}/rows/{row}
-     * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return This builder for chaining. - */ - public Builder clearName() { - name_ = getDefaultInstance().getName(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * - * - *
-     * Required. The name of the row to delete.
-     * Format: tables/{table}/rows/{row}
-     * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - name_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:google.area120.tables.v1alpha1.DeleteRowRequest) - } - - // @@protoc_insertion_point(class_scope:google.area120.tables.v1alpha1.DeleteRowRequest) - private static final com.google.area120.tables.v1alpha1.DeleteRowRequest DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.area120.tables.v1alpha1.DeleteRowRequest(); - } - - public static com.google.area120.tables.v1alpha1.DeleteRowRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteRowRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.DeleteRowRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/DeleteRowRequestOrBuilder.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/DeleteRowRequestOrBuilder.java deleted file mode 100644 index 31832ac08915..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/DeleteRowRequestOrBuilder.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -@com.google.protobuf.Generated -public interface DeleteRowRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.area120.tables.v1alpha1.DeleteRowRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the row to delete.
-   * Format: tables/{table}/rows/{row}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - - /** - * - * - *
-   * Required. The name of the row to delete.
-   * Format: tables/{table}/rows/{row}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/GetRowRequest.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/GetRowRequest.java deleted file mode 100644 index 592bdb0340f5..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/GetRowRequest.java +++ /dev/null @@ -1,791 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -/** - * - * - *
- * Request message for TablesService.GetRow.
- * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.GetRowRequest} - */ -@com.google.protobuf.Generated -public final class GetRowRequest extends com.google.protobuf.GeneratedMessage - implements - // @@protoc_insertion_point(message_implements:google.area120.tables.v1alpha1.GetRowRequest) - GetRowRequestOrBuilder { - private static final long serialVersionUID = 0L; - - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 6, - /* suffix= */ "", - "GetRowRequest"); - } - - // Use GetRowRequest.newBuilder() to construct. - private GetRowRequest(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private GetRowRequest() { - name_ = ""; - view_ = 0; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_GetRowRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_GetRowRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.GetRowRequest.class, - com.google.area120.tables.v1alpha1.GetRowRequest.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private volatile java.lang.Object name_ = ""; - - /** - * - * - *
-   * Required. The name of the row to retrieve.
-   * Format: tables/{table}/rows/{row}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - - /** - * - * - *
-   * Required. The name of the row to retrieve.
-   * Format: tables/{table}/rows/{row}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int VIEW_FIELD_NUMBER = 2; - private int view_ = 0; - - /** - * - * - *
-   * Optional. Column key to use for values in the row.
-   * Defaults to user entered name.
-   * 
- * - * .google.area120.tables.v1alpha1.View view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The enum numeric value on the wire for view. - */ - @java.lang.Override - public int getViewValue() { - return view_; - } - - /** - * - * - *
-   * Optional. Column key to use for values in the row.
-   * Defaults to user entered name.
-   * 
- * - * .google.area120.tables.v1alpha1.View view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The view. - */ - @java.lang.Override - public com.google.area120.tables.v1alpha1.View getView() { - com.google.area120.tables.v1alpha1.View result = - com.google.area120.tables.v1alpha1.View.forNumber(view_); - return result == null ? com.google.area120.tables.v1alpha1.View.UNRECOGNIZED : result; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); - } - if (view_ != com.google.area120.tables.v1alpha1.View.VIEW_UNSPECIFIED.getNumber()) { - output.writeEnum(2, view_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); - } - if (view_ != com.google.area120.tables.v1alpha1.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.area120.tables.v1alpha1.GetRowRequest)) { - return super.equals(obj); - } - com.google.area120.tables.v1alpha1.GetRowRequest other = - (com.google.area120.tables.v1alpha1.GetRowRequest) obj; - - if (!getName().equals(other.getName())) return false; - if (view_ != other.view_) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (37 * hash) + VIEW_FIELD_NUMBER; - hash = (53 * hash) + view_; - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.area120.tables.v1alpha1.GetRowRequest parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.GetRowRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.GetRowRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.GetRowRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.GetRowRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.GetRowRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.GetRowRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.GetRowRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.GetRowRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.GetRowRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.GetRowRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.GetRowRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.area120.tables.v1alpha1.GetRowRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * - * - *
-   * Request message for TablesService.GetRow.
-   * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.GetRowRequest} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder - implements - // @@protoc_insertion_point(builder_implements:google.area120.tables.v1alpha1.GetRowRequest) - com.google.area120.tables.v1alpha1.GetRowRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_GetRowRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_GetRowRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.GetRowRequest.class, - com.google.area120.tables.v1alpha1.GetRowRequest.Builder.class); - } - - // Construct using com.google.area120.tables.v1alpha1.GetRowRequest.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - name_ = ""; - view_ = 0; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_GetRowRequest_descriptor; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.GetRowRequest getDefaultInstanceForType() { - return com.google.area120.tables.v1alpha1.GetRowRequest.getDefaultInstance(); - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.GetRowRequest build() { - com.google.area120.tables.v1alpha1.GetRowRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.GetRowRequest buildPartial() { - com.google.area120.tables.v1alpha1.GetRowRequest result = - new com.google.area120.tables.v1alpha1.GetRowRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.google.area120.tables.v1alpha1.GetRowRequest result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.name_ = name_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.view_ = view_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.area120.tables.v1alpha1.GetRowRequest) { - return mergeFrom((com.google.area120.tables.v1alpha1.GetRowRequest) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.area120.tables.v1alpha1.GetRowRequest other) { - if (other == com.google.area120.tables.v1alpha1.GetRowRequest.getDefaultInstance()) - return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (other.view_ != 0) { - setViewValue(other.getViewValue()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - view_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object name_ = ""; - - /** - * - * - *
-     * Required. The name of the row to retrieve.
-     * Format: tables/{table}/rows/{row}
-     * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * - * - *
-     * Required. The name of the row to retrieve.
-     * Format: tables/{table}/rows/{row}
-     * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * - * - *
-     * Required. The name of the row to retrieve.
-     * Format: tables/{table}/rows/{row}
-     * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - name_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * - * - *
-     * Required. The name of the row to retrieve.
-     * Format: tables/{table}/rows/{row}
-     * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return This builder for chaining. - */ - public Builder clearName() { - name_ = getDefaultInstance().getName(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * - * - *
-     * Required. The name of the row to retrieve.
-     * Format: tables/{table}/rows/{row}
-     * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - name_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private int view_ = 0; - - /** - * - * - *
-     * Optional. Column key to use for values in the row.
-     * Defaults to user entered name.
-     * 
- * - * - * .google.area120.tables.v1alpha1.View view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The enum numeric value on the wire for view. - */ - @java.lang.Override - public int getViewValue() { - return view_; - } - - /** - * - * - *
-     * Optional. Column key to use for values in the row.
-     * Defaults to user entered name.
-     * 
- * - * - * .google.area120.tables.v1alpha1.View view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @param value The enum numeric value on the wire for view to set. - * @return This builder for chaining. - */ - public Builder setViewValue(int value) { - view_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * - * - *
-     * Optional. Column key to use for values in the row.
-     * Defaults to user entered name.
-     * 
- * - * - * .google.area120.tables.v1alpha1.View view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The view. - */ - @java.lang.Override - public com.google.area120.tables.v1alpha1.View getView() { - com.google.area120.tables.v1alpha1.View result = - com.google.area120.tables.v1alpha1.View.forNumber(view_); - return result == null ? com.google.area120.tables.v1alpha1.View.UNRECOGNIZED : result; - } - - /** - * - * - *
-     * Optional. Column key to use for values in the row.
-     * Defaults to user entered name.
-     * 
- * - * - * .google.area120.tables.v1alpha1.View view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @param value The view to set. - * @return This builder for chaining. - */ - public Builder setView(com.google.area120.tables.v1alpha1.View value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - view_ = value.getNumber(); - onChanged(); - return this; - } - - /** - * - * - *
-     * Optional. Column key to use for values in the row.
-     * Defaults to user entered name.
-     * 
- * - * - * .google.area120.tables.v1alpha1.View view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return This builder for chaining. - */ - public Builder clearView() { - bitField0_ = (bitField0_ & ~0x00000002); - view_ = 0; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:google.area120.tables.v1alpha1.GetRowRequest) - } - - // @@protoc_insertion_point(class_scope:google.area120.tables.v1alpha1.GetRowRequest) - private static final com.google.area120.tables.v1alpha1.GetRowRequest DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.area120.tables.v1alpha1.GetRowRequest(); - } - - public static com.google.area120.tables.v1alpha1.GetRowRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetRowRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.GetRowRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/GetRowRequestOrBuilder.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/GetRowRequestOrBuilder.java deleted file mode 100644 index 098a9a4c5a95..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/GetRowRequestOrBuilder.java +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -@com.google.protobuf.Generated -public interface GetRowRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.area120.tables.v1alpha1.GetRowRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the row to retrieve.
-   * Format: tables/{table}/rows/{row}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - - /** - * - * - *
-   * Required. The name of the row to retrieve.
-   * Format: tables/{table}/rows/{row}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * - * - *
-   * Optional. Column key to use for values in the row.
-   * Defaults to user entered name.
-   * 
- * - * .google.area120.tables.v1alpha1.View view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The enum numeric value on the wire for view. - */ - int getViewValue(); - - /** - * - * - *
-   * Optional. Column key to use for values in the row.
-   * Defaults to user entered name.
-   * 
- * - * .google.area120.tables.v1alpha1.View view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The view. - */ - com.google.area120.tables.v1alpha1.View getView(); -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/GetTableRequest.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/GetTableRequest.java deleted file mode 100644 index 5eda2fa083a1..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/GetTableRequest.java +++ /dev/null @@ -1,617 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -/** - * - * - *
- * Request message for TablesService.GetTable.
- * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.GetTableRequest} - */ -@com.google.protobuf.Generated -public final class GetTableRequest extends com.google.protobuf.GeneratedMessage - implements - // @@protoc_insertion_point(message_implements:google.area120.tables.v1alpha1.GetTableRequest) - GetTableRequestOrBuilder { - private static final long serialVersionUID = 0L; - - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 6, - /* suffix= */ "", - "GetTableRequest"); - } - - // Use GetTableRequest.newBuilder() to construct. - private GetTableRequest(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private GetTableRequest() { - name_ = ""; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_GetTableRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_GetTableRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.GetTableRequest.class, - com.google.area120.tables.v1alpha1.GetTableRequest.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private volatile java.lang.Object name_ = ""; - - /** - * - * - *
-   * Required. The name of the table to retrieve.
-   * Format: tables/{table}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - - /** - * - * - *
-   * Required. The name of the table to retrieve.
-   * Format: tables/{table}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.area120.tables.v1alpha1.GetTableRequest)) { - return super.equals(obj); - } - com.google.area120.tables.v1alpha1.GetTableRequest other = - (com.google.area120.tables.v1alpha1.GetTableRequest) obj; - - if (!getName().equals(other.getName())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.area120.tables.v1alpha1.GetTableRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.GetTableRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.GetTableRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.GetTableRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.GetTableRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.GetTableRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.GetTableRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.GetTableRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.GetTableRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.GetTableRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.GetTableRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.GetTableRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.area120.tables.v1alpha1.GetTableRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * - * - *
-   * Request message for TablesService.GetTable.
-   * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.GetTableRequest} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder - implements - // @@protoc_insertion_point(builder_implements:google.area120.tables.v1alpha1.GetTableRequest) - com.google.area120.tables.v1alpha1.GetTableRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_GetTableRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_GetTableRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.GetTableRequest.class, - com.google.area120.tables.v1alpha1.GetTableRequest.Builder.class); - } - - // Construct using com.google.area120.tables.v1alpha1.GetTableRequest.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - name_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_GetTableRequest_descriptor; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.GetTableRequest getDefaultInstanceForType() { - return com.google.area120.tables.v1alpha1.GetTableRequest.getDefaultInstance(); - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.GetTableRequest build() { - com.google.area120.tables.v1alpha1.GetTableRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.GetTableRequest buildPartial() { - com.google.area120.tables.v1alpha1.GetTableRequest result = - new com.google.area120.tables.v1alpha1.GetTableRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.google.area120.tables.v1alpha1.GetTableRequest result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.name_ = name_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.area120.tables.v1alpha1.GetTableRequest) { - return mergeFrom((com.google.area120.tables.v1alpha1.GetTableRequest) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.area120.tables.v1alpha1.GetTableRequest other) { - if (other == com.google.area120.tables.v1alpha1.GetTableRequest.getDefaultInstance()) - return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - bitField0_ |= 0x00000001; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object name_ = ""; - - /** - * - * - *
-     * Required. The name of the table to retrieve.
-     * Format: tables/{table}
-     * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * - * - *
-     * Required. The name of the table to retrieve.
-     * Format: tables/{table}
-     * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * - * - *
-     * Required. The name of the table to retrieve.
-     * Format: tables/{table}
-     * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - name_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * - * - *
-     * Required. The name of the table to retrieve.
-     * Format: tables/{table}
-     * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return This builder for chaining. - */ - public Builder clearName() { - name_ = getDefaultInstance().getName(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * - * - *
-     * Required. The name of the table to retrieve.
-     * Format: tables/{table}
-     * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - name_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:google.area120.tables.v1alpha1.GetTableRequest) - } - - // @@protoc_insertion_point(class_scope:google.area120.tables.v1alpha1.GetTableRequest) - private static final com.google.area120.tables.v1alpha1.GetTableRequest DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.area120.tables.v1alpha1.GetTableRequest(); - } - - public static com.google.area120.tables.v1alpha1.GetTableRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTableRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.GetTableRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/GetTableRequestOrBuilder.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/GetTableRequestOrBuilder.java deleted file mode 100644 index 0d37dac7ec73..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/GetTableRequestOrBuilder.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -@com.google.protobuf.Generated -public interface GetTableRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.area120.tables.v1alpha1.GetTableRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the table to retrieve.
-   * Format: tables/{table}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - - /** - * - * - *
-   * Required. The name of the table to retrieve.
-   * Format: tables/{table}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/GetWorkspaceRequest.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/GetWorkspaceRequest.java deleted file mode 100644 index 9fe8cae0074d..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/GetWorkspaceRequest.java +++ /dev/null @@ -1,618 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -/** - * - * - *
- * Request message for TablesService.GetWorkspace.
- * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.GetWorkspaceRequest} - */ -@com.google.protobuf.Generated -public final class GetWorkspaceRequest extends com.google.protobuf.GeneratedMessage - implements - // @@protoc_insertion_point(message_implements:google.area120.tables.v1alpha1.GetWorkspaceRequest) - GetWorkspaceRequestOrBuilder { - private static final long serialVersionUID = 0L; - - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 6, - /* suffix= */ "", - "GetWorkspaceRequest"); - } - - // Use GetWorkspaceRequest.newBuilder() to construct. - private GetWorkspaceRequest(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private GetWorkspaceRequest() { - name_ = ""; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_GetWorkspaceRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_GetWorkspaceRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.GetWorkspaceRequest.class, - com.google.area120.tables.v1alpha1.GetWorkspaceRequest.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private volatile java.lang.Object name_ = ""; - - /** - * - * - *
-   * Required. The name of the workspace to retrieve.
-   * Format: workspaces/{workspace}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - - /** - * - * - *
-   * Required. The name of the workspace to retrieve.
-   * Format: workspaces/{workspace}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.area120.tables.v1alpha1.GetWorkspaceRequest)) { - return super.equals(obj); - } - com.google.area120.tables.v1alpha1.GetWorkspaceRequest other = - (com.google.area120.tables.v1alpha1.GetWorkspaceRequest) obj; - - if (!getName().equals(other.getName())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.area120.tables.v1alpha1.GetWorkspaceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.GetWorkspaceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.GetWorkspaceRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.GetWorkspaceRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.GetWorkspaceRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.GetWorkspaceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.GetWorkspaceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.GetWorkspaceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.GetWorkspaceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.GetWorkspaceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.GetWorkspaceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.GetWorkspaceRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.area120.tables.v1alpha1.GetWorkspaceRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * - * - *
-   * Request message for TablesService.GetWorkspace.
-   * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.GetWorkspaceRequest} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder - implements - // @@protoc_insertion_point(builder_implements:google.area120.tables.v1alpha1.GetWorkspaceRequest) - com.google.area120.tables.v1alpha1.GetWorkspaceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_GetWorkspaceRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_GetWorkspaceRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.GetWorkspaceRequest.class, - com.google.area120.tables.v1alpha1.GetWorkspaceRequest.Builder.class); - } - - // Construct using com.google.area120.tables.v1alpha1.GetWorkspaceRequest.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - name_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_GetWorkspaceRequest_descriptor; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.GetWorkspaceRequest getDefaultInstanceForType() { - return com.google.area120.tables.v1alpha1.GetWorkspaceRequest.getDefaultInstance(); - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.GetWorkspaceRequest build() { - com.google.area120.tables.v1alpha1.GetWorkspaceRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.GetWorkspaceRequest buildPartial() { - com.google.area120.tables.v1alpha1.GetWorkspaceRequest result = - new com.google.area120.tables.v1alpha1.GetWorkspaceRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.google.area120.tables.v1alpha1.GetWorkspaceRequest result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.name_ = name_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.area120.tables.v1alpha1.GetWorkspaceRequest) { - return mergeFrom((com.google.area120.tables.v1alpha1.GetWorkspaceRequest) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.area120.tables.v1alpha1.GetWorkspaceRequest other) { - if (other == com.google.area120.tables.v1alpha1.GetWorkspaceRequest.getDefaultInstance()) - return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - bitField0_ |= 0x00000001; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object name_ = ""; - - /** - * - * - *
-     * Required. The name of the workspace to retrieve.
-     * Format: workspaces/{workspace}
-     * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * - * - *
-     * Required. The name of the workspace to retrieve.
-     * Format: workspaces/{workspace}
-     * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * - * - *
-     * Required. The name of the workspace to retrieve.
-     * Format: workspaces/{workspace}
-     * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - name_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * - * - *
-     * Required. The name of the workspace to retrieve.
-     * Format: workspaces/{workspace}
-     * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return This builder for chaining. - */ - public Builder clearName() { - name_ = getDefaultInstance().getName(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * - * - *
-     * Required. The name of the workspace to retrieve.
-     * Format: workspaces/{workspace}
-     * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - name_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:google.area120.tables.v1alpha1.GetWorkspaceRequest) - } - - // @@protoc_insertion_point(class_scope:google.area120.tables.v1alpha1.GetWorkspaceRequest) - private static final com.google.area120.tables.v1alpha1.GetWorkspaceRequest DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.area120.tables.v1alpha1.GetWorkspaceRequest(); - } - - public static com.google.area120.tables.v1alpha1.GetWorkspaceRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetWorkspaceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.GetWorkspaceRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/GetWorkspaceRequestOrBuilder.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/GetWorkspaceRequestOrBuilder.java deleted file mode 100644 index 771e255c7874..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/GetWorkspaceRequestOrBuilder.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -@com.google.protobuf.Generated -public interface GetWorkspaceRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.area120.tables.v1alpha1.GetWorkspaceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the workspace to retrieve.
-   * Format: workspaces/{workspace}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - - /** - * - * - *
-   * Required. The name of the workspace to retrieve.
-   * Format: workspaces/{workspace}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/LabeledItem.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/LabeledItem.java deleted file mode 100644 index 15b3e2b4ea50..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/LabeledItem.java +++ /dev/null @@ -1,784 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -/** - * - * - *
- * A single item in a labeled column.
- * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.LabeledItem} - */ -@com.google.protobuf.Generated -public final class LabeledItem extends com.google.protobuf.GeneratedMessage - implements - // @@protoc_insertion_point(message_implements:google.area120.tables.v1alpha1.LabeledItem) - LabeledItemOrBuilder { - private static final long serialVersionUID = 0L; - - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 6, - /* suffix= */ "", - "LabeledItem"); - } - - // Use LabeledItem.newBuilder() to construct. - private LabeledItem(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private LabeledItem() { - name_ = ""; - id_ = ""; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_LabeledItem_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_LabeledItem_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.LabeledItem.class, - com.google.area120.tables.v1alpha1.LabeledItem.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private volatile java.lang.Object name_ = ""; - - /** - * - * - *
-   * Display string as entered by user.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - - /** - * - * - *
-   * Display string as entered by user.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ID_FIELD_NUMBER = 2; - - @SuppressWarnings("serial") - private volatile java.lang.Object id_ = ""; - - /** - * - * - *
-   * Internal id associated with the item.
-   * 
- * - * string id = 2; - * - * @return The id. - */ - @java.lang.Override - public java.lang.String getId() { - java.lang.Object ref = id_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - id_ = s; - return s; - } - } - - /** - * - * - *
-   * Internal id associated with the item.
-   * 
- * - * string id = 2; - * - * @return The bytes for id. - */ - @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { - java.lang.Object ref = id_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - id_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(id_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, id_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(id_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, id_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.area120.tables.v1alpha1.LabeledItem)) { - return super.equals(obj); - } - com.google.area120.tables.v1alpha1.LabeledItem other = - (com.google.area120.tables.v1alpha1.LabeledItem) obj; - - if (!getName().equals(other.getName())) return false; - if (!getId().equals(other.getId())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.area120.tables.v1alpha1.LabeledItem parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.LabeledItem parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.LabeledItem parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.LabeledItem parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.LabeledItem parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.LabeledItem parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.LabeledItem parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.LabeledItem parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.LabeledItem parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.LabeledItem parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.LabeledItem parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.LabeledItem parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.area120.tables.v1alpha1.LabeledItem prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * - * - *
-   * A single item in a labeled column.
-   * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.LabeledItem} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder - implements - // @@protoc_insertion_point(builder_implements:google.area120.tables.v1alpha1.LabeledItem) - com.google.area120.tables.v1alpha1.LabeledItemOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_LabeledItem_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_LabeledItem_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.LabeledItem.class, - com.google.area120.tables.v1alpha1.LabeledItem.Builder.class); - } - - // Construct using com.google.area120.tables.v1alpha1.LabeledItem.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - name_ = ""; - id_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_LabeledItem_descriptor; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.LabeledItem getDefaultInstanceForType() { - return com.google.area120.tables.v1alpha1.LabeledItem.getDefaultInstance(); - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.LabeledItem build() { - com.google.area120.tables.v1alpha1.LabeledItem result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.LabeledItem buildPartial() { - com.google.area120.tables.v1alpha1.LabeledItem result = - new com.google.area120.tables.v1alpha1.LabeledItem(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.google.area120.tables.v1alpha1.LabeledItem result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.name_ = name_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.id_ = id_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.area120.tables.v1alpha1.LabeledItem) { - return mergeFrom((com.google.area120.tables.v1alpha1.LabeledItem) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.area120.tables.v1alpha1.LabeledItem other) { - if (other == com.google.area120.tables.v1alpha1.LabeledItem.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getId().isEmpty()) { - id_ = other.id_; - bitField0_ |= 0x00000002; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - id_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object name_ = ""; - - /** - * - * - *
-     * Display string as entered by user.
-     * 
- * - * string name = 1; - * - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * - * - *
-     * Display string as entered by user.
-     * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * - * - *
-     * Display string as entered by user.
-     * 
- * - * string name = 1; - * - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - name_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * - * - *
-     * Display string as entered by user.
-     * 
- * - * string name = 1; - * - * @return This builder for chaining. - */ - public Builder clearName() { - name_ = getDefaultInstance().getName(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * - * - *
-     * Display string as entered by user.
-     * 
- * - * string name = 1; - * - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - name_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private java.lang.Object id_ = ""; - - /** - * - * - *
-     * Internal id associated with the item.
-     * 
- * - * string id = 2; - * - * @return The id. - */ - public java.lang.String getId() { - java.lang.Object ref = id_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - id_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * - * - *
-     * Internal id associated with the item.
-     * 
- * - * string id = 2; - * - * @return The bytes for id. - */ - public com.google.protobuf.ByteString getIdBytes() { - java.lang.Object ref = id_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - id_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * - * - *
-     * Internal id associated with the item.
-     * 
- * - * string id = 2; - * - * @param value The id to set. - * @return This builder for chaining. - */ - public Builder setId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * - * - *
-     * Internal id associated with the item.
-     * 
- * - * string id = 2; - * - * @return This builder for chaining. - */ - public Builder clearId() { - id_ = getDefaultInstance().getId(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - - /** - * - * - *
-     * Internal id associated with the item.
-     * 
- * - * string id = 2; - * - * @param value The bytes for id to set. - * @return This builder for chaining. - */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - id_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:google.area120.tables.v1alpha1.LabeledItem) - } - - // @@protoc_insertion_point(class_scope:google.area120.tables.v1alpha1.LabeledItem) - private static final com.google.area120.tables.v1alpha1.LabeledItem DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.area120.tables.v1alpha1.LabeledItem(); - } - - public static com.google.area120.tables.v1alpha1.LabeledItem getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabeledItem parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.LabeledItem getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/LabeledItemOrBuilder.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/LabeledItemOrBuilder.java deleted file mode 100644 index c0b422ecfeba..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/LabeledItemOrBuilder.java +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -@com.google.protobuf.Generated -public interface LabeledItemOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.area120.tables.v1alpha1.LabeledItem) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Display string as entered by user.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - - /** - * - * - *
-   * Display string as entered by user.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * - * - *
-   * Internal id associated with the item.
-   * 
- * - * string id = 2; - * - * @return The id. - */ - java.lang.String getId(); - - /** - * - * - *
-   * Internal id associated with the item.
-   * 
- * - * string id = 2; - * - * @return The bytes for id. - */ - com.google.protobuf.ByteString getIdBytes(); -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListRowsRequest.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListRowsRequest.java deleted file mode 100644 index 0b80dbf7d32c..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListRowsRequest.java +++ /dev/null @@ -1,1310 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -/** - * - * - *
- * Request message for TablesService.ListRows.
- * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.ListRowsRequest} - */ -@com.google.protobuf.Generated -public final class ListRowsRequest extends com.google.protobuf.GeneratedMessage - implements - // @@protoc_insertion_point(message_implements:google.area120.tables.v1alpha1.ListRowsRequest) - ListRowsRequestOrBuilder { - private static final long serialVersionUID = 0L; - - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 6, - /* suffix= */ "", - "ListRowsRequest"); - } - - // Use ListRowsRequest.newBuilder() to construct. - private ListRowsRequest(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private ListRowsRequest() { - parent_ = ""; - pageToken_ = ""; - view_ = 0; - filter_ = ""; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_ListRowsRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_ListRowsRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.ListRowsRequest.class, - com.google.area120.tables.v1alpha1.ListRowsRequest.Builder.class); - } - - public static final int PARENT_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private volatile java.lang.Object parent_ = ""; - - /** - * - * - *
-   * Required. The parent table.
-   * Format: tables/{table}
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The parent. - */ - @java.lang.Override - public java.lang.String getParent() { - java.lang.Object ref = parent_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - parent_ = s; - return s; - } - } - - /** - * - * - *
-   * Required. The parent table.
-   * Format: tables/{table}
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for parent. - */ - @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { - java.lang.Object ref = parent_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - parent_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int PAGE_SIZE_FIELD_NUMBER = 2; - private int pageSize_ = 0; - - /** - * - * - *
-   * The maximum number of rows to return. The service may return fewer than
-   * this value.
-   *
-   * If unspecified, at most 50 rows are returned. The maximum value is 1,000;
-   * values above 1,000 are coerced to 1,000.
-   * 
- * - * int32 page_size = 2; - * - * @return The pageSize. - */ - @java.lang.Override - public int getPageSize() { - return pageSize_; - } - - public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - - @SuppressWarnings("serial") - private volatile java.lang.Object pageToken_ = ""; - - /** - * - * - *
-   * A page token, received from a previous `ListRows` call.
-   * Provide this to retrieve the subsequent page.
-   *
-   * When paginating, all other parameters provided to `ListRows` must match
-   * the call that provided the page token.
-   * 
- * - * string page_token = 3; - * - * @return The pageToken. - */ - @java.lang.Override - public java.lang.String getPageToken() { - java.lang.Object ref = pageToken_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pageToken_ = s; - return s; - } - } - - /** - * - * - *
-   * A page token, received from a previous `ListRows` call.
-   * Provide this to retrieve the subsequent page.
-   *
-   * When paginating, all other parameters provided to `ListRows` must match
-   * the call that provided the page token.
-   * 
- * - * string page_token = 3; - * - * @return The bytes for pageToken. - */ - @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { - java.lang.Object ref = pageToken_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - pageToken_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int VIEW_FIELD_NUMBER = 4; - private int view_ = 0; - - /** - * - * - *
-   * Optional. Column key to use for values in the row.
-   * Defaults to user entered name.
-   * 
- * - * .google.area120.tables.v1alpha1.View view = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The enum numeric value on the wire for view. - */ - @java.lang.Override - public int getViewValue() { - return view_; - } - - /** - * - * - *
-   * Optional. Column key to use for values in the row.
-   * Defaults to user entered name.
-   * 
- * - * .google.area120.tables.v1alpha1.View view = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The view. - */ - @java.lang.Override - public com.google.area120.tables.v1alpha1.View getView() { - com.google.area120.tables.v1alpha1.View result = - com.google.area120.tables.v1alpha1.View.forNumber(view_); - return result == null ? com.google.area120.tables.v1alpha1.View.UNRECOGNIZED : result; - } - - public static final int FILTER_FIELD_NUMBER = 5; - - @SuppressWarnings("serial") - private volatile java.lang.Object filter_ = ""; - - /** - * - * - *
-   * Optional. Raw text query to search for in rows of the table.
-   * Special characters must be escaped. Logical operators and field specific
-   * filtering not supported.
-   * 
- * - * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The filter. - */ - @java.lang.Override - public java.lang.String getFilter() { - java.lang.Object ref = filter_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - filter_ = s; - return s; - } - } - - /** - * - * - *
-   * Optional. Raw text query to search for in rows of the table.
-   * Special characters must be escaped. Logical operators and field specific
-   * filtering not supported.
-   * 
- * - * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for filter. - */ - @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { - java.lang.Object ref = filter_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - filter_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_); - } - if (pageSize_ != 0) { - output.writeInt32(2, pageSize_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 3, pageToken_); - } - if (view_ != com.google.area120.tables.v1alpha1.View.VIEW_UNSPECIFIED.getNumber()) { - output.writeEnum(4, view_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 5, filter_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_); - } - if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(3, pageToken_); - } - if (view_ != com.google.area120.tables.v1alpha1.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, view_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(5, filter_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.area120.tables.v1alpha1.ListRowsRequest)) { - return super.equals(obj); - } - com.google.area120.tables.v1alpha1.ListRowsRequest other = - (com.google.area120.tables.v1alpha1.ListRowsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (view_ != other.view_) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PARENT_FIELD_NUMBER; - hash = (53 * hash) + getParent().hashCode(); - hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; - hash = (53 * hash) + getPageSize(); - hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; - hash = (53 * hash) + getPageToken().hashCode(); - hash = (37 * hash) + VIEW_FIELD_NUMBER; - hash = (53 * hash) + view_; - hash = (37 * hash) + FILTER_FIELD_NUMBER; - hash = (53 * hash) + getFilter().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.area120.tables.v1alpha1.ListRowsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.ListRowsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.ListRowsRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.ListRowsRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.ListRowsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.ListRowsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.ListRowsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.ListRowsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.ListRowsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.ListRowsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.ListRowsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.ListRowsRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.area120.tables.v1alpha1.ListRowsRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * - * - *
-   * Request message for TablesService.ListRows.
-   * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.ListRowsRequest} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder - implements - // @@protoc_insertion_point(builder_implements:google.area120.tables.v1alpha1.ListRowsRequest) - com.google.area120.tables.v1alpha1.ListRowsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_ListRowsRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_ListRowsRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.ListRowsRequest.class, - com.google.area120.tables.v1alpha1.ListRowsRequest.Builder.class); - } - - // Construct using com.google.area120.tables.v1alpha1.ListRowsRequest.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - parent_ = ""; - pageSize_ = 0; - pageToken_ = ""; - view_ = 0; - filter_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_ListRowsRequest_descriptor; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.ListRowsRequest getDefaultInstanceForType() { - return com.google.area120.tables.v1alpha1.ListRowsRequest.getDefaultInstance(); - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.ListRowsRequest build() { - com.google.area120.tables.v1alpha1.ListRowsRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.ListRowsRequest buildPartial() { - com.google.area120.tables.v1alpha1.ListRowsRequest result = - new com.google.area120.tables.v1alpha1.ListRowsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.google.area120.tables.v1alpha1.ListRowsRequest result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.parent_ = parent_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.pageSize_ = pageSize_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.pageToken_ = pageToken_; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.view_ = view_; - } - if (((from_bitField0_ & 0x00000010) != 0)) { - result.filter_ = filter_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.area120.tables.v1alpha1.ListRowsRequest) { - return mergeFrom((com.google.area120.tables.v1alpha1.ListRowsRequest) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.area120.tables.v1alpha1.ListRowsRequest other) { - if (other == com.google.area120.tables.v1alpha1.ListRowsRequest.getDefaultInstance()) - return this; - if (!other.getParent().isEmpty()) { - parent_ = other.parent_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (other.getPageSize() != 0) { - setPageSize(other.getPageSize()); - } - if (!other.getPageToken().isEmpty()) { - pageToken_ = other.pageToken_; - bitField0_ |= 0x00000004; - onChanged(); - } - if (other.view_ != 0) { - setViewValue(other.getViewValue()); - } - if (!other.getFilter().isEmpty()) { - filter_ = other.filter_; - bitField0_ |= 0x00000010; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - view_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object parent_ = ""; - - /** - * - * - *
-     * Required. The parent table.
-     * Format: tables/{table}
-     * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The parent. - */ - public java.lang.String getParent() { - java.lang.Object ref = parent_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - parent_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * - * - *
-     * Required. The parent table.
-     * Format: tables/{table}
-     * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for parent. - */ - public com.google.protobuf.ByteString getParentBytes() { - java.lang.Object ref = parent_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - parent_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * - * - *
-     * Required. The parent table.
-     * Format: tables/{table}
-     * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The parent to set. - * @return This builder for chaining. - */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - parent_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * - * - *
-     * Required. The parent table.
-     * Format: tables/{table}
-     * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return This builder for chaining. - */ - public Builder clearParent() { - parent_ = getDefaultInstance().getParent(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * - * - *
-     * Required. The parent table.
-     * Format: tables/{table}
-     * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The bytes for parent to set. - * @return This builder for chaining. - */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - parent_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private int pageSize_; - - /** - * - * - *
-     * The maximum number of rows to return. The service may return fewer than
-     * this value.
-     *
-     * If unspecified, at most 50 rows are returned. The maximum value is 1,000;
-     * values above 1,000 are coerced to 1,000.
-     * 
- * - * int32 page_size = 2; - * - * @return The pageSize. - */ - @java.lang.Override - public int getPageSize() { - return pageSize_; - } - - /** - * - * - *
-     * The maximum number of rows to return. The service may return fewer than
-     * this value.
-     *
-     * If unspecified, at most 50 rows are returned. The maximum value is 1,000;
-     * values above 1,000 are coerced to 1,000.
-     * 
- * - * int32 page_size = 2; - * - * @param value The pageSize to set. - * @return This builder for chaining. - */ - public Builder setPageSize(int value) { - - pageSize_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * - * - *
-     * The maximum number of rows to return. The service may return fewer than
-     * this value.
-     *
-     * If unspecified, at most 50 rows are returned. The maximum value is 1,000;
-     * values above 1,000 are coerced to 1,000.
-     * 
- * - * int32 page_size = 2; - * - * @return This builder for chaining. - */ - public Builder clearPageSize() { - bitField0_ = (bitField0_ & ~0x00000002); - pageSize_ = 0; - onChanged(); - return this; - } - - private java.lang.Object pageToken_ = ""; - - /** - * - * - *
-     * A page token, received from a previous `ListRows` call.
-     * Provide this to retrieve the subsequent page.
-     *
-     * When paginating, all other parameters provided to `ListRows` must match
-     * the call that provided the page token.
-     * 
- * - * string page_token = 3; - * - * @return The pageToken. - */ - public java.lang.String getPageToken() { - java.lang.Object ref = pageToken_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pageToken_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * - * - *
-     * A page token, received from a previous `ListRows` call.
-     * Provide this to retrieve the subsequent page.
-     *
-     * When paginating, all other parameters provided to `ListRows` must match
-     * the call that provided the page token.
-     * 
- * - * string page_token = 3; - * - * @return The bytes for pageToken. - */ - public com.google.protobuf.ByteString getPageTokenBytes() { - java.lang.Object ref = pageToken_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - pageToken_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * - * - *
-     * A page token, received from a previous `ListRows` call.
-     * Provide this to retrieve the subsequent page.
-     *
-     * When paginating, all other parameters provided to `ListRows` must match
-     * the call that provided the page token.
-     * 
- * - * string page_token = 3; - * - * @param value The pageToken to set. - * @return This builder for chaining. - */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - pageToken_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - * - * - *
-     * A page token, received from a previous `ListRows` call.
-     * Provide this to retrieve the subsequent page.
-     *
-     * When paginating, all other parameters provided to `ListRows` must match
-     * the call that provided the page token.
-     * 
- * - * string page_token = 3; - * - * @return This builder for chaining. - */ - public Builder clearPageToken() { - pageToken_ = getDefaultInstance().getPageToken(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } - - /** - * - * - *
-     * A page token, received from a previous `ListRows` call.
-     * Provide this to retrieve the subsequent page.
-     *
-     * When paginating, all other parameters provided to `ListRows` must match
-     * the call that provided the page token.
-     * 
- * - * string page_token = 3; - * - * @param value The bytes for pageToken to set. - * @return This builder for chaining. - */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - pageToken_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - private int view_ = 0; - - /** - * - * - *
-     * Optional. Column key to use for values in the row.
-     * Defaults to user entered name.
-     * 
- * - * - * .google.area120.tables.v1alpha1.View view = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The enum numeric value on the wire for view. - */ - @java.lang.Override - public int getViewValue() { - return view_; - } - - /** - * - * - *
-     * Optional. Column key to use for values in the row.
-     * Defaults to user entered name.
-     * 
- * - * - * .google.area120.tables.v1alpha1.View view = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @param value The enum numeric value on the wire for view to set. - * @return This builder for chaining. - */ - public Builder setViewValue(int value) { - view_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } - - /** - * - * - *
-     * Optional. Column key to use for values in the row.
-     * Defaults to user entered name.
-     * 
- * - * - * .google.area120.tables.v1alpha1.View view = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The view. - */ - @java.lang.Override - public com.google.area120.tables.v1alpha1.View getView() { - com.google.area120.tables.v1alpha1.View result = - com.google.area120.tables.v1alpha1.View.forNumber(view_); - return result == null ? com.google.area120.tables.v1alpha1.View.UNRECOGNIZED : result; - } - - /** - * - * - *
-     * Optional. Column key to use for values in the row.
-     * Defaults to user entered name.
-     * 
- * - * - * .google.area120.tables.v1alpha1.View view = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @param value The view to set. - * @return This builder for chaining. - */ - public Builder setView(com.google.area120.tables.v1alpha1.View value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000008; - view_ = value.getNumber(); - onChanged(); - return this; - } - - /** - * - * - *
-     * Optional. Column key to use for values in the row.
-     * Defaults to user entered name.
-     * 
- * - * - * .google.area120.tables.v1alpha1.View view = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return This builder for chaining. - */ - public Builder clearView() { - bitField0_ = (bitField0_ & ~0x00000008); - view_ = 0; - onChanged(); - return this; - } - - private java.lang.Object filter_ = ""; - - /** - * - * - *
-     * Optional. Raw text query to search for in rows of the table.
-     * Special characters must be escaped. Logical operators and field specific
-     * filtering not supported.
-     * 
- * - * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The filter. - */ - public java.lang.String getFilter() { - java.lang.Object ref = filter_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - filter_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * - * - *
-     * Optional. Raw text query to search for in rows of the table.
-     * Special characters must be escaped. Logical operators and field specific
-     * filtering not supported.
-     * 
- * - * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for filter. - */ - public com.google.protobuf.ByteString getFilterBytes() { - java.lang.Object ref = filter_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - filter_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * - * - *
-     * Optional. Raw text query to search for in rows of the table.
-     * Special characters must be escaped. Logical operators and field specific
-     * filtering not supported.
-     * 
- * - * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param value The filter to set. - * @return This builder for chaining. - */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - filter_ = value; - bitField0_ |= 0x00000010; - onChanged(); - return this; - } - - /** - * - * - *
-     * Optional. Raw text query to search for in rows of the table.
-     * Special characters must be escaped. Logical operators and field specific
-     * filtering not supported.
-     * 
- * - * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return This builder for chaining. - */ - public Builder clearFilter() { - filter_ = getDefaultInstance().getFilter(); - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); - return this; - } - - /** - * - * - *
-     * Optional. Raw text query to search for in rows of the table.
-     * Special characters must be escaped. Logical operators and field specific
-     * filtering not supported.
-     * 
- * - * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param value The bytes for filter to set. - * @return This builder for chaining. - */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - filter_ = value; - bitField0_ |= 0x00000010; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:google.area120.tables.v1alpha1.ListRowsRequest) - } - - // @@protoc_insertion_point(class_scope:google.area120.tables.v1alpha1.ListRowsRequest) - private static final com.google.area120.tables.v1alpha1.ListRowsRequest DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.area120.tables.v1alpha1.ListRowsRequest(); - } - - public static com.google.area120.tables.v1alpha1.ListRowsRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRowsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.ListRowsRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListRowsRequestOrBuilder.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListRowsRequestOrBuilder.java deleted file mode 100644 index 319851f6c584..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListRowsRequestOrBuilder.java +++ /dev/null @@ -1,167 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -@com.google.protobuf.Generated -public interface ListRowsRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.area120.tables.v1alpha1.ListRowsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The parent table.
-   * Format: tables/{table}
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The parent. - */ - java.lang.String getParent(); - - /** - * - * - *
-   * Required. The parent table.
-   * Format: tables/{table}
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); - - /** - * - * - *
-   * The maximum number of rows to return. The service may return fewer than
-   * this value.
-   *
-   * If unspecified, at most 50 rows are returned. The maximum value is 1,000;
-   * values above 1,000 are coerced to 1,000.
-   * 
- * - * int32 page_size = 2; - * - * @return The pageSize. - */ - int getPageSize(); - - /** - * - * - *
-   * A page token, received from a previous `ListRows` call.
-   * Provide this to retrieve the subsequent page.
-   *
-   * When paginating, all other parameters provided to `ListRows` must match
-   * the call that provided the page token.
-   * 
- * - * string page_token = 3; - * - * @return The pageToken. - */ - java.lang.String getPageToken(); - - /** - * - * - *
-   * A page token, received from a previous `ListRows` call.
-   * Provide this to retrieve the subsequent page.
-   *
-   * When paginating, all other parameters provided to `ListRows` must match
-   * the call that provided the page token.
-   * 
- * - * string page_token = 3; - * - * @return The bytes for pageToken. - */ - com.google.protobuf.ByteString getPageTokenBytes(); - - /** - * - * - *
-   * Optional. Column key to use for values in the row.
-   * Defaults to user entered name.
-   * 
- * - * .google.area120.tables.v1alpha1.View view = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The enum numeric value on the wire for view. - */ - int getViewValue(); - - /** - * - * - *
-   * Optional. Column key to use for values in the row.
-   * Defaults to user entered name.
-   * 
- * - * .google.area120.tables.v1alpha1.View view = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The view. - */ - com.google.area120.tables.v1alpha1.View getView(); - - /** - * - * - *
-   * Optional. Raw text query to search for in rows of the table.
-   * Special characters must be escaped. Logical operators and field specific
-   * filtering not supported.
-   * 
- * - * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The filter. - */ - java.lang.String getFilter(); - - /** - * - * - *
-   * Optional. Raw text query to search for in rows of the table.
-   * Special characters must be escaped. Logical operators and field specific
-   * filtering not supported.
-   * 
- * - * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for filter. - */ - com.google.protobuf.ByteString getFilterBytes(); -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListRowsResponse.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListRowsResponse.java deleted file mode 100644 index 6e73ed0462ed..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListRowsResponse.java +++ /dev/null @@ -1,1117 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -/** - * - * - *
- * Response message for TablesService.ListRows.
- * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.ListRowsResponse} - */ -@com.google.protobuf.Generated -public final class ListRowsResponse extends com.google.protobuf.GeneratedMessage - implements - // @@protoc_insertion_point(message_implements:google.area120.tables.v1alpha1.ListRowsResponse) - ListRowsResponseOrBuilder { - private static final long serialVersionUID = 0L; - - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 6, - /* suffix= */ "", - "ListRowsResponse"); - } - - // Use ListRowsResponse.newBuilder() to construct. - private ListRowsResponse(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private ListRowsResponse() { - rows_ = java.util.Collections.emptyList(); - nextPageToken_ = ""; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_ListRowsResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_ListRowsResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.ListRowsResponse.class, - com.google.area120.tables.v1alpha1.ListRowsResponse.Builder.class); - } - - public static final int ROWS_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private java.util.List rows_; - - /** - * - * - *
-   * The rows from the specified table.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - @java.lang.Override - public java.util.List getRowsList() { - return rows_; - } - - /** - * - * - *
-   * The rows from the specified table.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - @java.lang.Override - public java.util.List - getRowsOrBuilderList() { - return rows_; - } - - /** - * - * - *
-   * The rows from the specified table.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - @java.lang.Override - public int getRowsCount() { - return rows_.size(); - } - - /** - * - * - *
-   * The rows from the specified table.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - @java.lang.Override - public com.google.area120.tables.v1alpha1.Row getRows(int index) { - return rows_.get(index); - } - - /** - * - * - *
-   * The rows from the specified table.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - @java.lang.Override - public com.google.area120.tables.v1alpha1.RowOrBuilder getRowsOrBuilder(int index) { - return rows_.get(index); - } - - public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - - @SuppressWarnings("serial") - private volatile java.lang.Object nextPageToken_ = ""; - - /** - * - * - *
-   * A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is empty, there are no subsequent pages.
-   * 
- * - * string next_page_token = 2; - * - * @return The nextPageToken. - */ - @java.lang.Override - public java.lang.String getNextPageToken() { - java.lang.Object ref = nextPageToken_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - nextPageToken_ = s; - return s; - } - } - - /** - * - * - *
-   * A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is empty, there are no subsequent pages.
-   * 
- * - * string next_page_token = 2; - * - * @return The bytes for nextPageToken. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { - java.lang.Object ref = nextPageToken_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - nextPageToken_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < rows_.size(); i++) { - output.writeMessage(1, rows_.get(i)); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, nextPageToken_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < rows_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, rows_.get(i)); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, nextPageToken_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.area120.tables.v1alpha1.ListRowsResponse)) { - return super.equals(obj); - } - com.google.area120.tables.v1alpha1.ListRowsResponse other = - (com.google.area120.tables.v1alpha1.ListRowsResponse) obj; - - if (!getRowsList().equals(other.getRowsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getRowsCount() > 0) { - hash = (37 * hash) + ROWS_FIELD_NUMBER; - hash = (53 * hash) + getRowsList().hashCode(); - } - hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; - hash = (53 * hash) + getNextPageToken().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.area120.tables.v1alpha1.ListRowsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.ListRowsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.ListRowsResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.ListRowsResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.ListRowsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.ListRowsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.ListRowsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.ListRowsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.ListRowsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.ListRowsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.ListRowsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.ListRowsResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.area120.tables.v1alpha1.ListRowsResponse prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * - * - *
-   * Response message for TablesService.ListRows.
-   * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.ListRowsResponse} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder - implements - // @@protoc_insertion_point(builder_implements:google.area120.tables.v1alpha1.ListRowsResponse) - com.google.area120.tables.v1alpha1.ListRowsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_ListRowsResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_ListRowsResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.ListRowsResponse.class, - com.google.area120.tables.v1alpha1.ListRowsResponse.Builder.class); - } - - // Construct using com.google.area120.tables.v1alpha1.ListRowsResponse.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - if (rowsBuilder_ == null) { - rows_ = java.util.Collections.emptyList(); - } else { - rows_ = null; - rowsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000001); - nextPageToken_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_ListRowsResponse_descriptor; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.ListRowsResponse getDefaultInstanceForType() { - return com.google.area120.tables.v1alpha1.ListRowsResponse.getDefaultInstance(); - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.ListRowsResponse build() { - com.google.area120.tables.v1alpha1.ListRowsResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.ListRowsResponse buildPartial() { - com.google.area120.tables.v1alpha1.ListRowsResponse result = - new com.google.area120.tables.v1alpha1.ListRowsResponse(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields( - com.google.area120.tables.v1alpha1.ListRowsResponse result) { - if (rowsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - rows_ = java.util.Collections.unmodifiableList(rows_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.rows_ = rows_; - } else { - result.rows_ = rowsBuilder_.build(); - } - } - - private void buildPartial0(com.google.area120.tables.v1alpha1.ListRowsResponse result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000002) != 0)) { - result.nextPageToken_ = nextPageToken_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.area120.tables.v1alpha1.ListRowsResponse) { - return mergeFrom((com.google.area120.tables.v1alpha1.ListRowsResponse) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.area120.tables.v1alpha1.ListRowsResponse other) { - if (other == com.google.area120.tables.v1alpha1.ListRowsResponse.getDefaultInstance()) - return this; - if (rowsBuilder_ == null) { - if (!other.rows_.isEmpty()) { - if (rows_.isEmpty()) { - rows_ = other.rows_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureRowsIsMutable(); - rows_.addAll(other.rows_); - } - onChanged(); - } - } else { - if (!other.rows_.isEmpty()) { - if (rowsBuilder_.isEmpty()) { - rowsBuilder_.dispose(); - rowsBuilder_ = null; - rows_ = other.rows_; - bitField0_ = (bitField0_ & ~0x00000001); - rowsBuilder_ = - com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? internalGetRowsFieldBuilder() - : null; - } else { - rowsBuilder_.addAllMessages(other.rows_); - } - } - } - if (!other.getNextPageToken().isEmpty()) { - nextPageToken_ = other.nextPageToken_; - bitField0_ |= 0x00000002; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.area120.tables.v1alpha1.Row m = - input.readMessage( - com.google.area120.tables.v1alpha1.Row.parser(), extensionRegistry); - if (rowsBuilder_ == null) { - ensureRowsIsMutable(); - rows_.add(m); - } else { - rowsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.util.List rows_ = - java.util.Collections.emptyList(); - - private void ensureRowsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - rows_ = new java.util.ArrayList(rows_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilder< - com.google.area120.tables.v1alpha1.Row, - com.google.area120.tables.v1alpha1.Row.Builder, - com.google.area120.tables.v1alpha1.RowOrBuilder> - rowsBuilder_; - - /** - * - * - *
-     * The rows from the specified table.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public java.util.List getRowsList() { - if (rowsBuilder_ == null) { - return java.util.Collections.unmodifiableList(rows_); - } else { - return rowsBuilder_.getMessageList(); - } - } - - /** - * - * - *
-     * The rows from the specified table.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public int getRowsCount() { - if (rowsBuilder_ == null) { - return rows_.size(); - } else { - return rowsBuilder_.getCount(); - } - } - - /** - * - * - *
-     * The rows from the specified table.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public com.google.area120.tables.v1alpha1.Row getRows(int index) { - if (rowsBuilder_ == null) { - return rows_.get(index); - } else { - return rowsBuilder_.getMessage(index); - } - } - - /** - * - * - *
-     * The rows from the specified table.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public Builder setRows(int index, com.google.area120.tables.v1alpha1.Row value) { - if (rowsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureRowsIsMutable(); - rows_.set(index, value); - onChanged(); - } else { - rowsBuilder_.setMessage(index, value); - } - return this; - } - - /** - * - * - *
-     * The rows from the specified table.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public Builder setRows( - int index, com.google.area120.tables.v1alpha1.Row.Builder builderForValue) { - if (rowsBuilder_ == null) { - ensureRowsIsMutable(); - rows_.set(index, builderForValue.build()); - onChanged(); - } else { - rowsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - * - * - *
-     * The rows from the specified table.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public Builder addRows(com.google.area120.tables.v1alpha1.Row value) { - if (rowsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureRowsIsMutable(); - rows_.add(value); - onChanged(); - } else { - rowsBuilder_.addMessage(value); - } - return this; - } - - /** - * - * - *
-     * The rows from the specified table.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public Builder addRows(int index, com.google.area120.tables.v1alpha1.Row value) { - if (rowsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureRowsIsMutable(); - rows_.add(index, value); - onChanged(); - } else { - rowsBuilder_.addMessage(index, value); - } - return this; - } - - /** - * - * - *
-     * The rows from the specified table.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public Builder addRows(com.google.area120.tables.v1alpha1.Row.Builder builderForValue) { - if (rowsBuilder_ == null) { - ensureRowsIsMutable(); - rows_.add(builderForValue.build()); - onChanged(); - } else { - rowsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - * - * - *
-     * The rows from the specified table.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public Builder addRows( - int index, com.google.area120.tables.v1alpha1.Row.Builder builderForValue) { - if (rowsBuilder_ == null) { - ensureRowsIsMutable(); - rows_.add(index, builderForValue.build()); - onChanged(); - } else { - rowsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - * - * - *
-     * The rows from the specified table.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public Builder addAllRows( - java.lang.Iterable values) { - if (rowsBuilder_ == null) { - ensureRowsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rows_); - onChanged(); - } else { - rowsBuilder_.addAllMessages(values); - } - return this; - } - - /** - * - * - *
-     * The rows from the specified table.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public Builder clearRows() { - if (rowsBuilder_ == null) { - rows_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - rowsBuilder_.clear(); - } - return this; - } - - /** - * - * - *
-     * The rows from the specified table.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public Builder removeRows(int index) { - if (rowsBuilder_ == null) { - ensureRowsIsMutable(); - rows_.remove(index); - onChanged(); - } else { - rowsBuilder_.remove(index); - } - return this; - } - - /** - * - * - *
-     * The rows from the specified table.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public com.google.area120.tables.v1alpha1.Row.Builder getRowsBuilder(int index) { - return internalGetRowsFieldBuilder().getBuilder(index); - } - - /** - * - * - *
-     * The rows from the specified table.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public com.google.area120.tables.v1alpha1.RowOrBuilder getRowsOrBuilder(int index) { - if (rowsBuilder_ == null) { - return rows_.get(index); - } else { - return rowsBuilder_.getMessageOrBuilder(index); - } - } - - /** - * - * - *
-     * The rows from the specified table.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public java.util.List - getRowsOrBuilderList() { - if (rowsBuilder_ != null) { - return rowsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(rows_); - } - } - - /** - * - * - *
-     * The rows from the specified table.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public com.google.area120.tables.v1alpha1.Row.Builder addRowsBuilder() { - return internalGetRowsFieldBuilder() - .addBuilder(com.google.area120.tables.v1alpha1.Row.getDefaultInstance()); - } - - /** - * - * - *
-     * The rows from the specified table.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public com.google.area120.tables.v1alpha1.Row.Builder addRowsBuilder(int index) { - return internalGetRowsFieldBuilder() - .addBuilder(index, com.google.area120.tables.v1alpha1.Row.getDefaultInstance()); - } - - /** - * - * - *
-     * The rows from the specified table.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - public java.util.List getRowsBuilderList() { - return internalGetRowsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilder< - com.google.area120.tables.v1alpha1.Row, - com.google.area120.tables.v1alpha1.Row.Builder, - com.google.area120.tables.v1alpha1.RowOrBuilder> - internalGetRowsFieldBuilder() { - if (rowsBuilder_ == null) { - rowsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilder< - com.google.area120.tables.v1alpha1.Row, - com.google.area120.tables.v1alpha1.Row.Builder, - com.google.area120.tables.v1alpha1.RowOrBuilder>( - rows_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - rows_ = null; - } - return rowsBuilder_; - } - - private java.lang.Object nextPageToken_ = ""; - - /** - * - * - *
-     * A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is empty, there are no subsequent pages.
-     * 
- * - * string next_page_token = 2; - * - * @return The nextPageToken. - */ - public java.lang.String getNextPageToken() { - java.lang.Object ref = nextPageToken_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - nextPageToken_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * - * - *
-     * A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is empty, there are no subsequent pages.
-     * 
- * - * string next_page_token = 2; - * - * @return The bytes for nextPageToken. - */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { - java.lang.Object ref = nextPageToken_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - nextPageToken_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * - * - *
-     * A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is empty, there are no subsequent pages.
-     * 
- * - * string next_page_token = 2; - * - * @param value The nextPageToken to set. - * @return This builder for chaining. - */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - nextPageToken_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * - * - *
-     * A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is empty, there are no subsequent pages.
-     * 
- * - * string next_page_token = 2; - * - * @return This builder for chaining. - */ - public Builder clearNextPageToken() { - nextPageToken_ = getDefaultInstance().getNextPageToken(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - - /** - * - * - *
-     * A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is empty, there are no subsequent pages.
-     * 
- * - * string next_page_token = 2; - * - * @param value The bytes for nextPageToken to set. - * @return This builder for chaining. - */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - nextPageToken_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:google.area120.tables.v1alpha1.ListRowsResponse) - } - - // @@protoc_insertion_point(class_scope:google.area120.tables.v1alpha1.ListRowsResponse) - private static final com.google.area120.tables.v1alpha1.ListRowsResponse DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.area120.tables.v1alpha1.ListRowsResponse(); - } - - public static com.google.area120.tables.v1alpha1.ListRowsResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRowsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.ListRowsResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListRowsResponseOrBuilder.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListRowsResponseOrBuilder.java deleted file mode 100644 index 0e00466ed993..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListRowsResponseOrBuilder.java +++ /dev/null @@ -1,111 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -@com.google.protobuf.Generated -public interface ListRowsResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.area120.tables.v1alpha1.ListRowsResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The rows from the specified table.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - java.util.List getRowsList(); - - /** - * - * - *
-   * The rows from the specified table.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - com.google.area120.tables.v1alpha1.Row getRows(int index); - - /** - * - * - *
-   * The rows from the specified table.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - int getRowsCount(); - - /** - * - * - *
-   * The rows from the specified table.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - java.util.List getRowsOrBuilderList(); - - /** - * - * - *
-   * The rows from the specified table.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Row rows = 1; - */ - com.google.area120.tables.v1alpha1.RowOrBuilder getRowsOrBuilder(int index); - - /** - * - * - *
-   * A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is empty, there are no subsequent pages.
-   * 
- * - * string next_page_token = 2; - * - * @return The nextPageToken. - */ - java.lang.String getNextPageToken(); - - /** - * - * - *
-   * A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is empty, there are no subsequent pages.
-   * 
- * - * string next_page_token = 2; - * - * @return The bytes for nextPageToken. - */ - com.google.protobuf.ByteString getNextPageTokenBytes(); -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListTablesRequest.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListTablesRequest.java deleted file mode 100644 index 3acd35c52540..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListTablesRequest.java +++ /dev/null @@ -1,737 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -/** - * - * - *
- * Request message for TablesService.ListTables.
- * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.ListTablesRequest} - */ -@com.google.protobuf.Generated -public final class ListTablesRequest extends com.google.protobuf.GeneratedMessage - implements - // @@protoc_insertion_point(message_implements:google.area120.tables.v1alpha1.ListTablesRequest) - ListTablesRequestOrBuilder { - private static final long serialVersionUID = 0L; - - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 6, - /* suffix= */ "", - "ListTablesRequest"); - } - - // Use ListTablesRequest.newBuilder() to construct. - private ListTablesRequest(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private ListTablesRequest() { - pageToken_ = ""; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_ListTablesRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_ListTablesRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.ListTablesRequest.class, - com.google.area120.tables.v1alpha1.ListTablesRequest.Builder.class); - } - - public static final int PAGE_SIZE_FIELD_NUMBER = 1; - private int pageSize_ = 0; - - /** - * - * - *
-   * The maximum number of tables to return. The service may return fewer than
-   * this value.
-   *
-   * If unspecified, at most 20 tables are returned. The maximum value is 100;
-   * values above 100 are coerced to 100.
-   * 
- * - * int32 page_size = 1; - * - * @return The pageSize. - */ - @java.lang.Override - public int getPageSize() { - return pageSize_; - } - - public static final int PAGE_TOKEN_FIELD_NUMBER = 2; - - @SuppressWarnings("serial") - private volatile java.lang.Object pageToken_ = ""; - - /** - * - * - *
-   * A page token, received from a previous `ListTables` call.
-   * Provide this to retrieve the subsequent page.
-   *
-   * When paginating, all other parameters provided to `ListTables` must match
-   * the call that provided the page token.
-   * 
- * - * string page_token = 2; - * - * @return The pageToken. - */ - @java.lang.Override - public java.lang.String getPageToken() { - java.lang.Object ref = pageToken_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pageToken_ = s; - return s; - } - } - - /** - * - * - *
-   * A page token, received from a previous `ListTables` call.
-   * Provide this to retrieve the subsequent page.
-   *
-   * When paginating, all other parameters provided to `ListTables` must match
-   * the call that provided the page token.
-   * 
- * - * string page_token = 2; - * - * @return The bytes for pageToken. - */ - @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { - java.lang.Object ref = pageToken_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - pageToken_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (pageSize_ != 0) { - output.writeInt32(1, pageSize_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, pageToken_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, pageSize_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, pageToken_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.area120.tables.v1alpha1.ListTablesRequest)) { - return super.equals(obj); - } - com.google.area120.tables.v1alpha1.ListTablesRequest other = - (com.google.area120.tables.v1alpha1.ListTablesRequest) obj; - - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; - hash = (53 * hash) + getPageSize(); - hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; - hash = (53 * hash) + getPageToken().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.area120.tables.v1alpha1.ListTablesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.ListTablesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.ListTablesRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.ListTablesRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.ListTablesRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.ListTablesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.ListTablesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.ListTablesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.ListTablesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.ListTablesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.ListTablesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.ListTablesRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.area120.tables.v1alpha1.ListTablesRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * - * - *
-   * Request message for TablesService.ListTables.
-   * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.ListTablesRequest} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder - implements - // @@protoc_insertion_point(builder_implements:google.area120.tables.v1alpha1.ListTablesRequest) - com.google.area120.tables.v1alpha1.ListTablesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_ListTablesRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_ListTablesRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.ListTablesRequest.class, - com.google.area120.tables.v1alpha1.ListTablesRequest.Builder.class); - } - - // Construct using com.google.area120.tables.v1alpha1.ListTablesRequest.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - pageSize_ = 0; - pageToken_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_ListTablesRequest_descriptor; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.ListTablesRequest getDefaultInstanceForType() { - return com.google.area120.tables.v1alpha1.ListTablesRequest.getDefaultInstance(); - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.ListTablesRequest build() { - com.google.area120.tables.v1alpha1.ListTablesRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.ListTablesRequest buildPartial() { - com.google.area120.tables.v1alpha1.ListTablesRequest result = - new com.google.area120.tables.v1alpha1.ListTablesRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.google.area120.tables.v1alpha1.ListTablesRequest result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.pageSize_ = pageSize_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.pageToken_ = pageToken_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.area120.tables.v1alpha1.ListTablesRequest) { - return mergeFrom((com.google.area120.tables.v1alpha1.ListTablesRequest) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.area120.tables.v1alpha1.ListTablesRequest other) { - if (other == com.google.area120.tables.v1alpha1.ListTablesRequest.getDefaultInstance()) - return this; - if (other.getPageSize() != 0) { - setPageSize(other.getPageSize()); - } - if (!other.getPageToken().isEmpty()) { - pageToken_ = other.pageToken_; - bitField0_ |= 0x00000002; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private int pageSize_; - - /** - * - * - *
-     * The maximum number of tables to return. The service may return fewer than
-     * this value.
-     *
-     * If unspecified, at most 20 tables are returned. The maximum value is 100;
-     * values above 100 are coerced to 100.
-     * 
- * - * int32 page_size = 1; - * - * @return The pageSize. - */ - @java.lang.Override - public int getPageSize() { - return pageSize_; - } - - /** - * - * - *
-     * The maximum number of tables to return. The service may return fewer than
-     * this value.
-     *
-     * If unspecified, at most 20 tables are returned. The maximum value is 100;
-     * values above 100 are coerced to 100.
-     * 
- * - * int32 page_size = 1; - * - * @param value The pageSize to set. - * @return This builder for chaining. - */ - public Builder setPageSize(int value) { - - pageSize_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * - * - *
-     * The maximum number of tables to return. The service may return fewer than
-     * this value.
-     *
-     * If unspecified, at most 20 tables are returned. The maximum value is 100;
-     * values above 100 are coerced to 100.
-     * 
- * - * int32 page_size = 1; - * - * @return This builder for chaining. - */ - public Builder clearPageSize() { - bitField0_ = (bitField0_ & ~0x00000001); - pageSize_ = 0; - onChanged(); - return this; - } - - private java.lang.Object pageToken_ = ""; - - /** - * - * - *
-     * A page token, received from a previous `ListTables` call.
-     * Provide this to retrieve the subsequent page.
-     *
-     * When paginating, all other parameters provided to `ListTables` must match
-     * the call that provided the page token.
-     * 
- * - * string page_token = 2; - * - * @return The pageToken. - */ - public java.lang.String getPageToken() { - java.lang.Object ref = pageToken_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pageToken_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * - * - *
-     * A page token, received from a previous `ListTables` call.
-     * Provide this to retrieve the subsequent page.
-     *
-     * When paginating, all other parameters provided to `ListTables` must match
-     * the call that provided the page token.
-     * 
- * - * string page_token = 2; - * - * @return The bytes for pageToken. - */ - public com.google.protobuf.ByteString getPageTokenBytes() { - java.lang.Object ref = pageToken_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - pageToken_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * - * - *
-     * A page token, received from a previous `ListTables` call.
-     * Provide this to retrieve the subsequent page.
-     *
-     * When paginating, all other parameters provided to `ListTables` must match
-     * the call that provided the page token.
-     * 
- * - * string page_token = 2; - * - * @param value The pageToken to set. - * @return This builder for chaining. - */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - pageToken_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * - * - *
-     * A page token, received from a previous `ListTables` call.
-     * Provide this to retrieve the subsequent page.
-     *
-     * When paginating, all other parameters provided to `ListTables` must match
-     * the call that provided the page token.
-     * 
- * - * string page_token = 2; - * - * @return This builder for chaining. - */ - public Builder clearPageToken() { - pageToken_ = getDefaultInstance().getPageToken(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - - /** - * - * - *
-     * A page token, received from a previous `ListTables` call.
-     * Provide this to retrieve the subsequent page.
-     *
-     * When paginating, all other parameters provided to `ListTables` must match
-     * the call that provided the page token.
-     * 
- * - * string page_token = 2; - * - * @param value The bytes for pageToken to set. - * @return This builder for chaining. - */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - pageToken_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:google.area120.tables.v1alpha1.ListTablesRequest) - } - - // @@protoc_insertion_point(class_scope:google.area120.tables.v1alpha1.ListTablesRequest) - private static final com.google.area120.tables.v1alpha1.ListTablesRequest DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.area120.tables.v1alpha1.ListTablesRequest(); - } - - public static com.google.area120.tables.v1alpha1.ListTablesRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTablesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.ListTablesRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListTablesRequestOrBuilder.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListTablesRequestOrBuilder.java deleted file mode 100644 index da575a433acc..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListTablesRequestOrBuilder.java +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -@com.google.protobuf.Generated -public interface ListTablesRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.area120.tables.v1alpha1.ListTablesRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The maximum number of tables to return. The service may return fewer than
-   * this value.
-   *
-   * If unspecified, at most 20 tables are returned. The maximum value is 100;
-   * values above 100 are coerced to 100.
-   * 
- * - * int32 page_size = 1; - * - * @return The pageSize. - */ - int getPageSize(); - - /** - * - * - *
-   * A page token, received from a previous `ListTables` call.
-   * Provide this to retrieve the subsequent page.
-   *
-   * When paginating, all other parameters provided to `ListTables` must match
-   * the call that provided the page token.
-   * 
- * - * string page_token = 2; - * - * @return The pageToken. - */ - java.lang.String getPageToken(); - - /** - * - * - *
-   * A page token, received from a previous `ListTables` call.
-   * Provide this to retrieve the subsequent page.
-   *
-   * When paginating, all other parameters provided to `ListTables` must match
-   * the call that provided the page token.
-   * 
- * - * string page_token = 2; - * - * @return The bytes for pageToken. - */ - com.google.protobuf.ByteString getPageTokenBytes(); -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListTablesResponse.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListTablesResponse.java deleted file mode 100644 index 45b983dbe6da..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListTablesResponse.java +++ /dev/null @@ -1,1118 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -/** - * - * - *
- * Response message for TablesService.ListTables.
- * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.ListTablesResponse} - */ -@com.google.protobuf.Generated -public final class ListTablesResponse extends com.google.protobuf.GeneratedMessage - implements - // @@protoc_insertion_point(message_implements:google.area120.tables.v1alpha1.ListTablesResponse) - ListTablesResponseOrBuilder { - private static final long serialVersionUID = 0L; - - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 6, - /* suffix= */ "", - "ListTablesResponse"); - } - - // Use ListTablesResponse.newBuilder() to construct. - private ListTablesResponse(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private ListTablesResponse() { - tables_ = java.util.Collections.emptyList(); - nextPageToken_ = ""; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_ListTablesResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_ListTablesResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.ListTablesResponse.class, - com.google.area120.tables.v1alpha1.ListTablesResponse.Builder.class); - } - - public static final int TABLES_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private java.util.List tables_; - - /** - * - * - *
-   * The list of tables.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 1; - */ - @java.lang.Override - public java.util.List getTablesList() { - return tables_; - } - - /** - * - * - *
-   * The list of tables.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 1; - */ - @java.lang.Override - public java.util.List - getTablesOrBuilderList() { - return tables_; - } - - /** - * - * - *
-   * The list of tables.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 1; - */ - @java.lang.Override - public int getTablesCount() { - return tables_.size(); - } - - /** - * - * - *
-   * The list of tables.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 1; - */ - @java.lang.Override - public com.google.area120.tables.v1alpha1.Table getTables(int index) { - return tables_.get(index); - } - - /** - * - * - *
-   * The list of tables.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 1; - */ - @java.lang.Override - public com.google.area120.tables.v1alpha1.TableOrBuilder getTablesOrBuilder(int index) { - return tables_.get(index); - } - - public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - - @SuppressWarnings("serial") - private volatile java.lang.Object nextPageToken_ = ""; - - /** - * - * - *
-   * A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is empty, there are no subsequent pages.
-   * 
- * - * string next_page_token = 2; - * - * @return The nextPageToken. - */ - @java.lang.Override - public java.lang.String getNextPageToken() { - java.lang.Object ref = nextPageToken_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - nextPageToken_ = s; - return s; - } - } - - /** - * - * - *
-   * A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is empty, there are no subsequent pages.
-   * 
- * - * string next_page_token = 2; - * - * @return The bytes for nextPageToken. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { - java.lang.Object ref = nextPageToken_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - nextPageToken_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < tables_.size(); i++) { - output.writeMessage(1, tables_.get(i)); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, nextPageToken_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < tables_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tables_.get(i)); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, nextPageToken_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.area120.tables.v1alpha1.ListTablesResponse)) { - return super.equals(obj); - } - com.google.area120.tables.v1alpha1.ListTablesResponse other = - (com.google.area120.tables.v1alpha1.ListTablesResponse) obj; - - if (!getTablesList().equals(other.getTablesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getTablesCount() > 0) { - hash = (37 * hash) + TABLES_FIELD_NUMBER; - hash = (53 * hash) + getTablesList().hashCode(); - } - hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; - hash = (53 * hash) + getNextPageToken().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.area120.tables.v1alpha1.ListTablesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.ListTablesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.ListTablesResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.ListTablesResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.ListTablesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.ListTablesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.ListTablesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.ListTablesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.ListTablesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.ListTablesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.ListTablesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.ListTablesResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.area120.tables.v1alpha1.ListTablesResponse prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * - * - *
-   * Response message for TablesService.ListTables.
-   * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.ListTablesResponse} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder - implements - // @@protoc_insertion_point(builder_implements:google.area120.tables.v1alpha1.ListTablesResponse) - com.google.area120.tables.v1alpha1.ListTablesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_ListTablesResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_ListTablesResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.ListTablesResponse.class, - com.google.area120.tables.v1alpha1.ListTablesResponse.Builder.class); - } - - // Construct using com.google.area120.tables.v1alpha1.ListTablesResponse.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - if (tablesBuilder_ == null) { - tables_ = java.util.Collections.emptyList(); - } else { - tables_ = null; - tablesBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000001); - nextPageToken_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_ListTablesResponse_descriptor; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.ListTablesResponse getDefaultInstanceForType() { - return com.google.area120.tables.v1alpha1.ListTablesResponse.getDefaultInstance(); - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.ListTablesResponse build() { - com.google.area120.tables.v1alpha1.ListTablesResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.ListTablesResponse buildPartial() { - com.google.area120.tables.v1alpha1.ListTablesResponse result = - new com.google.area120.tables.v1alpha1.ListTablesResponse(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields( - com.google.area120.tables.v1alpha1.ListTablesResponse result) { - if (tablesBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - tables_ = java.util.Collections.unmodifiableList(tables_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.tables_ = tables_; - } else { - result.tables_ = tablesBuilder_.build(); - } - } - - private void buildPartial0(com.google.area120.tables.v1alpha1.ListTablesResponse result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000002) != 0)) { - result.nextPageToken_ = nextPageToken_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.area120.tables.v1alpha1.ListTablesResponse) { - return mergeFrom((com.google.area120.tables.v1alpha1.ListTablesResponse) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.area120.tables.v1alpha1.ListTablesResponse other) { - if (other == com.google.area120.tables.v1alpha1.ListTablesResponse.getDefaultInstance()) - return this; - if (tablesBuilder_ == null) { - if (!other.tables_.isEmpty()) { - if (tables_.isEmpty()) { - tables_ = other.tables_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureTablesIsMutable(); - tables_.addAll(other.tables_); - } - onChanged(); - } - } else { - if (!other.tables_.isEmpty()) { - if (tablesBuilder_.isEmpty()) { - tablesBuilder_.dispose(); - tablesBuilder_ = null; - tables_ = other.tables_; - bitField0_ = (bitField0_ & ~0x00000001); - tablesBuilder_ = - com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? internalGetTablesFieldBuilder() - : null; - } else { - tablesBuilder_.addAllMessages(other.tables_); - } - } - } - if (!other.getNextPageToken().isEmpty()) { - nextPageToken_ = other.nextPageToken_; - bitField0_ |= 0x00000002; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.area120.tables.v1alpha1.Table m = - input.readMessage( - com.google.area120.tables.v1alpha1.Table.parser(), extensionRegistry); - if (tablesBuilder_ == null) { - ensureTablesIsMutable(); - tables_.add(m); - } else { - tablesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.util.List tables_ = - java.util.Collections.emptyList(); - - private void ensureTablesIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - tables_ = new java.util.ArrayList(tables_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilder< - com.google.area120.tables.v1alpha1.Table, - com.google.area120.tables.v1alpha1.Table.Builder, - com.google.area120.tables.v1alpha1.TableOrBuilder> - tablesBuilder_; - - /** - * - * - *
-     * The list of tables.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 1; - */ - public java.util.List getTablesList() { - if (tablesBuilder_ == null) { - return java.util.Collections.unmodifiableList(tables_); - } else { - return tablesBuilder_.getMessageList(); - } - } - - /** - * - * - *
-     * The list of tables.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 1; - */ - public int getTablesCount() { - if (tablesBuilder_ == null) { - return tables_.size(); - } else { - return tablesBuilder_.getCount(); - } - } - - /** - * - * - *
-     * The list of tables.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 1; - */ - public com.google.area120.tables.v1alpha1.Table getTables(int index) { - if (tablesBuilder_ == null) { - return tables_.get(index); - } else { - return tablesBuilder_.getMessage(index); - } - } - - /** - * - * - *
-     * The list of tables.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 1; - */ - public Builder setTables(int index, com.google.area120.tables.v1alpha1.Table value) { - if (tablesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTablesIsMutable(); - tables_.set(index, value); - onChanged(); - } else { - tablesBuilder_.setMessage(index, value); - } - return this; - } - - /** - * - * - *
-     * The list of tables.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 1; - */ - public Builder setTables( - int index, com.google.area120.tables.v1alpha1.Table.Builder builderForValue) { - if (tablesBuilder_ == null) { - ensureTablesIsMutable(); - tables_.set(index, builderForValue.build()); - onChanged(); - } else { - tablesBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - * - * - *
-     * The list of tables.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 1; - */ - public Builder addTables(com.google.area120.tables.v1alpha1.Table value) { - if (tablesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTablesIsMutable(); - tables_.add(value); - onChanged(); - } else { - tablesBuilder_.addMessage(value); - } - return this; - } - - /** - * - * - *
-     * The list of tables.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 1; - */ - public Builder addTables(int index, com.google.area120.tables.v1alpha1.Table value) { - if (tablesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTablesIsMutable(); - tables_.add(index, value); - onChanged(); - } else { - tablesBuilder_.addMessage(index, value); - } - return this; - } - - /** - * - * - *
-     * The list of tables.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 1; - */ - public Builder addTables(com.google.area120.tables.v1alpha1.Table.Builder builderForValue) { - if (tablesBuilder_ == null) { - ensureTablesIsMutable(); - tables_.add(builderForValue.build()); - onChanged(); - } else { - tablesBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - * - * - *
-     * The list of tables.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 1; - */ - public Builder addTables( - int index, com.google.area120.tables.v1alpha1.Table.Builder builderForValue) { - if (tablesBuilder_ == null) { - ensureTablesIsMutable(); - tables_.add(index, builderForValue.build()); - onChanged(); - } else { - tablesBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - * - * - *
-     * The list of tables.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 1; - */ - public Builder addAllTables( - java.lang.Iterable values) { - if (tablesBuilder_ == null) { - ensureTablesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tables_); - onChanged(); - } else { - tablesBuilder_.addAllMessages(values); - } - return this; - } - - /** - * - * - *
-     * The list of tables.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 1; - */ - public Builder clearTables() { - if (tablesBuilder_ == null) { - tables_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - tablesBuilder_.clear(); - } - return this; - } - - /** - * - * - *
-     * The list of tables.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 1; - */ - public Builder removeTables(int index) { - if (tablesBuilder_ == null) { - ensureTablesIsMutable(); - tables_.remove(index); - onChanged(); - } else { - tablesBuilder_.remove(index); - } - return this; - } - - /** - * - * - *
-     * The list of tables.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 1; - */ - public com.google.area120.tables.v1alpha1.Table.Builder getTablesBuilder(int index) { - return internalGetTablesFieldBuilder().getBuilder(index); - } - - /** - * - * - *
-     * The list of tables.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 1; - */ - public com.google.area120.tables.v1alpha1.TableOrBuilder getTablesOrBuilder(int index) { - if (tablesBuilder_ == null) { - return tables_.get(index); - } else { - return tablesBuilder_.getMessageOrBuilder(index); - } - } - - /** - * - * - *
-     * The list of tables.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 1; - */ - public java.util.List - getTablesOrBuilderList() { - if (tablesBuilder_ != null) { - return tablesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(tables_); - } - } - - /** - * - * - *
-     * The list of tables.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 1; - */ - public com.google.area120.tables.v1alpha1.Table.Builder addTablesBuilder() { - return internalGetTablesFieldBuilder() - .addBuilder(com.google.area120.tables.v1alpha1.Table.getDefaultInstance()); - } - - /** - * - * - *
-     * The list of tables.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 1; - */ - public com.google.area120.tables.v1alpha1.Table.Builder addTablesBuilder(int index) { - return internalGetTablesFieldBuilder() - .addBuilder(index, com.google.area120.tables.v1alpha1.Table.getDefaultInstance()); - } - - /** - * - * - *
-     * The list of tables.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 1; - */ - public java.util.List getTablesBuilderList() { - return internalGetTablesFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilder< - com.google.area120.tables.v1alpha1.Table, - com.google.area120.tables.v1alpha1.Table.Builder, - com.google.area120.tables.v1alpha1.TableOrBuilder> - internalGetTablesFieldBuilder() { - if (tablesBuilder_ == null) { - tablesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilder< - com.google.area120.tables.v1alpha1.Table, - com.google.area120.tables.v1alpha1.Table.Builder, - com.google.area120.tables.v1alpha1.TableOrBuilder>( - tables_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - tables_ = null; - } - return tablesBuilder_; - } - - private java.lang.Object nextPageToken_ = ""; - - /** - * - * - *
-     * A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is empty, there are no subsequent pages.
-     * 
- * - * string next_page_token = 2; - * - * @return The nextPageToken. - */ - public java.lang.String getNextPageToken() { - java.lang.Object ref = nextPageToken_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - nextPageToken_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * - * - *
-     * A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is empty, there are no subsequent pages.
-     * 
- * - * string next_page_token = 2; - * - * @return The bytes for nextPageToken. - */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { - java.lang.Object ref = nextPageToken_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - nextPageToken_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * - * - *
-     * A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is empty, there are no subsequent pages.
-     * 
- * - * string next_page_token = 2; - * - * @param value The nextPageToken to set. - * @return This builder for chaining. - */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - nextPageToken_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * - * - *
-     * A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is empty, there are no subsequent pages.
-     * 
- * - * string next_page_token = 2; - * - * @return This builder for chaining. - */ - public Builder clearNextPageToken() { - nextPageToken_ = getDefaultInstance().getNextPageToken(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - - /** - * - * - *
-     * A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is empty, there are no subsequent pages.
-     * 
- * - * string next_page_token = 2; - * - * @param value The bytes for nextPageToken to set. - * @return This builder for chaining. - */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - nextPageToken_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:google.area120.tables.v1alpha1.ListTablesResponse) - } - - // @@protoc_insertion_point(class_scope:google.area120.tables.v1alpha1.ListTablesResponse) - private static final com.google.area120.tables.v1alpha1.ListTablesResponse DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.area120.tables.v1alpha1.ListTablesResponse(); - } - - public static com.google.area120.tables.v1alpha1.ListTablesResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTablesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.ListTablesResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListTablesResponseOrBuilder.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListTablesResponseOrBuilder.java deleted file mode 100644 index 3b58e1307d52..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListTablesResponseOrBuilder.java +++ /dev/null @@ -1,112 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -@com.google.protobuf.Generated -public interface ListTablesResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.area120.tables.v1alpha1.ListTablesResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The list of tables.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 1; - */ - java.util.List getTablesList(); - - /** - * - * - *
-   * The list of tables.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 1; - */ - com.google.area120.tables.v1alpha1.Table getTables(int index); - - /** - * - * - *
-   * The list of tables.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 1; - */ - int getTablesCount(); - - /** - * - * - *
-   * The list of tables.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 1; - */ - java.util.List - getTablesOrBuilderList(); - - /** - * - * - *
-   * The list of tables.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 1; - */ - com.google.area120.tables.v1alpha1.TableOrBuilder getTablesOrBuilder(int index); - - /** - * - * - *
-   * A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is empty, there are no subsequent pages.
-   * 
- * - * string next_page_token = 2; - * - * @return The nextPageToken. - */ - java.lang.String getNextPageToken(); - - /** - * - * - *
-   * A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is empty, there are no subsequent pages.
-   * 
- * - * string next_page_token = 2; - * - * @return The bytes for nextPageToken. - */ - com.google.protobuf.ByteString getNextPageTokenBytes(); -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListWorkspacesRequest.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListWorkspacesRequest.java deleted file mode 100644 index addc85182c03..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListWorkspacesRequest.java +++ /dev/null @@ -1,738 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -/** - * - * - *
- * Request message for TablesService.ListWorkspaces.
- * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.ListWorkspacesRequest} - */ -@com.google.protobuf.Generated -public final class ListWorkspacesRequest extends com.google.protobuf.GeneratedMessage - implements - // @@protoc_insertion_point(message_implements:google.area120.tables.v1alpha1.ListWorkspacesRequest) - ListWorkspacesRequestOrBuilder { - private static final long serialVersionUID = 0L; - - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 6, - /* suffix= */ "", - "ListWorkspacesRequest"); - } - - // Use ListWorkspacesRequest.newBuilder() to construct. - private ListWorkspacesRequest(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private ListWorkspacesRequest() { - pageToken_ = ""; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_ListWorkspacesRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_ListWorkspacesRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.ListWorkspacesRequest.class, - com.google.area120.tables.v1alpha1.ListWorkspacesRequest.Builder.class); - } - - public static final int PAGE_SIZE_FIELD_NUMBER = 1; - private int pageSize_ = 0; - - /** - * - * - *
-   * The maximum number of workspaces to return. The service may return fewer
-   * than this value.
-   *
-   * If unspecified, at most 10 workspaces are returned. The maximum value is
-   * 25; values above 25 are coerced to 25.
-   * 
- * - * int32 page_size = 1; - * - * @return The pageSize. - */ - @java.lang.Override - public int getPageSize() { - return pageSize_; - } - - public static final int PAGE_TOKEN_FIELD_NUMBER = 2; - - @SuppressWarnings("serial") - private volatile java.lang.Object pageToken_ = ""; - - /** - * - * - *
-   * A page token, received from a previous `ListWorkspaces` call.
-   * Provide this to retrieve the subsequent page.
-   *
-   * When paginating, all other parameters provided to `ListWorkspaces` must
-   * match the call that provided the page token.
-   * 
- * - * string page_token = 2; - * - * @return The pageToken. - */ - @java.lang.Override - public java.lang.String getPageToken() { - java.lang.Object ref = pageToken_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pageToken_ = s; - return s; - } - } - - /** - * - * - *
-   * A page token, received from a previous `ListWorkspaces` call.
-   * Provide this to retrieve the subsequent page.
-   *
-   * When paginating, all other parameters provided to `ListWorkspaces` must
-   * match the call that provided the page token.
-   * 
- * - * string page_token = 2; - * - * @return The bytes for pageToken. - */ - @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { - java.lang.Object ref = pageToken_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - pageToken_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (pageSize_ != 0) { - output.writeInt32(1, pageSize_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, pageToken_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, pageSize_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, pageToken_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.area120.tables.v1alpha1.ListWorkspacesRequest)) { - return super.equals(obj); - } - com.google.area120.tables.v1alpha1.ListWorkspacesRequest other = - (com.google.area120.tables.v1alpha1.ListWorkspacesRequest) obj; - - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; - hash = (53 * hash) + getPageSize(); - hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; - hash = (53 * hash) + getPageToken().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.area120.tables.v1alpha1.ListWorkspacesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.ListWorkspacesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.ListWorkspacesRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.ListWorkspacesRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.ListWorkspacesRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.ListWorkspacesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.ListWorkspacesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.ListWorkspacesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.ListWorkspacesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.ListWorkspacesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.ListWorkspacesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.ListWorkspacesRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.area120.tables.v1alpha1.ListWorkspacesRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * - * - *
-   * Request message for TablesService.ListWorkspaces.
-   * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.ListWorkspacesRequest} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder - implements - // @@protoc_insertion_point(builder_implements:google.area120.tables.v1alpha1.ListWorkspacesRequest) - com.google.area120.tables.v1alpha1.ListWorkspacesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_ListWorkspacesRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_ListWorkspacesRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.ListWorkspacesRequest.class, - com.google.area120.tables.v1alpha1.ListWorkspacesRequest.Builder.class); - } - - // Construct using com.google.area120.tables.v1alpha1.ListWorkspacesRequest.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - pageSize_ = 0; - pageToken_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_ListWorkspacesRequest_descriptor; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.ListWorkspacesRequest getDefaultInstanceForType() { - return com.google.area120.tables.v1alpha1.ListWorkspacesRequest.getDefaultInstance(); - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.ListWorkspacesRequest build() { - com.google.area120.tables.v1alpha1.ListWorkspacesRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.ListWorkspacesRequest buildPartial() { - com.google.area120.tables.v1alpha1.ListWorkspacesRequest result = - new com.google.area120.tables.v1alpha1.ListWorkspacesRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.google.area120.tables.v1alpha1.ListWorkspacesRequest result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.pageSize_ = pageSize_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.pageToken_ = pageToken_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.area120.tables.v1alpha1.ListWorkspacesRequest) { - return mergeFrom((com.google.area120.tables.v1alpha1.ListWorkspacesRequest) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.area120.tables.v1alpha1.ListWorkspacesRequest other) { - if (other == com.google.area120.tables.v1alpha1.ListWorkspacesRequest.getDefaultInstance()) - return this; - if (other.getPageSize() != 0) { - setPageSize(other.getPageSize()); - } - if (!other.getPageToken().isEmpty()) { - pageToken_ = other.pageToken_; - bitField0_ |= 0x00000002; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private int pageSize_; - - /** - * - * - *
-     * The maximum number of workspaces to return. The service may return fewer
-     * than this value.
-     *
-     * If unspecified, at most 10 workspaces are returned. The maximum value is
-     * 25; values above 25 are coerced to 25.
-     * 
- * - * int32 page_size = 1; - * - * @return The pageSize. - */ - @java.lang.Override - public int getPageSize() { - return pageSize_; - } - - /** - * - * - *
-     * The maximum number of workspaces to return. The service may return fewer
-     * than this value.
-     *
-     * If unspecified, at most 10 workspaces are returned. The maximum value is
-     * 25; values above 25 are coerced to 25.
-     * 
- * - * int32 page_size = 1; - * - * @param value The pageSize to set. - * @return This builder for chaining. - */ - public Builder setPageSize(int value) { - - pageSize_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * - * - *
-     * The maximum number of workspaces to return. The service may return fewer
-     * than this value.
-     *
-     * If unspecified, at most 10 workspaces are returned. The maximum value is
-     * 25; values above 25 are coerced to 25.
-     * 
- * - * int32 page_size = 1; - * - * @return This builder for chaining. - */ - public Builder clearPageSize() { - bitField0_ = (bitField0_ & ~0x00000001); - pageSize_ = 0; - onChanged(); - return this; - } - - private java.lang.Object pageToken_ = ""; - - /** - * - * - *
-     * A page token, received from a previous `ListWorkspaces` call.
-     * Provide this to retrieve the subsequent page.
-     *
-     * When paginating, all other parameters provided to `ListWorkspaces` must
-     * match the call that provided the page token.
-     * 
- * - * string page_token = 2; - * - * @return The pageToken. - */ - public java.lang.String getPageToken() { - java.lang.Object ref = pageToken_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pageToken_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * - * - *
-     * A page token, received from a previous `ListWorkspaces` call.
-     * Provide this to retrieve the subsequent page.
-     *
-     * When paginating, all other parameters provided to `ListWorkspaces` must
-     * match the call that provided the page token.
-     * 
- * - * string page_token = 2; - * - * @return The bytes for pageToken. - */ - public com.google.protobuf.ByteString getPageTokenBytes() { - java.lang.Object ref = pageToken_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - pageToken_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * - * - *
-     * A page token, received from a previous `ListWorkspaces` call.
-     * Provide this to retrieve the subsequent page.
-     *
-     * When paginating, all other parameters provided to `ListWorkspaces` must
-     * match the call that provided the page token.
-     * 
- * - * string page_token = 2; - * - * @param value The pageToken to set. - * @return This builder for chaining. - */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - pageToken_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * - * - *
-     * A page token, received from a previous `ListWorkspaces` call.
-     * Provide this to retrieve the subsequent page.
-     *
-     * When paginating, all other parameters provided to `ListWorkspaces` must
-     * match the call that provided the page token.
-     * 
- * - * string page_token = 2; - * - * @return This builder for chaining. - */ - public Builder clearPageToken() { - pageToken_ = getDefaultInstance().getPageToken(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - - /** - * - * - *
-     * A page token, received from a previous `ListWorkspaces` call.
-     * Provide this to retrieve the subsequent page.
-     *
-     * When paginating, all other parameters provided to `ListWorkspaces` must
-     * match the call that provided the page token.
-     * 
- * - * string page_token = 2; - * - * @param value The bytes for pageToken to set. - * @return This builder for chaining. - */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - pageToken_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:google.area120.tables.v1alpha1.ListWorkspacesRequest) - } - - // @@protoc_insertion_point(class_scope:google.area120.tables.v1alpha1.ListWorkspacesRequest) - private static final com.google.area120.tables.v1alpha1.ListWorkspacesRequest DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.area120.tables.v1alpha1.ListWorkspacesRequest(); - } - - public static com.google.area120.tables.v1alpha1.ListWorkspacesRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListWorkspacesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.ListWorkspacesRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListWorkspacesRequestOrBuilder.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListWorkspacesRequestOrBuilder.java deleted file mode 100644 index 917f7d09439d..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListWorkspacesRequestOrBuilder.java +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -@com.google.protobuf.Generated -public interface ListWorkspacesRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.area120.tables.v1alpha1.ListWorkspacesRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The maximum number of workspaces to return. The service may return fewer
-   * than this value.
-   *
-   * If unspecified, at most 10 workspaces are returned. The maximum value is
-   * 25; values above 25 are coerced to 25.
-   * 
- * - * int32 page_size = 1; - * - * @return The pageSize. - */ - int getPageSize(); - - /** - * - * - *
-   * A page token, received from a previous `ListWorkspaces` call.
-   * Provide this to retrieve the subsequent page.
-   *
-   * When paginating, all other parameters provided to `ListWorkspaces` must
-   * match the call that provided the page token.
-   * 
- * - * string page_token = 2; - * - * @return The pageToken. - */ - java.lang.String getPageToken(); - - /** - * - * - *
-   * A page token, received from a previous `ListWorkspaces` call.
-   * Provide this to retrieve the subsequent page.
-   *
-   * When paginating, all other parameters provided to `ListWorkspaces` must
-   * match the call that provided the page token.
-   * 
- * - * string page_token = 2; - * - * @return The bytes for pageToken. - */ - com.google.protobuf.ByteString getPageTokenBytes(); -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListWorkspacesResponse.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListWorkspacesResponse.java deleted file mode 100644 index d55b2b838e7f..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListWorkspacesResponse.java +++ /dev/null @@ -1,1121 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -/** - * - * - *
- * Response message for TablesService.ListWorkspaces.
- * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.ListWorkspacesResponse} - */ -@com.google.protobuf.Generated -public final class ListWorkspacesResponse extends com.google.protobuf.GeneratedMessage - implements - // @@protoc_insertion_point(message_implements:google.area120.tables.v1alpha1.ListWorkspacesResponse) - ListWorkspacesResponseOrBuilder { - private static final long serialVersionUID = 0L; - - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 6, - /* suffix= */ "", - "ListWorkspacesResponse"); - } - - // Use ListWorkspacesResponse.newBuilder() to construct. - private ListWorkspacesResponse(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private ListWorkspacesResponse() { - workspaces_ = java.util.Collections.emptyList(); - nextPageToken_ = ""; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_ListWorkspacesResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_ListWorkspacesResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.ListWorkspacesResponse.class, - com.google.area120.tables.v1alpha1.ListWorkspacesResponse.Builder.class); - } - - public static final int WORKSPACES_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private java.util.List workspaces_; - - /** - * - * - *
-   * The list of workspaces.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1; - */ - @java.lang.Override - public java.util.List getWorkspacesList() { - return workspaces_; - } - - /** - * - * - *
-   * The list of workspaces.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1; - */ - @java.lang.Override - public java.util.List - getWorkspacesOrBuilderList() { - return workspaces_; - } - - /** - * - * - *
-   * The list of workspaces.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1; - */ - @java.lang.Override - public int getWorkspacesCount() { - return workspaces_.size(); - } - - /** - * - * - *
-   * The list of workspaces.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1; - */ - @java.lang.Override - public com.google.area120.tables.v1alpha1.Workspace getWorkspaces(int index) { - return workspaces_.get(index); - } - - /** - * - * - *
-   * The list of workspaces.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1; - */ - @java.lang.Override - public com.google.area120.tables.v1alpha1.WorkspaceOrBuilder getWorkspacesOrBuilder(int index) { - return workspaces_.get(index); - } - - public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - - @SuppressWarnings("serial") - private volatile java.lang.Object nextPageToken_ = ""; - - /** - * - * - *
-   * A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is empty, there are no subsequent pages.
-   * 
- * - * string next_page_token = 2; - * - * @return The nextPageToken. - */ - @java.lang.Override - public java.lang.String getNextPageToken() { - java.lang.Object ref = nextPageToken_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - nextPageToken_ = s; - return s; - } - } - - /** - * - * - *
-   * A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is empty, there are no subsequent pages.
-   * 
- * - * string next_page_token = 2; - * - * @return The bytes for nextPageToken. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { - java.lang.Object ref = nextPageToken_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - nextPageToken_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < workspaces_.size(); i++) { - output.writeMessage(1, workspaces_.get(i)); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, nextPageToken_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < workspaces_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, workspaces_.get(i)); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, nextPageToken_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.area120.tables.v1alpha1.ListWorkspacesResponse)) { - return super.equals(obj); - } - com.google.area120.tables.v1alpha1.ListWorkspacesResponse other = - (com.google.area120.tables.v1alpha1.ListWorkspacesResponse) obj; - - if (!getWorkspacesList().equals(other.getWorkspacesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getWorkspacesCount() > 0) { - hash = (37 * hash) + WORKSPACES_FIELD_NUMBER; - hash = (53 * hash) + getWorkspacesList().hashCode(); - } - hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; - hash = (53 * hash) + getNextPageToken().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.area120.tables.v1alpha1.ListWorkspacesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.ListWorkspacesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.ListWorkspacesResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.ListWorkspacesResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.ListWorkspacesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.ListWorkspacesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.ListWorkspacesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.ListWorkspacesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.ListWorkspacesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.ListWorkspacesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.ListWorkspacesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.ListWorkspacesResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.area120.tables.v1alpha1.ListWorkspacesResponse prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * - * - *
-   * Response message for TablesService.ListWorkspaces.
-   * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.ListWorkspacesResponse} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder - implements - // @@protoc_insertion_point(builder_implements:google.area120.tables.v1alpha1.ListWorkspacesResponse) - com.google.area120.tables.v1alpha1.ListWorkspacesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_ListWorkspacesResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_ListWorkspacesResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.ListWorkspacesResponse.class, - com.google.area120.tables.v1alpha1.ListWorkspacesResponse.Builder.class); - } - - // Construct using com.google.area120.tables.v1alpha1.ListWorkspacesResponse.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - if (workspacesBuilder_ == null) { - workspaces_ = java.util.Collections.emptyList(); - } else { - workspaces_ = null; - workspacesBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000001); - nextPageToken_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_ListWorkspacesResponse_descriptor; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.ListWorkspacesResponse getDefaultInstanceForType() { - return com.google.area120.tables.v1alpha1.ListWorkspacesResponse.getDefaultInstance(); - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.ListWorkspacesResponse build() { - com.google.area120.tables.v1alpha1.ListWorkspacesResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.ListWorkspacesResponse buildPartial() { - com.google.area120.tables.v1alpha1.ListWorkspacesResponse result = - new com.google.area120.tables.v1alpha1.ListWorkspacesResponse(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields( - com.google.area120.tables.v1alpha1.ListWorkspacesResponse result) { - if (workspacesBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - workspaces_ = java.util.Collections.unmodifiableList(workspaces_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.workspaces_ = workspaces_; - } else { - result.workspaces_ = workspacesBuilder_.build(); - } - } - - private void buildPartial0(com.google.area120.tables.v1alpha1.ListWorkspacesResponse result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000002) != 0)) { - result.nextPageToken_ = nextPageToken_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.area120.tables.v1alpha1.ListWorkspacesResponse) { - return mergeFrom((com.google.area120.tables.v1alpha1.ListWorkspacesResponse) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.area120.tables.v1alpha1.ListWorkspacesResponse other) { - if (other == com.google.area120.tables.v1alpha1.ListWorkspacesResponse.getDefaultInstance()) - return this; - if (workspacesBuilder_ == null) { - if (!other.workspaces_.isEmpty()) { - if (workspaces_.isEmpty()) { - workspaces_ = other.workspaces_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureWorkspacesIsMutable(); - workspaces_.addAll(other.workspaces_); - } - onChanged(); - } - } else { - if (!other.workspaces_.isEmpty()) { - if (workspacesBuilder_.isEmpty()) { - workspacesBuilder_.dispose(); - workspacesBuilder_ = null; - workspaces_ = other.workspaces_; - bitField0_ = (bitField0_ & ~0x00000001); - workspacesBuilder_ = - com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? internalGetWorkspacesFieldBuilder() - : null; - } else { - workspacesBuilder_.addAllMessages(other.workspaces_); - } - } - } - if (!other.getNextPageToken().isEmpty()) { - nextPageToken_ = other.nextPageToken_; - bitField0_ |= 0x00000002; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.area120.tables.v1alpha1.Workspace m = - input.readMessage( - com.google.area120.tables.v1alpha1.Workspace.parser(), extensionRegistry); - if (workspacesBuilder_ == null) { - ensureWorkspacesIsMutable(); - workspaces_.add(m); - } else { - workspacesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.util.List workspaces_ = - java.util.Collections.emptyList(); - - private void ensureWorkspacesIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - workspaces_ = - new java.util.ArrayList(workspaces_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilder< - com.google.area120.tables.v1alpha1.Workspace, - com.google.area120.tables.v1alpha1.Workspace.Builder, - com.google.area120.tables.v1alpha1.WorkspaceOrBuilder> - workspacesBuilder_; - - /** - * - * - *
-     * The list of workspaces.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1; - */ - public java.util.List getWorkspacesList() { - if (workspacesBuilder_ == null) { - return java.util.Collections.unmodifiableList(workspaces_); - } else { - return workspacesBuilder_.getMessageList(); - } - } - - /** - * - * - *
-     * The list of workspaces.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1; - */ - public int getWorkspacesCount() { - if (workspacesBuilder_ == null) { - return workspaces_.size(); - } else { - return workspacesBuilder_.getCount(); - } - } - - /** - * - * - *
-     * The list of workspaces.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1; - */ - public com.google.area120.tables.v1alpha1.Workspace getWorkspaces(int index) { - if (workspacesBuilder_ == null) { - return workspaces_.get(index); - } else { - return workspacesBuilder_.getMessage(index); - } - } - - /** - * - * - *
-     * The list of workspaces.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1; - */ - public Builder setWorkspaces(int index, com.google.area120.tables.v1alpha1.Workspace value) { - if (workspacesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureWorkspacesIsMutable(); - workspaces_.set(index, value); - onChanged(); - } else { - workspacesBuilder_.setMessage(index, value); - } - return this; - } - - /** - * - * - *
-     * The list of workspaces.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1; - */ - public Builder setWorkspaces( - int index, com.google.area120.tables.v1alpha1.Workspace.Builder builderForValue) { - if (workspacesBuilder_ == null) { - ensureWorkspacesIsMutable(); - workspaces_.set(index, builderForValue.build()); - onChanged(); - } else { - workspacesBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - * - * - *
-     * The list of workspaces.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1; - */ - public Builder addWorkspaces(com.google.area120.tables.v1alpha1.Workspace value) { - if (workspacesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureWorkspacesIsMutable(); - workspaces_.add(value); - onChanged(); - } else { - workspacesBuilder_.addMessage(value); - } - return this; - } - - /** - * - * - *
-     * The list of workspaces.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1; - */ - public Builder addWorkspaces(int index, com.google.area120.tables.v1alpha1.Workspace value) { - if (workspacesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureWorkspacesIsMutable(); - workspaces_.add(index, value); - onChanged(); - } else { - workspacesBuilder_.addMessage(index, value); - } - return this; - } - - /** - * - * - *
-     * The list of workspaces.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1; - */ - public Builder addWorkspaces( - com.google.area120.tables.v1alpha1.Workspace.Builder builderForValue) { - if (workspacesBuilder_ == null) { - ensureWorkspacesIsMutable(); - workspaces_.add(builderForValue.build()); - onChanged(); - } else { - workspacesBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - * - * - *
-     * The list of workspaces.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1; - */ - public Builder addWorkspaces( - int index, com.google.area120.tables.v1alpha1.Workspace.Builder builderForValue) { - if (workspacesBuilder_ == null) { - ensureWorkspacesIsMutable(); - workspaces_.add(index, builderForValue.build()); - onChanged(); - } else { - workspacesBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - * - * - *
-     * The list of workspaces.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1; - */ - public Builder addAllWorkspaces( - java.lang.Iterable values) { - if (workspacesBuilder_ == null) { - ensureWorkspacesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, workspaces_); - onChanged(); - } else { - workspacesBuilder_.addAllMessages(values); - } - return this; - } - - /** - * - * - *
-     * The list of workspaces.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1; - */ - public Builder clearWorkspaces() { - if (workspacesBuilder_ == null) { - workspaces_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - workspacesBuilder_.clear(); - } - return this; - } - - /** - * - * - *
-     * The list of workspaces.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1; - */ - public Builder removeWorkspaces(int index) { - if (workspacesBuilder_ == null) { - ensureWorkspacesIsMutable(); - workspaces_.remove(index); - onChanged(); - } else { - workspacesBuilder_.remove(index); - } - return this; - } - - /** - * - * - *
-     * The list of workspaces.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1; - */ - public com.google.area120.tables.v1alpha1.Workspace.Builder getWorkspacesBuilder(int index) { - return internalGetWorkspacesFieldBuilder().getBuilder(index); - } - - /** - * - * - *
-     * The list of workspaces.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1; - */ - public com.google.area120.tables.v1alpha1.WorkspaceOrBuilder getWorkspacesOrBuilder(int index) { - if (workspacesBuilder_ == null) { - return workspaces_.get(index); - } else { - return workspacesBuilder_.getMessageOrBuilder(index); - } - } - - /** - * - * - *
-     * The list of workspaces.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1; - */ - public java.util.List - getWorkspacesOrBuilderList() { - if (workspacesBuilder_ != null) { - return workspacesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(workspaces_); - } - } - - /** - * - * - *
-     * The list of workspaces.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1; - */ - public com.google.area120.tables.v1alpha1.Workspace.Builder addWorkspacesBuilder() { - return internalGetWorkspacesFieldBuilder() - .addBuilder(com.google.area120.tables.v1alpha1.Workspace.getDefaultInstance()); - } - - /** - * - * - *
-     * The list of workspaces.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1; - */ - public com.google.area120.tables.v1alpha1.Workspace.Builder addWorkspacesBuilder(int index) { - return internalGetWorkspacesFieldBuilder() - .addBuilder(index, com.google.area120.tables.v1alpha1.Workspace.getDefaultInstance()); - } - - /** - * - * - *
-     * The list of workspaces.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1; - */ - public java.util.List - getWorkspacesBuilderList() { - return internalGetWorkspacesFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilder< - com.google.area120.tables.v1alpha1.Workspace, - com.google.area120.tables.v1alpha1.Workspace.Builder, - com.google.area120.tables.v1alpha1.WorkspaceOrBuilder> - internalGetWorkspacesFieldBuilder() { - if (workspacesBuilder_ == null) { - workspacesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilder< - com.google.area120.tables.v1alpha1.Workspace, - com.google.area120.tables.v1alpha1.Workspace.Builder, - com.google.area120.tables.v1alpha1.WorkspaceOrBuilder>( - workspaces_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - workspaces_ = null; - } - return workspacesBuilder_; - } - - private java.lang.Object nextPageToken_ = ""; - - /** - * - * - *
-     * A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is empty, there are no subsequent pages.
-     * 
- * - * string next_page_token = 2; - * - * @return The nextPageToken. - */ - public java.lang.String getNextPageToken() { - java.lang.Object ref = nextPageToken_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - nextPageToken_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * - * - *
-     * A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is empty, there are no subsequent pages.
-     * 
- * - * string next_page_token = 2; - * - * @return The bytes for nextPageToken. - */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { - java.lang.Object ref = nextPageToken_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - nextPageToken_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * - * - *
-     * A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is empty, there are no subsequent pages.
-     * 
- * - * string next_page_token = 2; - * - * @param value The nextPageToken to set. - * @return This builder for chaining. - */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - nextPageToken_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * - * - *
-     * A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is empty, there are no subsequent pages.
-     * 
- * - * string next_page_token = 2; - * - * @return This builder for chaining. - */ - public Builder clearNextPageToken() { - nextPageToken_ = getDefaultInstance().getNextPageToken(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - - /** - * - * - *
-     * A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is empty, there are no subsequent pages.
-     * 
- * - * string next_page_token = 2; - * - * @param value The bytes for nextPageToken to set. - * @return This builder for chaining. - */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - nextPageToken_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:google.area120.tables.v1alpha1.ListWorkspacesResponse) - } - - // @@protoc_insertion_point(class_scope:google.area120.tables.v1alpha1.ListWorkspacesResponse) - private static final com.google.area120.tables.v1alpha1.ListWorkspacesResponse DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.area120.tables.v1alpha1.ListWorkspacesResponse(); - } - - public static com.google.area120.tables.v1alpha1.ListWorkspacesResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListWorkspacesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.ListWorkspacesResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListWorkspacesResponseOrBuilder.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListWorkspacesResponseOrBuilder.java deleted file mode 100644 index 8460b17aace7..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/ListWorkspacesResponseOrBuilder.java +++ /dev/null @@ -1,112 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -@com.google.protobuf.Generated -public interface ListWorkspacesResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.area120.tables.v1alpha1.ListWorkspacesResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The list of workspaces.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1; - */ - java.util.List getWorkspacesList(); - - /** - * - * - *
-   * The list of workspaces.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1; - */ - com.google.area120.tables.v1alpha1.Workspace getWorkspaces(int index); - - /** - * - * - *
-   * The list of workspaces.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1; - */ - int getWorkspacesCount(); - - /** - * - * - *
-   * The list of workspaces.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1; - */ - java.util.List - getWorkspacesOrBuilderList(); - - /** - * - * - *
-   * The list of workspaces.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1; - */ - com.google.area120.tables.v1alpha1.WorkspaceOrBuilder getWorkspacesOrBuilder(int index); - - /** - * - * - *
-   * A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is empty, there are no subsequent pages.
-   * 
- * - * string next_page_token = 2; - * - * @return The nextPageToken. - */ - java.lang.String getNextPageToken(); - - /** - * - * - *
-   * A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is empty, there are no subsequent pages.
-   * 
- * - * string next_page_token = 2; - * - * @return The bytes for nextPageToken. - */ - com.google.protobuf.ByteString getNextPageTokenBytes(); -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/LookupDetails.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/LookupDetails.java deleted file mode 100644 index 6c8ef4f7896d..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/LookupDetails.java +++ /dev/null @@ -1,787 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -/** - * - * - *
- * Details about a lookup column whose value comes from the associated
- * relationship.
- * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.LookupDetails} - */ -@com.google.protobuf.Generated -public final class LookupDetails extends com.google.protobuf.GeneratedMessage - implements - // @@protoc_insertion_point(message_implements:google.area120.tables.v1alpha1.LookupDetails) - LookupDetailsOrBuilder { - private static final long serialVersionUID = 0L; - - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 6, - /* suffix= */ "", - "LookupDetails"); - } - - // Use LookupDetails.newBuilder() to construct. - private LookupDetails(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private LookupDetails() { - relationshipColumn_ = ""; - relationshipColumnId_ = ""; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_LookupDetails_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_LookupDetails_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.LookupDetails.class, - com.google.area120.tables.v1alpha1.LookupDetails.Builder.class); - } - - public static final int RELATIONSHIP_COLUMN_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private volatile java.lang.Object relationshipColumn_ = ""; - - /** - * - * - *
-   * The name of the relationship column associated with the lookup.
-   * 
- * - * string relationship_column = 1; - * - * @return The relationshipColumn. - */ - @java.lang.Override - public java.lang.String getRelationshipColumn() { - java.lang.Object ref = relationshipColumn_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - relationshipColumn_ = s; - return s; - } - } - - /** - * - * - *
-   * The name of the relationship column associated with the lookup.
-   * 
- * - * string relationship_column = 1; - * - * @return The bytes for relationshipColumn. - */ - @java.lang.Override - public com.google.protobuf.ByteString getRelationshipColumnBytes() { - java.lang.Object ref = relationshipColumn_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - relationshipColumn_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int RELATIONSHIP_COLUMN_ID_FIELD_NUMBER = 2; - - @SuppressWarnings("serial") - private volatile java.lang.Object relationshipColumnId_ = ""; - - /** - * - * - *
-   * The id of the relationship column.
-   * 
- * - * string relationship_column_id = 2; - * - * @return The relationshipColumnId. - */ - @java.lang.Override - public java.lang.String getRelationshipColumnId() { - java.lang.Object ref = relationshipColumnId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - relationshipColumnId_ = s; - return s; - } - } - - /** - * - * - *
-   * The id of the relationship column.
-   * 
- * - * string relationship_column_id = 2; - * - * @return The bytes for relationshipColumnId. - */ - @java.lang.Override - public com.google.protobuf.ByteString getRelationshipColumnIdBytes() { - java.lang.Object ref = relationshipColumnId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - relationshipColumnId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(relationshipColumn_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, relationshipColumn_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(relationshipColumnId_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, relationshipColumnId_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(relationshipColumn_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, relationshipColumn_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(relationshipColumnId_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, relationshipColumnId_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.area120.tables.v1alpha1.LookupDetails)) { - return super.equals(obj); - } - com.google.area120.tables.v1alpha1.LookupDetails other = - (com.google.area120.tables.v1alpha1.LookupDetails) obj; - - if (!getRelationshipColumn().equals(other.getRelationshipColumn())) return false; - if (!getRelationshipColumnId().equals(other.getRelationshipColumnId())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + RELATIONSHIP_COLUMN_FIELD_NUMBER; - hash = (53 * hash) + getRelationshipColumn().hashCode(); - hash = (37 * hash) + RELATIONSHIP_COLUMN_ID_FIELD_NUMBER; - hash = (53 * hash) + getRelationshipColumnId().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.area120.tables.v1alpha1.LookupDetails parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.LookupDetails parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.LookupDetails parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.LookupDetails parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.LookupDetails parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.LookupDetails parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.LookupDetails parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.LookupDetails parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.LookupDetails parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.LookupDetails parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.LookupDetails parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.LookupDetails parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.area120.tables.v1alpha1.LookupDetails prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * - * - *
-   * Details about a lookup column whose value comes from the associated
-   * relationship.
-   * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.LookupDetails} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder - implements - // @@protoc_insertion_point(builder_implements:google.area120.tables.v1alpha1.LookupDetails) - com.google.area120.tables.v1alpha1.LookupDetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_LookupDetails_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_LookupDetails_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.LookupDetails.class, - com.google.area120.tables.v1alpha1.LookupDetails.Builder.class); - } - - // Construct using com.google.area120.tables.v1alpha1.LookupDetails.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - relationshipColumn_ = ""; - relationshipColumnId_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_LookupDetails_descriptor; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.LookupDetails getDefaultInstanceForType() { - return com.google.area120.tables.v1alpha1.LookupDetails.getDefaultInstance(); - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.LookupDetails build() { - com.google.area120.tables.v1alpha1.LookupDetails result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.LookupDetails buildPartial() { - com.google.area120.tables.v1alpha1.LookupDetails result = - new com.google.area120.tables.v1alpha1.LookupDetails(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.google.area120.tables.v1alpha1.LookupDetails result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.relationshipColumn_ = relationshipColumn_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.relationshipColumnId_ = relationshipColumnId_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.area120.tables.v1alpha1.LookupDetails) { - return mergeFrom((com.google.area120.tables.v1alpha1.LookupDetails) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.area120.tables.v1alpha1.LookupDetails other) { - if (other == com.google.area120.tables.v1alpha1.LookupDetails.getDefaultInstance()) - return this; - if (!other.getRelationshipColumn().isEmpty()) { - relationshipColumn_ = other.relationshipColumn_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getRelationshipColumnId().isEmpty()) { - relationshipColumnId_ = other.relationshipColumnId_; - bitField0_ |= 0x00000002; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - relationshipColumn_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - relationshipColumnId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object relationshipColumn_ = ""; - - /** - * - * - *
-     * The name of the relationship column associated with the lookup.
-     * 
- * - * string relationship_column = 1; - * - * @return The relationshipColumn. - */ - public java.lang.String getRelationshipColumn() { - java.lang.Object ref = relationshipColumn_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - relationshipColumn_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * - * - *
-     * The name of the relationship column associated with the lookup.
-     * 
- * - * string relationship_column = 1; - * - * @return The bytes for relationshipColumn. - */ - public com.google.protobuf.ByteString getRelationshipColumnBytes() { - java.lang.Object ref = relationshipColumn_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - relationshipColumn_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * - * - *
-     * The name of the relationship column associated with the lookup.
-     * 
- * - * string relationship_column = 1; - * - * @param value The relationshipColumn to set. - * @return This builder for chaining. - */ - public Builder setRelationshipColumn(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - relationshipColumn_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * - * - *
-     * The name of the relationship column associated with the lookup.
-     * 
- * - * string relationship_column = 1; - * - * @return This builder for chaining. - */ - public Builder clearRelationshipColumn() { - relationshipColumn_ = getDefaultInstance().getRelationshipColumn(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * - * - *
-     * The name of the relationship column associated with the lookup.
-     * 
- * - * string relationship_column = 1; - * - * @param value The bytes for relationshipColumn to set. - * @return This builder for chaining. - */ - public Builder setRelationshipColumnBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - relationshipColumn_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private java.lang.Object relationshipColumnId_ = ""; - - /** - * - * - *
-     * The id of the relationship column.
-     * 
- * - * string relationship_column_id = 2; - * - * @return The relationshipColumnId. - */ - public java.lang.String getRelationshipColumnId() { - java.lang.Object ref = relationshipColumnId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - relationshipColumnId_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * - * - *
-     * The id of the relationship column.
-     * 
- * - * string relationship_column_id = 2; - * - * @return The bytes for relationshipColumnId. - */ - public com.google.protobuf.ByteString getRelationshipColumnIdBytes() { - java.lang.Object ref = relationshipColumnId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - relationshipColumnId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * - * - *
-     * The id of the relationship column.
-     * 
- * - * string relationship_column_id = 2; - * - * @param value The relationshipColumnId to set. - * @return This builder for chaining. - */ - public Builder setRelationshipColumnId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - relationshipColumnId_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * - * - *
-     * The id of the relationship column.
-     * 
- * - * string relationship_column_id = 2; - * - * @return This builder for chaining. - */ - public Builder clearRelationshipColumnId() { - relationshipColumnId_ = getDefaultInstance().getRelationshipColumnId(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - - /** - * - * - *
-     * The id of the relationship column.
-     * 
- * - * string relationship_column_id = 2; - * - * @param value The bytes for relationshipColumnId to set. - * @return This builder for chaining. - */ - public Builder setRelationshipColumnIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - relationshipColumnId_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:google.area120.tables.v1alpha1.LookupDetails) - } - - // @@protoc_insertion_point(class_scope:google.area120.tables.v1alpha1.LookupDetails) - private static final com.google.area120.tables.v1alpha1.LookupDetails DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.area120.tables.v1alpha1.LookupDetails(); - } - - public static com.google.area120.tables.v1alpha1.LookupDetails getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LookupDetails parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.LookupDetails getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/LookupDetailsOrBuilder.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/LookupDetailsOrBuilder.java deleted file mode 100644 index 9a73e30b8aa3..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/LookupDetailsOrBuilder.java +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -@com.google.protobuf.Generated -public interface LookupDetailsOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.area120.tables.v1alpha1.LookupDetails) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The name of the relationship column associated with the lookup.
-   * 
- * - * string relationship_column = 1; - * - * @return The relationshipColumn. - */ - java.lang.String getRelationshipColumn(); - - /** - * - * - *
-   * The name of the relationship column associated with the lookup.
-   * 
- * - * string relationship_column = 1; - * - * @return The bytes for relationshipColumn. - */ - com.google.protobuf.ByteString getRelationshipColumnBytes(); - - /** - * - * - *
-   * The id of the relationship column.
-   * 
- * - * string relationship_column_id = 2; - * - * @return The relationshipColumnId. - */ - java.lang.String getRelationshipColumnId(); - - /** - * - * - *
-   * The id of the relationship column.
-   * 
- * - * string relationship_column_id = 2; - * - * @return The bytes for relationshipColumnId. - */ - com.google.protobuf.ByteString getRelationshipColumnIdBytes(); -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/RelationshipDetails.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/RelationshipDetails.java deleted file mode 100644 index 545c6e028f5a..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/RelationshipDetails.java +++ /dev/null @@ -1,597 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -/** - * - * - *
- * Details about a relationship column.
- * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.RelationshipDetails} - */ -@com.google.protobuf.Generated -public final class RelationshipDetails extends com.google.protobuf.GeneratedMessage - implements - // @@protoc_insertion_point(message_implements:google.area120.tables.v1alpha1.RelationshipDetails) - RelationshipDetailsOrBuilder { - private static final long serialVersionUID = 0L; - - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 6, - /* suffix= */ "", - "RelationshipDetails"); - } - - // Use RelationshipDetails.newBuilder() to construct. - private RelationshipDetails(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private RelationshipDetails() { - linkedTable_ = ""; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_RelationshipDetails_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_RelationshipDetails_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.RelationshipDetails.class, - com.google.area120.tables.v1alpha1.RelationshipDetails.Builder.class); - } - - public static final int LINKED_TABLE_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private volatile java.lang.Object linkedTable_ = ""; - - /** - * - * - *
-   * The name of the table this relationship is linked to.
-   * 
- * - * string linked_table = 1; - * - * @return The linkedTable. - */ - @java.lang.Override - public java.lang.String getLinkedTable() { - java.lang.Object ref = linkedTable_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - linkedTable_ = s; - return s; - } - } - - /** - * - * - *
-   * The name of the table this relationship is linked to.
-   * 
- * - * string linked_table = 1; - * - * @return The bytes for linkedTable. - */ - @java.lang.Override - public com.google.protobuf.ByteString getLinkedTableBytes() { - java.lang.Object ref = linkedTable_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - linkedTable_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(linkedTable_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, linkedTable_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(linkedTable_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, linkedTable_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.area120.tables.v1alpha1.RelationshipDetails)) { - return super.equals(obj); - } - com.google.area120.tables.v1alpha1.RelationshipDetails other = - (com.google.area120.tables.v1alpha1.RelationshipDetails) obj; - - if (!getLinkedTable().equals(other.getLinkedTable())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + LINKED_TABLE_FIELD_NUMBER; - hash = (53 * hash) + getLinkedTable().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.area120.tables.v1alpha1.RelationshipDetails parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.RelationshipDetails parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.RelationshipDetails parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.RelationshipDetails parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.RelationshipDetails parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.RelationshipDetails parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.RelationshipDetails parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.RelationshipDetails parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.RelationshipDetails parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.RelationshipDetails parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.RelationshipDetails parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.RelationshipDetails parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.area120.tables.v1alpha1.RelationshipDetails prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * - * - *
-   * Details about a relationship column.
-   * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.RelationshipDetails} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder - implements - // @@protoc_insertion_point(builder_implements:google.area120.tables.v1alpha1.RelationshipDetails) - com.google.area120.tables.v1alpha1.RelationshipDetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_RelationshipDetails_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_RelationshipDetails_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.RelationshipDetails.class, - com.google.area120.tables.v1alpha1.RelationshipDetails.Builder.class); - } - - // Construct using com.google.area120.tables.v1alpha1.RelationshipDetails.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - linkedTable_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_RelationshipDetails_descriptor; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.RelationshipDetails getDefaultInstanceForType() { - return com.google.area120.tables.v1alpha1.RelationshipDetails.getDefaultInstance(); - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.RelationshipDetails build() { - com.google.area120.tables.v1alpha1.RelationshipDetails result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.RelationshipDetails buildPartial() { - com.google.area120.tables.v1alpha1.RelationshipDetails result = - new com.google.area120.tables.v1alpha1.RelationshipDetails(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.google.area120.tables.v1alpha1.RelationshipDetails result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.linkedTable_ = linkedTable_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.area120.tables.v1alpha1.RelationshipDetails) { - return mergeFrom((com.google.area120.tables.v1alpha1.RelationshipDetails) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.area120.tables.v1alpha1.RelationshipDetails other) { - if (other == com.google.area120.tables.v1alpha1.RelationshipDetails.getDefaultInstance()) - return this; - if (!other.getLinkedTable().isEmpty()) { - linkedTable_ = other.linkedTable_; - bitField0_ |= 0x00000001; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - linkedTable_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object linkedTable_ = ""; - - /** - * - * - *
-     * The name of the table this relationship is linked to.
-     * 
- * - * string linked_table = 1; - * - * @return The linkedTable. - */ - public java.lang.String getLinkedTable() { - java.lang.Object ref = linkedTable_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - linkedTable_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * - * - *
-     * The name of the table this relationship is linked to.
-     * 
- * - * string linked_table = 1; - * - * @return The bytes for linkedTable. - */ - public com.google.protobuf.ByteString getLinkedTableBytes() { - java.lang.Object ref = linkedTable_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - linkedTable_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * - * - *
-     * The name of the table this relationship is linked to.
-     * 
- * - * string linked_table = 1; - * - * @param value The linkedTable to set. - * @return This builder for chaining. - */ - public Builder setLinkedTable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - linkedTable_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * - * - *
-     * The name of the table this relationship is linked to.
-     * 
- * - * string linked_table = 1; - * - * @return This builder for chaining. - */ - public Builder clearLinkedTable() { - linkedTable_ = getDefaultInstance().getLinkedTable(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * - * - *
-     * The name of the table this relationship is linked to.
-     * 
- * - * string linked_table = 1; - * - * @param value The bytes for linkedTable to set. - * @return This builder for chaining. - */ - public Builder setLinkedTableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - linkedTable_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:google.area120.tables.v1alpha1.RelationshipDetails) - } - - // @@protoc_insertion_point(class_scope:google.area120.tables.v1alpha1.RelationshipDetails) - private static final com.google.area120.tables.v1alpha1.RelationshipDetails DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.area120.tables.v1alpha1.RelationshipDetails(); - } - - public static com.google.area120.tables.v1alpha1.RelationshipDetails getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RelationshipDetails parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.RelationshipDetails getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/RelationshipDetailsOrBuilder.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/RelationshipDetailsOrBuilder.java deleted file mode 100644 index 8cd9b0299828..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/RelationshipDetailsOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -@com.google.protobuf.Generated -public interface RelationshipDetailsOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.area120.tables.v1alpha1.RelationshipDetails) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The name of the table this relationship is linked to.
-   * 
- * - * string linked_table = 1; - * - * @return The linkedTable. - */ - java.lang.String getLinkedTable(); - - /** - * - * - *
-   * The name of the table this relationship is linked to.
-   * 
- * - * string linked_table = 1; - * - * @return The bytes for linkedTable. - */ - com.google.protobuf.ByteString getLinkedTableBytes(); -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/Row.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/Row.java deleted file mode 100644 index 780e8d70fbcd..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/Row.java +++ /dev/null @@ -1,1046 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -/** - * - * - *
- * A single row in a table.
- * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.Row} - */ -@com.google.protobuf.Generated -public final class Row extends com.google.protobuf.GeneratedMessage - implements - // @@protoc_insertion_point(message_implements:google.area120.tables.v1alpha1.Row) - RowOrBuilder { - private static final long serialVersionUID = 0L; - - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 6, - /* suffix= */ "", - "Row"); - } - - // Use Row.newBuilder() to construct. - private Row(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private Row() { - name_ = ""; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_Row_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - @java.lang.Override - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( - int number) { - switch (number) { - case 2: - return internalGetValues(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_Row_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.Row.class, - com.google.area120.tables.v1alpha1.Row.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private volatile java.lang.Object name_ = ""; - - /** - * - * - *
-   * The resource name of the row.
-   * Row names have the form `tables/{table}/rows/{row}`.
-   * The name is ignored when creating a row.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - - /** - * - * - *
-   * The resource name of the row.
-   * Row names have the form `tables/{table}/rows/{row}`.
-   * The name is ignored when creating a row.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int VALUES_FIELD_NUMBER = 2; - - private static final class ValuesDefaultEntryHolder { - static final com.google.protobuf.MapEntry - defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_Row_ValuesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.protobuf.Value.getDefaultInstance()); - } - - @SuppressWarnings("serial") - private com.google.protobuf.MapField values_; - - private com.google.protobuf.MapField - internalGetValues() { - if (values_ == null) { - return com.google.protobuf.MapField.emptyMapField(ValuesDefaultEntryHolder.defaultEntry); - } - return values_; - } - - public int getValuesCount() { - return internalGetValues().getMap().size(); - } - - /** - * - * - *
-   * The values of the row. This is a map of column key to value.
-   * Key is user entered name(default) or the internal column id based on
-   * the view in the request.
-   * 
- * - * map<string, .google.protobuf.Value> values = 2; - */ - @java.lang.Override - public boolean containsValues(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetValues().getMap().containsKey(key); - } - - /** Use {@link #getValuesMap()} instead. */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getValues() { - return getValuesMap(); - } - - /** - * - * - *
-   * The values of the row. This is a map of column key to value.
-   * Key is user entered name(default) or the internal column id based on
-   * the view in the request.
-   * 
- * - * map<string, .google.protobuf.Value> values = 2; - */ - @java.lang.Override - public java.util.Map getValuesMap() { - return internalGetValues().getMap(); - } - - /** - * - * - *
-   * The values of the row. This is a map of column key to value.
-   * Key is user entered name(default) or the internal column id based on
-   * the view in the request.
-   * 
- * - * map<string, .google.protobuf.Value> values = 2; - */ - @java.lang.Override - public /* nullable */ com.google.protobuf.Value getValuesOrDefault( - java.lang.String key, - /* nullable */ - com.google.protobuf.Value defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetValues().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - - /** - * - * - *
-   * The values of the row. This is a map of column key to value.
-   * Key is user entered name(default) or the internal column id based on
-   * the view in the request.
-   * 
- * - * map<string, .google.protobuf.Value> values = 2; - */ - @java.lang.Override - public com.google.protobuf.Value getValuesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetValues().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); - } - com.google.protobuf.GeneratedMessage.serializeStringMapTo( - output, internalGetValues(), ValuesDefaultEntryHolder.defaultEntry, 2); - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); - } - for (java.util.Map.Entry entry : - internalGetValues().getMap().entrySet()) { - com.google.protobuf.MapEntry values__ = - ValuesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, values__); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.area120.tables.v1alpha1.Row)) { - return super.equals(obj); - } - com.google.area120.tables.v1alpha1.Row other = (com.google.area120.tables.v1alpha1.Row) obj; - - if (!getName().equals(other.getName())) return false; - if (!internalGetValues().equals(other.internalGetValues())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - if (!internalGetValues().getMap().isEmpty()) { - hash = (37 * hash) + VALUES_FIELD_NUMBER; - hash = (53 * hash) + internalGetValues().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.area120.tables.v1alpha1.Row parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.Row parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.Row parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.Row parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.Row parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.Row parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.Row parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.Row parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.Row parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.Row parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.Row parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.Row parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.area120.tables.v1alpha1.Row prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * - * - *
-   * A single row in a table.
-   * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.Row} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder - implements - // @@protoc_insertion_point(builder_implements:google.area120.tables.v1alpha1.Row) - com.google.area120.tables.v1alpha1.RowOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_Row_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( - int number) { - switch (number) { - case 2: - return internalGetValues(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } - - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( - int number) { - switch (number) { - case 2: - return internalGetMutableValues(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_Row_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.Row.class, - com.google.area120.tables.v1alpha1.Row.Builder.class); - } - - // Construct using com.google.area120.tables.v1alpha1.Row.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - name_ = ""; - internalGetMutableValues().clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_Row_descriptor; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.Row getDefaultInstanceForType() { - return com.google.area120.tables.v1alpha1.Row.getDefaultInstance(); - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.Row build() { - com.google.area120.tables.v1alpha1.Row result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.Row buildPartial() { - com.google.area120.tables.v1alpha1.Row result = - new com.google.area120.tables.v1alpha1.Row(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.google.area120.tables.v1alpha1.Row result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.name_ = name_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.values_ = internalGetValues().build(ValuesDefaultEntryHolder.defaultEntry); - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.area120.tables.v1alpha1.Row) { - return mergeFrom((com.google.area120.tables.v1alpha1.Row) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.area120.tables.v1alpha1.Row other) { - if (other == com.google.area120.tables.v1alpha1.Row.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - bitField0_ |= 0x00000001; - onChanged(); - } - internalGetMutableValues().mergeFrom(other.internalGetValues()); - bitField0_ |= 0x00000002; - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - com.google.protobuf.MapEntry values__ = - input.readMessage( - ValuesDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableValues() - .ensureBuilderMap() - .put(values__.getKey(), values__.getValue()); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object name_ = ""; - - /** - * - * - *
-     * The resource name of the row.
-     * Row names have the form `tables/{table}/rows/{row}`.
-     * The name is ignored when creating a row.
-     * 
- * - * string name = 1; - * - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * - * - *
-     * The resource name of the row.
-     * Row names have the form `tables/{table}/rows/{row}`.
-     * The name is ignored when creating a row.
-     * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * - * - *
-     * The resource name of the row.
-     * Row names have the form `tables/{table}/rows/{row}`.
-     * The name is ignored when creating a row.
-     * 
- * - * string name = 1; - * - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - name_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * - * - *
-     * The resource name of the row.
-     * Row names have the form `tables/{table}/rows/{row}`.
-     * The name is ignored when creating a row.
-     * 
- * - * string name = 1; - * - * @return This builder for chaining. - */ - public Builder clearName() { - name_ = getDefaultInstance().getName(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * - * - *
-     * The resource name of the row.
-     * Row names have the form `tables/{table}/rows/{row}`.
-     * The name is ignored when creating a row.
-     * 
- * - * string name = 1; - * - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - name_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private static final class ValuesConverter - implements com.google.protobuf.MapFieldBuilder.Converter< - java.lang.String, com.google.protobuf.ValueOrBuilder, com.google.protobuf.Value> { - @java.lang.Override - public com.google.protobuf.Value build(com.google.protobuf.ValueOrBuilder val) { - if (val instanceof com.google.protobuf.Value) { - return (com.google.protobuf.Value) val; - } - return ((com.google.protobuf.Value.Builder) val).build(); - } - - @java.lang.Override - public com.google.protobuf.MapEntry - defaultEntry() { - return ValuesDefaultEntryHolder.defaultEntry; - } - } - ; - - private static final ValuesConverter valuesConverter = new ValuesConverter(); - - private com.google.protobuf.MapFieldBuilder< - java.lang.String, - com.google.protobuf.ValueOrBuilder, - com.google.protobuf.Value, - com.google.protobuf.Value.Builder> - values_; - - private com.google.protobuf.MapFieldBuilder< - java.lang.String, - com.google.protobuf.ValueOrBuilder, - com.google.protobuf.Value, - com.google.protobuf.Value.Builder> - internalGetValues() { - if (values_ == null) { - return new com.google.protobuf.MapFieldBuilder<>(valuesConverter); - } - return values_; - } - - private com.google.protobuf.MapFieldBuilder< - java.lang.String, - com.google.protobuf.ValueOrBuilder, - com.google.protobuf.Value, - com.google.protobuf.Value.Builder> - internalGetMutableValues() { - if (values_ == null) { - values_ = new com.google.protobuf.MapFieldBuilder<>(valuesConverter); - } - bitField0_ |= 0x00000002; - onChanged(); - return values_; - } - - public int getValuesCount() { - return internalGetValues().ensureBuilderMap().size(); - } - - /** - * - * - *
-     * The values of the row. This is a map of column key to value.
-     * Key is user entered name(default) or the internal column id based on
-     * the view in the request.
-     * 
- * - * map<string, .google.protobuf.Value> values = 2; - */ - @java.lang.Override - public boolean containsValues(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetValues().ensureBuilderMap().containsKey(key); - } - - /** Use {@link #getValuesMap()} instead. */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getValues() { - return getValuesMap(); - } - - /** - * - * - *
-     * The values of the row. This is a map of column key to value.
-     * Key is user entered name(default) or the internal column id based on
-     * the view in the request.
-     * 
- * - * map<string, .google.protobuf.Value> values = 2; - */ - @java.lang.Override - public java.util.Map getValuesMap() { - return internalGetValues().getImmutableMap(); - } - - /** - * - * - *
-     * The values of the row. This is a map of column key to value.
-     * Key is user entered name(default) or the internal column id based on
-     * the view in the request.
-     * 
- * - * map<string, .google.protobuf.Value> values = 2; - */ - @java.lang.Override - public /* nullable */ com.google.protobuf.Value getValuesOrDefault( - java.lang.String key, - /* nullable */ - com.google.protobuf.Value defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = - internalGetMutableValues().ensureBuilderMap(); - return map.containsKey(key) ? valuesConverter.build(map.get(key)) : defaultValue; - } - - /** - * - * - *
-     * The values of the row. This is a map of column key to value.
-     * Key is user entered name(default) or the internal column id based on
-     * the view in the request.
-     * 
- * - * map<string, .google.protobuf.Value> values = 2; - */ - @java.lang.Override - public com.google.protobuf.Value getValuesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = - internalGetMutableValues().ensureBuilderMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return valuesConverter.build(map.get(key)); - } - - public Builder clearValues() { - bitField0_ = (bitField0_ & ~0x00000002); - internalGetMutableValues().clear(); - return this; - } - - /** - * - * - *
-     * The values of the row. This is a map of column key to value.
-     * Key is user entered name(default) or the internal column id based on
-     * the view in the request.
-     * 
- * - * map<string, .google.protobuf.Value> values = 2; - */ - public Builder removeValues(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableValues().ensureBuilderMap().remove(key); - return this; - } - - /** Use alternate mutation accessors instead. */ - @java.lang.Deprecated - public java.util.Map getMutableValues() { - bitField0_ |= 0x00000002; - return internalGetMutableValues().ensureMessageMap(); - } - - /** - * - * - *
-     * The values of the row. This is a map of column key to value.
-     * Key is user entered name(default) or the internal column id based on
-     * the view in the request.
-     * 
- * - * map<string, .google.protobuf.Value> values = 2; - */ - public Builder putValues(java.lang.String key, com.google.protobuf.Value value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableValues().ensureBuilderMap().put(key, value); - bitField0_ |= 0x00000002; - return this; - } - - /** - * - * - *
-     * The values of the row. This is a map of column key to value.
-     * Key is user entered name(default) or the internal column id based on
-     * the view in the request.
-     * 
- * - * map<string, .google.protobuf.Value> values = 2; - */ - public Builder putAllValues(java.util.Map values) { - for (java.util.Map.Entry e : values.entrySet()) { - if (e.getKey() == null || e.getValue() == null) { - throw new NullPointerException(); - } - } - internalGetMutableValues().ensureBuilderMap().putAll(values); - bitField0_ |= 0x00000002; - return this; - } - - /** - * - * - *
-     * The values of the row. This is a map of column key to value.
-     * Key is user entered name(default) or the internal column id based on
-     * the view in the request.
-     * 
- * - * map<string, .google.protobuf.Value> values = 2; - */ - public com.google.protobuf.Value.Builder putValuesBuilderIfAbsent(java.lang.String key) { - java.util.Map builderMap = - internalGetMutableValues().ensureBuilderMap(); - com.google.protobuf.ValueOrBuilder entry = builderMap.get(key); - if (entry == null) { - entry = com.google.protobuf.Value.newBuilder(); - builderMap.put(key, entry); - } - if (entry instanceof com.google.protobuf.Value) { - entry = ((com.google.protobuf.Value) entry).toBuilder(); - builderMap.put(key, entry); - } - return (com.google.protobuf.Value.Builder) entry; - } - - // @@protoc_insertion_point(builder_scope:google.area120.tables.v1alpha1.Row) - } - - // @@protoc_insertion_point(class_scope:google.area120.tables.v1alpha1.Row) - private static final com.google.area120.tables.v1alpha1.Row DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.area120.tables.v1alpha1.Row(); - } - - public static com.google.area120.tables.v1alpha1.Row getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Row parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.Row getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/RowName.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/RowName.java deleted file mode 100644 index 552d39146506..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/RowName.java +++ /dev/null @@ -1,194 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha1; - -import com.google.api.pathtemplate.PathTemplate; -import com.google.api.resourcenames.ResourceName; -import com.google.common.base.Preconditions; -import com.google.common.collect.ImmutableMap; -import java.util.ArrayList; -import java.util.List; -import java.util.Map; -import java.util.Objects; -import javax.annotation.Generated; -import org.jspecify.annotations.NullMarked; -import org.jspecify.annotations.Nullable; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -@NullMarked -@Generated("by gapic-generator-java") -public class RowName implements ResourceName { - private static final PathTemplate TABLE_ROW = - PathTemplate.createWithoutUrlEncoding("tables/{table}/rows/{row}"); - private volatile Map fieldValuesMap; - private final String table; - private final String row; - - @Deprecated - protected RowName() { - table = null; - row = null; - } - - private RowName(Builder builder) { - table = Preconditions.checkNotNull(builder.getTable()); - row = Preconditions.checkNotNull(builder.getRow()); - } - - public String getTable() { - return table; - } - - public String getRow() { - return row; - } - - public static Builder newBuilder() { - return new Builder(); - } - - public Builder toBuilder() { - return new Builder(this); - } - - public static RowName of(String table, String row) { - return newBuilder().setTable(table).setRow(row).build(); - } - - public static String format(String table, String row) { - return newBuilder().setTable(table).setRow(row).build().toString(); - } - - public static @Nullable RowName parse(String formattedString) { - if (formattedString.isEmpty()) { - return null; - } - Map matchMap = - TABLE_ROW.validatedMatch( - formattedString, "RowName.parse: formattedString not in valid format"); - return of(matchMap.get("table"), matchMap.get("row")); - } - - public static List parseList(List formattedStrings) { - List list = new ArrayList<>(formattedStrings.size()); - for (String formattedString : formattedStrings) { - list.add(parse(formattedString)); - } - return list; - } - - public static List toStringList(List<@Nullable RowName> values) { - List list = new ArrayList<>(values.size()); - for (RowName value : values) { - if (value == null) { - list.add(""); - } else { - list.add(value.toString()); - } - } - return list; - } - - public static boolean isParsableFrom(String formattedString) { - return TABLE_ROW.matches(formattedString); - } - - @Override - public Map getFieldValuesMap() { - if (fieldValuesMap == null) { - synchronized (this) { - if (fieldValuesMap == null) { - ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); - if (table != null) { - fieldMapBuilder.put("table", table); - } - if (row != null) { - fieldMapBuilder.put("row", row); - } - fieldValuesMap = fieldMapBuilder.build(); - } - } - } - return fieldValuesMap; - } - - public String getFieldValue(String fieldName) { - return getFieldValuesMap().get(fieldName); - } - - @Override - public String toString() { - return TABLE_ROW.instantiate("table", table, "row", row); - } - - @Override - public boolean equals(@Nullable Object o) { - if (o == this) { - return true; - } - if (o != null && getClass() == o.getClass()) { - RowName that = ((RowName) o); - return Objects.equals(this.table, that.table) && Objects.equals(this.row, that.row); - } - return false; - } - - @Override - public int hashCode() { - int h = 1; - h *= 1000003; - h ^= Objects.hashCode(table); - h *= 1000003; - h ^= Objects.hashCode(row); - return h; - } - - /** Builder for tables/{table}/rows/{row}. */ - public static class Builder { - private String table; - private String row; - - protected Builder() {} - - public String getTable() { - return table; - } - - public String getRow() { - return row; - } - - public Builder setTable(String table) { - this.table = table; - return this; - } - - public Builder setRow(String row) { - this.row = row; - return this; - } - - private Builder(RowName rowName) { - this.table = rowName.table; - this.row = rowName.row; - } - - public RowName build() { - return new RowName(this); - } - } -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/RowOrBuilder.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/RowOrBuilder.java deleted file mode 100644 index a4c488566a01..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/RowOrBuilder.java +++ /dev/null @@ -1,131 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -@com.google.protobuf.Generated -public interface RowOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.area120.tables.v1alpha1.Row) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The resource name of the row.
-   * Row names have the form `tables/{table}/rows/{row}`.
-   * The name is ignored when creating a row.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - - /** - * - * - *
-   * The resource name of the row.
-   * Row names have the form `tables/{table}/rows/{row}`.
-   * The name is ignored when creating a row.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * - * - *
-   * The values of the row. This is a map of column key to value.
-   * Key is user entered name(default) or the internal column id based on
-   * the view in the request.
-   * 
- * - * map<string, .google.protobuf.Value> values = 2; - */ - int getValuesCount(); - - /** - * - * - *
-   * The values of the row. This is a map of column key to value.
-   * Key is user entered name(default) or the internal column id based on
-   * the view in the request.
-   * 
- * - * map<string, .google.protobuf.Value> values = 2; - */ - boolean containsValues(java.lang.String key); - - /** Use {@link #getValuesMap()} instead. */ - @java.lang.Deprecated - java.util.Map getValues(); - - /** - * - * - *
-   * The values of the row. This is a map of column key to value.
-   * Key is user entered name(default) or the internal column id based on
-   * the view in the request.
-   * 
- * - * map<string, .google.protobuf.Value> values = 2; - */ - java.util.Map getValuesMap(); - - /** - * - * - *
-   * The values of the row. This is a map of column key to value.
-   * Key is user entered name(default) or the internal column id based on
-   * the view in the request.
-   * 
- * - * map<string, .google.protobuf.Value> values = 2; - */ - /* nullable */ - com.google.protobuf.Value getValuesOrDefault( - java.lang.String key, - /* nullable */ - com.google.protobuf.Value defaultValue); - - /** - * - * - *
-   * The values of the row. This is a map of column key to value.
-   * Key is user entered name(default) or the internal column id based on
-   * the view in the request.
-   * 
- * - * map<string, .google.protobuf.Value> values = 2; - */ - com.google.protobuf.Value getValuesOrThrow(java.lang.String key); -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/Table.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/Table.java deleted file mode 100644 index ff3175e22fd7..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/Table.java +++ /dev/null @@ -1,1337 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -/** - * - * - *
- * A single table.
- * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.Table} - */ -@com.google.protobuf.Generated -public final class Table extends com.google.protobuf.GeneratedMessage - implements - // @@protoc_insertion_point(message_implements:google.area120.tables.v1alpha1.Table) - TableOrBuilder { - private static final long serialVersionUID = 0L; - - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 6, - /* suffix= */ "", - "Table"); - } - - // Use Table.newBuilder() to construct. - private Table(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private Table() { - name_ = ""; - displayName_ = ""; - columns_ = java.util.Collections.emptyList(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_Table_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_Table_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.Table.class, - com.google.area120.tables.v1alpha1.Table.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private volatile java.lang.Object name_ = ""; - - /** - * - * - *
-   * The resource name of the table.
-   * Table names have the form `tables/{table}`.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - - /** - * - * - *
-   * The resource name of the table.
-   * Table names have the form `tables/{table}`.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - - @SuppressWarnings("serial") - private volatile java.lang.Object displayName_ = ""; - - /** - * - * - *
-   * The human readable title of the table.
-   * 
- * - * string display_name = 2; - * - * @return The displayName. - */ - @java.lang.Override - public java.lang.String getDisplayName() { - java.lang.Object ref = displayName_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - displayName_ = s; - return s; - } - } - - /** - * - * - *
-   * The human readable title of the table.
-   * 
- * - * string display_name = 2; - * - * @return The bytes for displayName. - */ - @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { - java.lang.Object ref = displayName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - displayName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int COLUMNS_FIELD_NUMBER = 3; - - @SuppressWarnings("serial") - private java.util.List columns_; - - /** - * - * - *
-   * List of columns in this table.
-   * Order of columns matches the display order.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3; - */ - @java.lang.Override - public java.util.List getColumnsList() { - return columns_; - } - - /** - * - * - *
-   * List of columns in this table.
-   * Order of columns matches the display order.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3; - */ - @java.lang.Override - public java.util.List - getColumnsOrBuilderList() { - return columns_; - } - - /** - * - * - *
-   * List of columns in this table.
-   * Order of columns matches the display order.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3; - */ - @java.lang.Override - public int getColumnsCount() { - return columns_.size(); - } - - /** - * - * - *
-   * List of columns in this table.
-   * Order of columns matches the display order.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3; - */ - @java.lang.Override - public com.google.area120.tables.v1alpha1.ColumnDescription getColumns(int index) { - return columns_.get(index); - } - - /** - * - * - *
-   * List of columns in this table.
-   * Order of columns matches the display order.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3; - */ - @java.lang.Override - public com.google.area120.tables.v1alpha1.ColumnDescriptionOrBuilder getColumnsOrBuilder( - int index) { - return columns_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(displayName_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, displayName_); - } - for (int i = 0; i < columns_.size(); i++) { - output.writeMessage(3, columns_.get(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(displayName_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, displayName_); - } - for (int i = 0; i < columns_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, columns_.get(i)); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.area120.tables.v1alpha1.Table)) { - return super.equals(obj); - } - com.google.area120.tables.v1alpha1.Table other = (com.google.area120.tables.v1alpha1.Table) obj; - - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getColumnsList().equals(other.getColumnsList())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER; - hash = (53 * hash) + getDisplayName().hashCode(); - if (getColumnsCount() > 0) { - hash = (37 * hash) + COLUMNS_FIELD_NUMBER; - hash = (53 * hash) + getColumnsList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.area120.tables.v1alpha1.Table parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.Table parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.Table parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.Table parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.Table parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.Table parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.Table parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.Table parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.Table parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.Table parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.Table parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.Table parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.area120.tables.v1alpha1.Table prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * - * - *
-   * A single table.
-   * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.Table} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder - implements - // @@protoc_insertion_point(builder_implements:google.area120.tables.v1alpha1.Table) - com.google.area120.tables.v1alpha1.TableOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_Table_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_Table_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.Table.class, - com.google.area120.tables.v1alpha1.Table.Builder.class); - } - - // Construct using com.google.area120.tables.v1alpha1.Table.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - name_ = ""; - displayName_ = ""; - if (columnsBuilder_ == null) { - columns_ = java.util.Collections.emptyList(); - } else { - columns_ = null; - columnsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_Table_descriptor; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.Table getDefaultInstanceForType() { - return com.google.area120.tables.v1alpha1.Table.getDefaultInstance(); - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.Table build() { - com.google.area120.tables.v1alpha1.Table result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.Table buildPartial() { - com.google.area120.tables.v1alpha1.Table result = - new com.google.area120.tables.v1alpha1.Table(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields(com.google.area120.tables.v1alpha1.Table result) { - if (columnsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { - columns_ = java.util.Collections.unmodifiableList(columns_); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.columns_ = columns_; - } else { - result.columns_ = columnsBuilder_.build(); - } - } - - private void buildPartial0(com.google.area120.tables.v1alpha1.Table result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.name_ = name_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.displayName_ = displayName_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.area120.tables.v1alpha1.Table) { - return mergeFrom((com.google.area120.tables.v1alpha1.Table) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.area120.tables.v1alpha1.Table other) { - if (other == com.google.area120.tables.v1alpha1.Table.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getDisplayName().isEmpty()) { - displayName_ = other.displayName_; - bitField0_ |= 0x00000002; - onChanged(); - } - if (columnsBuilder_ == null) { - if (!other.columns_.isEmpty()) { - if (columns_.isEmpty()) { - columns_ = other.columns_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureColumnsIsMutable(); - columns_.addAll(other.columns_); - } - onChanged(); - } - } else { - if (!other.columns_.isEmpty()) { - if (columnsBuilder_.isEmpty()) { - columnsBuilder_.dispose(); - columnsBuilder_ = null; - columns_ = other.columns_; - bitField0_ = (bitField0_ & ~0x00000004); - columnsBuilder_ = - com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? internalGetColumnsFieldBuilder() - : null; - } else { - columnsBuilder_.addAllMessages(other.columns_); - } - } - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - com.google.area120.tables.v1alpha1.ColumnDescription m = - input.readMessage( - com.google.area120.tables.v1alpha1.ColumnDescription.parser(), - extensionRegistry); - if (columnsBuilder_ == null) { - ensureColumnsIsMutable(); - columns_.add(m); - } else { - columnsBuilder_.addMessage(m); - } - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object name_ = ""; - - /** - * - * - *
-     * The resource name of the table.
-     * Table names have the form `tables/{table}`.
-     * 
- * - * string name = 1; - * - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * - * - *
-     * The resource name of the table.
-     * Table names have the form `tables/{table}`.
-     * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * - * - *
-     * The resource name of the table.
-     * Table names have the form `tables/{table}`.
-     * 
- * - * string name = 1; - * - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - name_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * - * - *
-     * The resource name of the table.
-     * Table names have the form `tables/{table}`.
-     * 
- * - * string name = 1; - * - * @return This builder for chaining. - */ - public Builder clearName() { - name_ = getDefaultInstance().getName(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * - * - *
-     * The resource name of the table.
-     * Table names have the form `tables/{table}`.
-     * 
- * - * string name = 1; - * - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - name_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private java.lang.Object displayName_ = ""; - - /** - * - * - *
-     * The human readable title of the table.
-     * 
- * - * string display_name = 2; - * - * @return The displayName. - */ - public java.lang.String getDisplayName() { - java.lang.Object ref = displayName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - displayName_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * - * - *
-     * The human readable title of the table.
-     * 
- * - * string display_name = 2; - * - * @return The bytes for displayName. - */ - public com.google.protobuf.ByteString getDisplayNameBytes() { - java.lang.Object ref = displayName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - displayName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * - * - *
-     * The human readable title of the table.
-     * 
- * - * string display_name = 2; - * - * @param value The displayName to set. - * @return This builder for chaining. - */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - displayName_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * - * - *
-     * The human readable title of the table.
-     * 
- * - * string display_name = 2; - * - * @return This builder for chaining. - */ - public Builder clearDisplayName() { - displayName_ = getDefaultInstance().getDisplayName(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - - /** - * - * - *
-     * The human readable title of the table.
-     * 
- * - * string display_name = 2; - * - * @param value The bytes for displayName to set. - * @return This builder for chaining. - */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - displayName_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - private java.util.List columns_ = - java.util.Collections.emptyList(); - - private void ensureColumnsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - columns_ = - new java.util.ArrayList(columns_); - bitField0_ |= 0x00000004; - } - } - - private com.google.protobuf.RepeatedFieldBuilder< - com.google.area120.tables.v1alpha1.ColumnDescription, - com.google.area120.tables.v1alpha1.ColumnDescription.Builder, - com.google.area120.tables.v1alpha1.ColumnDescriptionOrBuilder> - columnsBuilder_; - - /** - * - * - *
-     * List of columns in this table.
-     * Order of columns matches the display order.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3; - */ - public java.util.List getColumnsList() { - if (columnsBuilder_ == null) { - return java.util.Collections.unmodifiableList(columns_); - } else { - return columnsBuilder_.getMessageList(); - } - } - - /** - * - * - *
-     * List of columns in this table.
-     * Order of columns matches the display order.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3; - */ - public int getColumnsCount() { - if (columnsBuilder_ == null) { - return columns_.size(); - } else { - return columnsBuilder_.getCount(); - } - } - - /** - * - * - *
-     * List of columns in this table.
-     * Order of columns matches the display order.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3; - */ - public com.google.area120.tables.v1alpha1.ColumnDescription getColumns(int index) { - if (columnsBuilder_ == null) { - return columns_.get(index); - } else { - return columnsBuilder_.getMessage(index); - } - } - - /** - * - * - *
-     * List of columns in this table.
-     * Order of columns matches the display order.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3; - */ - public Builder setColumns( - int index, com.google.area120.tables.v1alpha1.ColumnDescription value) { - if (columnsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureColumnsIsMutable(); - columns_.set(index, value); - onChanged(); - } else { - columnsBuilder_.setMessage(index, value); - } - return this; - } - - /** - * - * - *
-     * List of columns in this table.
-     * Order of columns matches the display order.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3; - */ - public Builder setColumns( - int index, com.google.area120.tables.v1alpha1.ColumnDescription.Builder builderForValue) { - if (columnsBuilder_ == null) { - ensureColumnsIsMutable(); - columns_.set(index, builderForValue.build()); - onChanged(); - } else { - columnsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - * - * - *
-     * List of columns in this table.
-     * Order of columns matches the display order.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3; - */ - public Builder addColumns(com.google.area120.tables.v1alpha1.ColumnDescription value) { - if (columnsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureColumnsIsMutable(); - columns_.add(value); - onChanged(); - } else { - columnsBuilder_.addMessage(value); - } - return this; - } - - /** - * - * - *
-     * List of columns in this table.
-     * Order of columns matches the display order.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3; - */ - public Builder addColumns( - int index, com.google.area120.tables.v1alpha1.ColumnDescription value) { - if (columnsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureColumnsIsMutable(); - columns_.add(index, value); - onChanged(); - } else { - columnsBuilder_.addMessage(index, value); - } - return this; - } - - /** - * - * - *
-     * List of columns in this table.
-     * Order of columns matches the display order.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3; - */ - public Builder addColumns( - com.google.area120.tables.v1alpha1.ColumnDescription.Builder builderForValue) { - if (columnsBuilder_ == null) { - ensureColumnsIsMutable(); - columns_.add(builderForValue.build()); - onChanged(); - } else { - columnsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - * - * - *
-     * List of columns in this table.
-     * Order of columns matches the display order.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3; - */ - public Builder addColumns( - int index, com.google.area120.tables.v1alpha1.ColumnDescription.Builder builderForValue) { - if (columnsBuilder_ == null) { - ensureColumnsIsMutable(); - columns_.add(index, builderForValue.build()); - onChanged(); - } else { - columnsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - * - * - *
-     * List of columns in this table.
-     * Order of columns matches the display order.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3; - */ - public Builder addAllColumns( - java.lang.Iterable values) { - if (columnsBuilder_ == null) { - ensureColumnsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, columns_); - onChanged(); - } else { - columnsBuilder_.addAllMessages(values); - } - return this; - } - - /** - * - * - *
-     * List of columns in this table.
-     * Order of columns matches the display order.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3; - */ - public Builder clearColumns() { - if (columnsBuilder_ == null) { - columns_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - } else { - columnsBuilder_.clear(); - } - return this; - } - - /** - * - * - *
-     * List of columns in this table.
-     * Order of columns matches the display order.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3; - */ - public Builder removeColumns(int index) { - if (columnsBuilder_ == null) { - ensureColumnsIsMutable(); - columns_.remove(index); - onChanged(); - } else { - columnsBuilder_.remove(index); - } - return this; - } - - /** - * - * - *
-     * List of columns in this table.
-     * Order of columns matches the display order.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3; - */ - public com.google.area120.tables.v1alpha1.ColumnDescription.Builder getColumnsBuilder( - int index) { - return internalGetColumnsFieldBuilder().getBuilder(index); - } - - /** - * - * - *
-     * List of columns in this table.
-     * Order of columns matches the display order.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3; - */ - public com.google.area120.tables.v1alpha1.ColumnDescriptionOrBuilder getColumnsOrBuilder( - int index) { - if (columnsBuilder_ == null) { - return columns_.get(index); - } else { - return columnsBuilder_.getMessageOrBuilder(index); - } - } - - /** - * - * - *
-     * List of columns in this table.
-     * Order of columns matches the display order.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3; - */ - public java.util.List - getColumnsOrBuilderList() { - if (columnsBuilder_ != null) { - return columnsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(columns_); - } - } - - /** - * - * - *
-     * List of columns in this table.
-     * Order of columns matches the display order.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3; - */ - public com.google.area120.tables.v1alpha1.ColumnDescription.Builder addColumnsBuilder() { - return internalGetColumnsFieldBuilder() - .addBuilder(com.google.area120.tables.v1alpha1.ColumnDescription.getDefaultInstance()); - } - - /** - * - * - *
-     * List of columns in this table.
-     * Order of columns matches the display order.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3; - */ - public com.google.area120.tables.v1alpha1.ColumnDescription.Builder addColumnsBuilder( - int index) { - return internalGetColumnsFieldBuilder() - .addBuilder( - index, com.google.area120.tables.v1alpha1.ColumnDescription.getDefaultInstance()); - } - - /** - * - * - *
-     * List of columns in this table.
-     * Order of columns matches the display order.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3; - */ - public java.util.List - getColumnsBuilderList() { - return internalGetColumnsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilder< - com.google.area120.tables.v1alpha1.ColumnDescription, - com.google.area120.tables.v1alpha1.ColumnDescription.Builder, - com.google.area120.tables.v1alpha1.ColumnDescriptionOrBuilder> - internalGetColumnsFieldBuilder() { - if (columnsBuilder_ == null) { - columnsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilder< - com.google.area120.tables.v1alpha1.ColumnDescription, - com.google.area120.tables.v1alpha1.ColumnDescription.Builder, - com.google.area120.tables.v1alpha1.ColumnDescriptionOrBuilder>( - columns_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); - columns_ = null; - } - return columnsBuilder_; - } - - // @@protoc_insertion_point(builder_scope:google.area120.tables.v1alpha1.Table) - } - - // @@protoc_insertion_point(class_scope:google.area120.tables.v1alpha1.Table) - private static final com.google.area120.tables.v1alpha1.Table DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.area120.tables.v1alpha1.Table(); - } - - public static com.google.area120.tables.v1alpha1.Table getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser
PARSER = - new com.google.protobuf.AbstractParser
() { - @java.lang.Override - public Table parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser
parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser
getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.Table getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/TableName.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/TableName.java deleted file mode 100644 index c8cf28b5bb00..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/TableName.java +++ /dev/null @@ -1,170 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha1; - -import com.google.api.pathtemplate.PathTemplate; -import com.google.api.resourcenames.ResourceName; -import com.google.common.base.Preconditions; -import com.google.common.collect.ImmutableMap; -import java.util.ArrayList; -import java.util.List; -import java.util.Map; -import java.util.Objects; -import javax.annotation.Generated; -import org.jspecify.annotations.NullMarked; -import org.jspecify.annotations.Nullable; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -@NullMarked -@Generated("by gapic-generator-java") -public class TableName implements ResourceName { - private static final PathTemplate TABLE = PathTemplate.createWithoutUrlEncoding("tables/{table}"); - private volatile Map fieldValuesMap; - private final String table; - - @Deprecated - protected TableName() { - table = null; - } - - private TableName(Builder builder) { - table = Preconditions.checkNotNull(builder.getTable()); - } - - public String getTable() { - return table; - } - - public static Builder newBuilder() { - return new Builder(); - } - - public Builder toBuilder() { - return new Builder(this); - } - - public static TableName of(String table) { - return newBuilder().setTable(table).build(); - } - - public static String format(String table) { - return newBuilder().setTable(table).build().toString(); - } - - public static @Nullable TableName parse(String formattedString) { - if (formattedString.isEmpty()) { - return null; - } - Map matchMap = - TABLE.validatedMatch( - formattedString, "TableName.parse: formattedString not in valid format"); - return of(matchMap.get("table")); - } - - public static List parseList(List formattedStrings) { - List list = new ArrayList<>(formattedStrings.size()); - for (String formattedString : formattedStrings) { - list.add(parse(formattedString)); - } - return list; - } - - public static List toStringList(List<@Nullable TableName> values) { - List list = new ArrayList<>(values.size()); - for (TableName value : values) { - if (value == null) { - list.add(""); - } else { - list.add(value.toString()); - } - } - return list; - } - - public static boolean isParsableFrom(String formattedString) { - return TABLE.matches(formattedString); - } - - @Override - public Map getFieldValuesMap() { - if (fieldValuesMap == null) { - synchronized (this) { - if (fieldValuesMap == null) { - ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); - if (table != null) { - fieldMapBuilder.put("table", table); - } - fieldValuesMap = fieldMapBuilder.build(); - } - } - } - return fieldValuesMap; - } - - public String getFieldValue(String fieldName) { - return getFieldValuesMap().get(fieldName); - } - - @Override - public String toString() { - return TABLE.instantiate("table", table); - } - - @Override - public boolean equals(@Nullable Object o) { - if (o == this) { - return true; - } - if (o != null && getClass() == o.getClass()) { - TableName that = ((TableName) o); - return Objects.equals(this.table, that.table); - } - return false; - } - - @Override - public int hashCode() { - int h = 1; - h *= 1000003; - h ^= Objects.hashCode(table); - return h; - } - - /** Builder for tables/{table}. */ - public static class Builder { - private String table; - - protected Builder() {} - - public String getTable() { - return table; - } - - public Builder setTable(String table) { - this.table = table; - return this; - } - - private Builder(TableName tableName) { - this.table = tableName.table; - } - - public TableName build() { - return new TableName(this); - } - } -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/TableOrBuilder.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/TableOrBuilder.java deleted file mode 100644 index deba0db6d8cb..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/TableOrBuilder.java +++ /dev/null @@ -1,143 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -@com.google.protobuf.Generated -public interface TableOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.area120.tables.v1alpha1.Table) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The resource name of the table.
-   * Table names have the form `tables/{table}`.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - - /** - * - * - *
-   * The resource name of the table.
-   * Table names have the form `tables/{table}`.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * - * - *
-   * The human readable title of the table.
-   * 
- * - * string display_name = 2; - * - * @return The displayName. - */ - java.lang.String getDisplayName(); - - /** - * - * - *
-   * The human readable title of the table.
-   * 
- * - * string display_name = 2; - * - * @return The bytes for displayName. - */ - com.google.protobuf.ByteString getDisplayNameBytes(); - - /** - * - * - *
-   * List of columns in this table.
-   * Order of columns matches the display order.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3; - */ - java.util.List getColumnsList(); - - /** - * - * - *
-   * List of columns in this table.
-   * Order of columns matches the display order.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3; - */ - com.google.area120.tables.v1alpha1.ColumnDescription getColumns(int index); - - /** - * - * - *
-   * List of columns in this table.
-   * Order of columns matches the display order.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3; - */ - int getColumnsCount(); - - /** - * - * - *
-   * List of columns in this table.
-   * Order of columns matches the display order.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3; - */ - java.util.List - getColumnsOrBuilderList(); - - /** - * - * - *
-   * List of columns in this table.
-   * Order of columns matches the display order.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3; - */ - com.google.area120.tables.v1alpha1.ColumnDescriptionOrBuilder getColumnsOrBuilder(int index); -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/TablesProto.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/TablesProto.java deleted file mode 100644 index 64db6c744c65..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/TablesProto.java +++ /dev/null @@ -1,544 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -@com.google.protobuf.Generated -public final class TablesProto extends com.google.protobuf.GeneratedFile { - private TablesProto() {} - - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 6, - /* suffix= */ "", - "TablesProto"); - } - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_area120_tables_v1alpha1_GetTableRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_google_area120_tables_v1alpha1_GetTableRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_area120_tables_v1alpha1_ListTablesRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_google_area120_tables_v1alpha1_ListTablesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_area120_tables_v1alpha1_ListTablesResponse_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_google_area120_tables_v1alpha1_ListTablesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_area120_tables_v1alpha1_GetWorkspaceRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_google_area120_tables_v1alpha1_GetWorkspaceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_area120_tables_v1alpha1_ListWorkspacesRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_google_area120_tables_v1alpha1_ListWorkspacesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_area120_tables_v1alpha1_ListWorkspacesResponse_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_google_area120_tables_v1alpha1_ListWorkspacesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_area120_tables_v1alpha1_GetRowRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_google_area120_tables_v1alpha1_GetRowRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_area120_tables_v1alpha1_ListRowsRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_google_area120_tables_v1alpha1_ListRowsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_area120_tables_v1alpha1_ListRowsResponse_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_google_area120_tables_v1alpha1_ListRowsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_area120_tables_v1alpha1_CreateRowRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_google_area120_tables_v1alpha1_CreateRowRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_area120_tables_v1alpha1_BatchCreateRowsRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_google_area120_tables_v1alpha1_BatchCreateRowsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_area120_tables_v1alpha1_BatchCreateRowsResponse_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_google_area120_tables_v1alpha1_BatchCreateRowsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_area120_tables_v1alpha1_UpdateRowRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_google_area120_tables_v1alpha1_UpdateRowRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_area120_tables_v1alpha1_BatchUpdateRowsRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_google_area120_tables_v1alpha1_BatchUpdateRowsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_area120_tables_v1alpha1_BatchUpdateRowsResponse_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_google_area120_tables_v1alpha1_BatchUpdateRowsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_area120_tables_v1alpha1_DeleteRowRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_google_area120_tables_v1alpha1_DeleteRowRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_area120_tables_v1alpha1_BatchDeleteRowsRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_google_area120_tables_v1alpha1_BatchDeleteRowsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_area120_tables_v1alpha1_Table_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_google_area120_tables_v1alpha1_Table_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_area120_tables_v1alpha1_ColumnDescription_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_google_area120_tables_v1alpha1_ColumnDescription_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_area120_tables_v1alpha1_LabeledItem_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_google_area120_tables_v1alpha1_LabeledItem_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_area120_tables_v1alpha1_RelationshipDetails_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_google_area120_tables_v1alpha1_RelationshipDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_area120_tables_v1alpha1_LookupDetails_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_google_area120_tables_v1alpha1_LookupDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_area120_tables_v1alpha1_Row_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_google_area120_tables_v1alpha1_Row_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_area120_tables_v1alpha1_Row_ValuesEntry_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_google_area120_tables_v1alpha1_Row_ValuesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_area120_tables_v1alpha1_Workspace_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_google_area120_tables_v1alpha1_Workspace_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n" - + "+google/area120/tables/v1alpha1/tables." - + "proto\022\036google.area120.tables.v1alpha1\032\034g" - + "oogle/api/annotations.proto\032\027google/api/" - + "client.proto\032\037google/api/field_behavior." - + "proto\032\031google/api/resource.proto\032\033google/protobuf/empty.proto\032" - + " google/protobuf/field_mask.proto\032\034google/protobuf/struct.proto\"L\n" - + "\017GetTableRequest\0229\n" - + "\004name\030\001 \001(\tB+\342A\001\002\372A$\n" - + "\"area120tables.googleapis.com/Table\":\n" - + "\021ListTablesRequest\022\021\n" - + "\tpage_size\030\001 \001(\005\022\022\n\n" - + "page_token\030\002 \001(\t\"d\n" - + "\022ListTablesResponse\0225\n" - + "\006tables\030\001 \003(\0132%.google.area120.tables.v1alpha1.Table\022\027\n" - + "\017next_page_token\030\002 \001(\t\"T\n" - + "\023GetWorkspaceRequest\022=\n" - + "\004name\030\001 \001(\tB/\342A\001\002\372A(\n" - + "&area120tables.googleapis.com/Workspace\">\n" - + "\025ListWorkspacesRequest\022\021\n" - + "\tpage_size\030\001 \001(\005\022\022\n\n" - + "page_token\030\002 \001(\t\"p\n" - + "\026ListWorkspacesResponse\022=\n\n" - + "workspaces\030\001 \003(\0132).google.area120.tables.v1alpha1.Workspace\022\027\n" - + "\017next_page_token\030\002 \001(\t\"\202\001\n\r" - + "GetRowRequest\0227\n" - + "\004name\030\001 \001(\tB)\342A\001\002\372A\"\n" - + " area120tables.googleapis.com/Row\0228\n" - + "\004view\030\002 \001(\0162$" - + ".google.area120.tables.v1alpha1.ViewB\004\342A\001\001\"\236\001\n" - + "\017ListRowsRequest\022\024\n" - + "\006parent\030\001 \001(\tB\004\342A\001\002\022\021\n" - + "\tpage_size\030\002 \001(\005\022\022\n\n" - + "page_token\030\003 \001(\t\0228\n" - + "\004view\030\004" - + " \001(\0162$.google.area120.tables.v1alpha1.ViewB\004\342A\001\001\022\024\n" - + "\006filter\030\005 \001(\tB\004\342A\001\001\"^\n" - + "\020ListRowsResponse\0221\n" - + "\004rows\030\001 \003(\0132#.google.area120.tables.v1alpha1.Row\022\027\n" - + "\017next_page_token\030\002 \001(\t\"\232\001\n" - + "\020CreateRowRequest\022\024\n" - + "\006parent\030\001 \001(\tB\004\342A\001\002\0226\n" - + "\003row\030\002 \001(\0132#.go" - + "ogle.area120.tables.v1alpha1.RowB\004\342A\001\002\0228\n" - + "\004view\030\003" - + " \001(\0162$.google.area120.tables.v1alpha1.ViewB\004\342A\001\001\"x\n" - + "\026BatchCreateRowsRequest\022\024\n" - + "\006parent\030\001 \001(\tB\004\342A\001\002\022H\n" - + "\010requests\030\002 \003" - + "(\01320.google.area120.tables.v1alpha1.CreateRowRequestB\004\342A\001\002\"L\n" - + "\027BatchCreateRowsResponse\0221\n" - + "\004rows\030\001 \003(\0132#.google.area120.tables.v1alpha1.Row\"\265\001\n" - + "\020UpdateRowRequest\0226\n" - + "\003row\030\001" - + " \001(\0132#.google.area120.tables.v1alpha1.RowB\004\342A\001\002\022/\n" - + "\013update_mask\030\002 \001(\0132\032.google.protobuf.FieldMask\0228\n" - + "\004view\030\003 \001(\0162$.g" - + "oogle.area120.tables.v1alpha1.ViewB\004\342A\001\001\"x\n" - + "\026BatchUpdateRowsRequest\022\024\n" - + "\006parent\030\001 \001(\tB\004\342A\001\002\022H\n" - + "\010requests\030\002 \003(\01320.google.area" - + "120.tables.v1alpha1.UpdateRowRequestB\004\342A\001\002\"L\n" - + "\027BatchUpdateRowsResponse\0221\n" - + "\004rows\030\001 \003(\0132#.google.area120.tables.v1alpha1.Row\"K\n" - + "\020DeleteRowRequest\0227\n" - + "\004name\030\001 \001(\tB)\342A\001\002\372A\"\n" - + " area120tables.googleapis.com/Row\"\217\001\n" - + "\026BatchDeleteRowsRequest\022;\n" - + "\006parent\030\001 \001(\tB+\342A\001\002\372A$\n" - + "\"area120tables.googleapis.com/Table\0228\n" - + "\005names\030\002 \003(\tB)\342A\001\002\372A\"\n" - + " area120tables.googleapis.com/Row\"\250\001\n" - + "\005Table\022\014\n" - + "\004name\030\001 \001(\t\022\024\n" - + "\014display_name\030\002 \001(\t\022B\n" - + "\007columns\030\003" - + " \003(\01321.google.area120.tables.v1alpha1.ColumnDescription:7\352A4\n" - + "\"area120tables.googleapis.com/Table\022\016tables/{table}\"\251\002\n" - + "\021ColumnDescription\022\014\n" - + "\004name\030\001 \001(\t\022\021\n" - + "\tdata_type\030\002 \001(\t\022\n\n" - + "\002id\030\003 \001(\t\022A\n" - + "\006labels\030\004 \003(\0132+." - + "google.area120.tables.v1alpha1.LabeledItemB\004\342A\001\001\022W\n" - + "\024relationship_details\030\005 \001(\01323" - + ".google.area120.tables.v1alpha1.RelationshipDetailsB\004\342A\001\001\022K\n" - + "\016lookup_details\030\006 \001(" - + "\0132-.google.area120.tables.v1alpha1.LookupDetailsB\004\342A\001\001\"\'\n" - + "\013LabeledItem\022\014\n" - + "\004name\030\001 \001(\t\022\n\n" - + "\002id\030\002 \001(\t\"+\n" - + "\023RelationshipDetails\022\024\n" - + "\014linked_table\030\001 \001(\t\"L\n\r" - + "LookupDetails\022\033\n" - + "\023relationship_column\030\001 \001(\t\022\036\n" - + "\026relationship_column_id\030\002 \001(\t\"\335\001\n" - + "\003Row\022\014\n" - + "\004name\030\001 \001(\t\022?\n" - + "\006values\030\002 \003(\0132/.google.area120.tables.v1alpha1.Row.ValuesEntry\032E\n" - + "\013ValuesEntry\022\013\n" - + "\003key\030\001 \001(\t\022%\n" - + "\005value\030\002 \001(\0132\026.google.protobuf.Value:\0028\001:@\352A=\n" - + " area120tables.googleapis.com/Row\022\031tables/{table}/rows/{row}\"\253\001\n" - + "\tWorkspace\022\014\n" - + "\004name\030\001 \001(\t\022\024\n" - + "\014display_name\030\002 \001(\t\0225\n" - + "\006tables\030\003 \003(\0132%.google.area120.tables.v1alpha1.Table:C\352A@\n" - + "&area120tables.googleapis.com/Workspace\022\026workspaces/{workspace}*0\n" - + "\004View\022\024\n" - + "\020VIEW_UNSPECIFIED\020\000\022\022\n" - + "\016COLUMN_ID_VIEW\020\0012\274\021\n\r" - + "TablesService\022\214\001\n" - + "\010GetTable\022/.google.area120.tables.v1alpha1.GetTableRequest\032%.google.area" - + "120.tables.v1alpha1.Table\"(\332A\004name\202\323\344\223\002\033\022\031/v1alpha1/{name=tables/*}\022\215\001\n\n" - + "ListTables\0221.google.area120.tables.v1alpha1.List" - + "TablesRequest\0322.google.area120.tables.v1" - + "alpha1.ListTablesResponse\"\030\202\323\344\223\002\022\022\020/v1alpha1/tables\022\234\001\n" - + "\014GetWorkspace\0223.google.area120.tables.v1alpha1.GetWorkspaceReques" - + "t\032).google.area120.tables.v1alpha1.Works" - + "pace\",\332A\004name\202\323\344\223\002\037\022\035/v1alpha1/{name=workspaces/*}\022\235\001\n" - + "\016ListWorkspaces\0225.google.area120.tables.v1alpha1.ListWorkspacesReq" - + "uest\0326.google.area120.tables.v1alpha1.Li" - + "stWorkspacesResponse\"\034\202\323\344\223\002\026\022\024/v1alpha1/workspaces\022\215\001\n" - + "\006GetRow\022-.google.area120.tables.v1alpha1.GetRowRequest\032#.google.ar" - + "ea120.tables.v1alpha1.Row\"/\332A\004name\202\323\344\223\002\"\022" - + " /v1alpha1/{name=tables/*/rows/*}\022\240\001\n" - + "\010ListRows\022/.google.area120.tables.v1alpha1" - + ".ListRowsRequest\0320.google.area120.tables" - + ".v1alpha1.ListRowsResponse\"1\332A\006parent\202\323\344\223\002\"\022" - + " /v1alpha1/{parent=tables/*}/rows\022\236\001\n" - + "\tCreateRow\0220.google.area120.tables.v1al" - + "pha1.CreateRowRequest\032#.google.area120.tables.v1alpha1.Row\":\332A\n" - + "parent,row\202\323\344\223\002\'\"" - + " /v1alpha1/{parent=tables/*}/rows:\003row\022\273\001\n" - + "\017BatchCreateRows\0226.google.area120.tabl" - + "es.v1alpha1.BatchCreateRowsRequest\0327.google.area120.tables.v1alpha1.BatchCreateR" - + "owsResponse\"7\202\323\344\223\0021\",/v1alpha1/{parent=tables/*}/rows:batchCreate:\001*\022\247\001\n" - + "\tUpdateRow\0220.google.area120.tables.v1alpha1.Upda" - + "teRowRequest\032#.google.area120.tables.v1a" - + "lpha1.Row\"C\332A\017row,update_mask\202\323\344\223\002+2$/v1" - + "alpha1/{row.name=tables/*/rows/*}:\003row\022\273\001\n" - + "\017BatchUpdateRows\0226.google.area120.tabl" - + "es.v1alpha1.BatchUpdateRowsRequest\0327.google.area120.tables.v1alpha1.BatchUpdateR" - + "owsResponse\"7\202\323\344\223\0021\",/v1alpha1/{parent=tables/*}/rows:batchUpdate:\001*\022\206\001\n" - + "\tDeleteRow\0220.google.area120.tables.v1alpha1.Dele" - + "teRowRequest\032\026.google.protobuf.Empty\"/\332A\004name\202\323\344\223\002\"*" - + " /v1alpha1/{name=tables/*/rows/*}\022\232\001\n" - + "\017BatchDeleteRows\0226.google.area120.tables.v1alpha1.BatchDeleteRowsReques" - + "t\032\026.google.protobuf.Empty\"7\202\323\344\223\0021\",/v1al" - + "pha1/{parent=tables/*}/rows:batchDelete:" - + "\001*\032\254\002\312A\034area120tables.googleapis.com\322A\211\002" - + "https://www.googleapis.com/auth/drive,https://www.googleapis.com/auth/drive.file" - + ",https://www.googleapis.com/auth/drive.readonly,https://www.googleapis.com/auth/" - + "spreadsheets,https://www.googleapis.com/" - + "auth/spreadsheets.readonly,https://www.googleapis.com/auth/tablesBu\n" - + "\"com.google.area120.tables.v1alpha1B\013TablesProtoP\001Z@" - + "cloud.google.com/go/area120/tables/apiv1alpha1/tablespb;tablespbb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - }); - internal_static_google_area120_tables_v1alpha1_GetTableRequest_descriptor = - getDescriptor().getMessageType(0); - internal_static_google_area120_tables_v1alpha1_GetTableRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_google_area120_tables_v1alpha1_GetTableRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_area120_tables_v1alpha1_ListTablesRequest_descriptor = - getDescriptor().getMessageType(1); - internal_static_google_area120_tables_v1alpha1_ListTablesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_google_area120_tables_v1alpha1_ListTablesRequest_descriptor, - new java.lang.String[] { - "PageSize", "PageToken", - }); - internal_static_google_area120_tables_v1alpha1_ListTablesResponse_descriptor = - getDescriptor().getMessageType(2); - internal_static_google_area120_tables_v1alpha1_ListTablesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_google_area120_tables_v1alpha1_ListTablesResponse_descriptor, - new java.lang.String[] { - "Tables", "NextPageToken", - }); - internal_static_google_area120_tables_v1alpha1_GetWorkspaceRequest_descriptor = - getDescriptor().getMessageType(3); - internal_static_google_area120_tables_v1alpha1_GetWorkspaceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_google_area120_tables_v1alpha1_GetWorkspaceRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_area120_tables_v1alpha1_ListWorkspacesRequest_descriptor = - getDescriptor().getMessageType(4); - internal_static_google_area120_tables_v1alpha1_ListWorkspacesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_google_area120_tables_v1alpha1_ListWorkspacesRequest_descriptor, - new java.lang.String[] { - "PageSize", "PageToken", - }); - internal_static_google_area120_tables_v1alpha1_ListWorkspacesResponse_descriptor = - getDescriptor().getMessageType(5); - internal_static_google_area120_tables_v1alpha1_ListWorkspacesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_google_area120_tables_v1alpha1_ListWorkspacesResponse_descriptor, - new java.lang.String[] { - "Workspaces", "NextPageToken", - }); - internal_static_google_area120_tables_v1alpha1_GetRowRequest_descriptor = - getDescriptor().getMessageType(6); - internal_static_google_area120_tables_v1alpha1_GetRowRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_google_area120_tables_v1alpha1_GetRowRequest_descriptor, - new java.lang.String[] { - "Name", "View", - }); - internal_static_google_area120_tables_v1alpha1_ListRowsRequest_descriptor = - getDescriptor().getMessageType(7); - internal_static_google_area120_tables_v1alpha1_ListRowsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_google_area120_tables_v1alpha1_ListRowsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "View", "Filter", - }); - internal_static_google_area120_tables_v1alpha1_ListRowsResponse_descriptor = - getDescriptor().getMessageType(8); - internal_static_google_area120_tables_v1alpha1_ListRowsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_google_area120_tables_v1alpha1_ListRowsResponse_descriptor, - new java.lang.String[] { - "Rows", "NextPageToken", - }); - internal_static_google_area120_tables_v1alpha1_CreateRowRequest_descriptor = - getDescriptor().getMessageType(9); - internal_static_google_area120_tables_v1alpha1_CreateRowRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_google_area120_tables_v1alpha1_CreateRowRequest_descriptor, - new java.lang.String[] { - "Parent", "Row", "View", - }); - internal_static_google_area120_tables_v1alpha1_BatchCreateRowsRequest_descriptor = - getDescriptor().getMessageType(10); - internal_static_google_area120_tables_v1alpha1_BatchCreateRowsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_google_area120_tables_v1alpha1_BatchCreateRowsRequest_descriptor, - new java.lang.String[] { - "Parent", "Requests", - }); - internal_static_google_area120_tables_v1alpha1_BatchCreateRowsResponse_descriptor = - getDescriptor().getMessageType(11); - internal_static_google_area120_tables_v1alpha1_BatchCreateRowsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_google_area120_tables_v1alpha1_BatchCreateRowsResponse_descriptor, - new java.lang.String[] { - "Rows", - }); - internal_static_google_area120_tables_v1alpha1_UpdateRowRequest_descriptor = - getDescriptor().getMessageType(12); - internal_static_google_area120_tables_v1alpha1_UpdateRowRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_google_area120_tables_v1alpha1_UpdateRowRequest_descriptor, - new java.lang.String[] { - "Row", "UpdateMask", "View", - }); - internal_static_google_area120_tables_v1alpha1_BatchUpdateRowsRequest_descriptor = - getDescriptor().getMessageType(13); - internal_static_google_area120_tables_v1alpha1_BatchUpdateRowsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_google_area120_tables_v1alpha1_BatchUpdateRowsRequest_descriptor, - new java.lang.String[] { - "Parent", "Requests", - }); - internal_static_google_area120_tables_v1alpha1_BatchUpdateRowsResponse_descriptor = - getDescriptor().getMessageType(14); - internal_static_google_area120_tables_v1alpha1_BatchUpdateRowsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_google_area120_tables_v1alpha1_BatchUpdateRowsResponse_descriptor, - new java.lang.String[] { - "Rows", - }); - internal_static_google_area120_tables_v1alpha1_DeleteRowRequest_descriptor = - getDescriptor().getMessageType(15); - internal_static_google_area120_tables_v1alpha1_DeleteRowRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_google_area120_tables_v1alpha1_DeleteRowRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_area120_tables_v1alpha1_BatchDeleteRowsRequest_descriptor = - getDescriptor().getMessageType(16); - internal_static_google_area120_tables_v1alpha1_BatchDeleteRowsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_google_area120_tables_v1alpha1_BatchDeleteRowsRequest_descriptor, - new java.lang.String[] { - "Parent", "Names", - }); - internal_static_google_area120_tables_v1alpha1_Table_descriptor = - getDescriptor().getMessageType(17); - internal_static_google_area120_tables_v1alpha1_Table_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_google_area120_tables_v1alpha1_Table_descriptor, - new java.lang.String[] { - "Name", "DisplayName", "Columns", - }); - internal_static_google_area120_tables_v1alpha1_ColumnDescription_descriptor = - getDescriptor().getMessageType(18); - internal_static_google_area120_tables_v1alpha1_ColumnDescription_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_google_area120_tables_v1alpha1_ColumnDescription_descriptor, - new java.lang.String[] { - "Name", "DataType", "Id", "Labels", "RelationshipDetails", "LookupDetails", - }); - internal_static_google_area120_tables_v1alpha1_LabeledItem_descriptor = - getDescriptor().getMessageType(19); - internal_static_google_area120_tables_v1alpha1_LabeledItem_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_google_area120_tables_v1alpha1_LabeledItem_descriptor, - new java.lang.String[] { - "Name", "Id", - }); - internal_static_google_area120_tables_v1alpha1_RelationshipDetails_descriptor = - getDescriptor().getMessageType(20); - internal_static_google_area120_tables_v1alpha1_RelationshipDetails_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_google_area120_tables_v1alpha1_RelationshipDetails_descriptor, - new java.lang.String[] { - "LinkedTable", - }); - internal_static_google_area120_tables_v1alpha1_LookupDetails_descriptor = - getDescriptor().getMessageType(21); - internal_static_google_area120_tables_v1alpha1_LookupDetails_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_google_area120_tables_v1alpha1_LookupDetails_descriptor, - new java.lang.String[] { - "RelationshipColumn", "RelationshipColumnId", - }); - internal_static_google_area120_tables_v1alpha1_Row_descriptor = - getDescriptor().getMessageType(22); - internal_static_google_area120_tables_v1alpha1_Row_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_google_area120_tables_v1alpha1_Row_descriptor, - new java.lang.String[] { - "Name", "Values", - }); - internal_static_google_area120_tables_v1alpha1_Row_ValuesEntry_descriptor = - internal_static_google_area120_tables_v1alpha1_Row_descriptor.getNestedType(0); - internal_static_google_area120_tables_v1alpha1_Row_ValuesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_google_area120_tables_v1alpha1_Row_ValuesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_area120_tables_v1alpha1_Workspace_descriptor = - getDescriptor().getMessageType(23); - internal_static_google_area120_tables_v1alpha1_Workspace_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_google_area120_tables_v1alpha1_Workspace_descriptor, - new java.lang.String[] { - "Name", "DisplayName", "Tables", - }); - descriptor.resolveAllFeaturesImmutable(); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/UpdateRowRequest.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/UpdateRowRequest.java deleted file mode 100644 index df14f458d67e..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/UpdateRowRequest.java +++ /dev/null @@ -1,1153 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -/** - * - * - *
- * Request message for TablesService.UpdateRow.
- * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.UpdateRowRequest} - */ -@com.google.protobuf.Generated -public final class UpdateRowRequest extends com.google.protobuf.GeneratedMessage - implements - // @@protoc_insertion_point(message_implements:google.area120.tables.v1alpha1.UpdateRowRequest) - UpdateRowRequestOrBuilder { - private static final long serialVersionUID = 0L; - - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 6, - /* suffix= */ "", - "UpdateRowRequest"); - } - - // Use UpdateRowRequest.newBuilder() to construct. - private UpdateRowRequest(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private UpdateRowRequest() { - view_ = 0; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_UpdateRowRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_UpdateRowRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.UpdateRowRequest.class, - com.google.area120.tables.v1alpha1.UpdateRowRequest.Builder.class); - } - - private int bitField0_; - public static final int ROW_FIELD_NUMBER = 1; - private com.google.area120.tables.v1alpha1.Row row_; - - /** - * - * - *
-   * Required. The row to update.
-   * 
- * - * .google.area120.tables.v1alpha1.Row row = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the row field is set. - */ - @java.lang.Override - public boolean hasRow() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * - * - *
-   * Required. The row to update.
-   * 
- * - * .google.area120.tables.v1alpha1.Row row = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The row. - */ - @java.lang.Override - public com.google.area120.tables.v1alpha1.Row getRow() { - return row_ == null ? com.google.area120.tables.v1alpha1.Row.getDefaultInstance() : row_; - } - - /** - * - * - *
-   * Required. The row to update.
-   * 
- * - * .google.area120.tables.v1alpha1.Row row = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - @java.lang.Override - public com.google.area120.tables.v1alpha1.RowOrBuilder getRowOrBuilder() { - return row_ == null ? com.google.area120.tables.v1alpha1.Row.getDefaultInstance() : row_; - } - - public static final int UPDATE_MASK_FIELD_NUMBER = 2; - private com.google.protobuf.FieldMask updateMask_; - - /** - * - * - *
-   * The list of fields to update.
-   * 
- * - * .google.protobuf.FieldMask update_mask = 2; - * - * @return Whether the updateMask field is set. - */ - @java.lang.Override - public boolean hasUpdateMask() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * - * - *
-   * The list of fields to update.
-   * 
- * - * .google.protobuf.FieldMask update_mask = 2; - * - * @return The updateMask. - */ - @java.lang.Override - public com.google.protobuf.FieldMask getUpdateMask() { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; - } - - /** - * - * - *
-   * The list of fields to update.
-   * 
- * - * .google.protobuf.FieldMask update_mask = 2; - */ - @java.lang.Override - public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; - } - - public static final int VIEW_FIELD_NUMBER = 3; - private int view_ = 0; - - /** - * - * - *
-   * Optional. Column key to use for values in the row.
-   * Defaults to user entered name.
-   * 
- * - * .google.area120.tables.v1alpha1.View view = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The enum numeric value on the wire for view. - */ - @java.lang.Override - public int getViewValue() { - return view_; - } - - /** - * - * - *
-   * Optional. Column key to use for values in the row.
-   * Defaults to user entered name.
-   * 
- * - * .google.area120.tables.v1alpha1.View view = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The view. - */ - @java.lang.Override - public com.google.area120.tables.v1alpha1.View getView() { - com.google.area120.tables.v1alpha1.View result = - com.google.area120.tables.v1alpha1.View.forNumber(view_); - return result == null ? com.google.area120.tables.v1alpha1.View.UNRECOGNIZED : result; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - output.writeMessage(1, getRow()); - } - if (((bitField0_ & 0x00000002) != 0)) { - output.writeMessage(2, getUpdateMask()); - } - if (view_ != com.google.area120.tables.v1alpha1.View.VIEW_UNSPECIFIED.getNumber()) { - output.writeEnum(3, view_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRow()); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); - } - if (view_ != com.google.area120.tables.v1alpha1.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, view_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.area120.tables.v1alpha1.UpdateRowRequest)) { - return super.equals(obj); - } - com.google.area120.tables.v1alpha1.UpdateRowRequest other = - (com.google.area120.tables.v1alpha1.UpdateRowRequest) obj; - - if (hasRow() != other.hasRow()) return false; - if (hasRow()) { - if (!getRow().equals(other.getRow())) return false; - } - if (hasUpdateMask() != other.hasUpdateMask()) return false; - if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; - } - if (view_ != other.view_) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasRow()) { - hash = (37 * hash) + ROW_FIELD_NUMBER; - hash = (53 * hash) + getRow().hashCode(); - } - if (hasUpdateMask()) { - hash = (37 * hash) + UPDATE_MASK_FIELD_NUMBER; - hash = (53 * hash) + getUpdateMask().hashCode(); - } - hash = (37 * hash) + VIEW_FIELD_NUMBER; - hash = (53 * hash) + view_; - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.area120.tables.v1alpha1.UpdateRowRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.UpdateRowRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.UpdateRowRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.UpdateRowRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.UpdateRowRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.UpdateRowRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.UpdateRowRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.UpdateRowRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.UpdateRowRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.UpdateRowRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.UpdateRowRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.UpdateRowRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.area120.tables.v1alpha1.UpdateRowRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * - * - *
-   * Request message for TablesService.UpdateRow.
-   * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.UpdateRowRequest} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder - implements - // @@protoc_insertion_point(builder_implements:google.area120.tables.v1alpha1.UpdateRowRequest) - com.google.area120.tables.v1alpha1.UpdateRowRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_UpdateRowRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_UpdateRowRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.UpdateRowRequest.class, - com.google.area120.tables.v1alpha1.UpdateRowRequest.Builder.class); - } - - // Construct using com.google.area120.tables.v1alpha1.UpdateRowRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - internalGetRowFieldBuilder(); - internalGetUpdateMaskFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - row_ = null; - if (rowBuilder_ != null) { - rowBuilder_.dispose(); - rowBuilder_ = null; - } - updateMask_ = null; - if (updateMaskBuilder_ != null) { - updateMaskBuilder_.dispose(); - updateMaskBuilder_ = null; - } - view_ = 0; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_UpdateRowRequest_descriptor; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.UpdateRowRequest getDefaultInstanceForType() { - return com.google.area120.tables.v1alpha1.UpdateRowRequest.getDefaultInstance(); - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.UpdateRowRequest build() { - com.google.area120.tables.v1alpha1.UpdateRowRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.UpdateRowRequest buildPartial() { - com.google.area120.tables.v1alpha1.UpdateRowRequest result = - new com.google.area120.tables.v1alpha1.UpdateRowRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.google.area120.tables.v1alpha1.UpdateRowRequest result) { - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.row_ = rowBuilder_ == null ? row_ : rowBuilder_.build(); - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); - to_bitField0_ |= 0x00000002; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.view_ = view_; - } - result.bitField0_ |= to_bitField0_; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.area120.tables.v1alpha1.UpdateRowRequest) { - return mergeFrom((com.google.area120.tables.v1alpha1.UpdateRowRequest) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.area120.tables.v1alpha1.UpdateRowRequest other) { - if (other == com.google.area120.tables.v1alpha1.UpdateRowRequest.getDefaultInstance()) - return this; - if (other.hasRow()) { - mergeRow(other.getRow()); - } - if (other.hasUpdateMask()) { - mergeUpdateMask(other.getUpdateMask()); - } - if (other.view_ != 0) { - setViewValue(other.getViewValue()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - input.readMessage(internalGetRowFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage( - internalGetUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - view_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private com.google.area120.tables.v1alpha1.Row row_; - private com.google.protobuf.SingleFieldBuilder< - com.google.area120.tables.v1alpha1.Row, - com.google.area120.tables.v1alpha1.Row.Builder, - com.google.area120.tables.v1alpha1.RowOrBuilder> - rowBuilder_; - - /** - * - * - *
-     * Required. The row to update.
-     * 
- * - * .google.area120.tables.v1alpha1.Row row = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the row field is set. - */ - public boolean hasRow() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * - * - *
-     * Required. The row to update.
-     * 
- * - * .google.area120.tables.v1alpha1.Row row = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The row. - */ - public com.google.area120.tables.v1alpha1.Row getRow() { - if (rowBuilder_ == null) { - return row_ == null ? com.google.area120.tables.v1alpha1.Row.getDefaultInstance() : row_; - } else { - return rowBuilder_.getMessage(); - } - } - - /** - * - * - *
-     * Required. The row to update.
-     * 
- * - * .google.area120.tables.v1alpha1.Row row = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder setRow(com.google.area120.tables.v1alpha1.Row value) { - if (rowBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - row_ = value; - } else { - rowBuilder_.setMessage(value); - } - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * - * - *
-     * Required. The row to update.
-     * 
- * - * .google.area120.tables.v1alpha1.Row row = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder setRow(com.google.area120.tables.v1alpha1.Row.Builder builderForValue) { - if (rowBuilder_ == null) { - row_ = builderForValue.build(); - } else { - rowBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * - * - *
-     * Required. The row to update.
-     * 
- * - * .google.area120.tables.v1alpha1.Row row = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder mergeRow(com.google.area120.tables.v1alpha1.Row value) { - if (rowBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && row_ != null - && row_ != com.google.area120.tables.v1alpha1.Row.getDefaultInstance()) { - getRowBuilder().mergeFrom(value); - } else { - row_ = value; - } - } else { - rowBuilder_.mergeFrom(value); - } - if (row_ != null) { - bitField0_ |= 0x00000001; - onChanged(); - } - return this; - } - - /** - * - * - *
-     * Required. The row to update.
-     * 
- * - * .google.area120.tables.v1alpha1.Row row = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder clearRow() { - bitField0_ = (bitField0_ & ~0x00000001); - row_ = null; - if (rowBuilder_ != null) { - rowBuilder_.dispose(); - rowBuilder_ = null; - } - onChanged(); - return this; - } - - /** - * - * - *
-     * Required. The row to update.
-     * 
- * - * .google.area120.tables.v1alpha1.Row row = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.area120.tables.v1alpha1.Row.Builder getRowBuilder() { - bitField0_ |= 0x00000001; - onChanged(); - return internalGetRowFieldBuilder().getBuilder(); - } - - /** - * - * - *
-     * Required. The row to update.
-     * 
- * - * .google.area120.tables.v1alpha1.Row row = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.area120.tables.v1alpha1.RowOrBuilder getRowOrBuilder() { - if (rowBuilder_ != null) { - return rowBuilder_.getMessageOrBuilder(); - } else { - return row_ == null ? com.google.area120.tables.v1alpha1.Row.getDefaultInstance() : row_; - } - } - - /** - * - * - *
-     * Required. The row to update.
-     * 
- * - * .google.area120.tables.v1alpha1.Row row = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - private com.google.protobuf.SingleFieldBuilder< - com.google.area120.tables.v1alpha1.Row, - com.google.area120.tables.v1alpha1.Row.Builder, - com.google.area120.tables.v1alpha1.RowOrBuilder> - internalGetRowFieldBuilder() { - if (rowBuilder_ == null) { - rowBuilder_ = - new com.google.protobuf.SingleFieldBuilder< - com.google.area120.tables.v1alpha1.Row, - com.google.area120.tables.v1alpha1.Row.Builder, - com.google.area120.tables.v1alpha1.RowOrBuilder>( - getRow(), getParentForChildren(), isClean()); - row_ = null; - } - return rowBuilder_; - } - - private com.google.protobuf.FieldMask updateMask_; - private com.google.protobuf.SingleFieldBuilder< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; - - /** - * - * - *
-     * The list of fields to update.
-     * 
- * - * .google.protobuf.FieldMask update_mask = 2; - * - * @return Whether the updateMask field is set. - */ - public boolean hasUpdateMask() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * - * - *
-     * The list of fields to update.
-     * 
- * - * .google.protobuf.FieldMask update_mask = 2; - * - * @return The updateMask. - */ - public com.google.protobuf.FieldMask getUpdateMask() { - if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; - } else { - return updateMaskBuilder_.getMessage(); - } - } - - /** - * - * - *
-     * The list of fields to update.
-     * 
- * - * .google.protobuf.FieldMask update_mask = 2; - */ - public Builder setUpdateMask(com.google.protobuf.FieldMask value) { - if (updateMaskBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - updateMask_ = value; - } else { - updateMaskBuilder_.setMessage(value); - } - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * - * - *
-     * The list of fields to update.
-     * 
- * - * .google.protobuf.FieldMask update_mask = 2; - */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { - if (updateMaskBuilder_ == null) { - updateMask_ = builderForValue.build(); - } else { - updateMaskBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * - * - *
-     * The list of fields to update.
-     * 
- * - * .google.protobuf.FieldMask update_mask = 2; - */ - public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { - if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { - getUpdateMaskBuilder().mergeFrom(value); - } else { - updateMask_ = value; - } - } else { - updateMaskBuilder_.mergeFrom(value); - } - if (updateMask_ != null) { - bitField0_ |= 0x00000002; - onChanged(); - } - return this; - } - - /** - * - * - *
-     * The list of fields to update.
-     * 
- * - * .google.protobuf.FieldMask update_mask = 2; - */ - public Builder clearUpdateMask() { - bitField0_ = (bitField0_ & ~0x00000002); - updateMask_ = null; - if (updateMaskBuilder_ != null) { - updateMaskBuilder_.dispose(); - updateMaskBuilder_ = null; - } - onChanged(); - return this; - } - - /** - * - * - *
-     * The list of fields to update.
-     * 
- * - * .google.protobuf.FieldMask update_mask = 2; - */ - public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - bitField0_ |= 0x00000002; - onChanged(); - return internalGetUpdateMaskFieldBuilder().getBuilder(); - } - - /** - * - * - *
-     * The list of fields to update.
-     * 
- * - * .google.protobuf.FieldMask update_mask = 2; - */ - public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { - if (updateMaskBuilder_ != null) { - return updateMaskBuilder_.getMessageOrBuilder(); - } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; - } - } - - /** - * - * - *
-     * The list of fields to update.
-     * 
- * - * .google.protobuf.FieldMask update_mask = 2; - */ - private com.google.protobuf.SingleFieldBuilder< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - internalGetUpdateMaskFieldBuilder() { - if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilder< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); - updateMask_ = null; - } - return updateMaskBuilder_; - } - - private int view_ = 0; - - /** - * - * - *
-     * Optional. Column key to use for values in the row.
-     * Defaults to user entered name.
-     * 
- * - * - * .google.area120.tables.v1alpha1.View view = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The enum numeric value on the wire for view. - */ - @java.lang.Override - public int getViewValue() { - return view_; - } - - /** - * - * - *
-     * Optional. Column key to use for values in the row.
-     * Defaults to user entered name.
-     * 
- * - * - * .google.area120.tables.v1alpha1.View view = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @param value The enum numeric value on the wire for view to set. - * @return This builder for chaining. - */ - public Builder setViewValue(int value) { - view_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - * - * - *
-     * Optional. Column key to use for values in the row.
-     * Defaults to user entered name.
-     * 
- * - * - * .google.area120.tables.v1alpha1.View view = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The view. - */ - @java.lang.Override - public com.google.area120.tables.v1alpha1.View getView() { - com.google.area120.tables.v1alpha1.View result = - com.google.area120.tables.v1alpha1.View.forNumber(view_); - return result == null ? com.google.area120.tables.v1alpha1.View.UNRECOGNIZED : result; - } - - /** - * - * - *
-     * Optional. Column key to use for values in the row.
-     * Defaults to user entered name.
-     * 
- * - * - * .google.area120.tables.v1alpha1.View view = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @param value The view to set. - * @return This builder for chaining. - */ - public Builder setView(com.google.area120.tables.v1alpha1.View value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - view_ = value.getNumber(); - onChanged(); - return this; - } - - /** - * - * - *
-     * Optional. Column key to use for values in the row.
-     * Defaults to user entered name.
-     * 
- * - * - * .google.area120.tables.v1alpha1.View view = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return This builder for chaining. - */ - public Builder clearView() { - bitField0_ = (bitField0_ & ~0x00000004); - view_ = 0; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:google.area120.tables.v1alpha1.UpdateRowRequest) - } - - // @@protoc_insertion_point(class_scope:google.area120.tables.v1alpha1.UpdateRowRequest) - private static final com.google.area120.tables.v1alpha1.UpdateRowRequest DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.area120.tables.v1alpha1.UpdateRowRequest(); - } - - public static com.google.area120.tables.v1alpha1.UpdateRowRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateRowRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.UpdateRowRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/UpdateRowRequestOrBuilder.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/UpdateRowRequestOrBuilder.java deleted file mode 100644 index 4de67638b29e..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/UpdateRowRequestOrBuilder.java +++ /dev/null @@ -1,135 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -@com.google.protobuf.Generated -public interface UpdateRowRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.area120.tables.v1alpha1.UpdateRowRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The row to update.
-   * 
- * - * .google.area120.tables.v1alpha1.Row row = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the row field is set. - */ - boolean hasRow(); - - /** - * - * - *
-   * Required. The row to update.
-   * 
- * - * .google.area120.tables.v1alpha1.Row row = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The row. - */ - com.google.area120.tables.v1alpha1.Row getRow(); - - /** - * - * - *
-   * Required. The row to update.
-   * 
- * - * .google.area120.tables.v1alpha1.Row row = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.area120.tables.v1alpha1.RowOrBuilder getRowOrBuilder(); - - /** - * - * - *
-   * The list of fields to update.
-   * 
- * - * .google.protobuf.FieldMask update_mask = 2; - * - * @return Whether the updateMask field is set. - */ - boolean hasUpdateMask(); - - /** - * - * - *
-   * The list of fields to update.
-   * 
- * - * .google.protobuf.FieldMask update_mask = 2; - * - * @return The updateMask. - */ - com.google.protobuf.FieldMask getUpdateMask(); - - /** - * - * - *
-   * The list of fields to update.
-   * 
- * - * .google.protobuf.FieldMask update_mask = 2; - */ - com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); - - /** - * - * - *
-   * Optional. Column key to use for values in the row.
-   * Defaults to user entered name.
-   * 
- * - * .google.area120.tables.v1alpha1.View view = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The enum numeric value on the wire for view. - */ - int getViewValue(); - - /** - * - * - *
-   * Optional. Column key to use for values in the row.
-   * Defaults to user entered name.
-   * 
- * - * .google.area120.tables.v1alpha1.View view = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The view. - */ - com.google.area120.tables.v1alpha1.View getView(); -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/View.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/View.java deleted file mode 100644 index 44d3685f43af..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/View.java +++ /dev/null @@ -1,168 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -/** - * - * - *
- * Column identifier used for the values in the row.
- * 
- * - * Protobuf enum {@code google.area120.tables.v1alpha1.View} - */ -@com.google.protobuf.Generated -public enum View implements com.google.protobuf.ProtocolMessageEnum { - /** - * - * - *
-   * Defaults to user entered text.
-   * 
- * - * VIEW_UNSPECIFIED = 0; - */ - VIEW_UNSPECIFIED(0), - /** - * - * - *
-   * Uses internally generated column id to identify values.
-   * 
- * - * COLUMN_ID_VIEW = 1; - */ - COLUMN_ID_VIEW(1), - UNRECOGNIZED(-1), - ; - - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 6, - /* suffix= */ "", - "View"); - } - - /** - * - * - *
-   * Defaults to user entered text.
-   * 
- * - * VIEW_UNSPECIFIED = 0; - */ - public static final int VIEW_UNSPECIFIED_VALUE = 0; - - /** - * - * - *
-   * Uses internally generated column id to identify values.
-   * 
- * - * COLUMN_ID_VIEW = 1; - */ - public static final int COLUMN_ID_VIEW_VALUE = 1; - - public final int getNumber() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalArgumentException( - "Can't get the number of an unknown enum value."); - } - return value; - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static View valueOf(int value) { - return forNumber(value); - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - */ - public static View forNumber(int value) { - switch (value) { - case 0: - return VIEW_UNSPECIFIED; - case 1: - return COLUMN_ID_VIEW; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { - return internalValueMap; - } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public View findValueByNumber(int number) { - return View.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalStateException( - "Can't get the descriptor of an unrecognized enum value."); - } - return getDescriptor().getValues().get(ordinal()); - } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { - return getDescriptor(); - } - - public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto.getDescriptor().getEnumTypes().get(0); - } - - private static final View[] VALUES = values(); - - public static View valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { - if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); - } - if (desc.getIndex() == -1) { - return UNRECOGNIZED; - } - return VALUES[desc.getIndex()]; - } - - private final int value; - - private View(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:google.area120.tables.v1alpha1.View) -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/Workspace.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/Workspace.java deleted file mode 100644 index 99e31c9878c5..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/Workspace.java +++ /dev/null @@ -1,1304 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -/** - * - * - *
- * A single workspace.
- * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.Workspace} - */ -@com.google.protobuf.Generated -public final class Workspace extends com.google.protobuf.GeneratedMessage - implements - // @@protoc_insertion_point(message_implements:google.area120.tables.v1alpha1.Workspace) - WorkspaceOrBuilder { - private static final long serialVersionUID = 0L; - - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 6, - /* suffix= */ "", - "Workspace"); - } - - // Use Workspace.newBuilder() to construct. - private Workspace(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private Workspace() { - name_ = ""; - displayName_ = ""; - tables_ = java.util.Collections.emptyList(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_Workspace_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_Workspace_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.Workspace.class, - com.google.area120.tables.v1alpha1.Workspace.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private volatile java.lang.Object name_ = ""; - - /** - * - * - *
-   * The resource name of the workspace.
-   * Workspace names have the form `workspaces/{workspace}`.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - - /** - * - * - *
-   * The resource name of the workspace.
-   * Workspace names have the form `workspaces/{workspace}`.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - - @SuppressWarnings("serial") - private volatile java.lang.Object displayName_ = ""; - - /** - * - * - *
-   * The human readable title of the workspace.
-   * 
- * - * string display_name = 2; - * - * @return The displayName. - */ - @java.lang.Override - public java.lang.String getDisplayName() { - java.lang.Object ref = displayName_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - displayName_ = s; - return s; - } - } - - /** - * - * - *
-   * The human readable title of the workspace.
-   * 
- * - * string display_name = 2; - * - * @return The bytes for displayName. - */ - @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { - java.lang.Object ref = displayName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - displayName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int TABLES_FIELD_NUMBER = 3; - - @SuppressWarnings("serial") - private java.util.List tables_; - - /** - * - * - *
-   * The list of tables in the workspace.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 3; - */ - @java.lang.Override - public java.util.List getTablesList() { - return tables_; - } - - /** - * - * - *
-   * The list of tables in the workspace.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 3; - */ - @java.lang.Override - public java.util.List - getTablesOrBuilderList() { - return tables_; - } - - /** - * - * - *
-   * The list of tables in the workspace.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 3; - */ - @java.lang.Override - public int getTablesCount() { - return tables_.size(); - } - - /** - * - * - *
-   * The list of tables in the workspace.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 3; - */ - @java.lang.Override - public com.google.area120.tables.v1alpha1.Table getTables(int index) { - return tables_.get(index); - } - - /** - * - * - *
-   * The list of tables in the workspace.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 3; - */ - @java.lang.Override - public com.google.area120.tables.v1alpha1.TableOrBuilder getTablesOrBuilder(int index) { - return tables_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(displayName_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, displayName_); - } - for (int i = 0; i < tables_.size(); i++) { - output.writeMessage(3, tables_.get(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(displayName_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, displayName_); - } - for (int i = 0; i < tables_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, tables_.get(i)); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.area120.tables.v1alpha1.Workspace)) { - return super.equals(obj); - } - com.google.area120.tables.v1alpha1.Workspace other = - (com.google.area120.tables.v1alpha1.Workspace) obj; - - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getTablesList().equals(other.getTablesList())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER; - hash = (53 * hash) + getDisplayName().hashCode(); - if (getTablesCount() > 0) { - hash = (37 * hash) + TABLES_FIELD_NUMBER; - hash = (53 * hash) + getTablesList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.area120.tables.v1alpha1.Workspace parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.Workspace parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.Workspace parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.Workspace parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.Workspace parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.area120.tables.v1alpha1.Workspace parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.Workspace parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.Workspace parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.Workspace parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.Workspace parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.area120.tables.v1alpha1.Workspace parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.google.area120.tables.v1alpha1.Workspace parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.area120.tables.v1alpha1.Workspace prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * - * - *
-   * A single workspace.
-   * 
- * - * Protobuf type {@code google.area120.tables.v1alpha1.Workspace} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder - implements - // @@protoc_insertion_point(builder_implements:google.area120.tables.v1alpha1.Workspace) - com.google.area120.tables.v1alpha1.WorkspaceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_Workspace_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_Workspace_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.area120.tables.v1alpha1.Workspace.class, - com.google.area120.tables.v1alpha1.Workspace.Builder.class); - } - - // Construct using com.google.area120.tables.v1alpha1.Workspace.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - name_ = ""; - displayName_ = ""; - if (tablesBuilder_ == null) { - tables_ = java.util.Collections.emptyList(); - } else { - tables_ = null; - tablesBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.area120.tables.v1alpha1.TablesProto - .internal_static_google_area120_tables_v1alpha1_Workspace_descriptor; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.Workspace getDefaultInstanceForType() { - return com.google.area120.tables.v1alpha1.Workspace.getDefaultInstance(); - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.Workspace build() { - com.google.area120.tables.v1alpha1.Workspace result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.Workspace buildPartial() { - com.google.area120.tables.v1alpha1.Workspace result = - new com.google.area120.tables.v1alpha1.Workspace(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields(com.google.area120.tables.v1alpha1.Workspace result) { - if (tablesBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { - tables_ = java.util.Collections.unmodifiableList(tables_); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.tables_ = tables_; - } else { - result.tables_ = tablesBuilder_.build(); - } - } - - private void buildPartial0(com.google.area120.tables.v1alpha1.Workspace result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.name_ = name_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.displayName_ = displayName_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.area120.tables.v1alpha1.Workspace) { - return mergeFrom((com.google.area120.tables.v1alpha1.Workspace) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.area120.tables.v1alpha1.Workspace other) { - if (other == com.google.area120.tables.v1alpha1.Workspace.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getDisplayName().isEmpty()) { - displayName_ = other.displayName_; - bitField0_ |= 0x00000002; - onChanged(); - } - if (tablesBuilder_ == null) { - if (!other.tables_.isEmpty()) { - if (tables_.isEmpty()) { - tables_ = other.tables_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureTablesIsMutable(); - tables_.addAll(other.tables_); - } - onChanged(); - } - } else { - if (!other.tables_.isEmpty()) { - if (tablesBuilder_.isEmpty()) { - tablesBuilder_.dispose(); - tablesBuilder_ = null; - tables_ = other.tables_; - bitField0_ = (bitField0_ & ~0x00000004); - tablesBuilder_ = - com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? internalGetTablesFieldBuilder() - : null; - } else { - tablesBuilder_.addAllMessages(other.tables_); - } - } - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - com.google.area120.tables.v1alpha1.Table m = - input.readMessage( - com.google.area120.tables.v1alpha1.Table.parser(), extensionRegistry); - if (tablesBuilder_ == null) { - ensureTablesIsMutable(); - tables_.add(m); - } else { - tablesBuilder_.addMessage(m); - } - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object name_ = ""; - - /** - * - * - *
-     * The resource name of the workspace.
-     * Workspace names have the form `workspaces/{workspace}`.
-     * 
- * - * string name = 1; - * - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * - * - *
-     * The resource name of the workspace.
-     * Workspace names have the form `workspaces/{workspace}`.
-     * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * - * - *
-     * The resource name of the workspace.
-     * Workspace names have the form `workspaces/{workspace}`.
-     * 
- * - * string name = 1; - * - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - name_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - * - * - *
-     * The resource name of the workspace.
-     * Workspace names have the form `workspaces/{workspace}`.
-     * 
- * - * string name = 1; - * - * @return This builder for chaining. - */ - public Builder clearName() { - name_ = getDefaultInstance().getName(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * - * - *
-     * The resource name of the workspace.
-     * Workspace names have the form `workspaces/{workspace}`.
-     * 
- * - * string name = 1; - * - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - name_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private java.lang.Object displayName_ = ""; - - /** - * - * - *
-     * The human readable title of the workspace.
-     * 
- * - * string display_name = 2; - * - * @return The displayName. - */ - public java.lang.String getDisplayName() { - java.lang.Object ref = displayName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - displayName_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * - * - *
-     * The human readable title of the workspace.
-     * 
- * - * string display_name = 2; - * - * @return The bytes for displayName. - */ - public com.google.protobuf.ByteString getDisplayNameBytes() { - java.lang.Object ref = displayName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - displayName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * - * - *
-     * The human readable title of the workspace.
-     * 
- * - * string display_name = 2; - * - * @param value The displayName to set. - * @return This builder for chaining. - */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - displayName_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - * - * - *
-     * The human readable title of the workspace.
-     * 
- * - * string display_name = 2; - * - * @return This builder for chaining. - */ - public Builder clearDisplayName() { - displayName_ = getDefaultInstance().getDisplayName(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - - /** - * - * - *
-     * The human readable title of the workspace.
-     * 
- * - * string display_name = 2; - * - * @param value The bytes for displayName to set. - * @return This builder for chaining. - */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - displayName_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - private java.util.List tables_ = - java.util.Collections.emptyList(); - - private void ensureTablesIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - tables_ = new java.util.ArrayList(tables_); - bitField0_ |= 0x00000004; - } - } - - private com.google.protobuf.RepeatedFieldBuilder< - com.google.area120.tables.v1alpha1.Table, - com.google.area120.tables.v1alpha1.Table.Builder, - com.google.area120.tables.v1alpha1.TableOrBuilder> - tablesBuilder_; - - /** - * - * - *
-     * The list of tables in the workspace.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 3; - */ - public java.util.List getTablesList() { - if (tablesBuilder_ == null) { - return java.util.Collections.unmodifiableList(tables_); - } else { - return tablesBuilder_.getMessageList(); - } - } - - /** - * - * - *
-     * The list of tables in the workspace.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 3; - */ - public int getTablesCount() { - if (tablesBuilder_ == null) { - return tables_.size(); - } else { - return tablesBuilder_.getCount(); - } - } - - /** - * - * - *
-     * The list of tables in the workspace.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 3; - */ - public com.google.area120.tables.v1alpha1.Table getTables(int index) { - if (tablesBuilder_ == null) { - return tables_.get(index); - } else { - return tablesBuilder_.getMessage(index); - } - } - - /** - * - * - *
-     * The list of tables in the workspace.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 3; - */ - public Builder setTables(int index, com.google.area120.tables.v1alpha1.Table value) { - if (tablesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTablesIsMutable(); - tables_.set(index, value); - onChanged(); - } else { - tablesBuilder_.setMessage(index, value); - } - return this; - } - - /** - * - * - *
-     * The list of tables in the workspace.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 3; - */ - public Builder setTables( - int index, com.google.area120.tables.v1alpha1.Table.Builder builderForValue) { - if (tablesBuilder_ == null) { - ensureTablesIsMutable(); - tables_.set(index, builderForValue.build()); - onChanged(); - } else { - tablesBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - * - * - *
-     * The list of tables in the workspace.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 3; - */ - public Builder addTables(com.google.area120.tables.v1alpha1.Table value) { - if (tablesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTablesIsMutable(); - tables_.add(value); - onChanged(); - } else { - tablesBuilder_.addMessage(value); - } - return this; - } - - /** - * - * - *
-     * The list of tables in the workspace.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 3; - */ - public Builder addTables(int index, com.google.area120.tables.v1alpha1.Table value) { - if (tablesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTablesIsMutable(); - tables_.add(index, value); - onChanged(); - } else { - tablesBuilder_.addMessage(index, value); - } - return this; - } - - /** - * - * - *
-     * The list of tables in the workspace.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 3; - */ - public Builder addTables(com.google.area120.tables.v1alpha1.Table.Builder builderForValue) { - if (tablesBuilder_ == null) { - ensureTablesIsMutable(); - tables_.add(builderForValue.build()); - onChanged(); - } else { - tablesBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - * - * - *
-     * The list of tables in the workspace.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 3; - */ - public Builder addTables( - int index, com.google.area120.tables.v1alpha1.Table.Builder builderForValue) { - if (tablesBuilder_ == null) { - ensureTablesIsMutable(); - tables_.add(index, builderForValue.build()); - onChanged(); - } else { - tablesBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - * - * - *
-     * The list of tables in the workspace.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 3; - */ - public Builder addAllTables( - java.lang.Iterable values) { - if (tablesBuilder_ == null) { - ensureTablesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tables_); - onChanged(); - } else { - tablesBuilder_.addAllMessages(values); - } - return this; - } - - /** - * - * - *
-     * The list of tables in the workspace.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 3; - */ - public Builder clearTables() { - if (tablesBuilder_ == null) { - tables_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - } else { - tablesBuilder_.clear(); - } - return this; - } - - /** - * - * - *
-     * The list of tables in the workspace.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 3; - */ - public Builder removeTables(int index) { - if (tablesBuilder_ == null) { - ensureTablesIsMutable(); - tables_.remove(index); - onChanged(); - } else { - tablesBuilder_.remove(index); - } - return this; - } - - /** - * - * - *
-     * The list of tables in the workspace.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 3; - */ - public com.google.area120.tables.v1alpha1.Table.Builder getTablesBuilder(int index) { - return internalGetTablesFieldBuilder().getBuilder(index); - } - - /** - * - * - *
-     * The list of tables in the workspace.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 3; - */ - public com.google.area120.tables.v1alpha1.TableOrBuilder getTablesOrBuilder(int index) { - if (tablesBuilder_ == null) { - return tables_.get(index); - } else { - return tablesBuilder_.getMessageOrBuilder(index); - } - } - - /** - * - * - *
-     * The list of tables in the workspace.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 3; - */ - public java.util.List - getTablesOrBuilderList() { - if (tablesBuilder_ != null) { - return tablesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(tables_); - } - } - - /** - * - * - *
-     * The list of tables in the workspace.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 3; - */ - public com.google.area120.tables.v1alpha1.Table.Builder addTablesBuilder() { - return internalGetTablesFieldBuilder() - .addBuilder(com.google.area120.tables.v1alpha1.Table.getDefaultInstance()); - } - - /** - * - * - *
-     * The list of tables in the workspace.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 3; - */ - public com.google.area120.tables.v1alpha1.Table.Builder addTablesBuilder(int index) { - return internalGetTablesFieldBuilder() - .addBuilder(index, com.google.area120.tables.v1alpha1.Table.getDefaultInstance()); - } - - /** - * - * - *
-     * The list of tables in the workspace.
-     * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 3; - */ - public java.util.List getTablesBuilderList() { - return internalGetTablesFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilder< - com.google.area120.tables.v1alpha1.Table, - com.google.area120.tables.v1alpha1.Table.Builder, - com.google.area120.tables.v1alpha1.TableOrBuilder> - internalGetTablesFieldBuilder() { - if (tablesBuilder_ == null) { - tablesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilder< - com.google.area120.tables.v1alpha1.Table, - com.google.area120.tables.v1alpha1.Table.Builder, - com.google.area120.tables.v1alpha1.TableOrBuilder>( - tables_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); - tables_ = null; - } - return tablesBuilder_; - } - - // @@protoc_insertion_point(builder_scope:google.area120.tables.v1alpha1.Workspace) - } - - // @@protoc_insertion_point(class_scope:google.area120.tables.v1alpha1.Workspace) - private static final com.google.area120.tables.v1alpha1.Workspace DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.area120.tables.v1alpha1.Workspace(); - } - - public static com.google.area120.tables.v1alpha1.Workspace getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Workspace parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.area120.tables.v1alpha1.Workspace getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/WorkspaceName.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/WorkspaceName.java deleted file mode 100644 index 0551a9ed6da8..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/WorkspaceName.java +++ /dev/null @@ -1,171 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha1; - -import com.google.api.pathtemplate.PathTemplate; -import com.google.api.resourcenames.ResourceName; -import com.google.common.base.Preconditions; -import com.google.common.collect.ImmutableMap; -import java.util.ArrayList; -import java.util.List; -import java.util.Map; -import java.util.Objects; -import javax.annotation.Generated; -import org.jspecify.annotations.NullMarked; -import org.jspecify.annotations.Nullable; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -@NullMarked -@Generated("by gapic-generator-java") -public class WorkspaceName implements ResourceName { - private static final PathTemplate WORKSPACE = - PathTemplate.createWithoutUrlEncoding("workspaces/{workspace}"); - private volatile Map fieldValuesMap; - private final String workspace; - - @Deprecated - protected WorkspaceName() { - workspace = null; - } - - private WorkspaceName(Builder builder) { - workspace = Preconditions.checkNotNull(builder.getWorkspace()); - } - - public String getWorkspace() { - return workspace; - } - - public static Builder newBuilder() { - return new Builder(); - } - - public Builder toBuilder() { - return new Builder(this); - } - - public static WorkspaceName of(String workspace) { - return newBuilder().setWorkspace(workspace).build(); - } - - public static String format(String workspace) { - return newBuilder().setWorkspace(workspace).build().toString(); - } - - public static @Nullable WorkspaceName parse(String formattedString) { - if (formattedString.isEmpty()) { - return null; - } - Map matchMap = - WORKSPACE.validatedMatch( - formattedString, "WorkspaceName.parse: formattedString not in valid format"); - return of(matchMap.get("workspace")); - } - - public static List parseList(List formattedStrings) { - List list = new ArrayList<>(formattedStrings.size()); - for (String formattedString : formattedStrings) { - list.add(parse(formattedString)); - } - return list; - } - - public static List toStringList(List<@Nullable WorkspaceName> values) { - List list = new ArrayList<>(values.size()); - for (WorkspaceName value : values) { - if (value == null) { - list.add(""); - } else { - list.add(value.toString()); - } - } - return list; - } - - public static boolean isParsableFrom(String formattedString) { - return WORKSPACE.matches(formattedString); - } - - @Override - public Map getFieldValuesMap() { - if (fieldValuesMap == null) { - synchronized (this) { - if (fieldValuesMap == null) { - ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); - if (workspace != null) { - fieldMapBuilder.put("workspace", workspace); - } - fieldValuesMap = fieldMapBuilder.build(); - } - } - } - return fieldValuesMap; - } - - public String getFieldValue(String fieldName) { - return getFieldValuesMap().get(fieldName); - } - - @Override - public String toString() { - return WORKSPACE.instantiate("workspace", workspace); - } - - @Override - public boolean equals(@Nullable Object o) { - if (o == this) { - return true; - } - if (o != null && getClass() == o.getClass()) { - WorkspaceName that = ((WorkspaceName) o); - return Objects.equals(this.workspace, that.workspace); - } - return false; - } - - @Override - public int hashCode() { - int h = 1; - h *= 1000003; - h ^= Objects.hashCode(workspace); - return h; - } - - /** Builder for workspaces/{workspace}. */ - public static class Builder { - private String workspace; - - protected Builder() {} - - public String getWorkspace() { - return workspace; - } - - public Builder setWorkspace(String workspace) { - this.workspace = workspace; - return this; - } - - private Builder(WorkspaceName workspaceName) { - this.workspace = workspaceName.workspace; - } - - public WorkspaceName build() { - return new WorkspaceName(this); - } - } -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/WorkspaceOrBuilder.java b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/WorkspaceOrBuilder.java deleted file mode 100644 index 983c8989519b..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/java/com/google/area120/tables/v1alpha1/WorkspaceOrBuilder.java +++ /dev/null @@ -1,138 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: google/area120/tables/v1alpha1/tables.proto -// Protobuf Java Version: 4.33.6 - -package com.google.area120.tables.v1alpha1; - -@com.google.protobuf.Generated -public interface WorkspaceOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.area120.tables.v1alpha1.Workspace) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The resource name of the workspace.
-   * Workspace names have the form `workspaces/{workspace}`.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - - /** - * - * - *
-   * The resource name of the workspace.
-   * Workspace names have the form `workspaces/{workspace}`.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * - * - *
-   * The human readable title of the workspace.
-   * 
- * - * string display_name = 2; - * - * @return The displayName. - */ - java.lang.String getDisplayName(); - - /** - * - * - *
-   * The human readable title of the workspace.
-   * 
- * - * string display_name = 2; - * - * @return The bytes for displayName. - */ - com.google.protobuf.ByteString getDisplayNameBytes(); - - /** - * - * - *
-   * The list of tables in the workspace.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 3; - */ - java.util.List getTablesList(); - - /** - * - * - *
-   * The list of tables in the workspace.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 3; - */ - com.google.area120.tables.v1alpha1.Table getTables(int index); - - /** - * - * - *
-   * The list of tables in the workspace.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 3; - */ - int getTablesCount(); - - /** - * - * - *
-   * The list of tables in the workspace.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 3; - */ - java.util.List - getTablesOrBuilderList(); - - /** - * - * - *
-   * The list of tables in the workspace.
-   * 
- * - * repeated .google.area120.tables.v1alpha1.Table tables = 3; - */ - com.google.area120.tables.v1alpha1.TableOrBuilder getTablesOrBuilder(int index); -} diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/proto/google/area120/tables/v1alpha1/tables.proto b/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/proto/google/area120/tables/v1alpha1/tables.proto deleted file mode 100644 index 04d29c354a95..000000000000 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/src/main/proto/google/area120/tables/v1alpha1/tables.proto +++ /dev/null @@ -1,504 +0,0 @@ -// Copyright 2025 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.area120.tables.v1alpha1; - -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/empty.proto"; -import "google/protobuf/field_mask.proto"; -import "google/protobuf/struct.proto"; - -option go_package = "cloud.google.com/go/area120/tables/apiv1alpha1/tablespb;tablespb"; -option java_multiple_files = true; -option java_outer_classname = "TablesProto"; -option java_package = "com.google.area120.tables.v1alpha1"; - -// The Tables Service provides an API for reading and updating tables. -// It defines the following resource model: -// -// - The API has a collection of [Table][google.area120.tables.v1alpha1.Table] -// resources, named `tables/*` -// -// - Each Table has a collection of [Row][google.area120.tables.v1alpha1.Row] -// resources, named `tables/*/rows/*` -// -// - The API has a collection of -// [Workspace][google.area120.tables.v1alpha1.Workspace] -// resources, named `workspaces/*`. -service TablesService { - option (google.api.default_host) = "area120tables.googleapis.com"; - option (google.api.oauth_scopes) = - "https://www.googleapis.com/auth/drive," - "https://www.googleapis.com/auth/drive.file," - "https://www.googleapis.com/auth/drive.readonly," - "https://www.googleapis.com/auth/spreadsheets," - "https://www.googleapis.com/auth/spreadsheets.readonly," - "https://www.googleapis.com/auth/tables"; - - // Gets a table. Returns NOT_FOUND if the table does not exist. - rpc GetTable(GetTableRequest) returns (Table) { - option (google.api.http) = { - get: "/v1alpha1/{name=tables/*}" - }; - option (google.api.method_signature) = "name"; - } - - // Lists tables for the user. - rpc ListTables(ListTablesRequest) returns (ListTablesResponse) { - option (google.api.http) = { - get: "/v1alpha1/tables" - }; - } - - // Gets a workspace. Returns NOT_FOUND if the workspace does not exist. - rpc GetWorkspace(GetWorkspaceRequest) returns (Workspace) { - option (google.api.http) = { - get: "/v1alpha1/{name=workspaces/*}" - }; - option (google.api.method_signature) = "name"; - } - - // Lists workspaces for the user. - rpc ListWorkspaces(ListWorkspacesRequest) returns (ListWorkspacesResponse) { - option (google.api.http) = { - get: "/v1alpha1/workspaces" - }; - } - - // Gets a row. Returns NOT_FOUND if the row does not exist in the table. - rpc GetRow(GetRowRequest) returns (Row) { - option (google.api.http) = { - get: "/v1alpha1/{name=tables/*/rows/*}" - }; - option (google.api.method_signature) = "name"; - } - - // Lists rows in a table. Returns NOT_FOUND if the table does not exist. - rpc ListRows(ListRowsRequest) returns (ListRowsResponse) { - option (google.api.http) = { - get: "/v1alpha1/{parent=tables/*}/rows" - }; - option (google.api.method_signature) = "parent"; - } - - // Creates a row. - rpc CreateRow(CreateRowRequest) returns (Row) { - option (google.api.http) = { - post: "/v1alpha1/{parent=tables/*}/rows" - body: "row" - }; - option (google.api.method_signature) = "parent,row"; - } - - // Creates multiple rows. - rpc BatchCreateRows(BatchCreateRowsRequest) returns (BatchCreateRowsResponse) { - option (google.api.http) = { - post: "/v1alpha1/{parent=tables/*}/rows:batchCreate" - body: "*" - }; - } - - // Updates a row. - rpc UpdateRow(UpdateRowRequest) returns (Row) { - option (google.api.http) = { - patch: "/v1alpha1/{row.name=tables/*/rows/*}" - body: "row" - }; - option (google.api.method_signature) = "row,update_mask"; - } - - // Updates multiple rows. - rpc BatchUpdateRows(BatchUpdateRowsRequest) returns (BatchUpdateRowsResponse) { - option (google.api.http) = { - post: "/v1alpha1/{parent=tables/*}/rows:batchUpdate" - body: "*" - }; - } - - // Deletes a row. - rpc DeleteRow(DeleteRowRequest) returns (google.protobuf.Empty) { - option (google.api.http) = { - delete: "/v1alpha1/{name=tables/*/rows/*}" - }; - option (google.api.method_signature) = "name"; - } - - // Deletes multiple rows. - rpc BatchDeleteRows(BatchDeleteRowsRequest) returns (google.protobuf.Empty) { - option (google.api.http) = { - post: "/v1alpha1/{parent=tables/*}/rows:batchDelete" - body: "*" - }; - } -} - -// Request message for TablesService.GetTable. -message GetTableRequest { - // Required. The name of the table to retrieve. - // Format: tables/{table} - string name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "area120tables.googleapis.com/Table" - } - ]; -} - -// Request message for TablesService.ListTables. -message ListTablesRequest { - // The maximum number of tables to return. The service may return fewer than - // this value. - // - // If unspecified, at most 20 tables are returned. The maximum value is 100; - // values above 100 are coerced to 100. - int32 page_size = 1; - - // A page token, received from a previous `ListTables` call. - // Provide this to retrieve the subsequent page. - // - // When paginating, all other parameters provided to `ListTables` must match - // the call that provided the page token. - string page_token = 2; -} - -// Response message for TablesService.ListTables. -message ListTablesResponse { - // The list of tables. - repeated Table tables = 1; - - // A token, which can be sent as `page_token` to retrieve the next page. - // If this field is empty, there are no subsequent pages. - string next_page_token = 2; -} - -// Request message for TablesService.GetWorkspace. -message GetWorkspaceRequest { - // Required. The name of the workspace to retrieve. - // Format: workspaces/{workspace} - string name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "area120tables.googleapis.com/Workspace" - } - ]; -} - -// Request message for TablesService.ListWorkspaces. -message ListWorkspacesRequest { - // The maximum number of workspaces to return. The service may return fewer - // than this value. - // - // If unspecified, at most 10 workspaces are returned. The maximum value is - // 25; values above 25 are coerced to 25. - int32 page_size = 1; - - // A page token, received from a previous `ListWorkspaces` call. - // Provide this to retrieve the subsequent page. - // - // When paginating, all other parameters provided to `ListWorkspaces` must - // match the call that provided the page token. - string page_token = 2; -} - -// Response message for TablesService.ListWorkspaces. -message ListWorkspacesResponse { - // The list of workspaces. - repeated Workspace workspaces = 1; - - // A token, which can be sent as `page_token` to retrieve the next page. - // If this field is empty, there are no subsequent pages. - string next_page_token = 2; -} - -// Request message for TablesService.GetRow. -message GetRowRequest { - // Required. The name of the row to retrieve. - // Format: tables/{table}/rows/{row} - string name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "area120tables.googleapis.com/Row" - } - ]; - - // Optional. Column key to use for values in the row. - // Defaults to user entered name. - View view = 2 [(google.api.field_behavior) = OPTIONAL]; -} - -// Request message for TablesService.ListRows. -message ListRowsRequest { - // Required. The parent table. - // Format: tables/{table} - string parent = 1 [(google.api.field_behavior) = REQUIRED]; - - // The maximum number of rows to return. The service may return fewer than - // this value. - // - // If unspecified, at most 50 rows are returned. The maximum value is 1,000; - // values above 1,000 are coerced to 1,000. - int32 page_size = 2; - - // A page token, received from a previous `ListRows` call. - // Provide this to retrieve the subsequent page. - // - // When paginating, all other parameters provided to `ListRows` must match - // the call that provided the page token. - string page_token = 3; - - // Optional. Column key to use for values in the row. - // Defaults to user entered name. - View view = 4 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. Raw text query to search for in rows of the table. - // Special characters must be escaped. Logical operators and field specific - // filtering not supported. - string filter = 5 [(google.api.field_behavior) = OPTIONAL]; -} - -// Response message for TablesService.ListRows. -message ListRowsResponse { - // The rows from the specified table. - repeated Row rows = 1; - - // A token, which can be sent as `page_token` to retrieve the next page. - // If this field is empty, there are no subsequent pages. - string next_page_token = 2; -} - -// Request message for TablesService.CreateRow. -message CreateRowRequest { - // Required. The parent table where this row will be created. - // Format: tables/{table} - string parent = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The row to create. - Row row = 2 [(google.api.field_behavior) = REQUIRED]; - - // Optional. Column key to use for values in the row. - // Defaults to user entered name. - View view = 3 [(google.api.field_behavior) = OPTIONAL]; -} - -// Request message for TablesService.BatchCreateRows. -message BatchCreateRowsRequest { - // Required. The parent table where the rows will be created. - // Format: tables/{table} - string parent = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The request message specifying the rows to create. - // - // A maximum of 500 rows can be created in a single batch. - repeated CreateRowRequest requests = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// Response message for TablesService.BatchCreateRows. -message BatchCreateRowsResponse { - // The created rows. - repeated Row rows = 1; -} - -// Request message for TablesService.UpdateRow. -message UpdateRowRequest { - // Required. The row to update. - Row row = 1 [(google.api.field_behavior) = REQUIRED]; - - // The list of fields to update. - google.protobuf.FieldMask update_mask = 2; - - // Optional. Column key to use for values in the row. - // Defaults to user entered name. - View view = 3 [(google.api.field_behavior) = OPTIONAL]; -} - -// Request message for TablesService.BatchUpdateRows. -message BatchUpdateRowsRequest { - // Required. The parent table shared by all rows being updated. - // Format: tables/{table} - string parent = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The request messages specifying the rows to update. - // - // A maximum of 500 rows can be modified in a single batch. - repeated UpdateRowRequest requests = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// Response message for TablesService.BatchUpdateRows. -message BatchUpdateRowsResponse { - // The updated rows. - repeated Row rows = 1; -} - -// Request message for TablesService.DeleteRow -message DeleteRowRequest { - // Required. The name of the row to delete. - // Format: tables/{table}/rows/{row} - string name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "area120tables.googleapis.com/Row" - } - ]; -} - -// Request message for TablesService.BatchDeleteRows -message BatchDeleteRowsRequest { - // Required. The parent table shared by all rows being deleted. - // Format: tables/{table} - string parent = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "area120tables.googleapis.com/Table" - } - ]; - - // Required. The names of the rows to delete. All rows must belong to the parent table - // or else the entire batch will fail. A maximum of 500 rows can be deleted - // in a batch. - // Format: tables/{table}/rows/{row} - repeated string names = 2 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "area120tables.googleapis.com/Row" - } - ]; -} - -// A single table. -message Table { - option (google.api.resource) = { - type: "area120tables.googleapis.com/Table" - pattern: "tables/{table}" - }; - - // The resource name of the table. - // Table names have the form `tables/{table}`. - string name = 1; - - // The human readable title of the table. - string display_name = 2; - - // List of columns in this table. - // Order of columns matches the display order. - repeated ColumnDescription columns = 3; -} - -// Details on a column in the table. -message ColumnDescription { - // column name - string name = 1; - - // Data type of the column - // Supported types are auto_id, boolean, boolean_list, creator, - // create_timestamp, date, dropdown, location, integer, - // integer_list, number, number_list, person, person_list, tags, check_list, - // text, text_list, update_timestamp, updater, relationship, - // file_attachment_list. - // These types directly map to the column types supported on Tables website. - string data_type = 2; - - // Internal id for a column. - string id = 3; - - // Optional. Range of labeled values for the column. - // Some columns like tags and drop-downs limit the values to a set of - // possible values. We return the range of values in such cases to help - // clients implement better user data validation. - repeated LabeledItem labels = 4 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. Additional details about a relationship column. Specified when data_type - // is relationship. - RelationshipDetails relationship_details = 5 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. Indicates that this is a lookup column whose value is derived from the - // relationship column specified in the details. Lookup columns can not be - // updated directly. To change the value you must update the associated - // relationship column. - LookupDetails lookup_details = 6 [(google.api.field_behavior) = OPTIONAL]; -} - -// A single item in a labeled column. -message LabeledItem { - // Display string as entered by user. - string name = 1; - - // Internal id associated with the item. - string id = 2; -} - -// Details about a relationship column. -message RelationshipDetails { - // The name of the table this relationship is linked to. - string linked_table = 1; -} - -// Details about a lookup column whose value comes from the associated -// relationship. -message LookupDetails { - // The name of the relationship column associated with the lookup. - string relationship_column = 1; - - // The id of the relationship column. - string relationship_column_id = 2; -} - -// A single row in a table. -message Row { - option (google.api.resource) = { - type: "area120tables.googleapis.com/Row" - pattern: "tables/{table}/rows/{row}" - }; - - // The resource name of the row. - // Row names have the form `tables/{table}/rows/{row}`. - // The name is ignored when creating a row. - string name = 1; - - // The values of the row. This is a map of column key to value. - // Key is user entered name(default) or the internal column id based on - // the view in the request. - map values = 2; -} - -// A single workspace. -message Workspace { - option (google.api.resource) = { - type: "area120tables.googleapis.com/Workspace" - pattern: "workspaces/{workspace}" - }; - - // The resource name of the workspace. - // Workspace names have the form `workspaces/{workspace}`. - string name = 1; - - // The human readable title of the workspace. - string display_name = 2; - - // The list of tables in the workspace. - repeated Table tables = 3; -} - -// Column identifier used for the values in the row. -enum View { - // Defaults to user entered text. - VIEW_UNSPECIFIED = 0; - - // Uses internally generated column id to identify values. - COLUMN_ID_VIEW = 1; -} diff --git a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/stub/tablesservicestubsettings/gettable/SyncGetTable.java b/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/stub/tablesservicestubsettings/gettable/SyncGetTable.java deleted file mode 100644 index 83e42aba91f3..000000000000 --- a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/stub/tablesservicestubsettings/gettable/SyncGetTable.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.stub.samples; - -// [START area120tables_v1alpha1_generated_TablesServiceStubSettings_GetTable_sync] -import com.google.area120.tables.v1alpha.stub.TablesServiceStubSettings; -import java.time.Duration; - -public class SyncGetTable { - - public static void main(String[] args) throws Exception { - syncGetTable(); - } - - public static void syncGetTable() throws Exception { - // 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() - .setInitialRetryDelayDuration(Duration.ofSeconds(1)) - .setInitialRpcTimeoutDuration(Duration.ofSeconds(5)) - .setMaxAttempts(5) - .setMaxRetryDelayDuration(Duration.ofSeconds(30)) - .setMaxRpcTimeoutDuration(Duration.ofSeconds(60)) - .setRetryDelayMultiplier(1.3) - .setRpcTimeoutMultiplier(1.5) - .setTotalTimeoutDuration(Duration.ofSeconds(300)) - .build()); - TablesServiceStubSettings tablesServiceSettings = tablesServiceSettingsBuilder.build(); - } -} -// [END area120tables_v1alpha1_generated_TablesServiceStubSettings_GetTable_sync] diff --git a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/batchcreaterows/AsyncBatchCreateRows.java b/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/batchcreaterows/AsyncBatchCreateRows.java deleted file mode 100644 index 0c18d60142db..000000000000 --- a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/batchcreaterows/AsyncBatchCreateRows.java +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.samples; - -// [START area120tables_v1alpha1_generated_TablesService_BatchCreateRows_async] -import com.google.api.core.ApiFuture; -import com.google.area120.tables.v1alpha.TablesServiceClient; -import com.google.area120.tables.v1alpha1.BatchCreateRowsRequest; -import com.google.area120.tables.v1alpha1.BatchCreateRowsResponse; -import com.google.area120.tables.v1alpha1.CreateRowRequest; -import java.util.ArrayList; - -public class AsyncBatchCreateRows { - - public static void main(String[] args) throws Exception { - asyncBatchCreateRows(); - } - - public static void asyncBatchCreateRows() throws Exception { - // 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() - .setParent("parent-995424086") - .addAllRequests(new ArrayList()) - .build(); - ApiFuture future = - tablesServiceClient.batchCreateRowsCallable().futureCall(request); - // Do something. - BatchCreateRowsResponse response = future.get(); - } - } -} -// [END area120tables_v1alpha1_generated_TablesService_BatchCreateRows_async] diff --git a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/batchcreaterows/SyncBatchCreateRows.java b/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/batchcreaterows/SyncBatchCreateRows.java deleted file mode 100644 index f4e550e04c8b..000000000000 --- a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/batchcreaterows/SyncBatchCreateRows.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.samples; - -// [START area120tables_v1alpha1_generated_TablesService_BatchCreateRows_sync] -import com.google.area120.tables.v1alpha.TablesServiceClient; -import com.google.area120.tables.v1alpha1.BatchCreateRowsRequest; -import com.google.area120.tables.v1alpha1.BatchCreateRowsResponse; -import com.google.area120.tables.v1alpha1.CreateRowRequest; -import java.util.ArrayList; - -public class SyncBatchCreateRows { - - public static void main(String[] args) throws Exception { - syncBatchCreateRows(); - } - - public static void syncBatchCreateRows() throws Exception { - // 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() - .setParent("parent-995424086") - .addAllRequests(new ArrayList()) - .build(); - BatchCreateRowsResponse response = tablesServiceClient.batchCreateRows(request); - } - } -} -// [END area120tables_v1alpha1_generated_TablesService_BatchCreateRows_sync] diff --git a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/batchdeleterows/AsyncBatchDeleteRows.java b/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/batchdeleterows/AsyncBatchDeleteRows.java deleted file mode 100644 index 9be33ee237cd..000000000000 --- a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/batchdeleterows/AsyncBatchDeleteRows.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.samples; - -// [START area120tables_v1alpha1_generated_TablesService_BatchDeleteRows_async] -import com.google.api.core.ApiFuture; -import com.google.area120.tables.v1alpha.TablesServiceClient; -import com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest; -import com.google.area120.tables.v1alpha1.TableName; -import com.google.protobuf.Empty; -import java.util.ArrayList; - -public class AsyncBatchDeleteRows { - - public static void main(String[] args) throws Exception { - asyncBatchDeleteRows(); - } - - public static void asyncBatchDeleteRows() throws Exception { - // 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() - .setParent(TableName.of("[TABLE]").toString()) - .addAllNames(new ArrayList()) - .build(); - ApiFuture future = tablesServiceClient.batchDeleteRowsCallable().futureCall(request); - // Do something. - future.get(); - } - } -} -// [END area120tables_v1alpha1_generated_TablesService_BatchDeleteRows_async] diff --git a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/batchdeleterows/SyncBatchDeleteRows.java b/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/batchdeleterows/SyncBatchDeleteRows.java deleted file mode 100644 index fc626445de4d..000000000000 --- a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/batchdeleterows/SyncBatchDeleteRows.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.samples; - -// [START area120tables_v1alpha1_generated_TablesService_BatchDeleteRows_sync] -import com.google.area120.tables.v1alpha.TablesServiceClient; -import com.google.area120.tables.v1alpha1.BatchDeleteRowsRequest; -import com.google.area120.tables.v1alpha1.TableName; -import com.google.protobuf.Empty; -import java.util.ArrayList; - -public class SyncBatchDeleteRows { - - public static void main(String[] args) throws Exception { - syncBatchDeleteRows(); - } - - public static void syncBatchDeleteRows() throws Exception { - // 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() - .setParent(TableName.of("[TABLE]").toString()) - .addAllNames(new ArrayList()) - .build(); - tablesServiceClient.batchDeleteRows(request); - } - } -} -// [END area120tables_v1alpha1_generated_TablesService_BatchDeleteRows_sync] diff --git a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/batchupdaterows/AsyncBatchUpdateRows.java b/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/batchupdaterows/AsyncBatchUpdateRows.java deleted file mode 100644 index 51baba32245c..000000000000 --- a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/batchupdaterows/AsyncBatchUpdateRows.java +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.samples; - -// [START area120tables_v1alpha1_generated_TablesService_BatchUpdateRows_async] -import com.google.api.core.ApiFuture; -import com.google.area120.tables.v1alpha.TablesServiceClient; -import com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest; -import com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse; -import com.google.area120.tables.v1alpha1.UpdateRowRequest; -import java.util.ArrayList; - -public class AsyncBatchUpdateRows { - - public static void main(String[] args) throws Exception { - asyncBatchUpdateRows(); - } - - public static void asyncBatchUpdateRows() throws Exception { - // 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() - .setParent("parent-995424086") - .addAllRequests(new ArrayList()) - .build(); - ApiFuture future = - tablesServiceClient.batchUpdateRowsCallable().futureCall(request); - // Do something. - BatchUpdateRowsResponse response = future.get(); - } - } -} -// [END area120tables_v1alpha1_generated_TablesService_BatchUpdateRows_async] diff --git a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/batchupdaterows/SyncBatchUpdateRows.java b/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/batchupdaterows/SyncBatchUpdateRows.java deleted file mode 100644 index 4be4f82fd8f0..000000000000 --- a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/batchupdaterows/SyncBatchUpdateRows.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.samples; - -// [START area120tables_v1alpha1_generated_TablesService_BatchUpdateRows_sync] -import com.google.area120.tables.v1alpha.TablesServiceClient; -import com.google.area120.tables.v1alpha1.BatchUpdateRowsRequest; -import com.google.area120.tables.v1alpha1.BatchUpdateRowsResponse; -import com.google.area120.tables.v1alpha1.UpdateRowRequest; -import java.util.ArrayList; - -public class SyncBatchUpdateRows { - - public static void main(String[] args) throws Exception { - syncBatchUpdateRows(); - } - - public static void syncBatchUpdateRows() throws Exception { - // 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() - .setParent("parent-995424086") - .addAllRequests(new ArrayList()) - .build(); - BatchUpdateRowsResponse response = tablesServiceClient.batchUpdateRows(request); - } - } -} -// [END area120tables_v1alpha1_generated_TablesService_BatchUpdateRows_sync] diff --git a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/create/SyncCreateSetCredentialsProvider.java b/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/create/SyncCreateSetCredentialsProvider.java deleted file mode 100644 index 23519b2b28c4..000000000000 --- a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/create/SyncCreateSetCredentialsProvider.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.samples; - -// [START area120tables_v1alpha1_generated_TablesService_Create_SetCredentialsProvider_sync] -import com.google.api.gax.core.FixedCredentialsProvider; -import com.google.area120.tables.v1alpha.TablesServiceClient; -import com.google.area120.tables.v1alpha.TablesServiceSettings; -import com.google.area120.tables.v1alpha.myCredentials; - -public class SyncCreateSetCredentialsProvider { - - public static void main(String[] args) throws Exception { - syncCreateSetCredentialsProvider(); - } - - public static void syncCreateSetCredentialsProvider() throws Exception { - // 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)) - .build(); - TablesServiceClient tablesServiceClient = TablesServiceClient.create(tablesServiceSettings); - } -} -// [END area120tables_v1alpha1_generated_TablesService_Create_SetCredentialsProvider_sync] diff --git a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/create/SyncCreateSetEndpoint.java b/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/create/SyncCreateSetEndpoint.java deleted file mode 100644 index 54804f33acb6..000000000000 --- a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/create/SyncCreateSetEndpoint.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.samples; - -// [START area120tables_v1alpha1_generated_TablesService_Create_SetEndpoint_sync] -import com.google.area120.tables.v1alpha.TablesServiceClient; -import com.google.area120.tables.v1alpha.TablesServiceSettings; -import com.google.area120.tables.v1alpha.myEndpoint; - -public class SyncCreateSetEndpoint { - - public static void main(String[] args) throws Exception { - syncCreateSetEndpoint(); - } - - public static void syncCreateSetEndpoint() throws Exception { - // 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); - } -} -// [END area120tables_v1alpha1_generated_TablesService_Create_SetEndpoint_sync] diff --git a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/create/SyncCreateUseHttpJsonTransport.java b/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/create/SyncCreateUseHttpJsonTransport.java deleted file mode 100644 index 271e4773c690..000000000000 --- a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/create/SyncCreateUseHttpJsonTransport.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.samples; - -// [START area120tables_v1alpha1_generated_TablesService_Create_UseHttpJsonTransport_sync] -import com.google.area120.tables.v1alpha.TablesServiceClient; -import com.google.area120.tables.v1alpha.TablesServiceSettings; - -public class SyncCreateUseHttpJsonTransport { - - public static void main(String[] args) throws Exception { - syncCreateUseHttpJsonTransport(); - } - - public static void syncCreateUseHttpJsonTransport() throws Exception { - // 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.newHttpJsonBuilder().build(); - TablesServiceClient tablesServiceClient = TablesServiceClient.create(tablesServiceSettings); - } -} -// [END area120tables_v1alpha1_generated_TablesService_Create_UseHttpJsonTransport_sync] diff --git a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/createrow/AsyncCreateRow.java b/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/createrow/AsyncCreateRow.java deleted file mode 100644 index e51cf5826b10..000000000000 --- a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/createrow/AsyncCreateRow.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.samples; - -// [START area120tables_v1alpha1_generated_TablesService_CreateRow_async] -import com.google.api.core.ApiFuture; -import com.google.area120.tables.v1alpha.TablesServiceClient; -import com.google.area120.tables.v1alpha1.CreateRowRequest; -import com.google.area120.tables.v1alpha1.Row; -import com.google.area120.tables.v1alpha1.View; - -public class AsyncCreateRow { - - public static void main(String[] args) throws Exception { - asyncCreateRow(); - } - - public static void asyncCreateRow() throws Exception { - // 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() - .setParent("parent-995424086") - .setRow(Row.newBuilder().build()) - .setView(View.forNumber(0)) - .build(); - ApiFuture future = tablesServiceClient.createRowCallable().futureCall(request); - // Do something. - Row response = future.get(); - } - } -} -// [END area120tables_v1alpha1_generated_TablesService_CreateRow_async] diff --git a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/createrow/SyncCreateRow.java b/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/createrow/SyncCreateRow.java deleted file mode 100644 index 0be4b9321ced..000000000000 --- a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/createrow/SyncCreateRow.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.samples; - -// [START area120tables_v1alpha1_generated_TablesService_CreateRow_sync] -import com.google.area120.tables.v1alpha.TablesServiceClient; -import com.google.area120.tables.v1alpha1.CreateRowRequest; -import com.google.area120.tables.v1alpha1.Row; -import com.google.area120.tables.v1alpha1.View; - -public class SyncCreateRow { - - public static void main(String[] args) throws Exception { - syncCreateRow(); - } - - public static void syncCreateRow() throws Exception { - // 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() - .setParent("parent-995424086") - .setRow(Row.newBuilder().build()) - .setView(View.forNumber(0)) - .build(); - Row response = tablesServiceClient.createRow(request); - } - } -} -// [END area120tables_v1alpha1_generated_TablesService_CreateRow_sync] diff --git a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/createrow/SyncCreateRowStringRow.java b/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/createrow/SyncCreateRowStringRow.java deleted file mode 100644 index 86a8b9082928..000000000000 --- a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/createrow/SyncCreateRowStringRow.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.samples; - -// [START area120tables_v1alpha1_generated_TablesService_CreateRow_StringRow_sync] -import com.google.area120.tables.v1alpha.TablesServiceClient; -import com.google.area120.tables.v1alpha1.Row; - -public class SyncCreateRowStringRow { - - public static void main(String[] args) throws Exception { - syncCreateRowStringRow(); - } - - public static void syncCreateRowStringRow() throws Exception { - // 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(); - Row response = tablesServiceClient.createRow(parent, row); - } - } -} -// [END area120tables_v1alpha1_generated_TablesService_CreateRow_StringRow_sync] diff --git a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/deleterow/AsyncDeleteRow.java b/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/deleterow/AsyncDeleteRow.java deleted file mode 100644 index 05b08d8989ca..000000000000 --- a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/deleterow/AsyncDeleteRow.java +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.samples; - -// [START area120tables_v1alpha1_generated_TablesService_DeleteRow_async] -import com.google.api.core.ApiFuture; -import com.google.area120.tables.v1alpha.TablesServiceClient; -import com.google.area120.tables.v1alpha1.DeleteRowRequest; -import com.google.area120.tables.v1alpha1.RowName; -import com.google.protobuf.Empty; - -public class AsyncDeleteRow { - - public static void main(String[] args) throws Exception { - asyncDeleteRow(); - } - - public static void asyncDeleteRow() throws Exception { - // 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(); - ApiFuture future = tablesServiceClient.deleteRowCallable().futureCall(request); - // Do something. - future.get(); - } - } -} -// [END area120tables_v1alpha1_generated_TablesService_DeleteRow_async] diff --git a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/deleterow/SyncDeleteRow.java b/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/deleterow/SyncDeleteRow.java deleted file mode 100644 index e27fb65dfe1f..000000000000 --- a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/deleterow/SyncDeleteRow.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.samples; - -// [START area120tables_v1alpha1_generated_TablesService_DeleteRow_sync] -import com.google.area120.tables.v1alpha.TablesServiceClient; -import com.google.area120.tables.v1alpha1.DeleteRowRequest; -import com.google.area120.tables.v1alpha1.RowName; -import com.google.protobuf.Empty; - -public class SyncDeleteRow { - - public static void main(String[] args) throws Exception { - syncDeleteRow(); - } - - public static void syncDeleteRow() throws Exception { - // 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(); - tablesServiceClient.deleteRow(request); - } - } -} -// [END area120tables_v1alpha1_generated_TablesService_DeleteRow_sync] diff --git a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/deleterow/SyncDeleteRowRowname.java b/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/deleterow/SyncDeleteRowRowname.java deleted file mode 100644 index 1bee6c82708d..000000000000 --- a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/deleterow/SyncDeleteRowRowname.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.samples; - -// [START area120tables_v1alpha1_generated_TablesService_DeleteRow_Rowname_sync] -import com.google.area120.tables.v1alpha.TablesServiceClient; -import com.google.area120.tables.v1alpha1.RowName; -import com.google.protobuf.Empty; - -public class SyncDeleteRowRowname { - - public static void main(String[] args) throws Exception { - syncDeleteRowRowname(); - } - - public static void syncDeleteRowRowname() throws Exception { - // 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); - } - } -} -// [END area120tables_v1alpha1_generated_TablesService_DeleteRow_Rowname_sync] diff --git a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/deleterow/SyncDeleteRowString.java b/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/deleterow/SyncDeleteRowString.java deleted file mode 100644 index 753a7af0e9db..000000000000 --- a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/deleterow/SyncDeleteRowString.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.samples; - -// [START area120tables_v1alpha1_generated_TablesService_DeleteRow_String_sync] -import com.google.area120.tables.v1alpha.TablesServiceClient; -import com.google.area120.tables.v1alpha1.RowName; -import com.google.protobuf.Empty; - -public class SyncDeleteRowString { - - public static void main(String[] args) throws Exception { - syncDeleteRowString(); - } - - public static void syncDeleteRowString() throws Exception { - // 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); - } - } -} -// [END area120tables_v1alpha1_generated_TablesService_DeleteRow_String_sync] diff --git a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/getrow/AsyncGetRow.java b/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/getrow/AsyncGetRow.java deleted file mode 100644 index c32e00027bc1..000000000000 --- a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/getrow/AsyncGetRow.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.samples; - -// [START area120tables_v1alpha1_generated_TablesService_GetRow_async] -import com.google.api.core.ApiFuture; -import com.google.area120.tables.v1alpha.TablesServiceClient; -import com.google.area120.tables.v1alpha1.GetRowRequest; -import com.google.area120.tables.v1alpha1.Row; -import com.google.area120.tables.v1alpha1.RowName; -import com.google.area120.tables.v1alpha1.View; - -public class AsyncGetRow { - - public static void main(String[] args) throws Exception { - asyncGetRow(); - } - - public static void asyncGetRow() throws Exception { - // 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() - .setName(RowName.of("[TABLE]", "[ROW]").toString()) - .setView(View.forNumber(0)) - .build(); - ApiFuture future = tablesServiceClient.getRowCallable().futureCall(request); - // Do something. - Row response = future.get(); - } - } -} -// [END area120tables_v1alpha1_generated_TablesService_GetRow_async] diff --git a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/getrow/SyncGetRow.java b/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/getrow/SyncGetRow.java deleted file mode 100644 index 4b819a4cfa6f..000000000000 --- a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/getrow/SyncGetRow.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.samples; - -// [START area120tables_v1alpha1_generated_TablesService_GetRow_sync] -import com.google.area120.tables.v1alpha.TablesServiceClient; -import com.google.area120.tables.v1alpha1.GetRowRequest; -import com.google.area120.tables.v1alpha1.Row; -import com.google.area120.tables.v1alpha1.RowName; -import com.google.area120.tables.v1alpha1.View; - -public class SyncGetRow { - - public static void main(String[] args) throws Exception { - syncGetRow(); - } - - public static void syncGetRow() throws Exception { - // 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() - .setName(RowName.of("[TABLE]", "[ROW]").toString()) - .setView(View.forNumber(0)) - .build(); - Row response = tablesServiceClient.getRow(request); - } - } -} -// [END area120tables_v1alpha1_generated_TablesService_GetRow_sync] diff --git a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/getrow/SyncGetRowRowname.java b/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/getrow/SyncGetRowRowname.java deleted file mode 100644 index 21c3733d501d..000000000000 --- a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/getrow/SyncGetRowRowname.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.samples; - -// [START area120tables_v1alpha1_generated_TablesService_GetRow_Rowname_sync] -import com.google.area120.tables.v1alpha.TablesServiceClient; -import com.google.area120.tables.v1alpha1.Row; -import com.google.area120.tables.v1alpha1.RowName; - -public class SyncGetRowRowname { - - public static void main(String[] args) throws Exception { - syncGetRowRowname(); - } - - public static void syncGetRowRowname() throws Exception { - // 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); - } - } -} -// [END area120tables_v1alpha1_generated_TablesService_GetRow_Rowname_sync] diff --git a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/getrow/SyncGetRowString.java b/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/getrow/SyncGetRowString.java deleted file mode 100644 index d599de1c731c..000000000000 --- a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/getrow/SyncGetRowString.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.samples; - -// [START area120tables_v1alpha1_generated_TablesService_GetRow_String_sync] -import com.google.area120.tables.v1alpha.TablesServiceClient; -import com.google.area120.tables.v1alpha1.Row; -import com.google.area120.tables.v1alpha1.RowName; - -public class SyncGetRowString { - - public static void main(String[] args) throws Exception { - syncGetRowString(); - } - - public static void syncGetRowString() throws Exception { - // 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); - } - } -} -// [END area120tables_v1alpha1_generated_TablesService_GetRow_String_sync] diff --git a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/gettable/AsyncGetTable.java b/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/gettable/AsyncGetTable.java deleted file mode 100644 index cc3a8267e180..000000000000 --- a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/gettable/AsyncGetTable.java +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.samples; - -// [START area120tables_v1alpha1_generated_TablesService_GetTable_async] -import com.google.api.core.ApiFuture; -import com.google.area120.tables.v1alpha.TablesServiceClient; -import com.google.area120.tables.v1alpha1.GetTableRequest; -import com.google.area120.tables.v1alpha1.Table; -import com.google.area120.tables.v1alpha1.TableName; - -public class AsyncGetTable { - - public static void main(String[] args) throws Exception { - asyncGetTable(); - } - - public static void asyncGetTable() throws Exception { - // 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(); - ApiFuture
future = tablesServiceClient.getTableCallable().futureCall(request); - // Do something. - Table response = future.get(); - } - } -} -// [END area120tables_v1alpha1_generated_TablesService_GetTable_async] diff --git a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/gettable/SyncGetTable.java b/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/gettable/SyncGetTable.java deleted file mode 100644 index 053492d32e42..000000000000 --- a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/gettable/SyncGetTable.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.samples; - -// [START area120tables_v1alpha1_generated_TablesService_GetTable_sync] -import com.google.area120.tables.v1alpha.TablesServiceClient; -import com.google.area120.tables.v1alpha1.GetTableRequest; -import com.google.area120.tables.v1alpha1.Table; -import com.google.area120.tables.v1alpha1.TableName; - -public class SyncGetTable { - - public static void main(String[] args) throws Exception { - syncGetTable(); - } - - public static void syncGetTable() throws Exception { - // 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(); - Table response = tablesServiceClient.getTable(request); - } - } -} -// [END area120tables_v1alpha1_generated_TablesService_GetTable_sync] diff --git a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/gettable/SyncGetTableString.java b/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/gettable/SyncGetTableString.java deleted file mode 100644 index 71a9891df387..000000000000 --- a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/gettable/SyncGetTableString.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.samples; - -// [START area120tables_v1alpha1_generated_TablesService_GetTable_String_sync] -import com.google.area120.tables.v1alpha.TablesServiceClient; -import com.google.area120.tables.v1alpha1.Table; -import com.google.area120.tables.v1alpha1.TableName; - -public class SyncGetTableString { - - public static void main(String[] args) throws Exception { - syncGetTableString(); - } - - public static void syncGetTableString() throws Exception { - // 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); - } - } -} -// [END area120tables_v1alpha1_generated_TablesService_GetTable_String_sync] diff --git a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/gettable/SyncGetTableTablename.java b/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/gettable/SyncGetTableTablename.java deleted file mode 100644 index 07d947575c68..000000000000 --- a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/gettable/SyncGetTableTablename.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.samples; - -// [START area120tables_v1alpha1_generated_TablesService_GetTable_Tablename_sync] -import com.google.area120.tables.v1alpha.TablesServiceClient; -import com.google.area120.tables.v1alpha1.Table; -import com.google.area120.tables.v1alpha1.TableName; - -public class SyncGetTableTablename { - - public static void main(String[] args) throws Exception { - syncGetTableTablename(); - } - - public static void syncGetTableTablename() throws Exception { - // 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); - } - } -} -// [END area120tables_v1alpha1_generated_TablesService_GetTable_Tablename_sync] diff --git a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/getworkspace/AsyncGetWorkspace.java b/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/getworkspace/AsyncGetWorkspace.java deleted file mode 100644 index 13de15330a1f..000000000000 --- a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/getworkspace/AsyncGetWorkspace.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.samples; - -// [START area120tables_v1alpha1_generated_TablesService_GetWorkspace_async] -import com.google.api.core.ApiFuture; -import com.google.area120.tables.v1alpha.TablesServiceClient; -import com.google.area120.tables.v1alpha1.GetWorkspaceRequest; -import com.google.area120.tables.v1alpha1.Workspace; -import com.google.area120.tables.v1alpha1.WorkspaceName; - -public class AsyncGetWorkspace { - - public static void main(String[] args) throws Exception { - asyncGetWorkspace(); - } - - public static void asyncGetWorkspace() throws Exception { - // 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() - .setName(WorkspaceName.of("[WORKSPACE]").toString()) - .build(); - ApiFuture future = tablesServiceClient.getWorkspaceCallable().futureCall(request); - // Do something. - Workspace response = future.get(); - } - } -} -// [END area120tables_v1alpha1_generated_TablesService_GetWorkspace_async] diff --git a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/getworkspace/SyncGetWorkspace.java b/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/getworkspace/SyncGetWorkspace.java deleted file mode 100644 index e95d7eca053b..000000000000 --- a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/getworkspace/SyncGetWorkspace.java +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.samples; - -// [START area120tables_v1alpha1_generated_TablesService_GetWorkspace_sync] -import com.google.area120.tables.v1alpha.TablesServiceClient; -import com.google.area120.tables.v1alpha1.GetWorkspaceRequest; -import com.google.area120.tables.v1alpha1.Workspace; -import com.google.area120.tables.v1alpha1.WorkspaceName; - -public class SyncGetWorkspace { - - public static void main(String[] args) throws Exception { - syncGetWorkspace(); - } - - public static void syncGetWorkspace() throws Exception { - // 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() - .setName(WorkspaceName.of("[WORKSPACE]").toString()) - .build(); - Workspace response = tablesServiceClient.getWorkspace(request); - } - } -} -// [END area120tables_v1alpha1_generated_TablesService_GetWorkspace_sync] diff --git a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/getworkspace/SyncGetWorkspaceString.java b/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/getworkspace/SyncGetWorkspaceString.java deleted file mode 100644 index 835fac9cc0b4..000000000000 --- a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/getworkspace/SyncGetWorkspaceString.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.samples; - -// [START area120tables_v1alpha1_generated_TablesService_GetWorkspace_String_sync] -import com.google.area120.tables.v1alpha.TablesServiceClient; -import com.google.area120.tables.v1alpha1.Workspace; -import com.google.area120.tables.v1alpha1.WorkspaceName; - -public class SyncGetWorkspaceString { - - public static void main(String[] args) throws Exception { - syncGetWorkspaceString(); - } - - public static void syncGetWorkspaceString() throws Exception { - // 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); - } - } -} -// [END area120tables_v1alpha1_generated_TablesService_GetWorkspace_String_sync] diff --git a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/getworkspace/SyncGetWorkspaceWorkspacename.java b/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/getworkspace/SyncGetWorkspaceWorkspacename.java deleted file mode 100644 index 8b2c9938e952..000000000000 --- a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/getworkspace/SyncGetWorkspaceWorkspacename.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.samples; - -// [START area120tables_v1alpha1_generated_TablesService_GetWorkspace_Workspacename_sync] -import com.google.area120.tables.v1alpha.TablesServiceClient; -import com.google.area120.tables.v1alpha1.Workspace; -import com.google.area120.tables.v1alpha1.WorkspaceName; - -public class SyncGetWorkspaceWorkspacename { - - public static void main(String[] args) throws Exception { - syncGetWorkspaceWorkspacename(); - } - - public static void syncGetWorkspaceWorkspacename() throws Exception { - // 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); - } - } -} -// [END area120tables_v1alpha1_generated_TablesService_GetWorkspace_Workspacename_sync] diff --git a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/listrows/AsyncListRows.java b/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/listrows/AsyncListRows.java deleted file mode 100644 index de27dba3c3d5..000000000000 --- a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/listrows/AsyncListRows.java +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.samples; - -// [START area120tables_v1alpha1_generated_TablesService_ListRows_async] -import com.google.api.core.ApiFuture; -import com.google.area120.tables.v1alpha.TablesServiceClient; -import com.google.area120.tables.v1alpha1.ListRowsRequest; -import com.google.area120.tables.v1alpha1.Row; -import com.google.area120.tables.v1alpha1.View; - -public class AsyncListRows { - - public static void main(String[] args) throws Exception { - asyncListRows(); - } - - public static void asyncListRows() throws Exception { - // 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() - .setParent("parent-995424086") - .setPageSize(883849137) - .setPageToken("pageToken873572522") - .setView(View.forNumber(0)) - .setFilter("filter-1274492040") - .build(); - ApiFuture future = tablesServiceClient.listRowsPagedCallable().futureCall(request); - // Do something. - for (Row element : future.get().iterateAll()) { - // doThingsWith(element); - } - } - } -} -// [END area120tables_v1alpha1_generated_TablesService_ListRows_async] diff --git a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/listrows/AsyncListRowsPaged.java b/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/listrows/AsyncListRowsPaged.java deleted file mode 100644 index 387cd4b92366..000000000000 --- a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/listrows/AsyncListRowsPaged.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.samples; - -// [START area120tables_v1alpha1_generated_TablesService_ListRows_Paged_async] -import com.google.area120.tables.v1alpha.TablesServiceClient; -import com.google.area120.tables.v1alpha1.ListRowsRequest; -import com.google.area120.tables.v1alpha1.ListRowsResponse; -import com.google.area120.tables.v1alpha1.Row; -import com.google.area120.tables.v1alpha1.View; -import com.google.common.base.Strings; - -public class AsyncListRowsPaged { - - public static void main(String[] args) throws Exception { - asyncListRowsPaged(); - } - - public static void asyncListRowsPaged() throws Exception { - // 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() - .setParent("parent-995424086") - .setPageSize(883849137) - .setPageToken("pageToken873572522") - .setView(View.forNumber(0)) - .setFilter("filter-1274492040") - .build(); - while (true) { - ListRowsResponse response = tablesServiceClient.listRowsCallable().call(request); - for (Row element : response.getRowsList()) { - // doThingsWith(element); - } - String nextPageToken = response.getNextPageToken(); - if (!Strings.isNullOrEmpty(nextPageToken)) { - request = request.toBuilder().setPageToken(nextPageToken).build(); - } else { - break; - } - } - } - } -} -// [END area120tables_v1alpha1_generated_TablesService_ListRows_Paged_async] diff --git a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/listrows/SyncListRows.java b/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/listrows/SyncListRows.java deleted file mode 100644 index e5dc0862d50e..000000000000 --- a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/listrows/SyncListRows.java +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.samples; - -// [START area120tables_v1alpha1_generated_TablesService_ListRows_sync] -import com.google.area120.tables.v1alpha.TablesServiceClient; -import com.google.area120.tables.v1alpha1.ListRowsRequest; -import com.google.area120.tables.v1alpha1.Row; -import com.google.area120.tables.v1alpha1.View; - -public class SyncListRows { - - public static void main(String[] args) throws Exception { - syncListRows(); - } - - public static void syncListRows() throws Exception { - // 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() - .setParent("parent-995424086") - .setPageSize(883849137) - .setPageToken("pageToken873572522") - .setView(View.forNumber(0)) - .setFilter("filter-1274492040") - .build(); - for (Row element : tablesServiceClient.listRows(request).iterateAll()) { - // doThingsWith(element); - } - } - } -} -// [END area120tables_v1alpha1_generated_TablesService_ListRows_sync] diff --git a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/listrows/SyncListRowsString.java b/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/listrows/SyncListRowsString.java deleted file mode 100644 index aa8fdae86978..000000000000 --- a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/listrows/SyncListRowsString.java +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.samples; - -// [START area120tables_v1alpha1_generated_TablesService_ListRows_String_sync] -import com.google.area120.tables.v1alpha.TablesServiceClient; -import com.google.area120.tables.v1alpha1.Row; - -public class SyncListRowsString { - - public static void main(String[] args) throws Exception { - syncListRowsString(); - } - - public static void syncListRowsString() throws Exception { - // 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()) { - // doThingsWith(element); - } - } - } -} -// [END area120tables_v1alpha1_generated_TablesService_ListRows_String_sync] diff --git a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/listtables/AsyncListTables.java b/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/listtables/AsyncListTables.java deleted file mode 100644 index 1281b4af8a04..000000000000 --- a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/listtables/AsyncListTables.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.samples; - -// [START area120tables_v1alpha1_generated_TablesService_ListTables_async] -import com.google.api.core.ApiFuture; -import com.google.area120.tables.v1alpha.TablesServiceClient; -import com.google.area120.tables.v1alpha1.ListTablesRequest; -import com.google.area120.tables.v1alpha1.Table; - -public class AsyncListTables { - - public static void main(String[] args) throws Exception { - asyncListTables(); - } - - public static void asyncListTables() throws Exception { - // 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() - .setPageSize(883849137) - .setPageToken("pageToken873572522") - .build(); - ApiFuture
future = tablesServiceClient.listTablesPagedCallable().futureCall(request); - // Do something. - for (Table element : future.get().iterateAll()) { - // doThingsWith(element); - } - } - } -} -// [END area120tables_v1alpha1_generated_TablesService_ListTables_async] diff --git a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/listtables/AsyncListTablesPaged.java b/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/listtables/AsyncListTablesPaged.java deleted file mode 100644 index 8a6c886e2c7e..000000000000 --- a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/listtables/AsyncListTablesPaged.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.samples; - -// [START area120tables_v1alpha1_generated_TablesService_ListTables_Paged_async] -import com.google.area120.tables.v1alpha.TablesServiceClient; -import com.google.area120.tables.v1alpha1.ListTablesRequest; -import com.google.area120.tables.v1alpha1.ListTablesResponse; -import com.google.area120.tables.v1alpha1.Table; -import com.google.common.base.Strings; - -public class AsyncListTablesPaged { - - public static void main(String[] args) throws Exception { - asyncListTablesPaged(); - } - - public static void asyncListTablesPaged() throws Exception { - // 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() - .setPageSize(883849137) - .setPageToken("pageToken873572522") - .build(); - while (true) { - ListTablesResponse response = tablesServiceClient.listTablesCallable().call(request); - for (Table element : response.getTablesList()) { - // doThingsWith(element); - } - String nextPageToken = response.getNextPageToken(); - if (!Strings.isNullOrEmpty(nextPageToken)) { - request = request.toBuilder().setPageToken(nextPageToken).build(); - } else { - break; - } - } - } - } -} -// [END area120tables_v1alpha1_generated_TablesService_ListTables_Paged_async] diff --git a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/listtables/SyncListTables.java b/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/listtables/SyncListTables.java deleted file mode 100644 index cb288bd7fa4d..000000000000 --- a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/listtables/SyncListTables.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.samples; - -// [START area120tables_v1alpha1_generated_TablesService_ListTables_sync] -import com.google.area120.tables.v1alpha.TablesServiceClient; -import com.google.area120.tables.v1alpha1.ListTablesRequest; -import com.google.area120.tables.v1alpha1.Table; - -public class SyncListTables { - - public static void main(String[] args) throws Exception { - syncListTables(); - } - - public static void syncListTables() throws Exception { - // 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() - .setPageSize(883849137) - .setPageToken("pageToken873572522") - .build(); - for (Table element : tablesServiceClient.listTables(request).iterateAll()) { - // doThingsWith(element); - } - } - } -} -// [END area120tables_v1alpha1_generated_TablesService_ListTables_sync] diff --git a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/listworkspaces/AsyncListWorkspaces.java b/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/listworkspaces/AsyncListWorkspaces.java deleted file mode 100644 index 0717c688edd4..000000000000 --- a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/listworkspaces/AsyncListWorkspaces.java +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.samples; - -// [START area120tables_v1alpha1_generated_TablesService_ListWorkspaces_async] -import com.google.api.core.ApiFuture; -import com.google.area120.tables.v1alpha.TablesServiceClient; -import com.google.area120.tables.v1alpha1.ListWorkspacesRequest; -import com.google.area120.tables.v1alpha1.Workspace; - -public class AsyncListWorkspaces { - - public static void main(String[] args) throws Exception { - asyncListWorkspaces(); - } - - public static void asyncListWorkspaces() throws Exception { - // 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() - .setPageSize(883849137) - .setPageToken("pageToken873572522") - .build(); - ApiFuture future = - tablesServiceClient.listWorkspacesPagedCallable().futureCall(request); - // Do something. - for (Workspace element : future.get().iterateAll()) { - // doThingsWith(element); - } - } - } -} -// [END area120tables_v1alpha1_generated_TablesService_ListWorkspaces_async] diff --git a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/listworkspaces/AsyncListWorkspacesPaged.java b/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/listworkspaces/AsyncListWorkspacesPaged.java deleted file mode 100644 index cf6066368f2c..000000000000 --- a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/listworkspaces/AsyncListWorkspacesPaged.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.samples; - -// [START area120tables_v1alpha1_generated_TablesService_ListWorkspaces_Paged_async] -import com.google.area120.tables.v1alpha.TablesServiceClient; -import com.google.area120.tables.v1alpha1.ListWorkspacesRequest; -import com.google.area120.tables.v1alpha1.ListWorkspacesResponse; -import com.google.area120.tables.v1alpha1.Workspace; -import com.google.common.base.Strings; - -public class AsyncListWorkspacesPaged { - - public static void main(String[] args) throws Exception { - asyncListWorkspacesPaged(); - } - - public static void asyncListWorkspacesPaged() throws Exception { - // 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() - .setPageSize(883849137) - .setPageToken("pageToken873572522") - .build(); - while (true) { - ListWorkspacesResponse response = - tablesServiceClient.listWorkspacesCallable().call(request); - for (Workspace element : response.getWorkspacesList()) { - // doThingsWith(element); - } - String nextPageToken = response.getNextPageToken(); - if (!Strings.isNullOrEmpty(nextPageToken)) { - request = request.toBuilder().setPageToken(nextPageToken).build(); - } else { - break; - } - } - } - } -} -// [END area120tables_v1alpha1_generated_TablesService_ListWorkspaces_Paged_async] diff --git a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/listworkspaces/SyncListWorkspaces.java b/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/listworkspaces/SyncListWorkspaces.java deleted file mode 100644 index 639817ab5f3e..000000000000 --- a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/listworkspaces/SyncListWorkspaces.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.samples; - -// [START area120tables_v1alpha1_generated_TablesService_ListWorkspaces_sync] -import com.google.area120.tables.v1alpha.TablesServiceClient; -import com.google.area120.tables.v1alpha1.ListWorkspacesRequest; -import com.google.area120.tables.v1alpha1.Workspace; - -public class SyncListWorkspaces { - - public static void main(String[] args) throws Exception { - syncListWorkspaces(); - } - - public static void syncListWorkspaces() throws Exception { - // 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() - .setPageSize(883849137) - .setPageToken("pageToken873572522") - .build(); - for (Workspace element : tablesServiceClient.listWorkspaces(request).iterateAll()) { - // doThingsWith(element); - } - } - } -} -// [END area120tables_v1alpha1_generated_TablesService_ListWorkspaces_sync] diff --git a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/updaterow/AsyncUpdateRow.java b/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/updaterow/AsyncUpdateRow.java deleted file mode 100644 index 7b481b800c18..000000000000 --- a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/updaterow/AsyncUpdateRow.java +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.samples; - -// [START area120tables_v1alpha1_generated_TablesService_UpdateRow_async] -import com.google.api.core.ApiFuture; -import com.google.area120.tables.v1alpha.TablesServiceClient; -import com.google.area120.tables.v1alpha1.Row; -import com.google.area120.tables.v1alpha1.UpdateRowRequest; -import com.google.area120.tables.v1alpha1.View; -import com.google.protobuf.FieldMask; - -public class AsyncUpdateRow { - - public static void main(String[] args) throws Exception { - asyncUpdateRow(); - } - - public static void asyncUpdateRow() throws Exception { - // 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() - .setRow(Row.newBuilder().build()) - .setUpdateMask(FieldMask.newBuilder().build()) - .setView(View.forNumber(0)) - .build(); - ApiFuture future = tablesServiceClient.updateRowCallable().futureCall(request); - // Do something. - Row response = future.get(); - } - } -} -// [END area120tables_v1alpha1_generated_TablesService_UpdateRow_async] diff --git a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/updaterow/SyncUpdateRow.java b/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/updaterow/SyncUpdateRow.java deleted file mode 100644 index cc6a90110ef5..000000000000 --- a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/updaterow/SyncUpdateRow.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.samples; - -// [START area120tables_v1alpha1_generated_TablesService_UpdateRow_sync] -import com.google.area120.tables.v1alpha.TablesServiceClient; -import com.google.area120.tables.v1alpha1.Row; -import com.google.area120.tables.v1alpha1.UpdateRowRequest; -import com.google.area120.tables.v1alpha1.View; -import com.google.protobuf.FieldMask; - -public class SyncUpdateRow { - - public static void main(String[] args) throws Exception { - syncUpdateRow(); - } - - public static void syncUpdateRow() throws Exception { - // 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() - .setRow(Row.newBuilder().build()) - .setUpdateMask(FieldMask.newBuilder().build()) - .setView(View.forNumber(0)) - .build(); - Row response = tablesServiceClient.updateRow(request); - } - } -} -// [END area120tables_v1alpha1_generated_TablesService_UpdateRow_sync] diff --git a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/updaterow/SyncUpdateRowRowFieldmask.java b/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/updaterow/SyncUpdateRowRowFieldmask.java deleted file mode 100644 index 538e57d48e48..000000000000 --- a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservice/updaterow/SyncUpdateRowRowFieldmask.java +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.samples; - -// [START area120tables_v1alpha1_generated_TablesService_UpdateRow_RowFieldmask_sync] -import com.google.area120.tables.v1alpha.TablesServiceClient; -import com.google.area120.tables.v1alpha1.Row; -import com.google.protobuf.FieldMask; - -public class SyncUpdateRowRowFieldmask { - - public static void main(String[] args) throws Exception { - syncUpdateRowRowFieldmask(); - } - - public static void syncUpdateRowRowFieldmask() throws Exception { - // 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(); - Row response = tablesServiceClient.updateRow(row, updateMask); - } - } -} -// [END area120tables_v1alpha1_generated_TablesService_UpdateRow_RowFieldmask_sync] diff --git a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservicesettings/gettable/SyncGetTable.java b/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservicesettings/gettable/SyncGetTable.java deleted file mode 100644 index 0eaff485e451..000000000000 --- a/java-area120-tables/samples/snippets/generated/com/google/area120/tables/v1alpha/tablesservicesettings/gettable/SyncGetTable.java +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2026 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.area120.tables.v1alpha.samples; - -// [START area120tables_v1alpha1_generated_TablesServiceSettings_GetTable_sync] -import com.google.area120.tables.v1alpha.TablesServiceSettings; -import java.time.Duration; - -public class SyncGetTable { - - public static void main(String[] args) throws Exception { - syncGetTable(); - } - - public static void syncGetTable() throws Exception { - // 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() - .setInitialRetryDelayDuration(Duration.ofSeconds(1)) - .setInitialRpcTimeoutDuration(Duration.ofSeconds(5)) - .setMaxAttempts(5) - .setMaxRetryDelayDuration(Duration.ofSeconds(30)) - .setMaxRpcTimeoutDuration(Duration.ofSeconds(60)) - .setRetryDelayMultiplier(1.3) - .setRpcTimeoutMultiplier(1.5) - .setTotalTimeoutDuration(Duration.ofSeconds(300)) - .build()); - TablesServiceSettings tablesServiceSettings = tablesServiceSettingsBuilder.build(); - } -} -// [END area120tables_v1alpha1_generated_TablesServiceSettings_GetTable_sync] diff --git a/java-cloud-bom/README.md b/java-cloud-bom/README.md index 4a8b7508fcee..299ab3411646 100644 --- a/java-cloud-bom/README.md +++ b/java-cloud-bom/README.md @@ -53,7 +53,6 @@ This is the table of modules included in the latest libraries-bom release: | gax | Runtime | [2.83.0](https://cloud.google.com/java/docs/reference/gax/latest/overview) | N/A | | google-analytics-admin | Product | [0.105.0](https://cloud.google.com/java/docs/reference/google-analytics-admin/latest/overview) | [Analytics Admin](https://developers.google.com/analytics) | | google-analytics-data | Product | [0.106.0](https://cloud.google.com/java/docs/reference/google-analytics-data/latest/overview) | [Analytics Data](https://developers.google.com/analytics/trusted-testing/analytics-data) | -| google-area120-tables | Product | [0.99.0](https://cloud.google.com/java/docs/reference/google-area120-tables/latest/overview) | [Area 120 Tables](https://area120.google.com/) | | google-auth-library-cab-token-generator | Product | [1.50.0](https://cloud.google.com/java/docs/reference/google-auth-library-cab-token-generator/latest/overview) | N/A | | google-auth-library | Runtime | [1.50.0](https://cloud.google.com/java/docs/reference/google-auth-library/latest/overview) | [Google Auth Library](n/a) | | google-cloud-accessapproval | Product | [2.96.0](https://cloud.google.com/java/docs/reference/google-cloud-accessapproval/latest/overview) | [Access Approval](https://cloud.google.com/access-approval/docs/) | diff --git a/java-cloud-bom/libraries-bom-table-generation/javaModulesMetadata.yaml b/java-cloud-bom/libraries-bom-table-generation/javaModulesMetadata.yaml index 0a87820246c2..015defe7b91c 100644 --- a/java-cloud-bom/libraries-bom-table-generation/javaModulesMetadata.yaml +++ b/java-cloud-bom/libraries-bom-table-generation/javaModulesMetadata.yaml @@ -3,7 +3,6 @@ google-analytics-admin: https://developers.google.com/analytics, Analytics Admin google-analytics-data: https://developers.google.com/analytics/trusted-testing/analytics-data, Analytics Data -google-area120-tables: https://area120.google.com/, Area 120 Tables google-auth-library: n/a, Google Auth Library google-cloud-accessapproval: https://cloud.google.com/access-approval/docs/, Access Approval diff --git a/librarian.yaml b/librarian.yaml index ecb5b9d18ac1..29a1eb01e348 100644 --- a/librarian.yaml +++ b/librarian.yaml @@ -334,17 +334,6 @@ libraries: - path: google/cloud/location/locations.proto java: released_version: 0.4.0 - - name: area120-tables - version: 0.104.0 - apis: - - path: google/area120/tables/v1alpha1 - java: - api_description_override: provides programmatic methods to the Area 120 Tables API. - artifact_id: google-area120-tables - group_id: com.google.area120 - name_pretty_override: Area 120 Tables - product_documentation_override: https://area120.google.com/ - released_version: 0.104.0 - name: artifact-registry version: 1.99.0 apis: diff --git a/pom.xml b/pom.xml index d8252c033f0a..e2ad08876be0 100644 --- a/pom.xml +++ b/pom.xml @@ -37,7 +37,6 @@ java-apphub java-appoptimize java-apptopology - java-area120-tables java-artifact-registry java-asset java-assured-workloads diff --git a/versions.txt b/versions.txt index d77ddb77e4b9..d8ec03ccb051 100644 --- a/versions.txt +++ b/versions.txt @@ -43,9 +43,6 @@ grpc-google-cloud-apikeys-v2:0.98.0:0.98.0 google-cloud-appengine-admin:2.100.0:2.100.0 grpc-google-cloud-appengine-admin-v1:2.100.0:2.100.0 proto-google-cloud-appengine-admin-v1:2.100.0:2.100.0 -google-area120-tables:0.104.0:0.104.0 -grpc-google-area120-tables-v1alpha1:0.104.0:0.104.0 -proto-google-area120-tables-v1alpha1:0.104.0:0.104.0 google-cloud-artifact-registry:1.99.0:1.99.0 grpc-google-cloud-artifact-registry-v1beta2:1.99.0:1.99.0 grpc-google-cloud-artifact-registry-v1:1.99.0:1.99.0