-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(deps): Update the Java code generator (gapic-generator-java) to 2…
….39.0 PiperOrigin-RevId: 626430774 Source-Link: googleapis/googleapis@835b84e Source-Link: https://github.com/googleapis/googleapis-gen/commit/43f369d90f19d09ac18720151ab106042beb811b Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDNmMzY5ZDkwZjE5ZDA5YWMxODcyMDE1MWFiMTA2MDQyYmViODExYiJ9 build: Update protobuf to 25.3 in WORKSPACE PiperOrigin-RevId: 624989428 Source-Link: googleapis/googleapis@caf600a Source-Link: https://github.com/googleapis/googleapis-gen/commit/cc580b8ea4c07f774093d0f8c4afedd2eae6e856 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiY2M1ODBiOGVhNGMwN2Y3NzQwOTNkMGY4YzRhZmVkZDJlYWU2ZTg1NiJ9 feat: publish Automated Backups protos PiperOrigin-RevId: 620381983 Source-Link: googleapis/googleapis@a70aa2c Source-Link: https://github.com/googleapis/googleapis-gen/commit/e3fb57f9dd4a10b6c20359ec92a72e87631991b8 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTNmYjU3ZjlkZDRhMTBiNmMyMDM1OWVjOTJhNzJlODc2MzE5OTFiOCJ9
- Loading branch information
1 parent
3f37d8d
commit a9dbe03
Showing
367 changed files
with
80,451 additions
and
72,890 deletions.
There are no files selected for viewing
2,791 changes: 0 additions & 2,791 deletions
2,791
...gtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminGrpc.java
This file was deleted.
Oops, something went wrong.
3,938 changes: 0 additions & 3,938 deletions
3,938
...-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java
This file was deleted.
Oops, something went wrong.
1,298 changes: 0 additions & 1,298 deletions
1,298
grpc-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableGrpc.java
This file was deleted.
Oops, something went wrong.
3,678 changes: 3,678 additions & 0 deletions
3,678
...ble/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java
Large diffs are not rendered by default.
Oops, something went wrong.
525 changes: 525 additions & 0 deletions
525
...e/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java
Large diffs are not rendered by default.
Oops, something went wrong.
5,895 changes: 5,895 additions & 0 deletions
5,895
...gtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java
Large diffs are not rendered by default.
Oops, something went wrong.
682 changes: 682 additions & 0 deletions
682
...able/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java
Large diffs are not rendered by default.
Oops, something went wrong.
180 changes: 180 additions & 0 deletions
180
...oogle-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/gapic_metadata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,180 @@ | ||
{ | ||
"schema": "1.0", | ||
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods", | ||
"language": "java", | ||
"protoPackage": "google.bigtable.admin.v2", | ||
"libraryPackage": "com.google.cloud.bigtable.admin.v2", | ||
"services": { | ||
"BigtableInstanceAdmin": { | ||
"clients": { | ||
"grpc": { | ||
"libraryClient": "BaseBigtableInstanceAdminClient", | ||
"rpcs": { | ||
"CreateAppProfile": { | ||
"methods": ["createAppProfile", "createAppProfile", "createAppProfile", "createAppProfileCallable"] | ||
}, | ||
"CreateCluster": { | ||
"methods": ["createClusterAsync", "createClusterAsync", "createClusterAsync", "createClusterOperationCallable", "createClusterCallable"] | ||
}, | ||
"CreateInstance": { | ||
"methods": ["createInstanceAsync", "createInstanceAsync", "createInstanceAsync", "createInstanceOperationCallable", "createInstanceCallable"] | ||
}, | ||
"DeleteAppProfile": { | ||
"methods": ["deleteAppProfile", "deleteAppProfile", "deleteAppProfile", "deleteAppProfileCallable"] | ||
}, | ||
"DeleteCluster": { | ||
"methods": ["deleteCluster", "deleteCluster", "deleteCluster", "deleteClusterCallable"] | ||
}, | ||
"DeleteInstance": { | ||
"methods": ["deleteInstance", "deleteInstance", "deleteInstance", "deleteInstanceCallable"] | ||
}, | ||
"GetAppProfile": { | ||
"methods": ["getAppProfile", "getAppProfile", "getAppProfile", "getAppProfileCallable"] | ||
}, | ||
"GetCluster": { | ||
"methods": ["getCluster", "getCluster", "getCluster", "getClusterCallable"] | ||
}, | ||
"GetIamPolicy": { | ||
"methods": ["getIamPolicy", "getIamPolicy", "getIamPolicy", "getIamPolicyCallable"] | ||
}, | ||
"GetInstance": { | ||
"methods": ["getInstance", "getInstance", "getInstance", "getInstanceCallable"] | ||
}, | ||
"ListAppProfiles": { | ||
"methods": ["listAppProfiles", "listAppProfiles", "listAppProfiles", "listAppProfilesPagedCallable", "listAppProfilesCallable"] | ||
}, | ||
"ListClusters": { | ||
"methods": ["listClusters", "listClusters", "listClusters", "listClustersCallable"] | ||
}, | ||
"ListHotTablets": { | ||
"methods": ["listHotTablets", "listHotTablets", "listHotTablets", "listHotTabletsPagedCallable", "listHotTabletsCallable"] | ||
}, | ||
"ListInstances": { | ||
"methods": ["listInstances", "listInstances", "listInstances", "listInstancesCallable"] | ||
}, | ||
"PartialUpdateCluster": { | ||
"methods": ["partialUpdateClusterAsync", "partialUpdateClusterAsync", "partialUpdateClusterOperationCallable", "partialUpdateClusterCallable"] | ||
}, | ||
"PartialUpdateInstance": { | ||
"methods": ["partialUpdateInstanceAsync", "partialUpdateInstanceAsync", "partialUpdateInstanceOperationCallable", "partialUpdateInstanceCallable"] | ||
}, | ||
"SetIamPolicy": { | ||
"methods": ["setIamPolicy", "setIamPolicy", "setIamPolicy", "setIamPolicyCallable"] | ||
}, | ||
"TestIamPermissions": { | ||
"methods": ["testIamPermissions", "testIamPermissions", "testIamPermissions", "testIamPermissionsCallable"] | ||
}, | ||
"UpdateAppProfile": { | ||
"methods": ["updateAppProfileAsync", "updateAppProfileAsync", "updateAppProfileOperationCallable", "updateAppProfileCallable"] | ||
}, | ||
"UpdateCluster": { | ||
"methods": ["updateClusterAsync", "updateClusterOperationCallable", "updateClusterCallable"] | ||
}, | ||
"UpdateInstance": { | ||
"methods": ["updateInstance", "updateInstanceCallable"] | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"BigtableTableAdmin": { | ||
"clients": { | ||
"grpc": { | ||
"libraryClient": "BaseBigtableTableAdminClient", | ||
"rpcs": { | ||
"CheckConsistency": { | ||
"methods": ["checkConsistency", "checkConsistency", "checkConsistency", "checkConsistencyCallable"] | ||
}, | ||
"CopyBackup": { | ||
"methods": ["copyBackupAsync", "copyBackupAsync", "copyBackupAsync", "copyBackupAsync", "copyBackupAsync", "copyBackupOperationCallable", "copyBackupCallable"] | ||
}, | ||
"CreateAuthorizedView": { | ||
"methods": ["createAuthorizedViewAsync", "createAuthorizedViewAsync", "createAuthorizedViewAsync", "createAuthorizedViewOperationCallable", "createAuthorizedViewCallable"] | ||
}, | ||
"CreateBackup": { | ||
"methods": ["createBackupAsync", "createBackupAsync", "createBackupAsync", "createBackupOperationCallable", "createBackupCallable"] | ||
}, | ||
"CreateTable": { | ||
"methods": ["createTable", "createTable", "createTable", "createTableCallable"] | ||
}, | ||
"CreateTableFromSnapshot": { | ||
"methods": ["createTableFromSnapshotAsync", "createTableFromSnapshotAsync", "createTableFromSnapshotAsync", "createTableFromSnapshotAsync", "createTableFromSnapshotAsync", "createTableFromSnapshotOperationCallable", "createTableFromSnapshotCallable"] | ||
}, | ||
"DeleteAuthorizedView": { | ||
"methods": ["deleteAuthorizedView", "deleteAuthorizedView", "deleteAuthorizedView", "deleteAuthorizedViewCallable"] | ||
}, | ||
"DeleteBackup": { | ||
"methods": ["deleteBackup", "deleteBackup", "deleteBackup", "deleteBackupCallable"] | ||
}, | ||
"DeleteSnapshot": { | ||
"methods": ["deleteSnapshot", "deleteSnapshot", "deleteSnapshot", "deleteSnapshotCallable"] | ||
}, | ||
"DeleteTable": { | ||
"methods": ["deleteTable", "deleteTable", "deleteTable", "deleteTableCallable"] | ||
}, | ||
"DropRowRange": { | ||
"methods": ["dropRowRange", "dropRowRangeCallable"] | ||
}, | ||
"GenerateConsistencyToken": { | ||
"methods": ["generateConsistencyToken", "generateConsistencyToken", "generateConsistencyToken", "generateConsistencyTokenCallable"] | ||
}, | ||
"GetAuthorizedView": { | ||
"methods": ["getAuthorizedView", "getAuthorizedView", "getAuthorizedView", "getAuthorizedViewCallable"] | ||
}, | ||
"GetBackup": { | ||
"methods": ["getBackup", "getBackup", "getBackup", "getBackupCallable"] | ||
}, | ||
"GetIamPolicy": { | ||
"methods": ["getIamPolicy", "getIamPolicy", "getIamPolicy", "getIamPolicyCallable"] | ||
}, | ||
"GetSnapshot": { | ||
"methods": ["getSnapshot", "getSnapshot", "getSnapshot", "getSnapshotCallable"] | ||
}, | ||
"GetTable": { | ||
"methods": ["getTable", "getTable", "getTable", "getTableCallable"] | ||
}, | ||
"ListAuthorizedViews": { | ||
"methods": ["listAuthorizedViews", "listAuthorizedViews", "listAuthorizedViews", "listAuthorizedViewsPagedCallable", "listAuthorizedViewsCallable"] | ||
}, | ||
"ListBackups": { | ||
"methods": ["listBackups", "listBackups", "listBackups", "listBackupsPagedCallable", "listBackupsCallable"] | ||
}, | ||
"ListSnapshots": { | ||
"methods": ["listSnapshots", "listSnapshots", "listSnapshots", "listSnapshotsPagedCallable", "listSnapshotsCallable"] | ||
}, | ||
"ListTables": { | ||
"methods": ["listTables", "listTables", "listTables", "listTablesPagedCallable", "listTablesCallable"] | ||
}, | ||
"ModifyColumnFamilies": { | ||
"methods": ["modifyColumnFamilies", "modifyColumnFamilies", "modifyColumnFamilies", "modifyColumnFamiliesCallable"] | ||
}, | ||
"RestoreTable": { | ||
"methods": ["restoreTableAsync", "restoreTableOperationCallable", "restoreTableCallable"] | ||
}, | ||
"SetIamPolicy": { | ||
"methods": ["setIamPolicy", "setIamPolicy", "setIamPolicy", "setIamPolicyCallable"] | ||
}, | ||
"SnapshotTable": { | ||
"methods": ["snapshotTableAsync", "snapshotTableAsync", "snapshotTableAsync", "snapshotTableAsync", "snapshotTableAsync", "snapshotTableOperationCallable", "snapshotTableCallable"] | ||
}, | ||
"TestIamPermissions": { | ||
"methods": ["testIamPermissions", "testIamPermissions", "testIamPermissions", "testIamPermissionsCallable"] | ||
}, | ||
"UndeleteTable": { | ||
"methods": ["undeleteTableAsync", "undeleteTableAsync", "undeleteTableAsync", "undeleteTableOperationCallable", "undeleteTableCallable"] | ||
}, | ||
"UpdateAuthorizedView": { | ||
"methods": ["updateAuthorizedViewAsync", "updateAuthorizedViewAsync", "updateAuthorizedViewOperationCallable", "updateAuthorizedViewCallable"] | ||
}, | ||
"UpdateBackup": { | ||
"methods": ["updateBackup", "updateBackup", "updateBackupCallable"] | ||
}, | ||
"UpdateTable": { | ||
"methods": ["updateTableAsync", "updateTableAsync", "updateTableOperationCallable", "updateTableCallable"] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
69 changes: 69 additions & 0 deletions
69
.../google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
/* | ||
* Copyright 2024 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 Cloud Bigtable Admin API | ||
* | ||
* <p>The interfaces provided are listed below, along with usage samples. | ||
* | ||
* <p>======================= BaseBigtableInstanceAdminClient ======================= | ||
* | ||
* <p>Service Description: Service for creating, configuring, and deleting Cloud Bigtable Instances | ||
* and Clusters. Provides access to the Instance and Cluster schemas only, not the tables' metadata | ||
* or data stored in those tables. | ||
* | ||
* <p>Sample for BaseBigtableInstanceAdminClient: | ||
* | ||
* <pre>{@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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = | ||
* BaseBigtableInstanceAdminClient.create()) { | ||
* InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]"); | ||
* Instance response = baseBigtableInstanceAdminClient.getInstance(name); | ||
* } | ||
* }</pre> | ||
* | ||
* <p>======================= BaseBigtableTableAdminClient ======================= | ||
* | ||
* <p>Service Description: Service for creating, configuring, and deleting Cloud Bigtable tables. | ||
* | ||
* <p>Provides access to the table schemas only, not the data stored within the tables. | ||
* | ||
* <p>Sample for BaseBigtableTableAdminClient: | ||
* | ||
* <pre>{@code | ||
* // This snippet has been automatically generated and should be regarded as a code template only. | ||
* // It will require modifications to work: | ||
* // - It may require correct/in-range values for request initialization. | ||
* // - It may require specifying regional endpoints when creating the service client as shown in | ||
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library | ||
* try (BaseBigtableTableAdminClient baseBigtableTableAdminClient = | ||
* BaseBigtableTableAdminClient.create()) { | ||
* InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); | ||
* String tableId = "tableId-1552905847"; | ||
* Table table = Table.newBuilder().build(); | ||
* Table response = baseBigtableTableAdminClient.createTable(parent, tableId, table); | ||
* } | ||
* }</pre> | ||
*/ | ||
@Generated("by gapic-generator-java") | ||
package com.google.cloud.bigtable.admin.v2; | ||
|
||
import javax.annotation.Generated; |
Oops, something went wrong.