• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 package com.google.cloud.channel.v1;
18 
19 import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListChannelPartnerLinksPagedResponse;
20 import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListChannelPartnerRepricingConfigsPagedResponse;
21 import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListCustomerRepricingConfigsPagedResponse;
22 import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListCustomersPagedResponse;
23 import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListEntitlementChangesPagedResponse;
24 import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListEntitlementsPagedResponse;
25 import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListOffersPagedResponse;
26 import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListProductsPagedResponse;
27 import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListPurchasableOffersPagedResponse;
28 import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListPurchasableSkusPagedResponse;
29 import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListSkusPagedResponse;
30 import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListSubscribersPagedResponse;
31 import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListTransferableOffersPagedResponse;
32 import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListTransferableSkusPagedResponse;
33 
34 import com.google.api.core.ApiFunction;
35 import com.google.api.core.BetaApi;
36 import com.google.api.gax.core.GoogleCredentialsProvider;
37 import com.google.api.gax.core.InstantiatingExecutorProvider;
38 import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider;
39 import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider;
40 import com.google.api.gax.rpc.ApiClientHeaderProvider;
41 import com.google.api.gax.rpc.ClientContext;
42 import com.google.api.gax.rpc.ClientSettings;
43 import com.google.api.gax.rpc.OperationCallSettings;
44 import com.google.api.gax.rpc.PagedCallSettings;
45 import com.google.api.gax.rpc.TransportChannelProvider;
46 import com.google.api.gax.rpc.UnaryCallSettings;
47 import com.google.cloud.channel.v1.stub.CloudChannelServiceStubSettings;
48 import com.google.longrunning.Operation;
49 import com.google.protobuf.Empty;
50 import java.io.IOException;
51 import java.util.List;
52 import javax.annotation.Generated;
53 
54 // AUTO-GENERATED DOCUMENTATION AND CLASS.
55 /**
56  * Settings class to configure an instance of {@link CloudChannelServiceClient}.
57  *
58  * <p>The default instance has everything set to sensible defaults:
59  *
60  * <ul>
61  *   <li>The default service address (cloudchannel.googleapis.com) and default port (443) are used.
62  *   <li>Credentials are acquired automatically through Application Default Credentials.
63  *   <li>Retries are configured for idempotent methods but not for non-idempotent methods.
64  * </ul>
65  *
66  * <p>The builder of this class is recursive, so contained classes are themselves builders. When
67  * build() is called, the tree of builders is called to create the complete settings object.
68  *
69  * <p>For example, to set the total timeout of getCustomer to 30 seconds:
70  *
71  * <pre>{@code
72  * // This snippet has been automatically generated and should be regarded as a code template only.
73  * // It will require modifications to work:
74  * // - It may require correct/in-range values for request initialization.
75  * // - It may require specifying regional endpoints when creating the service client as shown in
76  * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
77  * CloudChannelServiceSettings.Builder cloudChannelServiceSettingsBuilder =
78  *     CloudChannelServiceSettings.newBuilder();
79  * cloudChannelServiceSettingsBuilder
80  *     .getCustomerSettings()
81  *     .setRetrySettings(
82  *         cloudChannelServiceSettingsBuilder
83  *             .getCustomerSettings()
84  *             .getRetrySettings()
85  *             .toBuilder()
86  *             .setTotalTimeout(Duration.ofSeconds(30))
87  *             .build());
88  * CloudChannelServiceSettings cloudChannelServiceSettings =
89  *     cloudChannelServiceSettingsBuilder.build();
90  * }</pre>
91  */
92 @Generated("by gapic-generator-java")
93 public class CloudChannelServiceSettings extends ClientSettings<CloudChannelServiceSettings> {
94 
95   /** Returns the object with the settings used for calls to listCustomers. */
96   public PagedCallSettings<ListCustomersRequest, ListCustomersResponse, ListCustomersPagedResponse>
listCustomersSettings()97       listCustomersSettings() {
98     return ((CloudChannelServiceStubSettings) getStubSettings()).listCustomersSettings();
99   }
100 
101   /** Returns the object with the settings used for calls to getCustomer. */
getCustomerSettings()102   public UnaryCallSettings<GetCustomerRequest, Customer> getCustomerSettings() {
103     return ((CloudChannelServiceStubSettings) getStubSettings()).getCustomerSettings();
104   }
105 
106   /** Returns the object with the settings used for calls to checkCloudIdentityAccountsExist. */
107   public UnaryCallSettings<
108           CheckCloudIdentityAccountsExistRequest, CheckCloudIdentityAccountsExistResponse>
checkCloudIdentityAccountsExistSettings()109       checkCloudIdentityAccountsExistSettings() {
110     return ((CloudChannelServiceStubSettings) getStubSettings())
111         .checkCloudIdentityAccountsExistSettings();
112   }
113 
114   /** Returns the object with the settings used for calls to createCustomer. */
createCustomerSettings()115   public UnaryCallSettings<CreateCustomerRequest, Customer> createCustomerSettings() {
116     return ((CloudChannelServiceStubSettings) getStubSettings()).createCustomerSettings();
117   }
118 
119   /** Returns the object with the settings used for calls to updateCustomer. */
updateCustomerSettings()120   public UnaryCallSettings<UpdateCustomerRequest, Customer> updateCustomerSettings() {
121     return ((CloudChannelServiceStubSettings) getStubSettings()).updateCustomerSettings();
122   }
123 
124   /** Returns the object with the settings used for calls to deleteCustomer. */
deleteCustomerSettings()125   public UnaryCallSettings<DeleteCustomerRequest, Empty> deleteCustomerSettings() {
126     return ((CloudChannelServiceStubSettings) getStubSettings()).deleteCustomerSettings();
127   }
128 
129   /** Returns the object with the settings used for calls to importCustomer. */
importCustomerSettings()130   public UnaryCallSettings<ImportCustomerRequest, Customer> importCustomerSettings() {
131     return ((CloudChannelServiceStubSettings) getStubSettings()).importCustomerSettings();
132   }
133 
134   /** Returns the object with the settings used for calls to provisionCloudIdentity. */
135   public UnaryCallSettings<ProvisionCloudIdentityRequest, Operation>
provisionCloudIdentitySettings()136       provisionCloudIdentitySettings() {
137     return ((CloudChannelServiceStubSettings) getStubSettings()).provisionCloudIdentitySettings();
138   }
139 
140   /** Returns the object with the settings used for calls to provisionCloudIdentity. */
141   public OperationCallSettings<ProvisionCloudIdentityRequest, Customer, OperationMetadata>
provisionCloudIdentityOperationSettings()142       provisionCloudIdentityOperationSettings() {
143     return ((CloudChannelServiceStubSettings) getStubSettings())
144         .provisionCloudIdentityOperationSettings();
145   }
146 
147   /** Returns the object with the settings used for calls to listEntitlements. */
148   public PagedCallSettings<
149           ListEntitlementsRequest, ListEntitlementsResponse, ListEntitlementsPagedResponse>
listEntitlementsSettings()150       listEntitlementsSettings() {
151     return ((CloudChannelServiceStubSettings) getStubSettings()).listEntitlementsSettings();
152   }
153 
154   /** Returns the object with the settings used for calls to listTransferableSkus. */
155   public PagedCallSettings<
156           ListTransferableSkusRequest,
157           ListTransferableSkusResponse,
158           ListTransferableSkusPagedResponse>
listTransferableSkusSettings()159       listTransferableSkusSettings() {
160     return ((CloudChannelServiceStubSettings) getStubSettings()).listTransferableSkusSettings();
161   }
162 
163   /** Returns the object with the settings used for calls to listTransferableOffers. */
164   public PagedCallSettings<
165           ListTransferableOffersRequest,
166           ListTransferableOffersResponse,
167           ListTransferableOffersPagedResponse>
listTransferableOffersSettings()168       listTransferableOffersSettings() {
169     return ((CloudChannelServiceStubSettings) getStubSettings()).listTransferableOffersSettings();
170   }
171 
172   /** Returns the object with the settings used for calls to getEntitlement. */
getEntitlementSettings()173   public UnaryCallSettings<GetEntitlementRequest, Entitlement> getEntitlementSettings() {
174     return ((CloudChannelServiceStubSettings) getStubSettings()).getEntitlementSettings();
175   }
176 
177   /** Returns the object with the settings used for calls to createEntitlement. */
createEntitlementSettings()178   public UnaryCallSettings<CreateEntitlementRequest, Operation> createEntitlementSettings() {
179     return ((CloudChannelServiceStubSettings) getStubSettings()).createEntitlementSettings();
180   }
181 
182   /** Returns the object with the settings used for calls to createEntitlement. */
183   public OperationCallSettings<CreateEntitlementRequest, Entitlement, OperationMetadata>
createEntitlementOperationSettings()184       createEntitlementOperationSettings() {
185     return ((CloudChannelServiceStubSettings) getStubSettings())
186         .createEntitlementOperationSettings();
187   }
188 
189   /** Returns the object with the settings used for calls to changeParameters. */
changeParametersSettings()190   public UnaryCallSettings<ChangeParametersRequest, Operation> changeParametersSettings() {
191     return ((CloudChannelServiceStubSettings) getStubSettings()).changeParametersSettings();
192   }
193 
194   /** Returns the object with the settings used for calls to changeParameters. */
195   public OperationCallSettings<ChangeParametersRequest, Entitlement, OperationMetadata>
changeParametersOperationSettings()196       changeParametersOperationSettings() {
197     return ((CloudChannelServiceStubSettings) getStubSettings())
198         .changeParametersOperationSettings();
199   }
200 
201   /** Returns the object with the settings used for calls to changeRenewalSettings. */
202   public UnaryCallSettings<ChangeRenewalSettingsRequest, Operation>
changeRenewalSettingsSettings()203       changeRenewalSettingsSettings() {
204     return ((CloudChannelServiceStubSettings) getStubSettings()).changeRenewalSettingsSettings();
205   }
206 
207   /** Returns the object with the settings used for calls to changeRenewalSettings. */
208   public OperationCallSettings<ChangeRenewalSettingsRequest, Entitlement, OperationMetadata>
changeRenewalSettingsOperationSettings()209       changeRenewalSettingsOperationSettings() {
210     return ((CloudChannelServiceStubSettings) getStubSettings())
211         .changeRenewalSettingsOperationSettings();
212   }
213 
214   /** Returns the object with the settings used for calls to changeOffer. */
changeOfferSettings()215   public UnaryCallSettings<ChangeOfferRequest, Operation> changeOfferSettings() {
216     return ((CloudChannelServiceStubSettings) getStubSettings()).changeOfferSettings();
217   }
218 
219   /** Returns the object with the settings used for calls to changeOffer. */
220   public OperationCallSettings<ChangeOfferRequest, Entitlement, OperationMetadata>
changeOfferOperationSettings()221       changeOfferOperationSettings() {
222     return ((CloudChannelServiceStubSettings) getStubSettings()).changeOfferOperationSettings();
223   }
224 
225   /** Returns the object with the settings used for calls to startPaidService. */
startPaidServiceSettings()226   public UnaryCallSettings<StartPaidServiceRequest, Operation> startPaidServiceSettings() {
227     return ((CloudChannelServiceStubSettings) getStubSettings()).startPaidServiceSettings();
228   }
229 
230   /** Returns the object with the settings used for calls to startPaidService. */
231   public OperationCallSettings<StartPaidServiceRequest, Entitlement, OperationMetadata>
startPaidServiceOperationSettings()232       startPaidServiceOperationSettings() {
233     return ((CloudChannelServiceStubSettings) getStubSettings())
234         .startPaidServiceOperationSettings();
235   }
236 
237   /** Returns the object with the settings used for calls to suspendEntitlement. */
suspendEntitlementSettings()238   public UnaryCallSettings<SuspendEntitlementRequest, Operation> suspendEntitlementSettings() {
239     return ((CloudChannelServiceStubSettings) getStubSettings()).suspendEntitlementSettings();
240   }
241 
242   /** Returns the object with the settings used for calls to suspendEntitlement. */
243   public OperationCallSettings<SuspendEntitlementRequest, Entitlement, OperationMetadata>
suspendEntitlementOperationSettings()244       suspendEntitlementOperationSettings() {
245     return ((CloudChannelServiceStubSettings) getStubSettings())
246         .suspendEntitlementOperationSettings();
247   }
248 
249   /** Returns the object with the settings used for calls to cancelEntitlement. */
cancelEntitlementSettings()250   public UnaryCallSettings<CancelEntitlementRequest, Operation> cancelEntitlementSettings() {
251     return ((CloudChannelServiceStubSettings) getStubSettings()).cancelEntitlementSettings();
252   }
253 
254   /** Returns the object with the settings used for calls to cancelEntitlement. */
255   public OperationCallSettings<CancelEntitlementRequest, Empty, OperationMetadata>
cancelEntitlementOperationSettings()256       cancelEntitlementOperationSettings() {
257     return ((CloudChannelServiceStubSettings) getStubSettings())
258         .cancelEntitlementOperationSettings();
259   }
260 
261   /** Returns the object with the settings used for calls to activateEntitlement. */
activateEntitlementSettings()262   public UnaryCallSettings<ActivateEntitlementRequest, Operation> activateEntitlementSettings() {
263     return ((CloudChannelServiceStubSettings) getStubSettings()).activateEntitlementSettings();
264   }
265 
266   /** Returns the object with the settings used for calls to activateEntitlement. */
267   public OperationCallSettings<ActivateEntitlementRequest, Entitlement, OperationMetadata>
activateEntitlementOperationSettings()268       activateEntitlementOperationSettings() {
269     return ((CloudChannelServiceStubSettings) getStubSettings())
270         .activateEntitlementOperationSettings();
271   }
272 
273   /** Returns the object with the settings used for calls to transferEntitlements. */
transferEntitlementsSettings()274   public UnaryCallSettings<TransferEntitlementsRequest, Operation> transferEntitlementsSettings() {
275     return ((CloudChannelServiceStubSettings) getStubSettings()).transferEntitlementsSettings();
276   }
277 
278   /** Returns the object with the settings used for calls to transferEntitlements. */
279   public OperationCallSettings<
280           TransferEntitlementsRequest, TransferEntitlementsResponse, OperationMetadata>
transferEntitlementsOperationSettings()281       transferEntitlementsOperationSettings() {
282     return ((CloudChannelServiceStubSettings) getStubSettings())
283         .transferEntitlementsOperationSettings();
284   }
285 
286   /** Returns the object with the settings used for calls to transferEntitlementsToGoogle. */
287   public UnaryCallSettings<TransferEntitlementsToGoogleRequest, Operation>
transferEntitlementsToGoogleSettings()288       transferEntitlementsToGoogleSettings() {
289     return ((CloudChannelServiceStubSettings) getStubSettings())
290         .transferEntitlementsToGoogleSettings();
291   }
292 
293   /** Returns the object with the settings used for calls to transferEntitlementsToGoogle. */
294   public OperationCallSettings<TransferEntitlementsToGoogleRequest, Empty, OperationMetadata>
transferEntitlementsToGoogleOperationSettings()295       transferEntitlementsToGoogleOperationSettings() {
296     return ((CloudChannelServiceStubSettings) getStubSettings())
297         .transferEntitlementsToGoogleOperationSettings();
298   }
299 
300   /** Returns the object with the settings used for calls to listChannelPartnerLinks. */
301   public PagedCallSettings<
302           ListChannelPartnerLinksRequest,
303           ListChannelPartnerLinksResponse,
304           ListChannelPartnerLinksPagedResponse>
listChannelPartnerLinksSettings()305       listChannelPartnerLinksSettings() {
306     return ((CloudChannelServiceStubSettings) getStubSettings()).listChannelPartnerLinksSettings();
307   }
308 
309   /** Returns the object with the settings used for calls to getChannelPartnerLink. */
310   public UnaryCallSettings<GetChannelPartnerLinkRequest, ChannelPartnerLink>
getChannelPartnerLinkSettings()311       getChannelPartnerLinkSettings() {
312     return ((CloudChannelServiceStubSettings) getStubSettings()).getChannelPartnerLinkSettings();
313   }
314 
315   /** Returns the object with the settings used for calls to createChannelPartnerLink. */
316   public UnaryCallSettings<CreateChannelPartnerLinkRequest, ChannelPartnerLink>
createChannelPartnerLinkSettings()317       createChannelPartnerLinkSettings() {
318     return ((CloudChannelServiceStubSettings) getStubSettings()).createChannelPartnerLinkSettings();
319   }
320 
321   /** Returns the object with the settings used for calls to updateChannelPartnerLink. */
322   public UnaryCallSettings<UpdateChannelPartnerLinkRequest, ChannelPartnerLink>
updateChannelPartnerLinkSettings()323       updateChannelPartnerLinkSettings() {
324     return ((CloudChannelServiceStubSettings) getStubSettings()).updateChannelPartnerLinkSettings();
325   }
326 
327   /** Returns the object with the settings used for calls to getCustomerRepricingConfig. */
328   public UnaryCallSettings<GetCustomerRepricingConfigRequest, CustomerRepricingConfig>
getCustomerRepricingConfigSettings()329       getCustomerRepricingConfigSettings() {
330     return ((CloudChannelServiceStubSettings) getStubSettings())
331         .getCustomerRepricingConfigSettings();
332   }
333 
334   /** Returns the object with the settings used for calls to listCustomerRepricingConfigs. */
335   public PagedCallSettings<
336           ListCustomerRepricingConfigsRequest,
337           ListCustomerRepricingConfigsResponse,
338           ListCustomerRepricingConfigsPagedResponse>
listCustomerRepricingConfigsSettings()339       listCustomerRepricingConfigsSettings() {
340     return ((CloudChannelServiceStubSettings) getStubSettings())
341         .listCustomerRepricingConfigsSettings();
342   }
343 
344   /** Returns the object with the settings used for calls to createCustomerRepricingConfig. */
345   public UnaryCallSettings<CreateCustomerRepricingConfigRequest, CustomerRepricingConfig>
createCustomerRepricingConfigSettings()346       createCustomerRepricingConfigSettings() {
347     return ((CloudChannelServiceStubSettings) getStubSettings())
348         .createCustomerRepricingConfigSettings();
349   }
350 
351   /** Returns the object with the settings used for calls to updateCustomerRepricingConfig. */
352   public UnaryCallSettings<UpdateCustomerRepricingConfigRequest, CustomerRepricingConfig>
updateCustomerRepricingConfigSettings()353       updateCustomerRepricingConfigSettings() {
354     return ((CloudChannelServiceStubSettings) getStubSettings())
355         .updateCustomerRepricingConfigSettings();
356   }
357 
358   /** Returns the object with the settings used for calls to deleteCustomerRepricingConfig. */
359   public UnaryCallSettings<DeleteCustomerRepricingConfigRequest, Empty>
deleteCustomerRepricingConfigSettings()360       deleteCustomerRepricingConfigSettings() {
361     return ((CloudChannelServiceStubSettings) getStubSettings())
362         .deleteCustomerRepricingConfigSettings();
363   }
364 
365   /** Returns the object with the settings used for calls to getChannelPartnerRepricingConfig. */
366   public UnaryCallSettings<GetChannelPartnerRepricingConfigRequest, ChannelPartnerRepricingConfig>
getChannelPartnerRepricingConfigSettings()367       getChannelPartnerRepricingConfigSettings() {
368     return ((CloudChannelServiceStubSettings) getStubSettings())
369         .getChannelPartnerRepricingConfigSettings();
370   }
371 
372   /** Returns the object with the settings used for calls to listChannelPartnerRepricingConfigs. */
373   public PagedCallSettings<
374           ListChannelPartnerRepricingConfigsRequest,
375           ListChannelPartnerRepricingConfigsResponse,
376           ListChannelPartnerRepricingConfigsPagedResponse>
listChannelPartnerRepricingConfigsSettings()377       listChannelPartnerRepricingConfigsSettings() {
378     return ((CloudChannelServiceStubSettings) getStubSettings())
379         .listChannelPartnerRepricingConfigsSettings();
380   }
381 
382   /** Returns the object with the settings used for calls to createChannelPartnerRepricingConfig. */
383   public UnaryCallSettings<
384           CreateChannelPartnerRepricingConfigRequest, ChannelPartnerRepricingConfig>
createChannelPartnerRepricingConfigSettings()385       createChannelPartnerRepricingConfigSettings() {
386     return ((CloudChannelServiceStubSettings) getStubSettings())
387         .createChannelPartnerRepricingConfigSettings();
388   }
389 
390   /** Returns the object with the settings used for calls to updateChannelPartnerRepricingConfig. */
391   public UnaryCallSettings<
392           UpdateChannelPartnerRepricingConfigRequest, ChannelPartnerRepricingConfig>
updateChannelPartnerRepricingConfigSettings()393       updateChannelPartnerRepricingConfigSettings() {
394     return ((CloudChannelServiceStubSettings) getStubSettings())
395         .updateChannelPartnerRepricingConfigSettings();
396   }
397 
398   /** Returns the object with the settings used for calls to deleteChannelPartnerRepricingConfig. */
399   public UnaryCallSettings<DeleteChannelPartnerRepricingConfigRequest, Empty>
deleteChannelPartnerRepricingConfigSettings()400       deleteChannelPartnerRepricingConfigSettings() {
401     return ((CloudChannelServiceStubSettings) getStubSettings())
402         .deleteChannelPartnerRepricingConfigSettings();
403   }
404 
405   /** Returns the object with the settings used for calls to lookupOffer. */
lookupOfferSettings()406   public UnaryCallSettings<LookupOfferRequest, Offer> lookupOfferSettings() {
407     return ((CloudChannelServiceStubSettings) getStubSettings()).lookupOfferSettings();
408   }
409 
410   /** Returns the object with the settings used for calls to listProducts. */
411   public PagedCallSettings<ListProductsRequest, ListProductsResponse, ListProductsPagedResponse>
listProductsSettings()412       listProductsSettings() {
413     return ((CloudChannelServiceStubSettings) getStubSettings()).listProductsSettings();
414   }
415 
416   /** Returns the object with the settings used for calls to listSkus. */
417   public PagedCallSettings<ListSkusRequest, ListSkusResponse, ListSkusPagedResponse>
listSkusSettings()418       listSkusSettings() {
419     return ((CloudChannelServiceStubSettings) getStubSettings()).listSkusSettings();
420   }
421 
422   /** Returns the object with the settings used for calls to listOffers. */
423   public PagedCallSettings<ListOffersRequest, ListOffersResponse, ListOffersPagedResponse>
listOffersSettings()424       listOffersSettings() {
425     return ((CloudChannelServiceStubSettings) getStubSettings()).listOffersSettings();
426   }
427 
428   /** Returns the object with the settings used for calls to listPurchasableSkus. */
429   public PagedCallSettings<
430           ListPurchasableSkusRequest, ListPurchasableSkusResponse, ListPurchasableSkusPagedResponse>
listPurchasableSkusSettings()431       listPurchasableSkusSettings() {
432     return ((CloudChannelServiceStubSettings) getStubSettings()).listPurchasableSkusSettings();
433   }
434 
435   /** Returns the object with the settings used for calls to listPurchasableOffers. */
436   public PagedCallSettings<
437           ListPurchasableOffersRequest,
438           ListPurchasableOffersResponse,
439           ListPurchasableOffersPagedResponse>
listPurchasableOffersSettings()440       listPurchasableOffersSettings() {
441     return ((CloudChannelServiceStubSettings) getStubSettings()).listPurchasableOffersSettings();
442   }
443 
444   /** Returns the object with the settings used for calls to registerSubscriber. */
445   public UnaryCallSettings<RegisterSubscriberRequest, RegisterSubscriberResponse>
registerSubscriberSettings()446       registerSubscriberSettings() {
447     return ((CloudChannelServiceStubSettings) getStubSettings()).registerSubscriberSettings();
448   }
449 
450   /** Returns the object with the settings used for calls to unregisterSubscriber. */
451   public UnaryCallSettings<UnregisterSubscriberRequest, UnregisterSubscriberResponse>
unregisterSubscriberSettings()452       unregisterSubscriberSettings() {
453     return ((CloudChannelServiceStubSettings) getStubSettings()).unregisterSubscriberSettings();
454   }
455 
456   /** Returns the object with the settings used for calls to listSubscribers. */
457   public PagedCallSettings<
458           ListSubscribersRequest, ListSubscribersResponse, ListSubscribersPagedResponse>
listSubscribersSettings()459       listSubscribersSettings() {
460     return ((CloudChannelServiceStubSettings) getStubSettings()).listSubscribersSettings();
461   }
462 
463   /** Returns the object with the settings used for calls to listEntitlementChanges. */
464   public PagedCallSettings<
465           ListEntitlementChangesRequest,
466           ListEntitlementChangesResponse,
467           ListEntitlementChangesPagedResponse>
listEntitlementChangesSettings()468       listEntitlementChangesSettings() {
469     return ((CloudChannelServiceStubSettings) getStubSettings()).listEntitlementChangesSettings();
470   }
471 
create(CloudChannelServiceStubSettings stub)472   public static final CloudChannelServiceSettings create(CloudChannelServiceStubSettings stub)
473       throws IOException {
474     return new CloudChannelServiceSettings.Builder(stub.toBuilder()).build();
475   }
476 
477   /** Returns a builder for the default ExecutorProvider for this service. */
defaultExecutorProviderBuilder()478   public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() {
479     return CloudChannelServiceStubSettings.defaultExecutorProviderBuilder();
480   }
481 
482   /** Returns the default service endpoint. */
getDefaultEndpoint()483   public static String getDefaultEndpoint() {
484     return CloudChannelServiceStubSettings.getDefaultEndpoint();
485   }
486 
487   /** Returns the default service scopes. */
getDefaultServiceScopes()488   public static List<String> getDefaultServiceScopes() {
489     return CloudChannelServiceStubSettings.getDefaultServiceScopes();
490   }
491 
492   /** Returns a builder for the default credentials for this service. */
defaultCredentialsProviderBuilder()493   public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() {
494     return CloudChannelServiceStubSettings.defaultCredentialsProviderBuilder();
495   }
496 
497   /** Returns a builder for the default gRPC ChannelProvider for this service. */
defaultGrpcTransportProviderBuilder()498   public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() {
499     return CloudChannelServiceStubSettings.defaultGrpcTransportProviderBuilder();
500   }
501 
502   /** Returns a builder for the default REST ChannelProvider for this service. */
503   @BetaApi
504   public static InstantiatingHttpJsonChannelProvider.Builder
defaultHttpJsonTransportProviderBuilder()505       defaultHttpJsonTransportProviderBuilder() {
506     return CloudChannelServiceStubSettings.defaultHttpJsonTransportProviderBuilder();
507   }
508 
defaultTransportChannelProvider()509   public static TransportChannelProvider defaultTransportChannelProvider() {
510     return CloudChannelServiceStubSettings.defaultTransportChannelProvider();
511   }
512 
513   @BetaApi("The surface for customizing headers is not stable yet and may change in the future.")
defaultApiClientHeaderProviderBuilder()514   public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() {
515     return CloudChannelServiceStubSettings.defaultApiClientHeaderProviderBuilder();
516   }
517 
518   /** Returns a new gRPC builder for this class. */
newBuilder()519   public static Builder newBuilder() {
520     return Builder.createDefault();
521   }
522 
523   /** Returns a new REST builder for this class. */
524   @BetaApi
newHttpJsonBuilder()525   public static Builder newHttpJsonBuilder() {
526     return Builder.createHttpJsonDefault();
527   }
528 
529   /** Returns a new builder for this class. */
newBuilder(ClientContext clientContext)530   public static Builder newBuilder(ClientContext clientContext) {
531     return new Builder(clientContext);
532   }
533 
534   /** Returns a builder containing all the values of this settings class. */
toBuilder()535   public Builder toBuilder() {
536     return new Builder(this);
537   }
538 
CloudChannelServiceSettings(Builder settingsBuilder)539   protected CloudChannelServiceSettings(Builder settingsBuilder) throws IOException {
540     super(settingsBuilder);
541   }
542 
543   /** Builder for CloudChannelServiceSettings. */
544   public static class Builder extends ClientSettings.Builder<CloudChannelServiceSettings, Builder> {
545 
Builder()546     protected Builder() throws IOException {
547       this(((ClientContext) null));
548     }
549 
Builder(ClientContext clientContext)550     protected Builder(ClientContext clientContext) {
551       super(CloudChannelServiceStubSettings.newBuilder(clientContext));
552     }
553 
Builder(CloudChannelServiceSettings settings)554     protected Builder(CloudChannelServiceSettings settings) {
555       super(settings.getStubSettings().toBuilder());
556     }
557 
Builder(CloudChannelServiceStubSettings.Builder stubSettings)558     protected Builder(CloudChannelServiceStubSettings.Builder stubSettings) {
559       super(stubSettings);
560     }
561 
createDefault()562     private static Builder createDefault() {
563       return new Builder(CloudChannelServiceStubSettings.newBuilder());
564     }
565 
566     @BetaApi
createHttpJsonDefault()567     private static Builder createHttpJsonDefault() {
568       return new Builder(CloudChannelServiceStubSettings.newHttpJsonBuilder());
569     }
570 
getStubSettingsBuilder()571     public CloudChannelServiceStubSettings.Builder getStubSettingsBuilder() {
572       return ((CloudChannelServiceStubSettings.Builder) getStubSettings());
573     }
574 
575     /**
576      * Applies the given settings updater function to all of the unary API methods in this service.
577      *
578      * <p>Note: This method does not support applying settings to streaming methods.
579      */
applyToAllUnaryMethods( ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater)580     public Builder applyToAllUnaryMethods(
581         ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) {
582       super.applyToAllUnaryMethods(
583           getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater);
584       return this;
585     }
586 
587     /** Returns the builder for the settings used for calls to listCustomers. */
588     public PagedCallSettings.Builder<
589             ListCustomersRequest, ListCustomersResponse, ListCustomersPagedResponse>
listCustomersSettings()590         listCustomersSettings() {
591       return getStubSettingsBuilder().listCustomersSettings();
592     }
593 
594     /** Returns the builder for the settings used for calls to getCustomer. */
getCustomerSettings()595     public UnaryCallSettings.Builder<GetCustomerRequest, Customer> getCustomerSettings() {
596       return getStubSettingsBuilder().getCustomerSettings();
597     }
598 
599     /** Returns the builder for the settings used for calls to checkCloudIdentityAccountsExist. */
600     public UnaryCallSettings.Builder<
601             CheckCloudIdentityAccountsExistRequest, CheckCloudIdentityAccountsExistResponse>
checkCloudIdentityAccountsExistSettings()602         checkCloudIdentityAccountsExistSettings() {
603       return getStubSettingsBuilder().checkCloudIdentityAccountsExistSettings();
604     }
605 
606     /** Returns the builder for the settings used for calls to createCustomer. */
createCustomerSettings()607     public UnaryCallSettings.Builder<CreateCustomerRequest, Customer> createCustomerSettings() {
608       return getStubSettingsBuilder().createCustomerSettings();
609     }
610 
611     /** Returns the builder for the settings used for calls to updateCustomer. */
updateCustomerSettings()612     public UnaryCallSettings.Builder<UpdateCustomerRequest, Customer> updateCustomerSettings() {
613       return getStubSettingsBuilder().updateCustomerSettings();
614     }
615 
616     /** Returns the builder for the settings used for calls to deleteCustomer. */
deleteCustomerSettings()617     public UnaryCallSettings.Builder<DeleteCustomerRequest, Empty> deleteCustomerSettings() {
618       return getStubSettingsBuilder().deleteCustomerSettings();
619     }
620 
621     /** Returns the builder for the settings used for calls to importCustomer. */
importCustomerSettings()622     public UnaryCallSettings.Builder<ImportCustomerRequest, Customer> importCustomerSettings() {
623       return getStubSettingsBuilder().importCustomerSettings();
624     }
625 
626     /** Returns the builder for the settings used for calls to provisionCloudIdentity. */
627     public UnaryCallSettings.Builder<ProvisionCloudIdentityRequest, Operation>
provisionCloudIdentitySettings()628         provisionCloudIdentitySettings() {
629       return getStubSettingsBuilder().provisionCloudIdentitySettings();
630     }
631 
632     /** Returns the builder for the settings used for calls to provisionCloudIdentity. */
633     public OperationCallSettings.Builder<ProvisionCloudIdentityRequest, Customer, OperationMetadata>
provisionCloudIdentityOperationSettings()634         provisionCloudIdentityOperationSettings() {
635       return getStubSettingsBuilder().provisionCloudIdentityOperationSettings();
636     }
637 
638     /** Returns the builder for the settings used for calls to listEntitlements. */
639     public PagedCallSettings.Builder<
640             ListEntitlementsRequest, ListEntitlementsResponse, ListEntitlementsPagedResponse>
listEntitlementsSettings()641         listEntitlementsSettings() {
642       return getStubSettingsBuilder().listEntitlementsSettings();
643     }
644 
645     /** Returns the builder for the settings used for calls to listTransferableSkus. */
646     public PagedCallSettings.Builder<
647             ListTransferableSkusRequest,
648             ListTransferableSkusResponse,
649             ListTransferableSkusPagedResponse>
listTransferableSkusSettings()650         listTransferableSkusSettings() {
651       return getStubSettingsBuilder().listTransferableSkusSettings();
652     }
653 
654     /** Returns the builder for the settings used for calls to listTransferableOffers. */
655     public PagedCallSettings.Builder<
656             ListTransferableOffersRequest,
657             ListTransferableOffersResponse,
658             ListTransferableOffersPagedResponse>
listTransferableOffersSettings()659         listTransferableOffersSettings() {
660       return getStubSettingsBuilder().listTransferableOffersSettings();
661     }
662 
663     /** Returns the builder for the settings used for calls to getEntitlement. */
getEntitlementSettings()664     public UnaryCallSettings.Builder<GetEntitlementRequest, Entitlement> getEntitlementSettings() {
665       return getStubSettingsBuilder().getEntitlementSettings();
666     }
667 
668     /** Returns the builder for the settings used for calls to createEntitlement. */
669     public UnaryCallSettings.Builder<CreateEntitlementRequest, Operation>
createEntitlementSettings()670         createEntitlementSettings() {
671       return getStubSettingsBuilder().createEntitlementSettings();
672     }
673 
674     /** Returns the builder for the settings used for calls to createEntitlement. */
675     public OperationCallSettings.Builder<CreateEntitlementRequest, Entitlement, OperationMetadata>
createEntitlementOperationSettings()676         createEntitlementOperationSettings() {
677       return getStubSettingsBuilder().createEntitlementOperationSettings();
678     }
679 
680     /** Returns the builder for the settings used for calls to changeParameters. */
681     public UnaryCallSettings.Builder<ChangeParametersRequest, Operation>
changeParametersSettings()682         changeParametersSettings() {
683       return getStubSettingsBuilder().changeParametersSettings();
684     }
685 
686     /** Returns the builder for the settings used for calls to changeParameters. */
687     public OperationCallSettings.Builder<ChangeParametersRequest, Entitlement, OperationMetadata>
changeParametersOperationSettings()688         changeParametersOperationSettings() {
689       return getStubSettingsBuilder().changeParametersOperationSettings();
690     }
691 
692     /** Returns the builder for the settings used for calls to changeRenewalSettings. */
693     public UnaryCallSettings.Builder<ChangeRenewalSettingsRequest, Operation>
changeRenewalSettingsSettings()694         changeRenewalSettingsSettings() {
695       return getStubSettingsBuilder().changeRenewalSettingsSettings();
696     }
697 
698     /** Returns the builder for the settings used for calls to changeRenewalSettings. */
699     public OperationCallSettings.Builder<
700             ChangeRenewalSettingsRequest, Entitlement, OperationMetadata>
changeRenewalSettingsOperationSettings()701         changeRenewalSettingsOperationSettings() {
702       return getStubSettingsBuilder().changeRenewalSettingsOperationSettings();
703     }
704 
705     /** Returns the builder for the settings used for calls to changeOffer. */
changeOfferSettings()706     public UnaryCallSettings.Builder<ChangeOfferRequest, Operation> changeOfferSettings() {
707       return getStubSettingsBuilder().changeOfferSettings();
708     }
709 
710     /** Returns the builder for the settings used for calls to changeOffer. */
711     public OperationCallSettings.Builder<ChangeOfferRequest, Entitlement, OperationMetadata>
changeOfferOperationSettings()712         changeOfferOperationSettings() {
713       return getStubSettingsBuilder().changeOfferOperationSettings();
714     }
715 
716     /** Returns the builder for the settings used for calls to startPaidService. */
717     public UnaryCallSettings.Builder<StartPaidServiceRequest, Operation>
startPaidServiceSettings()718         startPaidServiceSettings() {
719       return getStubSettingsBuilder().startPaidServiceSettings();
720     }
721 
722     /** Returns the builder for the settings used for calls to startPaidService. */
723     public OperationCallSettings.Builder<StartPaidServiceRequest, Entitlement, OperationMetadata>
startPaidServiceOperationSettings()724         startPaidServiceOperationSettings() {
725       return getStubSettingsBuilder().startPaidServiceOperationSettings();
726     }
727 
728     /** Returns the builder for the settings used for calls to suspendEntitlement. */
729     public UnaryCallSettings.Builder<SuspendEntitlementRequest, Operation>
suspendEntitlementSettings()730         suspendEntitlementSettings() {
731       return getStubSettingsBuilder().suspendEntitlementSettings();
732     }
733 
734     /** Returns the builder for the settings used for calls to suspendEntitlement. */
735     public OperationCallSettings.Builder<SuspendEntitlementRequest, Entitlement, OperationMetadata>
suspendEntitlementOperationSettings()736         suspendEntitlementOperationSettings() {
737       return getStubSettingsBuilder().suspendEntitlementOperationSettings();
738     }
739 
740     /** Returns the builder for the settings used for calls to cancelEntitlement. */
741     public UnaryCallSettings.Builder<CancelEntitlementRequest, Operation>
cancelEntitlementSettings()742         cancelEntitlementSettings() {
743       return getStubSettingsBuilder().cancelEntitlementSettings();
744     }
745 
746     /** Returns the builder for the settings used for calls to cancelEntitlement. */
747     public OperationCallSettings.Builder<CancelEntitlementRequest, Empty, OperationMetadata>
cancelEntitlementOperationSettings()748         cancelEntitlementOperationSettings() {
749       return getStubSettingsBuilder().cancelEntitlementOperationSettings();
750     }
751 
752     /** Returns the builder for the settings used for calls to activateEntitlement. */
753     public UnaryCallSettings.Builder<ActivateEntitlementRequest, Operation>
activateEntitlementSettings()754         activateEntitlementSettings() {
755       return getStubSettingsBuilder().activateEntitlementSettings();
756     }
757 
758     /** Returns the builder for the settings used for calls to activateEntitlement. */
759     public OperationCallSettings.Builder<ActivateEntitlementRequest, Entitlement, OperationMetadata>
activateEntitlementOperationSettings()760         activateEntitlementOperationSettings() {
761       return getStubSettingsBuilder().activateEntitlementOperationSettings();
762     }
763 
764     /** Returns the builder for the settings used for calls to transferEntitlements. */
765     public UnaryCallSettings.Builder<TransferEntitlementsRequest, Operation>
transferEntitlementsSettings()766         transferEntitlementsSettings() {
767       return getStubSettingsBuilder().transferEntitlementsSettings();
768     }
769 
770     /** Returns the builder for the settings used for calls to transferEntitlements. */
771     public OperationCallSettings.Builder<
772             TransferEntitlementsRequest, TransferEntitlementsResponse, OperationMetadata>
transferEntitlementsOperationSettings()773         transferEntitlementsOperationSettings() {
774       return getStubSettingsBuilder().transferEntitlementsOperationSettings();
775     }
776 
777     /** Returns the builder for the settings used for calls to transferEntitlementsToGoogle. */
778     public UnaryCallSettings.Builder<TransferEntitlementsToGoogleRequest, Operation>
transferEntitlementsToGoogleSettings()779         transferEntitlementsToGoogleSettings() {
780       return getStubSettingsBuilder().transferEntitlementsToGoogleSettings();
781     }
782 
783     /** Returns the builder for the settings used for calls to transferEntitlementsToGoogle. */
784     public OperationCallSettings.Builder<
785             TransferEntitlementsToGoogleRequest, Empty, OperationMetadata>
transferEntitlementsToGoogleOperationSettings()786         transferEntitlementsToGoogleOperationSettings() {
787       return getStubSettingsBuilder().transferEntitlementsToGoogleOperationSettings();
788     }
789 
790     /** Returns the builder for the settings used for calls to listChannelPartnerLinks. */
791     public PagedCallSettings.Builder<
792             ListChannelPartnerLinksRequest,
793             ListChannelPartnerLinksResponse,
794             ListChannelPartnerLinksPagedResponse>
listChannelPartnerLinksSettings()795         listChannelPartnerLinksSettings() {
796       return getStubSettingsBuilder().listChannelPartnerLinksSettings();
797     }
798 
799     /** Returns the builder for the settings used for calls to getChannelPartnerLink. */
800     public UnaryCallSettings.Builder<GetChannelPartnerLinkRequest, ChannelPartnerLink>
getChannelPartnerLinkSettings()801         getChannelPartnerLinkSettings() {
802       return getStubSettingsBuilder().getChannelPartnerLinkSettings();
803     }
804 
805     /** Returns the builder for the settings used for calls to createChannelPartnerLink. */
806     public UnaryCallSettings.Builder<CreateChannelPartnerLinkRequest, ChannelPartnerLink>
createChannelPartnerLinkSettings()807         createChannelPartnerLinkSettings() {
808       return getStubSettingsBuilder().createChannelPartnerLinkSettings();
809     }
810 
811     /** Returns the builder for the settings used for calls to updateChannelPartnerLink. */
812     public UnaryCallSettings.Builder<UpdateChannelPartnerLinkRequest, ChannelPartnerLink>
updateChannelPartnerLinkSettings()813         updateChannelPartnerLinkSettings() {
814       return getStubSettingsBuilder().updateChannelPartnerLinkSettings();
815     }
816 
817     /** Returns the builder for the settings used for calls to getCustomerRepricingConfig. */
818     public UnaryCallSettings.Builder<GetCustomerRepricingConfigRequest, CustomerRepricingConfig>
getCustomerRepricingConfigSettings()819         getCustomerRepricingConfigSettings() {
820       return getStubSettingsBuilder().getCustomerRepricingConfigSettings();
821     }
822 
823     /** Returns the builder for the settings used for calls to listCustomerRepricingConfigs. */
824     public PagedCallSettings.Builder<
825             ListCustomerRepricingConfigsRequest,
826             ListCustomerRepricingConfigsResponse,
827             ListCustomerRepricingConfigsPagedResponse>
listCustomerRepricingConfigsSettings()828         listCustomerRepricingConfigsSettings() {
829       return getStubSettingsBuilder().listCustomerRepricingConfigsSettings();
830     }
831 
832     /** Returns the builder for the settings used for calls to createCustomerRepricingConfig. */
833     public UnaryCallSettings.Builder<CreateCustomerRepricingConfigRequest, CustomerRepricingConfig>
createCustomerRepricingConfigSettings()834         createCustomerRepricingConfigSettings() {
835       return getStubSettingsBuilder().createCustomerRepricingConfigSettings();
836     }
837 
838     /** Returns the builder for the settings used for calls to updateCustomerRepricingConfig. */
839     public UnaryCallSettings.Builder<UpdateCustomerRepricingConfigRequest, CustomerRepricingConfig>
updateCustomerRepricingConfigSettings()840         updateCustomerRepricingConfigSettings() {
841       return getStubSettingsBuilder().updateCustomerRepricingConfigSettings();
842     }
843 
844     /** Returns the builder for the settings used for calls to deleteCustomerRepricingConfig. */
845     public UnaryCallSettings.Builder<DeleteCustomerRepricingConfigRequest, Empty>
deleteCustomerRepricingConfigSettings()846         deleteCustomerRepricingConfigSettings() {
847       return getStubSettingsBuilder().deleteCustomerRepricingConfigSettings();
848     }
849 
850     /** Returns the builder for the settings used for calls to getChannelPartnerRepricingConfig. */
851     public UnaryCallSettings.Builder<
852             GetChannelPartnerRepricingConfigRequest, ChannelPartnerRepricingConfig>
getChannelPartnerRepricingConfigSettings()853         getChannelPartnerRepricingConfigSettings() {
854       return getStubSettingsBuilder().getChannelPartnerRepricingConfigSettings();
855     }
856 
857     /**
858      * Returns the builder for the settings used for calls to listChannelPartnerRepricingConfigs.
859      */
860     public PagedCallSettings.Builder<
861             ListChannelPartnerRepricingConfigsRequest,
862             ListChannelPartnerRepricingConfigsResponse,
863             ListChannelPartnerRepricingConfigsPagedResponse>
listChannelPartnerRepricingConfigsSettings()864         listChannelPartnerRepricingConfigsSettings() {
865       return getStubSettingsBuilder().listChannelPartnerRepricingConfigsSettings();
866     }
867 
868     /**
869      * Returns the builder for the settings used for calls to createChannelPartnerRepricingConfig.
870      */
871     public UnaryCallSettings.Builder<
872             CreateChannelPartnerRepricingConfigRequest, ChannelPartnerRepricingConfig>
createChannelPartnerRepricingConfigSettings()873         createChannelPartnerRepricingConfigSettings() {
874       return getStubSettingsBuilder().createChannelPartnerRepricingConfigSettings();
875     }
876 
877     /**
878      * Returns the builder for the settings used for calls to updateChannelPartnerRepricingConfig.
879      */
880     public UnaryCallSettings.Builder<
881             UpdateChannelPartnerRepricingConfigRequest, ChannelPartnerRepricingConfig>
updateChannelPartnerRepricingConfigSettings()882         updateChannelPartnerRepricingConfigSettings() {
883       return getStubSettingsBuilder().updateChannelPartnerRepricingConfigSettings();
884     }
885 
886     /**
887      * Returns the builder for the settings used for calls to deleteChannelPartnerRepricingConfig.
888      */
889     public UnaryCallSettings.Builder<DeleteChannelPartnerRepricingConfigRequest, Empty>
deleteChannelPartnerRepricingConfigSettings()890         deleteChannelPartnerRepricingConfigSettings() {
891       return getStubSettingsBuilder().deleteChannelPartnerRepricingConfigSettings();
892     }
893 
894     /** Returns the builder for the settings used for calls to lookupOffer. */
lookupOfferSettings()895     public UnaryCallSettings.Builder<LookupOfferRequest, Offer> lookupOfferSettings() {
896       return getStubSettingsBuilder().lookupOfferSettings();
897     }
898 
899     /** Returns the builder for the settings used for calls to listProducts. */
900     public PagedCallSettings.Builder<
901             ListProductsRequest, ListProductsResponse, ListProductsPagedResponse>
listProductsSettings()902         listProductsSettings() {
903       return getStubSettingsBuilder().listProductsSettings();
904     }
905 
906     /** Returns the builder for the settings used for calls to listSkus. */
907     public PagedCallSettings.Builder<ListSkusRequest, ListSkusResponse, ListSkusPagedResponse>
listSkusSettings()908         listSkusSettings() {
909       return getStubSettingsBuilder().listSkusSettings();
910     }
911 
912     /** Returns the builder for the settings used for calls to listOffers. */
913     public PagedCallSettings.Builder<ListOffersRequest, ListOffersResponse, ListOffersPagedResponse>
listOffersSettings()914         listOffersSettings() {
915       return getStubSettingsBuilder().listOffersSettings();
916     }
917 
918     /** Returns the builder for the settings used for calls to listPurchasableSkus. */
919     public PagedCallSettings.Builder<
920             ListPurchasableSkusRequest,
921             ListPurchasableSkusResponse,
922             ListPurchasableSkusPagedResponse>
listPurchasableSkusSettings()923         listPurchasableSkusSettings() {
924       return getStubSettingsBuilder().listPurchasableSkusSettings();
925     }
926 
927     /** Returns the builder for the settings used for calls to listPurchasableOffers. */
928     public PagedCallSettings.Builder<
929             ListPurchasableOffersRequest,
930             ListPurchasableOffersResponse,
931             ListPurchasableOffersPagedResponse>
listPurchasableOffersSettings()932         listPurchasableOffersSettings() {
933       return getStubSettingsBuilder().listPurchasableOffersSettings();
934     }
935 
936     /** Returns the builder for the settings used for calls to registerSubscriber. */
937     public UnaryCallSettings.Builder<RegisterSubscriberRequest, RegisterSubscriberResponse>
registerSubscriberSettings()938         registerSubscriberSettings() {
939       return getStubSettingsBuilder().registerSubscriberSettings();
940     }
941 
942     /** Returns the builder for the settings used for calls to unregisterSubscriber. */
943     public UnaryCallSettings.Builder<UnregisterSubscriberRequest, UnregisterSubscriberResponse>
unregisterSubscriberSettings()944         unregisterSubscriberSettings() {
945       return getStubSettingsBuilder().unregisterSubscriberSettings();
946     }
947 
948     /** Returns the builder for the settings used for calls to listSubscribers. */
949     public PagedCallSettings.Builder<
950             ListSubscribersRequest, ListSubscribersResponse, ListSubscribersPagedResponse>
listSubscribersSettings()951         listSubscribersSettings() {
952       return getStubSettingsBuilder().listSubscribersSettings();
953     }
954 
955     /** Returns the builder for the settings used for calls to listEntitlementChanges. */
956     public PagedCallSettings.Builder<
957             ListEntitlementChangesRequest,
958             ListEntitlementChangesResponse,
959             ListEntitlementChangesPagedResponse>
listEntitlementChangesSettings()960         listEntitlementChangesSettings() {
961       return getStubSettingsBuilder().listEntitlementChangesSettings();
962     }
963 
964     @Override
build()965     public CloudChannelServiceSettings build() throws IOException {
966       return new CloudChannelServiceSettings(this);
967     }
968   }
969 }
970