Skip to content

Commit 7c598b7

Browse files
feat: Publish new bigtable APIs for types and aggregates
Bigtable aggregates will allow users to configure column families whose cells accumulate values via an aggregation function rather than simply overwrite them PiperOrigin-RevId: 613716423 Source-Link: googleapis/googleapis@66fc31d Source-Link: https://github.com/googleapis/googleapis-gen/commit/b983c8f87e6643d9a74d7b8183d66349943b436e Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjk4M2M4Zjg3ZTY2NDNkOWE3NGQ3YjgxODNkNjYzNDk5NDNiNDM2ZSJ9
1 parent 27274b4 commit 7c598b7

File tree

361 files changed

+87680
-68810
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

361 files changed

+87680
-68810
lines changed

grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminGrpc.java

Lines changed: 0 additions & 2791 deletions
This file was deleted.

grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java

Lines changed: 0 additions & 3938 deletions
This file was deleted.

grpc-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableGrpc.java

Lines changed: 0 additions & 1298 deletions
This file was deleted.

owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java

Lines changed: 3678 additions & 0 deletions
Large diffs are not rendered by default.

owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java

Lines changed: 525 additions & 0 deletions
Large diffs are not rendered by default.

owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java

Lines changed: 5895 additions & 0 deletions
Large diffs are not rendered by default.

owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java

