|
19 | 19 | import static com.google.cloud.bigquery.analyticshub.v1.AnalyticsHubServiceClient.ListDataExchangesPagedResponse;
|
20 | 20 | import static com.google.cloud.bigquery.analyticshub.v1.AnalyticsHubServiceClient.ListListingsPagedResponse;
|
21 | 21 | import static com.google.cloud.bigquery.analyticshub.v1.AnalyticsHubServiceClient.ListOrgDataExchangesPagedResponse;
|
| 22 | +import static com.google.cloud.bigquery.analyticshub.v1.AnalyticsHubServiceClient.ListSharedResourceSubscriptionsPagedResponse; |
| 23 | +import static com.google.cloud.bigquery.analyticshub.v1.AnalyticsHubServiceClient.ListSubscriptionsPagedResponse; |
22 | 24 |
|
23 | 25 | import com.google.api.core.ApiFunction;
|
24 | 26 | import com.google.api.core.BetaApi;
|
|
29 | 31 | import com.google.api.gax.rpc.ApiClientHeaderProvider;
|
30 | 32 | import com.google.api.gax.rpc.ClientContext;
|
31 | 33 | import com.google.api.gax.rpc.ClientSettings;
|
| 34 | +import com.google.api.gax.rpc.OperationCallSettings; |
32 | 35 | import com.google.api.gax.rpc.PagedCallSettings;
|
33 | 36 | import com.google.api.gax.rpc.TransportChannelProvider;
|
34 | 37 | import com.google.api.gax.rpc.UnaryCallSettings;
|
|
38 | 41 | import com.google.iam.v1.SetIamPolicyRequest;
|
39 | 42 | import com.google.iam.v1.TestIamPermissionsRequest;
|
40 | 43 | import com.google.iam.v1.TestIamPermissionsResponse;
|
| 44 | +import com.google.longrunning.Operation; |
41 | 45 | import com.google.protobuf.Empty;
|
42 | 46 | import java.io.IOException;
|
43 | 47 | import java.util.List;
|
@@ -152,6 +156,73 @@ public UnaryCallSettings<DeleteListingRequest, Empty> deleteListingSettings() {
|
152 | 156 | return ((AnalyticsHubServiceStubSettings) getStubSettings()).subscribeListingSettings();
|
153 | 157 | }
|
154 | 158 |
|
| 159 | + /** Returns the object with the settings used for calls to subscribeDataExchange. */ |
| 160 | + public UnaryCallSettings<SubscribeDataExchangeRequest, Operation> |
| 161 | + subscribeDataExchangeSettings() { |
| 162 | + return ((AnalyticsHubServiceStubSettings) getStubSettings()).subscribeDataExchangeSettings(); |
| 163 | + } |
| 164 | + |
| 165 | + /** Returns the object with the settings used for calls to subscribeDataExchange. */ |
| 166 | + public OperationCallSettings< |
| 167 | + SubscribeDataExchangeRequest, SubscribeDataExchangeResponse, OperationMetadata> |
| 168 | + subscribeDataExchangeOperationSettings() { |
| 169 | + return ((AnalyticsHubServiceStubSettings) getStubSettings()) |
| 170 | + .subscribeDataExchangeOperationSettings(); |
| 171 | + } |
| 172 | + |
| 173 | + /** Returns the object with the settings used for calls to refreshSubscription. */ |
| 174 | + public UnaryCallSettings<RefreshSubscriptionRequest, Operation> refreshSubscriptionSettings() { |
| 175 | + return ((AnalyticsHubServiceStubSettings) getStubSettings()).refreshSubscriptionSettings(); |
| 176 | + } |
| 177 | + |
| 178 | + /** Returns the object with the settings used for calls to refreshSubscription. */ |
| 179 | + public OperationCallSettings< |
| 180 | + RefreshSubscriptionRequest, RefreshSubscriptionResponse, OperationMetadata> |
| 181 | + refreshSubscriptionOperationSettings() { |
| 182 | + return ((AnalyticsHubServiceStubSettings) getStubSettings()) |
| 183 | + .refreshSubscriptionOperationSettings(); |
| 184 | + } |
| 185 | + |
| 186 | + /** Returns the object with the settings used for calls to getSubscription. */ |
| 187 | + public UnaryCallSettings<GetSubscriptionRequest, Subscription> getSubscriptionSettings() { |
| 188 | + return ((AnalyticsHubServiceStubSettings) getStubSettings()).getSubscriptionSettings(); |
| 189 | + } |
| 190 | + |
| 191 | + /** Returns the object with the settings used for calls to listSubscriptions. */ |
| 192 | + public PagedCallSettings< |
| 193 | + ListSubscriptionsRequest, ListSubscriptionsResponse, ListSubscriptionsPagedResponse> |
| 194 | + listSubscriptionsSettings() { |
| 195 | + return ((AnalyticsHubServiceStubSettings) getStubSettings()).listSubscriptionsSettings(); |
| 196 | + } |
| 197 | + |
| 198 | + /** Returns the object with the settings used for calls to listSharedResourceSubscriptions. */ |
| 199 | + public PagedCallSettings< |
| 200 | + ListSharedResourceSubscriptionsRequest, |
| 201 | + ListSharedResourceSubscriptionsResponse, |
| 202 | + ListSharedResourceSubscriptionsPagedResponse> |
| 203 | + listSharedResourceSubscriptionsSettings() { |
| 204 | + return ((AnalyticsHubServiceStubSettings) getStubSettings()) |
| 205 | + .listSharedResourceSubscriptionsSettings(); |
| 206 | + } |
| 207 | + |
| 208 | + /** Returns the object with the settings used for calls to revokeSubscription. */ |
| 209 | + public UnaryCallSettings<RevokeSubscriptionRequest, RevokeSubscriptionResponse> |
| 210 | + revokeSubscriptionSettings() { |
| 211 | + return ((AnalyticsHubServiceStubSettings) getStubSettings()).revokeSubscriptionSettings(); |
| 212 | + } |
| 213 | + |
| 214 | + /** Returns the object with the settings used for calls to deleteSubscription. */ |
| 215 | + public UnaryCallSettings<DeleteSubscriptionRequest, Operation> deleteSubscriptionSettings() { |
| 216 | + return ((AnalyticsHubServiceStubSettings) getStubSettings()).deleteSubscriptionSettings(); |
| 217 | + } |
| 218 | + |
| 219 | + /** Returns the object with the settings used for calls to deleteSubscription. */ |
| 220 | + public OperationCallSettings<DeleteSubscriptionRequest, Empty, OperationMetadata> |
| 221 | + deleteSubscriptionOperationSettings() { |
| 222 | + return ((AnalyticsHubServiceStubSettings) getStubSettings()) |
| 223 | + .deleteSubscriptionOperationSettings(); |
| 224 | + } |
| 225 | + |
155 | 226 | /** Returns the object with the settings used for calls to getIamPolicy. */
|
156 | 227 | public UnaryCallSettings<GetIamPolicyRequest, Policy> getIamPolicySettings() {
|
157 | 228 | return ((AnalyticsHubServiceStubSettings) getStubSettings()).getIamPolicySettings();
|
@@ -356,6 +427,72 @@ public UnaryCallSettings.Builder<DeleteListingRequest, Empty> deleteListingSetti
|
356 | 427 | return getStubSettingsBuilder().subscribeListingSettings();
|
357 | 428 | }
|
358 | 429 |
|
| 430 | + /** Returns the builder for the settings used for calls to subscribeDataExchange. */ |
| 431 | + public UnaryCallSettings.Builder<SubscribeDataExchangeRequest, Operation> |
| 432 | + subscribeDataExchangeSettings() { |
| 433 | + return getStubSettingsBuilder().subscribeDataExchangeSettings(); |
| 434 | + } |
| 435 | + |
| 436 | + /** Returns the builder for the settings used for calls to subscribeDataExchange. */ |
| 437 | + public OperationCallSettings.Builder< |
| 438 | + SubscribeDataExchangeRequest, SubscribeDataExchangeResponse, OperationMetadata> |
| 439 | + subscribeDataExchangeOperationSettings() { |
| 440 | + return getStubSettingsBuilder().subscribeDataExchangeOperationSettings(); |
| 441 | + } |
| 442 | + |
| 443 | + /** Returns the builder for the settings used for calls to refreshSubscription. */ |
| 444 | + public UnaryCallSettings.Builder<RefreshSubscriptionRequest, Operation> |
| 445 | + refreshSubscriptionSettings() { |
| 446 | + return getStubSettingsBuilder().refreshSubscriptionSettings(); |
| 447 | + } |
| 448 | + |
| 449 | + /** Returns the builder for the settings used for calls to refreshSubscription. */ |
| 450 | + public OperationCallSettings.Builder< |
| 451 | + RefreshSubscriptionRequest, RefreshSubscriptionResponse, OperationMetadata> |
| 452 | + refreshSubscriptionOperationSettings() { |
| 453 | + return getStubSettingsBuilder().refreshSubscriptionOperationSettings(); |
| 454 | + } |
| 455 | + |
| 456 | + /** Returns the builder for the settings used for calls to getSubscription. */ |
| 457 | + public UnaryCallSettings.Builder<GetSubscriptionRequest, Subscription> |
| 458 | + getSubscriptionSettings() { |
| 459 | + return getStubSettingsBuilder().getSubscriptionSettings(); |
| 460 | + } |
| 461 | + |
| 462 | + /** Returns the builder for the settings used for calls to listSubscriptions. */ |
| 463 | + public PagedCallSettings.Builder< |
| 464 | + ListSubscriptionsRequest, ListSubscriptionsResponse, ListSubscriptionsPagedResponse> |
| 465 | + listSubscriptionsSettings() { |
| 466 | + return getStubSettingsBuilder().listSubscriptionsSettings(); |
| 467 | + } |
| 468 | + |
| 469 | + /** Returns the builder for the settings used for calls to listSharedResourceSubscriptions. */ |
| 470 | + public PagedCallSettings.Builder< |
| 471 | + ListSharedResourceSubscriptionsRequest, |
| 472 | + ListSharedResourceSubscriptionsResponse, |
| 473 | + ListSharedResourceSubscriptionsPagedResponse> |
| 474 | + listSharedResourceSubscriptionsSettings() { |
| 475 | + return getStubSettingsBuilder().listSharedResourceSubscriptionsSettings(); |
| 476 | + } |
| 477 | + |
| 478 | + /** Returns the builder for the settings used for calls to revokeSubscription. */ |
| 479 | + public UnaryCallSettings.Builder<RevokeSubscriptionRequest, RevokeSubscriptionResponse> |
| 480 | + revokeSubscriptionSettings() { |
| 481 | + return getStubSettingsBuilder().revokeSubscriptionSettings(); |
| 482 | + } |
| 483 | + |
| 484 | + /** Returns the builder for the settings used for calls to deleteSubscription. */ |
| 485 | + public UnaryCallSettings.Builder<DeleteSubscriptionRequest, Operation> |
| 486 | + deleteSubscriptionSettings() { |
| 487 | + return getStubSettingsBuilder().deleteSubscriptionSettings(); |
| 488 | + } |
| 489 | + |
| 490 | + /** Returns the builder for the settings used for calls to deleteSubscription. */ |
| 491 | + public OperationCallSettings.Builder<DeleteSubscriptionRequest, Empty, OperationMetadata> |
| 492 | + deleteSubscriptionOperationSettings() { |
| 493 | + return getStubSettingsBuilder().deleteSubscriptionOperationSettings(); |
| 494 | + } |
| 495 | + |
359 | 496 | /** Returns the builder for the settings used for calls to getIamPolicy. */
|
360 | 497 | public UnaryCallSettings.Builder<GetIamPolicyRequest, Policy> getIamPolicySettings() {
|
361 | 498 | return getStubSettingsBuilder().getIamPolicySettings();
|
|
0 commit comments