Skip to content

Commit cbc71fb

Browse files
feat: publish RateLimitInfo and FeatureFlag protos
PiperOrigin-RevId: 527878708 Source-Link: googleapis/googleapis@f129f48 Source-Link: https://github.com/googleapis/googleapis-gen/commit/e02c87d9d0c9a77f2b17268a86f462b5a1d66bbd Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTAyYzg3ZDlkMGM5YTc3ZjJiMTcyNjhhODZmNDYyYjVhMWQ2NmJiZCJ9
1 parent d40758a commit cbc71fb

File tree

319 files changed

+60955
-58678
lines changed

Some content is hidden

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

319 files changed

+60955
-58678
lines changed

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

Lines changed: 0 additions & 2790 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: 3284 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: 527 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: 4128 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: 560 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 162 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,162 @@
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+
"CreateBackup": {
89+
"methods": ["createBackupAsync", "createBackupAsync", "createBackupAsync", "createBackupOperationCallable", "createBackupCallable"]
90+
},
91+
"CreateTable": {
92+
"methods": ["createTable", "createTable", "createTable", "createTableCallable"]
93+
},
94+
"CreateTableFromSnapshot": {
95+
"methods": ["createTableFromSnapshotAsync", "createTableFromSnapshotAsync", "createTableFromSnapshotAsync", "createTableFromSnapshotAsync", "createTableFromSnapshotAsync", "createTableFromSnapshotOperationCallable", "createTableFromSnapshotCallable"]
96+
},
97+
"DeleteBackup": {
98+
"methods": ["deleteBackup", "deleteBackup", "deleteBackup", "deleteBackupCallable"]
99+
},
100+
"DeleteSnapshot": {
101+
"methods": ["deleteSnapshot", "deleteSnapshot", "deleteSnapshot", "deleteSnapshotCallable"]
102+
},
103+
"DeleteTable": {
104+
"methods": ["deleteTable", "deleteTable", "deleteTable", "deleteTableCallable"]
105+
},
106+
"DropRowRange": {
107+
"methods": ["dropRowRange", "dropRowRangeCallable"]
108+
},
109+
"GenerateConsistencyToken": {
110+
"methods": ["generateConsistencyToken", "generateConsistencyToken", "generateConsistencyToken", "generateConsistencyTokenCallable"]
111+
},
112+
"GetBackup": {
113+
"methods": ["getBackup", "getBackup", "getBackup", "getBackupCallable"]
114+
},
115+
"GetIamPolicy": {
116+
"methods": ["getIamPolicy", "getIamPolicy", "getIamPolicy", "getIamPolicyCallable"]
117+
},
118+
"GetSnapshot": {
119+
"methods": ["getSnapshot", "getSnapshot", "getSnapshot", "getSnapshotCallable"]
120+
},
121+
"GetTable": {
122+
"methods": ["getTable", "getTable", "getTable", "getTableCallable"]
123+
},
124+
"ListBackups": {
125+
"methods": ["listBackups", "listBackups", "listBackups", "listBackupsPagedCallable", "listBackupsCallable"]
126+
},
127+
"ListSnapshots": {
128+
"methods": ["listSnapshots", "listSnapshots", "listSnapshots", "listSnapshotsPagedCallable", "listSnapshotsCallable"]
129+
},
130+
"ListTables": {
131+
"methods": ["listTables", "listTables", "listTables", "listTablesPagedCallable", "listTablesCallable"]
132+
},
133+
"ModifyColumnFamilies": {
134+
"methods": ["modifyColumnFamilies", "modifyColumnFamilies", "modifyColumnFamilies", "modifyColumnFamiliesCallable"]
135+
},
136+
"RestoreTable": {
137+
"methods": ["restoreTableAsync", "restoreTableOperationCallable", "restoreTableCallable"]
138+
},
139+
"SetIamPolicy": {
140+
"methods": ["setIamPolicy", "setIamPolicy", "setIamPolicy", "setIamPolicyCallable"]
141+
},
142+
"SnapshotTable": {
143+
"methods": ["snapshotTableAsync", "snapshotTableAsync", "snapshotTableAsync", "snapshotTableAsync", "snapshotTableAsync", "snapshotTableOperationCallable", "snapshotTableCallable"]
144+
},
145+
"TestIamPermissions": {
146+
"methods": ["testIamPermissions", "testIamPermissions", "testIamPermissions", "testIamPermissionsCallable"]
147+
},
148+
"UndeleteTable": {
149+
"methods": ["undeleteTableAsync", "undeleteTableAsync", "undeleteTableAsync", "undeleteTableOperationCallable", "undeleteTableCallable"]
150+
},
151+
"UpdateBackup": {
152+
"methods": ["updateBackup", "updateBackup", "updateBackupCallable"]
153+
},
154+
"UpdateTable": {
155+
"methods": ["updateTableAsync", "updateTableAsync", "updateTableOperationCallable", "updateTableCallable"]
156+
}
157+
}
158+
}
159+
}
160+
}
161+
}
162+
}
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
/*
2+
* Copyright 2022 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)