|
18 | 18 |
|
19 | 19 | import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListAuthorizedViewsPagedResponse;
|
20 | 20 | import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListBackupsPagedResponse;
|
| 21 | +import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListSchemaBundlesPagedResponse; |
21 | 22 | import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListSnapshotsPagedResponse;
|
22 | 23 | import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListTablesPagedResponse;
|
23 | 24 |
|
|
43 | 44 | import com.google.bigtable.admin.v2.CreateAuthorizedViewRequest;
|
44 | 45 | import com.google.bigtable.admin.v2.CreateBackupMetadata;
|
45 | 46 | import com.google.bigtable.admin.v2.CreateBackupRequest;
|
| 47 | +import com.google.bigtable.admin.v2.CreateSchemaBundleMetadata; |
| 48 | +import com.google.bigtable.admin.v2.CreateSchemaBundleRequest; |
46 | 49 | import com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata;
|
47 | 50 | import com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest;
|
48 | 51 | import com.google.bigtable.admin.v2.CreateTableRequest;
|
49 | 52 | import com.google.bigtable.admin.v2.DeleteAuthorizedViewRequest;
|
50 | 53 | import com.google.bigtable.admin.v2.DeleteBackupRequest;
|
| 54 | +import com.google.bigtable.admin.v2.DeleteSchemaBundleRequest; |
51 | 55 | import com.google.bigtable.admin.v2.DeleteSnapshotRequest;
|
52 | 56 | import com.google.bigtable.admin.v2.DeleteTableRequest;
|
53 | 57 | import com.google.bigtable.admin.v2.DropRowRangeRequest;
|
54 | 58 | import com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest;
|
55 | 59 | import com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse;
|
56 | 60 | import com.google.bigtable.admin.v2.GetAuthorizedViewRequest;
|
57 | 61 | import com.google.bigtable.admin.v2.GetBackupRequest;
|
| 62 | +import com.google.bigtable.admin.v2.GetSchemaBundleRequest; |
58 | 63 | import com.google.bigtable.admin.v2.GetSnapshotRequest;
|
59 | 64 | import com.google.bigtable.admin.v2.GetTableRequest;
|
60 | 65 | import com.google.bigtable.admin.v2.ListAuthorizedViewsRequest;
|
61 | 66 | import com.google.bigtable.admin.v2.ListAuthorizedViewsResponse;
|
62 | 67 | import com.google.bigtable.admin.v2.ListBackupsRequest;
|
63 | 68 | import com.google.bigtable.admin.v2.ListBackupsResponse;
|
| 69 | +import com.google.bigtable.admin.v2.ListSchemaBundlesRequest; |
| 70 | +import com.google.bigtable.admin.v2.ListSchemaBundlesResponse; |
64 | 71 | import com.google.bigtable.admin.v2.ListSnapshotsRequest;
|
65 | 72 | import com.google.bigtable.admin.v2.ListSnapshotsResponse;
|
66 | 73 | import com.google.bigtable.admin.v2.ListTablesRequest;
|
67 | 74 | import com.google.bigtable.admin.v2.ListTablesResponse;
|
68 | 75 | import com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest;
|
69 | 76 | import com.google.bigtable.admin.v2.RestoreTableMetadata;
|
70 | 77 | import com.google.bigtable.admin.v2.RestoreTableRequest;
|
| 78 | +import com.google.bigtable.admin.v2.SchemaBundle; |
71 | 79 | import com.google.bigtable.admin.v2.Snapshot;
|
72 | 80 | import com.google.bigtable.admin.v2.SnapshotTableMetadata;
|
73 | 81 | import com.google.bigtable.admin.v2.SnapshotTableRequest;
|
|
77 | 85 | import com.google.bigtable.admin.v2.UpdateAuthorizedViewMetadata;
|
78 | 86 | import com.google.bigtable.admin.v2.UpdateAuthorizedViewRequest;
|
79 | 87 | import com.google.bigtable.admin.v2.UpdateBackupRequest;
|
| 88 | +import com.google.bigtable.admin.v2.UpdateSchemaBundleMetadata; |
| 89 | +import com.google.bigtable.admin.v2.UpdateSchemaBundleRequest; |
80 | 90 | import com.google.bigtable.admin.v2.UpdateTableMetadata;
|
81 | 91 | import com.google.bigtable.admin.v2.UpdateTableRequest;
|
82 | 92 | import com.google.cloud.bigtable.admin.v2.stub.BigtableTableAdminStubSettings;
|
@@ -316,6 +326,47 @@ public UnaryCallSettings<SetIamPolicyRequest, Policy> setIamPolicySettings() {
|
316 | 326 | return ((BigtableTableAdminStubSettings) getStubSettings()).testIamPermissionsSettings();
|
317 | 327 | }
|
318 | 328 |
|
| 329 | + /** Returns the object with the settings used for calls to createSchemaBundle. */ |
| 330 | + public UnaryCallSettings<CreateSchemaBundleRequest, Operation> createSchemaBundleSettings() { |
| 331 | + return ((BigtableTableAdminStubSettings) getStubSettings()).createSchemaBundleSettings(); |
| 332 | + } |
| 333 | + |
| 334 | + /** Returns the object with the settings used for calls to createSchemaBundle. */ |
| 335 | + public OperationCallSettings<CreateSchemaBundleRequest, SchemaBundle, CreateSchemaBundleMetadata> |
| 336 | + createSchemaBundleOperationSettings() { |
| 337 | + return ((BigtableTableAdminStubSettings) getStubSettings()) |
| 338 | + .createSchemaBundleOperationSettings(); |
| 339 | + } |
| 340 | + |
| 341 | + /** Returns the object with the settings used for calls to updateSchemaBundle. */ |
| 342 | + public UnaryCallSettings<UpdateSchemaBundleRequest, Operation> updateSchemaBundleSettings() { |
| 343 | + return ((BigtableTableAdminStubSettings) getStubSettings()).updateSchemaBundleSettings(); |
| 344 | + } |
| 345 | + |
| 346 | + /** Returns the object with the settings used for calls to updateSchemaBundle. */ |
| 347 | + public OperationCallSettings<UpdateSchemaBundleRequest, SchemaBundle, UpdateSchemaBundleMetadata> |
| 348 | + updateSchemaBundleOperationSettings() { |
| 349 | + return ((BigtableTableAdminStubSettings) getStubSettings()) |
| 350 | + .updateSchemaBundleOperationSettings(); |
| 351 | + } |
| 352 | + |
| 353 | + /** Returns the object with the settings used for calls to getSchemaBundle. */ |
| 354 | + public UnaryCallSettings<GetSchemaBundleRequest, SchemaBundle> getSchemaBundleSettings() { |
| 355 | + return ((BigtableTableAdminStubSettings) getStubSettings()).getSchemaBundleSettings(); |
| 356 | + } |
| 357 | + |
| 358 | + /** Returns the object with the settings used for calls to listSchemaBundles. */ |
| 359 | + public PagedCallSettings< |
| 360 | + ListSchemaBundlesRequest, ListSchemaBundlesResponse, ListSchemaBundlesPagedResponse> |
| 361 | + listSchemaBundlesSettings() { |
| 362 | + return ((BigtableTableAdminStubSettings) getStubSettings()).listSchemaBundlesSettings(); |
| 363 | + } |
| 364 | + |
| 365 | + /** Returns the object with the settings used for calls to deleteSchemaBundle. */ |
| 366 | + public UnaryCallSettings<DeleteSchemaBundleRequest, Empty> deleteSchemaBundleSettings() { |
| 367 | + return ((BigtableTableAdminStubSettings) getStubSettings()).deleteSchemaBundleSettings(); |
| 368 | + } |
| 369 | + |
319 | 370 | public static final BaseBigtableTableAdminSettings create(BigtableTableAdminStubSettings stub)
|
320 | 371 | throws IOException {
|
321 | 372 | return new BaseBigtableTableAdminSettings.Builder(stub.toBuilder()).build();
|
@@ -639,6 +690,51 @@ public UnaryCallSettings.Builder<SetIamPolicyRequest, Policy> setIamPolicySettin
|
639 | 690 | return getStubSettingsBuilder().testIamPermissionsSettings();
|
640 | 691 | }
|
641 | 692 |
|
| 693 | + /** Returns the builder for the settings used for calls to createSchemaBundle. */ |
| 694 | + public UnaryCallSettings.Builder<CreateSchemaBundleRequest, Operation> |
| 695 | + createSchemaBundleSettings() { |
| 696 | + return getStubSettingsBuilder().createSchemaBundleSettings(); |
| 697 | + } |
| 698 | + |
| 699 | + /** Returns the builder for the settings used for calls to createSchemaBundle. */ |
| 700 | + public OperationCallSettings.Builder< |
| 701 | + CreateSchemaBundleRequest, SchemaBundle, CreateSchemaBundleMetadata> |
| 702 | + createSchemaBundleOperationSettings() { |
| 703 | + return getStubSettingsBuilder().createSchemaBundleOperationSettings(); |
| 704 | + } |
| 705 | + |
| 706 | + /** Returns the builder for the settings used for calls to updateSchemaBundle. */ |
| 707 | + public UnaryCallSettings.Builder<UpdateSchemaBundleRequest, Operation> |
| 708 | + updateSchemaBundleSettings() { |
| 709 | + return getStubSettingsBuilder().updateSchemaBundleSettings(); |
| 710 | + } |
| 711 | + |
| 712 | + /** Returns the builder for the settings used for calls to updateSchemaBundle. */ |
| 713 | + public OperationCallSettings.Builder< |
| 714 | + UpdateSchemaBundleRequest, SchemaBundle, UpdateSchemaBundleMetadata> |
| 715 | + updateSchemaBundleOperationSettings() { |
| 716 | + return getStubSettingsBuilder().updateSchemaBundleOperationSettings(); |
| 717 | + } |
| 718 | + |
| 719 | + /** Returns the builder for the settings used for calls to getSchemaBundle. */ |
| 720 | + public UnaryCallSettings.Builder<GetSchemaBundleRequest, SchemaBundle> |
| 721 | + getSchemaBundleSettings() { |
| 722 | + return getStubSettingsBuilder().getSchemaBundleSettings(); |
| 723 | + } |
| 724 | + |
| 725 | + /** Returns the builder for the settings used for calls to listSchemaBundles. */ |
| 726 | + public PagedCallSettings.Builder< |
| 727 | + ListSchemaBundlesRequest, ListSchemaBundlesResponse, ListSchemaBundlesPagedResponse> |
| 728 | + listSchemaBundlesSettings() { |
| 729 | + return getStubSettingsBuilder().listSchemaBundlesSettings(); |
| 730 | + } |
| 731 | + |
| 732 | + /** Returns the builder for the settings used for calls to deleteSchemaBundle. */ |
| 733 | + public UnaryCallSettings.Builder<DeleteSchemaBundleRequest, Empty> |
| 734 | + deleteSchemaBundleSettings() { |
| 735 | + return getStubSettingsBuilder().deleteSchemaBundleSettings(); |
| 736 | + } |
| 737 | + |
642 | 738 | @Override
|
643 | 739 | public BaseBigtableTableAdminSettings build() throws IOException {
|
644 | 740 | return new BaseBigtableTableAdminSettings(this);
|
|
0 commit comments