This repository has been archived by the owner on Sep 16, 2023. It is now read-only.
/
CloudChannelServiceSettings.java
769 lines (652 loc) · 35.3 KB
/
CloudChannelServiceSettings.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
/*
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.google.cloud.channel.v1;
import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListChannelPartnerLinksPagedResponse;
import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListCustomersPagedResponse;
import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListEntitlementsPagedResponse;
import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListOffersPagedResponse;
import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListProductsPagedResponse;
import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListPurchasableOffersPagedResponse;
import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListPurchasableSkusPagedResponse;
import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListSkusPagedResponse;
import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListSubscribersPagedResponse;
import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListTransferableOffersPagedResponse;
import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListTransferableSkusPagedResponse;
import com.google.api.core.ApiFunction;
import com.google.api.core.BetaApi;
import com.google.api.gax.core.GoogleCredentialsProvider;
import com.google.api.gax.core.InstantiatingExecutorProvider;
import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider;
import com.google.api.gax.rpc.ApiClientHeaderProvider;
import com.google.api.gax.rpc.ClientContext;
import com.google.api.gax.rpc.ClientSettings;
import com.google.api.gax.rpc.OperationCallSettings;
import com.google.api.gax.rpc.PagedCallSettings;
import com.google.api.gax.rpc.TransportChannelProvider;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.cloud.channel.v1.stub.CloudChannelServiceStubSettings;
import com.google.longrunning.Operation;
import com.google.protobuf.Empty;
import java.io.IOException;
import java.util.List;
import javax.annotation.Generated;
// AUTO-GENERATED DOCUMENTATION AND CLASS.
/**
* Settings class to configure an instance of {@link CloudChannelServiceClient}.
*
* <p>The default instance has everything set to sensible defaults:
*
* <ul>
* <li>The default service address (cloudchannel.googleapis.com) and default port (443) are used.
* <li>Credentials are acquired automatically through Application Default Credentials.
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
* </ul>
*
* <p>The builder of this class is recursive, so contained classes are themselves builders. When
* build() is called, the tree of builders is called to create the complete settings object.
*
* <p>For example, to set the total timeout of getCustomer to 30 seconds:
*
* <pre>{@code
* CloudChannelServiceSettings.Builder cloudChannelServiceSettingsBuilder =
* CloudChannelServiceSettings.newBuilder();
* cloudChannelServiceSettingsBuilder
* .getCustomerSettings()
* .setRetrySettings(
* cloudChannelServiceSettingsBuilder
* .getCustomerSettings()
* .getRetrySettings()
* .toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* CloudChannelServiceSettings cloudChannelServiceSettings =
* cloudChannelServiceSettingsBuilder.build();
* }</pre>
*/
@Generated("by gapic-generator-java")
public class CloudChannelServiceSettings extends ClientSettings<CloudChannelServiceSettings> {
/** Returns the object with the settings used for calls to listCustomers. */
public PagedCallSettings<ListCustomersRequest, ListCustomersResponse, ListCustomersPagedResponse>
listCustomersSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings()).listCustomersSettings();
}
/** Returns the object with the settings used for calls to getCustomer. */
public UnaryCallSettings<GetCustomerRequest, Customer> getCustomerSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings()).getCustomerSettings();
}
/** Returns the object with the settings used for calls to checkCloudIdentityAccountsExist. */
public UnaryCallSettings<
CheckCloudIdentityAccountsExistRequest, CheckCloudIdentityAccountsExistResponse>
checkCloudIdentityAccountsExistSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings())
.checkCloudIdentityAccountsExistSettings();
}
/** Returns the object with the settings used for calls to createCustomer. */
public UnaryCallSettings<CreateCustomerRequest, Customer> createCustomerSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings()).createCustomerSettings();
}
/** Returns the object with the settings used for calls to updateCustomer. */
public UnaryCallSettings<UpdateCustomerRequest, Customer> updateCustomerSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings()).updateCustomerSettings();
}
/** Returns the object with the settings used for calls to deleteCustomer. */
public UnaryCallSettings<DeleteCustomerRequest, Empty> deleteCustomerSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings()).deleteCustomerSettings();
}
/** Returns the object with the settings used for calls to importCustomer. */
public UnaryCallSettings<ImportCustomerRequest, Customer> importCustomerSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings()).importCustomerSettings();
}
/** Returns the object with the settings used for calls to provisionCloudIdentity. */
public UnaryCallSettings<ProvisionCloudIdentityRequest, Operation>
provisionCloudIdentitySettings() {
return ((CloudChannelServiceStubSettings) getStubSettings()).provisionCloudIdentitySettings();
}
/** Returns the object with the settings used for calls to provisionCloudIdentity. */
public OperationCallSettings<ProvisionCloudIdentityRequest, Customer, OperationMetadata>
provisionCloudIdentityOperationSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings())
.provisionCloudIdentityOperationSettings();
}
/** Returns the object with the settings used for calls to listEntitlements. */
public PagedCallSettings<
ListEntitlementsRequest, ListEntitlementsResponse, ListEntitlementsPagedResponse>
listEntitlementsSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings()).listEntitlementsSettings();
}
/** Returns the object with the settings used for calls to listTransferableSkus. */
public PagedCallSettings<
ListTransferableSkusRequest,
ListTransferableSkusResponse,
ListTransferableSkusPagedResponse>
listTransferableSkusSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings()).listTransferableSkusSettings();
}
/** Returns the object with the settings used for calls to listTransferableOffers. */
public PagedCallSettings<
ListTransferableOffersRequest,
ListTransferableOffersResponse,
ListTransferableOffersPagedResponse>
listTransferableOffersSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings()).listTransferableOffersSettings();
}
/** Returns the object with the settings used for calls to getEntitlement. */
public UnaryCallSettings<GetEntitlementRequest, Entitlement> getEntitlementSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings()).getEntitlementSettings();
}
/** Returns the object with the settings used for calls to createEntitlement. */
public UnaryCallSettings<CreateEntitlementRequest, Operation> createEntitlementSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings()).createEntitlementSettings();
}
/** Returns the object with the settings used for calls to createEntitlement. */
public OperationCallSettings<CreateEntitlementRequest, Entitlement, OperationMetadata>
createEntitlementOperationSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings())
.createEntitlementOperationSettings();
}
/** Returns the object with the settings used for calls to changeParameters. */
public UnaryCallSettings<ChangeParametersRequest, Operation> changeParametersSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings()).changeParametersSettings();
}
/** Returns the object with the settings used for calls to changeParameters. */
public OperationCallSettings<ChangeParametersRequest, Entitlement, OperationMetadata>
changeParametersOperationSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings())
.changeParametersOperationSettings();
}
/** Returns the object with the settings used for calls to changeRenewalSettings. */
public UnaryCallSettings<ChangeRenewalSettingsRequest, Operation>
changeRenewalSettingsSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings()).changeRenewalSettingsSettings();
}
/** Returns the object with the settings used for calls to changeRenewalSettings. */
public OperationCallSettings<ChangeRenewalSettingsRequest, Entitlement, OperationMetadata>
changeRenewalSettingsOperationSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings())
.changeRenewalSettingsOperationSettings();
}
/** Returns the object with the settings used for calls to changeOffer. */
public UnaryCallSettings<ChangeOfferRequest, Operation> changeOfferSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings()).changeOfferSettings();
}
/** Returns the object with the settings used for calls to changeOffer. */
public OperationCallSettings<ChangeOfferRequest, Entitlement, OperationMetadata>
changeOfferOperationSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings()).changeOfferOperationSettings();
}
/** Returns the object with the settings used for calls to startPaidService. */
public UnaryCallSettings<StartPaidServiceRequest, Operation> startPaidServiceSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings()).startPaidServiceSettings();
}
/** Returns the object with the settings used for calls to startPaidService. */
public OperationCallSettings<StartPaidServiceRequest, Entitlement, OperationMetadata>
startPaidServiceOperationSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings())
.startPaidServiceOperationSettings();
}
/** Returns the object with the settings used for calls to suspendEntitlement. */
public UnaryCallSettings<SuspendEntitlementRequest, Operation> suspendEntitlementSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings()).suspendEntitlementSettings();
}
/** Returns the object with the settings used for calls to suspendEntitlement. */
public OperationCallSettings<SuspendEntitlementRequest, Entitlement, OperationMetadata>
suspendEntitlementOperationSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings())
.suspendEntitlementOperationSettings();
}
/** Returns the object with the settings used for calls to cancelEntitlement. */
public UnaryCallSettings<CancelEntitlementRequest, Operation> cancelEntitlementSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings()).cancelEntitlementSettings();
}
/** Returns the object with the settings used for calls to cancelEntitlement. */
public OperationCallSettings<CancelEntitlementRequest, Empty, OperationMetadata>
cancelEntitlementOperationSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings())
.cancelEntitlementOperationSettings();
}
/** Returns the object with the settings used for calls to activateEntitlement. */
public UnaryCallSettings<ActivateEntitlementRequest, Operation> activateEntitlementSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings()).activateEntitlementSettings();
}
/** Returns the object with the settings used for calls to activateEntitlement. */
public OperationCallSettings<ActivateEntitlementRequest, Entitlement, OperationMetadata>
activateEntitlementOperationSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings())
.activateEntitlementOperationSettings();
}
/** Returns the object with the settings used for calls to transferEntitlements. */
public UnaryCallSettings<TransferEntitlementsRequest, Operation> transferEntitlementsSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings()).transferEntitlementsSettings();
}
/** Returns the object with the settings used for calls to transferEntitlements. */
public OperationCallSettings<
TransferEntitlementsRequest, TransferEntitlementsResponse, OperationMetadata>
transferEntitlementsOperationSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings())
.transferEntitlementsOperationSettings();
}
/** Returns the object with the settings used for calls to transferEntitlementsToGoogle. */
public UnaryCallSettings<TransferEntitlementsToGoogleRequest, Operation>
transferEntitlementsToGoogleSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings())
.transferEntitlementsToGoogleSettings();
}
/** Returns the object with the settings used for calls to transferEntitlementsToGoogle. */
public OperationCallSettings<TransferEntitlementsToGoogleRequest, Empty, OperationMetadata>
transferEntitlementsToGoogleOperationSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings())
.transferEntitlementsToGoogleOperationSettings();
}
/** Returns the object with the settings used for calls to listChannelPartnerLinks. */
public PagedCallSettings<
ListChannelPartnerLinksRequest,
ListChannelPartnerLinksResponse,
ListChannelPartnerLinksPagedResponse>
listChannelPartnerLinksSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings()).listChannelPartnerLinksSettings();
}
/** Returns the object with the settings used for calls to getChannelPartnerLink. */
public UnaryCallSettings<GetChannelPartnerLinkRequest, ChannelPartnerLink>
getChannelPartnerLinkSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings()).getChannelPartnerLinkSettings();
}
/** Returns the object with the settings used for calls to createChannelPartnerLink. */
public UnaryCallSettings<CreateChannelPartnerLinkRequest, ChannelPartnerLink>
createChannelPartnerLinkSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings()).createChannelPartnerLinkSettings();
}
/** Returns the object with the settings used for calls to updateChannelPartnerLink. */
public UnaryCallSettings<UpdateChannelPartnerLinkRequest, ChannelPartnerLink>
updateChannelPartnerLinkSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings()).updateChannelPartnerLinkSettings();
}
/** Returns the object with the settings used for calls to lookupOffer. */
public UnaryCallSettings<LookupOfferRequest, Offer> lookupOfferSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings()).lookupOfferSettings();
}
/** Returns the object with the settings used for calls to listProducts. */
public PagedCallSettings<ListProductsRequest, ListProductsResponse, ListProductsPagedResponse>
listProductsSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings()).listProductsSettings();
}
/** Returns the object with the settings used for calls to listSkus. */
public PagedCallSettings<ListSkusRequest, ListSkusResponse, ListSkusPagedResponse>
listSkusSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings()).listSkusSettings();
}
/** Returns the object with the settings used for calls to listOffers. */
public PagedCallSettings<ListOffersRequest, ListOffersResponse, ListOffersPagedResponse>
listOffersSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings()).listOffersSettings();
}
/** Returns the object with the settings used for calls to listPurchasableSkus. */
public PagedCallSettings<
ListPurchasableSkusRequest, ListPurchasableSkusResponse, ListPurchasableSkusPagedResponse>
listPurchasableSkusSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings()).listPurchasableSkusSettings();
}
/** Returns the object with the settings used for calls to listPurchasableOffers. */
public PagedCallSettings<
ListPurchasableOffersRequest,
ListPurchasableOffersResponse,
ListPurchasableOffersPagedResponse>
listPurchasableOffersSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings()).listPurchasableOffersSettings();
}
/** Returns the object with the settings used for calls to registerSubscriber. */
public UnaryCallSettings<RegisterSubscriberRequest, RegisterSubscriberResponse>
registerSubscriberSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings()).registerSubscriberSettings();
}
/** Returns the object with the settings used for calls to unregisterSubscriber. */
public UnaryCallSettings<UnregisterSubscriberRequest, UnregisterSubscriberResponse>
unregisterSubscriberSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings()).unregisterSubscriberSettings();
}
/** Returns the object with the settings used for calls to listSubscribers. */
public PagedCallSettings<
ListSubscribersRequest, ListSubscribersResponse, ListSubscribersPagedResponse>
listSubscribersSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings()).listSubscribersSettings();
}
public static final CloudChannelServiceSettings create(CloudChannelServiceStubSettings stub)
throws IOException {
return new CloudChannelServiceSettings.Builder(stub.toBuilder()).build();
}
/** Returns a builder for the default ExecutorProvider for this service. */
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() {
return CloudChannelServiceStubSettings.defaultExecutorProviderBuilder();
}
/** Returns the default service endpoint. */
public static String getDefaultEndpoint() {
return CloudChannelServiceStubSettings.getDefaultEndpoint();
}
/** Returns the default service scopes. */
public static List<String> getDefaultServiceScopes() {
return CloudChannelServiceStubSettings.getDefaultServiceScopes();
}
/** Returns a builder for the default credentials for this service. */
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() {
return CloudChannelServiceStubSettings.defaultCredentialsProviderBuilder();
}
/** Returns a builder for the default ChannelProvider for this service. */
public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() {
return CloudChannelServiceStubSettings.defaultGrpcTransportProviderBuilder();
}
public static TransportChannelProvider defaultTransportChannelProvider() {
return CloudChannelServiceStubSettings.defaultTransportChannelProvider();
}
@BetaApi("The surface for customizing headers is not stable yet and may change in the future.")
public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() {
return CloudChannelServiceStubSettings.defaultApiClientHeaderProviderBuilder();
}
/** Returns a new builder for this class. */
public static Builder newBuilder() {
return Builder.createDefault();
}
/** Returns a new builder for this class. */
public static Builder newBuilder(ClientContext clientContext) {
return new Builder(clientContext);
}
/** Returns a builder containing all the values of this settings class. */
public Builder toBuilder() {
return new Builder(this);
}
protected CloudChannelServiceSettings(Builder settingsBuilder) throws IOException {
super(settingsBuilder);
}
/** Builder for CloudChannelServiceSettings. */
public static class Builder extends ClientSettings.Builder<CloudChannelServiceSettings, Builder> {
protected Builder() throws IOException {
this(((ClientContext) null));
}
protected Builder(ClientContext clientContext) {
super(CloudChannelServiceStubSettings.newBuilder(clientContext));
}
protected Builder(CloudChannelServiceSettings settings) {
super(settings.getStubSettings().toBuilder());
}
protected Builder(CloudChannelServiceStubSettings.Builder stubSettings) {
super(stubSettings);
}
private static Builder createDefault() {
return new Builder(CloudChannelServiceStubSettings.newBuilder());
}
public CloudChannelServiceStubSettings.Builder getStubSettingsBuilder() {
return ((CloudChannelServiceStubSettings.Builder) getStubSettings());
}
/**
* Applies the given settings updater function to all of the unary API methods in this service.
*
* <p>Note: This method does not support applying settings to streaming methods.
*/
public Builder applyToAllUnaryMethods(
ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) {
super.applyToAllUnaryMethods(
getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater);
return this;
}
/** Returns the builder for the settings used for calls to listCustomers. */
public PagedCallSettings.Builder<
ListCustomersRequest, ListCustomersResponse, ListCustomersPagedResponse>
listCustomersSettings() {
return getStubSettingsBuilder().listCustomersSettings();
}
/** Returns the builder for the settings used for calls to getCustomer. */
public UnaryCallSettings.Builder<GetCustomerRequest, Customer> getCustomerSettings() {
return getStubSettingsBuilder().getCustomerSettings();
}
/** Returns the builder for the settings used for calls to checkCloudIdentityAccountsExist. */
public UnaryCallSettings.Builder<
CheckCloudIdentityAccountsExistRequest, CheckCloudIdentityAccountsExistResponse>
checkCloudIdentityAccountsExistSettings() {
return getStubSettingsBuilder().checkCloudIdentityAccountsExistSettings();
}
/** Returns the builder for the settings used for calls to createCustomer. */
public UnaryCallSettings.Builder<CreateCustomerRequest, Customer> createCustomerSettings() {
return getStubSettingsBuilder().createCustomerSettings();
}
/** Returns the builder for the settings used for calls to updateCustomer. */
public UnaryCallSettings.Builder<UpdateCustomerRequest, Customer> updateCustomerSettings() {
return getStubSettingsBuilder().updateCustomerSettings();
}
/** Returns the builder for the settings used for calls to deleteCustomer. */
public UnaryCallSettings.Builder<DeleteCustomerRequest, Empty> deleteCustomerSettings() {
return getStubSettingsBuilder().deleteCustomerSettings();
}
/** Returns the builder for the settings used for calls to importCustomer. */
public UnaryCallSettings.Builder<ImportCustomerRequest, Customer> importCustomerSettings() {
return getStubSettingsBuilder().importCustomerSettings();
}
/** Returns the builder for the settings used for calls to provisionCloudIdentity. */
public UnaryCallSettings.Builder<ProvisionCloudIdentityRequest, Operation>
provisionCloudIdentitySettings() {
return getStubSettingsBuilder().provisionCloudIdentitySettings();
}
/** Returns the builder for the settings used for calls to provisionCloudIdentity. */
public OperationCallSettings.Builder<ProvisionCloudIdentityRequest, Customer, OperationMetadata>
provisionCloudIdentityOperationSettings() {
return getStubSettingsBuilder().provisionCloudIdentityOperationSettings();
}
/** Returns the builder for the settings used for calls to listEntitlements. */
public PagedCallSettings.Builder<
ListEntitlementsRequest, ListEntitlementsResponse, ListEntitlementsPagedResponse>
listEntitlementsSettings() {
return getStubSettingsBuilder().listEntitlementsSettings();
}
/** Returns the builder for the settings used for calls to listTransferableSkus. */
public PagedCallSettings.Builder<
ListTransferableSkusRequest,
ListTransferableSkusResponse,
ListTransferableSkusPagedResponse>
listTransferableSkusSettings() {
return getStubSettingsBuilder().listTransferableSkusSettings();
}
/** Returns the builder for the settings used for calls to listTransferableOffers. */
public PagedCallSettings.Builder<
ListTransferableOffersRequest,
ListTransferableOffersResponse,
ListTransferableOffersPagedResponse>
listTransferableOffersSettings() {
return getStubSettingsBuilder().listTransferableOffersSettings();
}
/** Returns the builder for the settings used for calls to getEntitlement. */
public UnaryCallSettings.Builder<GetEntitlementRequest, Entitlement> getEntitlementSettings() {
return getStubSettingsBuilder().getEntitlementSettings();
}
/** Returns the builder for the settings used for calls to createEntitlement. */
public UnaryCallSettings.Builder<CreateEntitlementRequest, Operation>
createEntitlementSettings() {
return getStubSettingsBuilder().createEntitlementSettings();
}
/** Returns the builder for the settings used for calls to createEntitlement. */
public OperationCallSettings.Builder<CreateEntitlementRequest, Entitlement, OperationMetadata>
createEntitlementOperationSettings() {
return getStubSettingsBuilder().createEntitlementOperationSettings();
}
/** Returns the builder for the settings used for calls to changeParameters. */
public UnaryCallSettings.Builder<ChangeParametersRequest, Operation>
changeParametersSettings() {
return getStubSettingsBuilder().changeParametersSettings();
}
/** Returns the builder for the settings used for calls to changeParameters. */
public OperationCallSettings.Builder<ChangeParametersRequest, Entitlement, OperationMetadata>
changeParametersOperationSettings() {
return getStubSettingsBuilder().changeParametersOperationSettings();
}
/** Returns the builder for the settings used for calls to changeRenewalSettings. */
public UnaryCallSettings.Builder<ChangeRenewalSettingsRequest, Operation>
changeRenewalSettingsSettings() {
return getStubSettingsBuilder().changeRenewalSettingsSettings();
}
/** Returns the builder for the settings used for calls to changeRenewalSettings. */
public OperationCallSettings.Builder<
ChangeRenewalSettingsRequest, Entitlement, OperationMetadata>
changeRenewalSettingsOperationSettings() {
return getStubSettingsBuilder().changeRenewalSettingsOperationSettings();
}
/** Returns the builder for the settings used for calls to changeOffer. */
public UnaryCallSettings.Builder<ChangeOfferRequest, Operation> changeOfferSettings() {
return getStubSettingsBuilder().changeOfferSettings();
}
/** Returns the builder for the settings used for calls to changeOffer. */
public OperationCallSettings.Builder<ChangeOfferRequest, Entitlement, OperationMetadata>
changeOfferOperationSettings() {
return getStubSettingsBuilder().changeOfferOperationSettings();
}
/** Returns the builder for the settings used for calls to startPaidService. */
public UnaryCallSettings.Builder<StartPaidServiceRequest, Operation>
startPaidServiceSettings() {
return getStubSettingsBuilder().startPaidServiceSettings();
}
/** Returns the builder for the settings used for calls to startPaidService. */
public OperationCallSettings.Builder<StartPaidServiceRequest, Entitlement, OperationMetadata>
startPaidServiceOperationSettings() {
return getStubSettingsBuilder().startPaidServiceOperationSettings();
}
/** Returns the builder for the settings used for calls to suspendEntitlement. */
public UnaryCallSettings.Builder<SuspendEntitlementRequest, Operation>
suspendEntitlementSettings() {
return getStubSettingsBuilder().suspendEntitlementSettings();
}
/** Returns the builder for the settings used for calls to suspendEntitlement. */
public OperationCallSettings.Builder<SuspendEntitlementRequest, Entitlement, OperationMetadata>
suspendEntitlementOperationSettings() {
return getStubSettingsBuilder().suspendEntitlementOperationSettings();
}
/** Returns the builder for the settings used for calls to cancelEntitlement. */
public UnaryCallSettings.Builder<CancelEntitlementRequest, Operation>
cancelEntitlementSettings() {
return getStubSettingsBuilder().cancelEntitlementSettings();
}
/** Returns the builder for the settings used for calls to cancelEntitlement. */
public OperationCallSettings.Builder<CancelEntitlementRequest, Empty, OperationMetadata>
cancelEntitlementOperationSettings() {
return getStubSettingsBuilder().cancelEntitlementOperationSettings();
}
/** Returns the builder for the settings used for calls to activateEntitlement. */
public UnaryCallSettings.Builder<ActivateEntitlementRequest, Operation>
activateEntitlementSettings() {
return getStubSettingsBuilder().activateEntitlementSettings();
}
/** Returns the builder for the settings used for calls to activateEntitlement. */
public OperationCallSettings.Builder<ActivateEntitlementRequest, Entitlement, OperationMetadata>
activateEntitlementOperationSettings() {
return getStubSettingsBuilder().activateEntitlementOperationSettings();
}
/** Returns the builder for the settings used for calls to transferEntitlements. */
public UnaryCallSettings.Builder<TransferEntitlementsRequest, Operation>
transferEntitlementsSettings() {
return getStubSettingsBuilder().transferEntitlementsSettings();
}
/** Returns the builder for the settings used for calls to transferEntitlements. */
public OperationCallSettings.Builder<
TransferEntitlementsRequest, TransferEntitlementsResponse, OperationMetadata>
transferEntitlementsOperationSettings() {
return getStubSettingsBuilder().transferEntitlementsOperationSettings();
}
/** Returns the builder for the settings used for calls to transferEntitlementsToGoogle. */
public UnaryCallSettings.Builder<TransferEntitlementsToGoogleRequest, Operation>
transferEntitlementsToGoogleSettings() {
return getStubSettingsBuilder().transferEntitlementsToGoogleSettings();
}
/** Returns the builder for the settings used for calls to transferEntitlementsToGoogle. */
public OperationCallSettings.Builder<
TransferEntitlementsToGoogleRequest, Empty, OperationMetadata>
transferEntitlementsToGoogleOperationSettings() {
return getStubSettingsBuilder().transferEntitlementsToGoogleOperationSettings();
}
/** Returns the builder for the settings used for calls to listChannelPartnerLinks. */
public PagedCallSettings.Builder<
ListChannelPartnerLinksRequest,
ListChannelPartnerLinksResponse,
ListChannelPartnerLinksPagedResponse>
listChannelPartnerLinksSettings() {
return getStubSettingsBuilder().listChannelPartnerLinksSettings();
}
/** Returns the builder for the settings used for calls to getChannelPartnerLink. */
public UnaryCallSettings.Builder<GetChannelPartnerLinkRequest, ChannelPartnerLink>
getChannelPartnerLinkSettings() {
return getStubSettingsBuilder().getChannelPartnerLinkSettings();
}
/** Returns the builder for the settings used for calls to createChannelPartnerLink. */
public UnaryCallSettings.Builder<CreateChannelPartnerLinkRequest, ChannelPartnerLink>
createChannelPartnerLinkSettings() {
return getStubSettingsBuilder().createChannelPartnerLinkSettings();
}
/** Returns the builder for the settings used for calls to updateChannelPartnerLink. */
public UnaryCallSettings.Builder<UpdateChannelPartnerLinkRequest, ChannelPartnerLink>
updateChannelPartnerLinkSettings() {
return getStubSettingsBuilder().updateChannelPartnerLinkSettings();
}
/** Returns the builder for the settings used for calls to lookupOffer. */
public UnaryCallSettings.Builder<LookupOfferRequest, Offer> lookupOfferSettings() {
return getStubSettingsBuilder().lookupOfferSettings();
}
/** Returns the builder for the settings used for calls to listProducts. */
public PagedCallSettings.Builder<
ListProductsRequest, ListProductsResponse, ListProductsPagedResponse>
listProductsSettings() {
return getStubSettingsBuilder().listProductsSettings();
}
/** Returns the builder for the settings used for calls to listSkus. */
public PagedCallSettings.Builder<ListSkusRequest, ListSkusResponse, ListSkusPagedResponse>
listSkusSettings() {
return getStubSettingsBuilder().listSkusSettings();
}
/** Returns the builder for the settings used for calls to listOffers. */
public PagedCallSettings.Builder<ListOffersRequest, ListOffersResponse, ListOffersPagedResponse>
listOffersSettings() {
return getStubSettingsBuilder().listOffersSettings();
}
/** Returns the builder for the settings used for calls to listPurchasableSkus. */
public PagedCallSettings.Builder<
ListPurchasableSkusRequest,
ListPurchasableSkusResponse,
ListPurchasableSkusPagedResponse>
listPurchasableSkusSettings() {
return getStubSettingsBuilder().listPurchasableSkusSettings();
}
/** Returns the builder for the settings used for calls to listPurchasableOffers. */
public PagedCallSettings.Builder<
ListPurchasableOffersRequest,
ListPurchasableOffersResponse,
ListPurchasableOffersPagedResponse>
listPurchasableOffersSettings() {
return getStubSettingsBuilder().listPurchasableOffersSettings();
}
/** Returns the builder for the settings used for calls to registerSubscriber. */
public UnaryCallSettings.Builder<RegisterSubscriberRequest, RegisterSubscriberResponse>
registerSubscriberSettings() {
return getStubSettingsBuilder().registerSubscriberSettings();
}
/** Returns the builder for the settings used for calls to unregisterSubscriber. */
public UnaryCallSettings.Builder<UnregisterSubscriberRequest, UnregisterSubscriberResponse>
unregisterSubscriberSettings() {
return getStubSettingsBuilder().unregisterSubscriberSettings();
}
/** Returns the builder for the settings used for calls to listSubscribers. */
public PagedCallSettings.Builder<
ListSubscribersRequest, ListSubscribersResponse, ListSubscribersPagedResponse>
listSubscribersSettings() {
return getStubSettingsBuilder().listSubscribersSettings();
}
@Override
public CloudChannelServiceSettings build() throws IOException {
return new CloudChannelServiceSettings(this);
}
}
}