Lines changed: 682 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 180 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,180 @@
1+
{
2+
"schema": "1.0",
3+
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
4+
"language": "java",
5+
"protoPackage": "google.bigtable.admin.v2",
6+
"libraryPackage": "com.google.cloud.bigtable.admin.v2",
7+
"services": {
8+
"BigtableInstanceAdmin": {
9+
"clients": {
10+
"grpc": {
11+
"libraryClient": "BaseBigtableInstanceAdminClient",
12+
"rpcs": {
13+
"CreateAppProfile": {
14+
"methods": ["createAppProfile", "createAppProfile", "createAppProfile", "createAppProfileCallable"]
15+
},
16+
"CreateCluster": {
17+
"methods": ["createClusterAsync", "createClusterAsync", "createClusterAsync", "createClusterOperationCallable", "createClusterCallable"]
18+
},
19+
"CreateInstance": {
20+
"methods": ["createInstanceAsync", "createInstanceAsync", "createInstanceAsync", "createInstanceOperationCallable", "createInstanceCallable"]
21+
},
22+
"DeleteAppProfile": {
23+
"methods": ["deleteAppProfile", "deleteAppProfile", "deleteAppProfile", "deleteAppProfileCallable"]
24+
},
25+
"DeleteCluster": {
26+
"methods": ["deleteCluster", "deleteCluster", "deleteCluster", "deleteClusterCallable"]
27+
},
28+
"DeleteInstance": {
29+
"methods": ["deleteInstance", "deleteInstance", "deleteInstance", "deleteInstanceCallable"]
30+
},
31+
"GetAppProfile": {
32+
"methods": ["getAppProfile", "getAppProfile", "getAppProfile", "getAppProfileCallable"]
33+
},
34+
"GetCluster": {
35+
"methods": ["getCluster", "getCluster", "getCluster", "getClusterCallable"]
36+
},
37+
"GetIamPolicy": {
38+
"methods": ["getIamPolicy", "getIamPolicy", "getIamPolicy", "getIamPolicyCallable"]
39+
},
40+
"GetInstance": {
41+
"methods": ["getInstance", "getInstance", "getInstance", "getInstanceCallable"]
42+
},
43+
"ListAppProfiles": {
44+
"methods": ["listAppProfiles", "listAppProfiles", "listAppProfiles", "listAppProfilesPagedCallable", "listAppProfilesCallable"]
45+
},
46+
"ListClusters": {
47+
"methods": ["listClusters", "listClusters", "listClusters", "listClustersCallable"]
48+
},
49+
"ListHotTablets": {
50+
"methods": ["listHotTablets", "listHotTablets", "listHotTablets", "listHotTabletsPagedCallable", "listHotTabletsCallable"]
51+
},
52+
"ListInstances": {
53+
"methods": ["listInstances", "listInstances", "listInstances", "listInstancesCallable"]
54+
},
55+
"PartialUpdateCluster": {
56+
"methods": ["partialUpdateClusterAsync", "partialUpdateClusterAsync", "partialUpdateClusterOperationCallable", "partialUpdateClusterCallable"]
57+
},
58+
"PartialUpdateInstance": {
59+
"methods": ["partialUpdateInstanceAsync", "partialUpdateInstanceAsync", "partialUpdateInstanceOperationCallable", "partialUpdateInstanceCallable"]
60+
},
61+
"SetIamPolicy": {
62+
"methods": ["setIamPolicy", "setIamPolicy", "setIamPolicy", "setIamPolicyCallable"]
63+
},
64+
"TestIamPermissions": {
65+
"methods": ["testIamPermissions", "testIamPermissions", "testIamPermissions", "testIamPermissionsCallable"]
66+
},
67+
"UpdateAppProfile": {
68+
"methods": ["updateAppProfileAsync", "updateAppProfileAsync", "updateAppProfileOperationCallable", "updateAppProfileCallable"]
69+
},
70+
"UpdateCluster": {
71+
"methods": ["updateClusterAsync", "updateClusterOperationCallable", "updateClusterCallable"]
72+
},
73+
"UpdateInstance": {
74+
"methods": ["updateInstance", "updateInstanceCallable"]
75+
}
76+
}
77+
}
78+
}
79+
},
80+
"BigtableTableAdmin": {
81+
"clients": {
82+
"grpc": {
83+
"libraryClient": "BaseBigtableTableAdminClient",
84+
"rpcs": {
85+
"CheckConsistency": {
86+
"methods": ["checkConsistency", "checkConsistency", "checkConsistency", "checkConsistencyCallable"]
87+
},
88+
"CopyBackup": {
89+
"methods": ["copyBackupAsync", "copyBackupAsync", "copyBackupAsync", "copyBackupAsync", "copyBackupAsync", "copyBackupOperationCallable", "copyBackupCallable"]
90+
},
91+
"CreateAuthorizedView": {
92+
"methods": ["createAuthorizedViewAsync", "createAuthorizedViewAsync", "createAuthorizedViewAsync", "createAuthorizedViewOperationCallable", "createAuthorizedViewCallable"]
93+
},
94+
"CreateBackup": {
95+
"methods": ["createBackupAsync", "createBackupAsync", "createBackupAsync", "createBackupOperationCallable", "createBackupCallable"]
96+
},
97+
"CreateTable": {
98+
"methods": ["createTable", "createTable", "createTable", "createTableCallable"]
99+
},
100+
"CreateTableFromSnapshot": {
101+
"methods": ["createTableFromSnapshotAsync", "createTableFromSnapshotAsync", "createTableFromSnapshotAsync", "createTableFromSnapshotAsync", "createTableFromSnapshotAsync", "createTableFromSnapshotOperationCallable", "createTableFromSnapshotCallable"]
102+
},
103+
"DeleteAuthorizedView": {
104+
"methods": ["deleteAuthorizedView", "deleteAuthorizedView", "deleteAuthorizedView", "deleteAuthorizedViewCallable"]
105+
},
106+
"DeleteBackup": {
107+
"methods": ["deleteBackup", "deleteBackup", "deleteBackup", "deleteBackupCallable"]
108+
},
109+
"DeleteSnapshot": {
110+
"methods": ["deleteSnapshot", "deleteSnapshot", "deleteSnapshot", "deleteSnapshotCallable"]
111+
},
112+
"DeleteTable": {
113+
"methods": ["deleteTable", "deleteTable", "deleteTable", "deleteTableCallable"]
114+
},
115+
"DropRowRange": {
116+
"methods": ["dropRowRange", "dropRowRangeCallable"]
117+
},
118+
"GenerateConsistencyToken": {
119+
"methods": ["generateConsistencyToken", "generateConsistencyToken", "generateConsistencyToken", "generateConsistencyTokenCallable"]
120+
},
121+
"GetAuthorizedView": {
122+
"methods": ["getAuthorizedView", "getAuthorizedView", "getAuthorizedView", "getAuthorizedViewCallable"]
123+
},
124+
"GetBackup": {
125+
"methods": ["getBackup", "getBackup", "getBackup", "getBackupCallable"]
126+
},
127+
"GetIamPolicy": {
128+
"methods": ["getIamPolicy", "getIamPolicy", "getIamPolicy", "getIamPolicyCallable"]
129+
},
130+
"GetSnapshot": {
131+
"methods": ["getSnapshot", "getSnapshot", "getSnapshot", "getSnapshotCallable"]
132+
},
133+
"GetTable": {
134+
"methods": ["getTable", "getTable", "getTable", "getTableCallable"]
135+
},
136+
"ListAuthorizedViews": {
137+
"methods": ["listAuthorizedViews", "listAuthorizedViews", "listAuthorizedViews", "listAuthorizedViewsPagedCallable", "listAuthorizedViewsCallable"]
138+
},
139+
"ListBackups": {
140+
"methods": ["listBackups", "listBackups", "listBackups", "listBackupsPagedCallable", "listBackupsCallable"]
141+
},
142+
"ListSnapshots": {
143+
"methods": ["listSnapshots", "listSnapshots", "listSnapshots", "listSnapshotsPagedCallable", "listSnapshotsCallable"]
144+
},
145+
"ListTables": {
146+
"methods": ["listTables", "listTables", "listTables", "listTablesPagedCallable", "listTablesCallable"]
147+
},
148+
"ModifyColumnFamilies": {
149+
"methods": ["modifyColumnFamilies", "modifyColumnFamilies", "modifyColumnFamilies", "modifyColumnFamiliesCallable"]
150+
},
151+
"RestoreTable": {
152+
"methods": ["restoreTableAsync", "restoreTableOperationCallable", "restoreTableCallable"]
153+
},
154+
"SetIamPolicy": {
155+
"methods": ["setIamPolicy", "setIamPolicy", "setIamPolicy", "setIamPolicyCallable"]
156+
},
157+
"SnapshotTable": {
158+
"methods": ["snapshotTableAsync", "snapshotTableAsync", "snapshotTableAsync", "snapshotTableAsync", "snapshotTableAsync", "snapshotTableOperationCallable", "snapshotTableCallable"]
159+
},
160+
"TestIamPermissions": {
161+
"methods": ["testIamPermissions", "testIamPermissions", "testIamPermissions", "testIamPermissionsCallable"]
162+
},
163+
"UndeleteTable": {
164+
"methods": ["undeleteTableAsync", "undeleteTableAsync", "undeleteTableAsync", "undeleteTableOperationCallable", "undeleteTableCallable"]
165+
},
166+
"UpdateAuthorizedView": {
167+
"methods": ["updateAuthorizedViewAsync", "updateAuthorizedViewAsync", "updateAuthorizedViewOperationCallable", "updateAuthorizedViewCallable"]
168+
},
169+
"UpdateBackup": {
170+
"methods": ["updateBackup", "updateBackup", "updateBackupCallable"]
171+
},
172+
"UpdateTable": {
173+
"methods": ["updateTableAsync", "updateTableAsync", "updateTableOperationCallable", "updateTableCallable"]
174+
}
175+
}
176+
}
177+
}
178+
}
179+
}
180+
}
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
/*
2+
* Copyright 2024 Google LLC
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
/**
18+
* A client to Cloud Bigtable Admin API
19+
*
20+
* <p>The interfaces provided are listed below, along with usage samples.
21+
*
22+
* <p>======================= BaseBigtableInstanceAdminClient =======================
23+
*
24+
* <p>Service Description: Service for creating, configuring, and deleting Cloud Bigtable Instances
25+
* and Clusters. Provides access to the Instance and Cluster schemas only, not the tables' metadata
26+
* or data stored in those tables.
27+
*
28+
* <p>Sample for BaseBigtableInstanceAdminClient:
29+
*
30+
* <pre>{@code
31+
* // This snippet has been automatically generated and should be regarded as a code template only.
32+
* // It will require modifications to work:
33+
* // - It may require correct/in-range values for request initialization.
34+
* // - It may require specifying regional endpoints when creating the service client as shown in
35+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
36+
* try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
37+
* BaseBigtableInstanceAdminClient.create()) {
38+
* InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]");
39+
* Instance response = baseBigtableInstanceAdminClient.getInstance(name);
40+
* }
41+
* }</pre>
42+
*
43+
* <p>======================= BaseBigtableTableAdminClient =======================
44+
*
45+
* <p>Service Description: Service for creating, configuring, and deleting Cloud Bigtable tables.
46+
*
47+
* <p>Provides access to the table schemas only, not the data stored within the tables.
48+
*
49+
* <p>Sample for BaseBigtableTableAdminClient:
50+
*
51+
* <pre>{@code
52+
* // This snippet has been automatically generated and should be regarded as a code template only.
53+
* // It will require modifications to work:
54+
* // - It may require correct/in-range values for request initialization.
55+
* // - It may require specifying regional endpoints when creating the service client as shown in
56+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
57+
* try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
58+
* BaseBigtableTableAdminClient.create()) {
59+
* InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
60+
* String tableId = "tableId-1552905847";
61+
* Table table = Table.newBuilder().build();
62+
* Table response = baseBigtableTableAdminClient.createTable(parent, tableId, table);
63+
* }
64+
* }</pre>
65+
*/
66+
@Generated("by gapic-generator-java")
67+
package com.google.cloud.bigtable.admin.v2;
68+
69+
import javax.annotation.Generated;

0 commit comments

Comments
 (0)