• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2020 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 package com.google.cloud.channel.v1;
17 
18 import static io.grpc.MethodDescriptor.generateFullMethodName;
19 
20 /**
21  *
22  *
23  * <pre>
24  * CloudChannelService lets Google cloud resellers and distributors manage
25  * their customers, channel partners, entitlements, and reports.
26  * Using this service:
27  * 1. Resellers and distributors can manage a customer entity.
28  * 2. Distributors can register an authorized reseller in their channel and
29  *    provide them with delegated admin access.
30  * 3. Resellers and distributors can manage customer entitlements.
31  * CloudChannelService exposes the following resources:
32  * - [Customer][google.cloud.channel.v1.Customer]s: An entity-usually an
33  * enterprise-managed by a reseller or distributor.
34  * - [Entitlement][google.cloud.channel.v1.Entitlement]s: An entity that
35  * provides a customer with the means to use a service. Entitlements are created
36  * or updated as a result of a successful fulfillment.
37  * - [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s: An
38  * entity that identifies links between distributors and their indirect
39  * resellers in a channel.
40  * </pre>
41  */
42 @javax.annotation.Generated(
43     value = "by gRPC proto compiler",
44     comments = "Source: google/cloud/channel/v1/service.proto")
45 @io.grpc.stub.annotations.GrpcGenerated
46 public final class CloudChannelServiceGrpc {
47 
CloudChannelServiceGrpc()48   private CloudChannelServiceGrpc() {}
49 
50   public static final String SERVICE_NAME = "google.cloud.channel.v1.CloudChannelService";
51 
52   // Static method descriptors that strictly reflect the proto.
53   private static volatile io.grpc.MethodDescriptor<
54           com.google.cloud.channel.v1.ListCustomersRequest,
55           com.google.cloud.channel.v1.ListCustomersResponse>
56       getListCustomersMethod;
57 
58   @io.grpc.stub.annotations.RpcMethod(
59       fullMethodName = SERVICE_NAME + '/' + "ListCustomers",
60       requestType = com.google.cloud.channel.v1.ListCustomersRequest.class,
61       responseType = com.google.cloud.channel.v1.ListCustomersResponse.class,
62       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
63   public static io.grpc.MethodDescriptor<
64           com.google.cloud.channel.v1.ListCustomersRequest,
65           com.google.cloud.channel.v1.ListCustomersResponse>
getListCustomersMethod()66       getListCustomersMethod() {
67     io.grpc.MethodDescriptor<
68             com.google.cloud.channel.v1.ListCustomersRequest,
69             com.google.cloud.channel.v1.ListCustomersResponse>
70         getListCustomersMethod;
71     if ((getListCustomersMethod = CloudChannelServiceGrpc.getListCustomersMethod) == null) {
72       synchronized (CloudChannelServiceGrpc.class) {
73         if ((getListCustomersMethod = CloudChannelServiceGrpc.getListCustomersMethod) == null) {
74           CloudChannelServiceGrpc.getListCustomersMethod =
75               getListCustomersMethod =
76                   io.grpc.MethodDescriptor
77                       .<com.google.cloud.channel.v1.ListCustomersRequest,
78                           com.google.cloud.channel.v1.ListCustomersResponse>
79                           newBuilder()
80                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
81                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCustomers"))
82                       .setSampledToLocalTracing(true)
83                       .setRequestMarshaller(
84                           io.grpc.protobuf.ProtoUtils.marshaller(
85                               com.google.cloud.channel.v1.ListCustomersRequest
86                                   .getDefaultInstance()))
87                       .setResponseMarshaller(
88                           io.grpc.protobuf.ProtoUtils.marshaller(
89                               com.google.cloud.channel.v1.ListCustomersResponse
90                                   .getDefaultInstance()))
91                       .setSchemaDescriptor(
92                           new CloudChannelServiceMethodDescriptorSupplier("ListCustomers"))
93                       .build();
94         }
95       }
96     }
97     return getListCustomersMethod;
98   }
99 
100   private static volatile io.grpc.MethodDescriptor<
101           com.google.cloud.channel.v1.GetCustomerRequest, com.google.cloud.channel.v1.Customer>
102       getGetCustomerMethod;
103 
104   @io.grpc.stub.annotations.RpcMethod(
105       fullMethodName = SERVICE_NAME + '/' + "GetCustomer",
106       requestType = com.google.cloud.channel.v1.GetCustomerRequest.class,
107       responseType = com.google.cloud.channel.v1.Customer.class,
108       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
109   public static io.grpc.MethodDescriptor<
110           com.google.cloud.channel.v1.GetCustomerRequest, com.google.cloud.channel.v1.Customer>
getGetCustomerMethod()111       getGetCustomerMethod() {
112     io.grpc.MethodDescriptor<
113             com.google.cloud.channel.v1.GetCustomerRequest, com.google.cloud.channel.v1.Customer>
114         getGetCustomerMethod;
115     if ((getGetCustomerMethod = CloudChannelServiceGrpc.getGetCustomerMethod) == null) {
116       synchronized (CloudChannelServiceGrpc.class) {
117         if ((getGetCustomerMethod = CloudChannelServiceGrpc.getGetCustomerMethod) == null) {
118           CloudChannelServiceGrpc.getGetCustomerMethod =
119               getGetCustomerMethod =
120                   io.grpc.MethodDescriptor
121                       .<com.google.cloud.channel.v1.GetCustomerRequest,
122                           com.google.cloud.channel.v1.Customer>
123                           newBuilder()
124                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
125                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCustomer"))
126                       .setSampledToLocalTracing(true)
127                       .setRequestMarshaller(
128                           io.grpc.protobuf.ProtoUtils.marshaller(
129                               com.google.cloud.channel.v1.GetCustomerRequest.getDefaultInstance()))
130                       .setResponseMarshaller(
131                           io.grpc.protobuf.ProtoUtils.marshaller(
132                               com.google.cloud.channel.v1.Customer.getDefaultInstance()))
133                       .setSchemaDescriptor(
134                           new CloudChannelServiceMethodDescriptorSupplier("GetCustomer"))
135                       .build();
136         }
137       }
138     }
139     return getGetCustomerMethod;
140   }
141 
142   private static volatile io.grpc.MethodDescriptor<
143           com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest,
144           com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse>
145       getCheckCloudIdentityAccountsExistMethod;
146 
147   @io.grpc.stub.annotations.RpcMethod(
148       fullMethodName = SERVICE_NAME + '/' + "CheckCloudIdentityAccountsExist",
149       requestType = com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest.class,
150       responseType = com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse.class,
151       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
152   public static io.grpc.MethodDescriptor<
153           com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest,
154           com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse>
getCheckCloudIdentityAccountsExistMethod()155       getCheckCloudIdentityAccountsExistMethod() {
156     io.grpc.MethodDescriptor<
157             com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest,
158             com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse>
159         getCheckCloudIdentityAccountsExistMethod;
160     if ((getCheckCloudIdentityAccountsExistMethod =
161             CloudChannelServiceGrpc.getCheckCloudIdentityAccountsExistMethod)
162         == null) {
163       synchronized (CloudChannelServiceGrpc.class) {
164         if ((getCheckCloudIdentityAccountsExistMethod =
165                 CloudChannelServiceGrpc.getCheckCloudIdentityAccountsExistMethod)
166             == null) {
167           CloudChannelServiceGrpc.getCheckCloudIdentityAccountsExistMethod =
168               getCheckCloudIdentityAccountsExistMethod =
169                   io.grpc.MethodDescriptor
170                       .<com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest,
171                           com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse>
172                           newBuilder()
173                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
174                       .setFullMethodName(
175                           generateFullMethodName(SERVICE_NAME, "CheckCloudIdentityAccountsExist"))
176                       .setSampledToLocalTracing(true)
177                       .setRequestMarshaller(
178                           io.grpc.protobuf.ProtoUtils.marshaller(
179                               com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest
180                                   .getDefaultInstance()))
181                       .setResponseMarshaller(
182                           io.grpc.protobuf.ProtoUtils.marshaller(
183                               com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse
184                                   .getDefaultInstance()))
185                       .setSchemaDescriptor(
186                           new CloudChannelServiceMethodDescriptorSupplier(
187                               "CheckCloudIdentityAccountsExist"))
188                       .build();
189         }
190       }
191     }
192     return getCheckCloudIdentityAccountsExistMethod;
193   }
194 
195   private static volatile io.grpc.MethodDescriptor<
196           com.google.cloud.channel.v1.CreateCustomerRequest, com.google.cloud.channel.v1.Customer>
197       getCreateCustomerMethod;
198 
199   @io.grpc.stub.annotations.RpcMethod(
200       fullMethodName = SERVICE_NAME + '/' + "CreateCustomer",
201       requestType = com.google.cloud.channel.v1.CreateCustomerRequest.class,
202       responseType = com.google.cloud.channel.v1.Customer.class,
203       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
204   public static io.grpc.MethodDescriptor<
205           com.google.cloud.channel.v1.CreateCustomerRequest, com.google.cloud.channel.v1.Customer>
getCreateCustomerMethod()206       getCreateCustomerMethod() {
207     io.grpc.MethodDescriptor<
208             com.google.cloud.channel.v1.CreateCustomerRequest, com.google.cloud.channel.v1.Customer>
209         getCreateCustomerMethod;
210     if ((getCreateCustomerMethod = CloudChannelServiceGrpc.getCreateCustomerMethod) == null) {
211       synchronized (CloudChannelServiceGrpc.class) {
212         if ((getCreateCustomerMethod = CloudChannelServiceGrpc.getCreateCustomerMethod) == null) {
213           CloudChannelServiceGrpc.getCreateCustomerMethod =
214               getCreateCustomerMethod =
215                   io.grpc.MethodDescriptor
216                       .<com.google.cloud.channel.v1.CreateCustomerRequest,
217                           com.google.cloud.channel.v1.Customer>
218                           newBuilder()
219                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
220                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCustomer"))
221                       .setSampledToLocalTracing(true)
222                       .setRequestMarshaller(
223                           io.grpc.protobuf.ProtoUtils.marshaller(
224                               com.google.cloud.channel.v1.CreateCustomerRequest
225                                   .getDefaultInstance()))
226                       .setResponseMarshaller(
227                           io.grpc.protobuf.ProtoUtils.marshaller(
228                               com.google.cloud.channel.v1.Customer.getDefaultInstance()))
229                       .setSchemaDescriptor(
230                           new CloudChannelServiceMethodDescriptorSupplier("CreateCustomer"))
231                       .build();
232         }
233       }
234     }
235     return getCreateCustomerMethod;
236   }
237 
238   private static volatile io.grpc.MethodDescriptor<
239           com.google.cloud.channel.v1.UpdateCustomerRequest, com.google.cloud.channel.v1.Customer>
240       getUpdateCustomerMethod;
241 
242   @io.grpc.stub.annotations.RpcMethod(
243       fullMethodName = SERVICE_NAME + '/' + "UpdateCustomer",
244       requestType = com.google.cloud.channel.v1.UpdateCustomerRequest.class,
245       responseType = com.google.cloud.channel.v1.Customer.class,
246       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
247   public static io.grpc.MethodDescriptor<
248           com.google.cloud.channel.v1.UpdateCustomerRequest, com.google.cloud.channel.v1.Customer>
getUpdateCustomerMethod()249       getUpdateCustomerMethod() {
250     io.grpc.MethodDescriptor<
251             com.google.cloud.channel.v1.UpdateCustomerRequest, com.google.cloud.channel.v1.Customer>
252         getUpdateCustomerMethod;
253     if ((getUpdateCustomerMethod = CloudChannelServiceGrpc.getUpdateCustomerMethod) == null) {
254       synchronized (CloudChannelServiceGrpc.class) {
255         if ((getUpdateCustomerMethod = CloudChannelServiceGrpc.getUpdateCustomerMethod) == null) {
256           CloudChannelServiceGrpc.getUpdateCustomerMethod =
257               getUpdateCustomerMethod =
258                   io.grpc.MethodDescriptor
259                       .<com.google.cloud.channel.v1.UpdateCustomerRequest,
260                           com.google.cloud.channel.v1.Customer>
261                           newBuilder()
262                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
263                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCustomer"))
264                       .setSampledToLocalTracing(true)
265                       .setRequestMarshaller(
266                           io.grpc.protobuf.ProtoUtils.marshaller(
267                               com.google.cloud.channel.v1.UpdateCustomerRequest
268                                   .getDefaultInstance()))
269                       .setResponseMarshaller(
270                           io.grpc.protobuf.ProtoUtils.marshaller(
271                               com.google.cloud.channel.v1.Customer.getDefaultInstance()))
272                       .setSchemaDescriptor(
273                           new CloudChannelServiceMethodDescriptorSupplier("UpdateCustomer"))
274                       .build();
275         }
276       }
277     }
278     return getUpdateCustomerMethod;
279   }
280 
281   private static volatile io.grpc.MethodDescriptor<
282           com.google.cloud.channel.v1.DeleteCustomerRequest, com.google.protobuf.Empty>
283       getDeleteCustomerMethod;
284 
285   @io.grpc.stub.annotations.RpcMethod(
286       fullMethodName = SERVICE_NAME + '/' + "DeleteCustomer",
287       requestType = com.google.cloud.channel.v1.DeleteCustomerRequest.class,
288       responseType = com.google.protobuf.Empty.class,
289       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
290   public static io.grpc.MethodDescriptor<
291           com.google.cloud.channel.v1.DeleteCustomerRequest, com.google.protobuf.Empty>
getDeleteCustomerMethod()292       getDeleteCustomerMethod() {
293     io.grpc.MethodDescriptor<
294             com.google.cloud.channel.v1.DeleteCustomerRequest, com.google.protobuf.Empty>
295         getDeleteCustomerMethod;
296     if ((getDeleteCustomerMethod = CloudChannelServiceGrpc.getDeleteCustomerMethod) == null) {
297       synchronized (CloudChannelServiceGrpc.class) {
298         if ((getDeleteCustomerMethod = CloudChannelServiceGrpc.getDeleteCustomerMethod) == null) {
299           CloudChannelServiceGrpc.getDeleteCustomerMethod =
300               getDeleteCustomerMethod =
301                   io.grpc.MethodDescriptor
302                       .<com.google.cloud.channel.v1.DeleteCustomerRequest,
303                           com.google.protobuf.Empty>
304                           newBuilder()
305                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
306                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCustomer"))
307                       .setSampledToLocalTracing(true)
308                       .setRequestMarshaller(
309                           io.grpc.protobuf.ProtoUtils.marshaller(
310                               com.google.cloud.channel.v1.DeleteCustomerRequest
311                                   .getDefaultInstance()))
312                       .setResponseMarshaller(
313                           io.grpc.protobuf.ProtoUtils.marshaller(
314                               com.google.protobuf.Empty.getDefaultInstance()))
315                       .setSchemaDescriptor(
316                           new CloudChannelServiceMethodDescriptorSupplier("DeleteCustomer"))
317                       .build();
318         }
319       }
320     }
321     return getDeleteCustomerMethod;
322   }
323 
324   private static volatile io.grpc.MethodDescriptor<
325           com.google.cloud.channel.v1.ImportCustomerRequest, com.google.cloud.channel.v1.Customer>
326       getImportCustomerMethod;
327 
328   @io.grpc.stub.annotations.RpcMethod(
329       fullMethodName = SERVICE_NAME + '/' + "ImportCustomer",
330       requestType = com.google.cloud.channel.v1.ImportCustomerRequest.class,
331       responseType = com.google.cloud.channel.v1.Customer.class,
332       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
333   public static io.grpc.MethodDescriptor<
334           com.google.cloud.channel.v1.ImportCustomerRequest, com.google.cloud.channel.v1.Customer>
getImportCustomerMethod()335       getImportCustomerMethod() {
336     io.grpc.MethodDescriptor<
337             com.google.cloud.channel.v1.ImportCustomerRequest, com.google.cloud.channel.v1.Customer>
338         getImportCustomerMethod;
339     if ((getImportCustomerMethod = CloudChannelServiceGrpc.getImportCustomerMethod) == null) {
340       synchronized (CloudChannelServiceGrpc.class) {
341         if ((getImportCustomerMethod = CloudChannelServiceGrpc.getImportCustomerMethod) == null) {
342           CloudChannelServiceGrpc.getImportCustomerMethod =
343               getImportCustomerMethod =
344                   io.grpc.MethodDescriptor
345                       .<com.google.cloud.channel.v1.ImportCustomerRequest,
346                           com.google.cloud.channel.v1.Customer>
347                           newBuilder()
348                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
349                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportCustomer"))
350                       .setSampledToLocalTracing(true)
351                       .setRequestMarshaller(
352                           io.grpc.protobuf.ProtoUtils.marshaller(
353                               com.google.cloud.channel.v1.ImportCustomerRequest
354                                   .getDefaultInstance()))
355                       .setResponseMarshaller(
356                           io.grpc.protobuf.ProtoUtils.marshaller(
357                               com.google.cloud.channel.v1.Customer.getDefaultInstance()))
358                       .setSchemaDescriptor(
359                           new CloudChannelServiceMethodDescriptorSupplier("ImportCustomer"))
360                       .build();
361         }
362       }
363     }
364     return getImportCustomerMethod;
365   }
366 
367   private static volatile io.grpc.MethodDescriptor<
368           com.google.cloud.channel.v1.ProvisionCloudIdentityRequest,
369           com.google.longrunning.Operation>
370       getProvisionCloudIdentityMethod;
371 
372   @io.grpc.stub.annotations.RpcMethod(
373       fullMethodName = SERVICE_NAME + '/' + "ProvisionCloudIdentity",
374       requestType = com.google.cloud.channel.v1.ProvisionCloudIdentityRequest.class,
375       responseType = com.google.longrunning.Operation.class,
376       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
377   public static io.grpc.MethodDescriptor<
378           com.google.cloud.channel.v1.ProvisionCloudIdentityRequest,
379           com.google.longrunning.Operation>
getProvisionCloudIdentityMethod()380       getProvisionCloudIdentityMethod() {
381     io.grpc.MethodDescriptor<
382             com.google.cloud.channel.v1.ProvisionCloudIdentityRequest,
383             com.google.longrunning.Operation>
384         getProvisionCloudIdentityMethod;
385     if ((getProvisionCloudIdentityMethod = CloudChannelServiceGrpc.getProvisionCloudIdentityMethod)
386         == null) {
387       synchronized (CloudChannelServiceGrpc.class) {
388         if ((getProvisionCloudIdentityMethod =
389                 CloudChannelServiceGrpc.getProvisionCloudIdentityMethod)
390             == null) {
391           CloudChannelServiceGrpc.getProvisionCloudIdentityMethod =
392               getProvisionCloudIdentityMethod =
393                   io.grpc.MethodDescriptor
394                       .<com.google.cloud.channel.v1.ProvisionCloudIdentityRequest,
395                           com.google.longrunning.Operation>
396                           newBuilder()
397                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
398                       .setFullMethodName(
399                           generateFullMethodName(SERVICE_NAME, "ProvisionCloudIdentity"))
400                       .setSampledToLocalTracing(true)
401                       .setRequestMarshaller(
402                           io.grpc.protobuf.ProtoUtils.marshaller(
403                               com.google.cloud.channel.v1.ProvisionCloudIdentityRequest
404                                   .getDefaultInstance()))
405                       .setResponseMarshaller(
406                           io.grpc.protobuf.ProtoUtils.marshaller(
407                               com.google.longrunning.Operation.getDefaultInstance()))
408                       .setSchemaDescriptor(
409                           new CloudChannelServiceMethodDescriptorSupplier("ProvisionCloudIdentity"))
410                       .build();
411         }
412       }
413     }
414     return getProvisionCloudIdentityMethod;
415   }
416 
417   private static volatile io.grpc.MethodDescriptor<
418           com.google.cloud.channel.v1.ListEntitlementsRequest,
419           com.google.cloud.channel.v1.ListEntitlementsResponse>
420       getListEntitlementsMethod;
421 
422   @io.grpc.stub.annotations.RpcMethod(
423       fullMethodName = SERVICE_NAME + '/' + "ListEntitlements",
424       requestType = com.google.cloud.channel.v1.ListEntitlementsRequest.class,
425       responseType = com.google.cloud.channel.v1.ListEntitlementsResponse.class,
426       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
427   public static io.grpc.MethodDescriptor<
428           com.google.cloud.channel.v1.ListEntitlementsRequest,
429           com.google.cloud.channel.v1.ListEntitlementsResponse>
getListEntitlementsMethod()430       getListEntitlementsMethod() {
431     io.grpc.MethodDescriptor<
432             com.google.cloud.channel.v1.ListEntitlementsRequest,
433             com.google.cloud.channel.v1.ListEntitlementsResponse>
434         getListEntitlementsMethod;
435     if ((getListEntitlementsMethod = CloudChannelServiceGrpc.getListEntitlementsMethod) == null) {
436       synchronized (CloudChannelServiceGrpc.class) {
437         if ((getListEntitlementsMethod = CloudChannelServiceGrpc.getListEntitlementsMethod)
438             == null) {
439           CloudChannelServiceGrpc.getListEntitlementsMethod =
440               getListEntitlementsMethod =
441                   io.grpc.MethodDescriptor
442                       .<com.google.cloud.channel.v1.ListEntitlementsRequest,
443                           com.google.cloud.channel.v1.ListEntitlementsResponse>
444                           newBuilder()
445                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
446                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEntitlements"))
447                       .setSampledToLocalTracing(true)
448                       .setRequestMarshaller(
449                           io.grpc.protobuf.ProtoUtils.marshaller(
450                               com.google.cloud.channel.v1.ListEntitlementsRequest
451                                   .getDefaultInstance()))
452                       .setResponseMarshaller(
453                           io.grpc.protobuf.ProtoUtils.marshaller(
454                               com.google.cloud.channel.v1.ListEntitlementsResponse
455                                   .getDefaultInstance()))
456                       .setSchemaDescriptor(
457                           new CloudChannelServiceMethodDescriptorSupplier("ListEntitlements"))
458                       .build();
459         }
460       }
461     }
462     return getListEntitlementsMethod;
463   }
464 
465   private static volatile io.grpc.MethodDescriptor<
466           com.google.cloud.channel.v1.ListTransferableSkusRequest,
467           com.google.cloud.channel.v1.ListTransferableSkusResponse>
468       getListTransferableSkusMethod;
469 
470   @io.grpc.stub.annotations.RpcMethod(
471       fullMethodName = SERVICE_NAME + '/' + "ListTransferableSkus",
472       requestType = com.google.cloud.channel.v1.ListTransferableSkusRequest.class,
473       responseType = com.google.cloud.channel.v1.ListTransferableSkusResponse.class,
474       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
475   public static io.grpc.MethodDescriptor<
476           com.google.cloud.channel.v1.ListTransferableSkusRequest,
477           com.google.cloud.channel.v1.ListTransferableSkusResponse>
getListTransferableSkusMethod()478       getListTransferableSkusMethod() {
479     io.grpc.MethodDescriptor<
480             com.google.cloud.channel.v1.ListTransferableSkusRequest,
481             com.google.cloud.channel.v1.ListTransferableSkusResponse>
482         getListTransferableSkusMethod;
483     if ((getListTransferableSkusMethod = CloudChannelServiceGrpc.getListTransferableSkusMethod)
484         == null) {
485       synchronized (CloudChannelServiceGrpc.class) {
486         if ((getListTransferableSkusMethod = CloudChannelServiceGrpc.getListTransferableSkusMethod)
487             == null) {
488           CloudChannelServiceGrpc.getListTransferableSkusMethod =
489               getListTransferableSkusMethod =
490                   io.grpc.MethodDescriptor
491                       .<com.google.cloud.channel.v1.ListTransferableSkusRequest,
492                           com.google.cloud.channel.v1.ListTransferableSkusResponse>
493                           newBuilder()
494                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
495                       .setFullMethodName(
496                           generateFullMethodName(SERVICE_NAME, "ListTransferableSkus"))
497                       .setSampledToLocalTracing(true)
498                       .setRequestMarshaller(
499                           io.grpc.protobuf.ProtoUtils.marshaller(
500                               com.google.cloud.channel.v1.ListTransferableSkusRequest
501                                   .getDefaultInstance()))
502                       .setResponseMarshaller(
503                           io.grpc.protobuf.ProtoUtils.marshaller(
504                               com.google.cloud.channel.v1.ListTransferableSkusResponse
505                                   .getDefaultInstance()))
506                       .setSchemaDescriptor(
507                           new CloudChannelServiceMethodDescriptorSupplier("ListTransferableSkus"))
508                       .build();
509         }
510       }
511     }
512     return getListTransferableSkusMethod;
513   }
514 
515   private static volatile io.grpc.MethodDescriptor<
516           com.google.cloud.channel.v1.ListTransferableOffersRequest,
517           com.google.cloud.channel.v1.ListTransferableOffersResponse>
518       getListTransferableOffersMethod;
519 
520   @io.grpc.stub.annotations.RpcMethod(
521       fullMethodName = SERVICE_NAME + '/' + "ListTransferableOffers",
522       requestType = com.google.cloud.channel.v1.ListTransferableOffersRequest.class,
523       responseType = com.google.cloud.channel.v1.ListTransferableOffersResponse.class,
524       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
525   public static io.grpc.MethodDescriptor<
526           com.google.cloud.channel.v1.ListTransferableOffersRequest,
527           com.google.cloud.channel.v1.ListTransferableOffersResponse>
getListTransferableOffersMethod()528       getListTransferableOffersMethod() {
529     io.grpc.MethodDescriptor<
530             com.google.cloud.channel.v1.ListTransferableOffersRequest,
531             com.google.cloud.channel.v1.ListTransferableOffersResponse>
532         getListTransferableOffersMethod;
533     if ((getListTransferableOffersMethod = CloudChannelServiceGrpc.getListTransferableOffersMethod)
534         == null) {
535       synchronized (CloudChannelServiceGrpc.class) {
536         if ((getListTransferableOffersMethod =
537                 CloudChannelServiceGrpc.getListTransferableOffersMethod)
538             == null) {
539           CloudChannelServiceGrpc.getListTransferableOffersMethod =
540               getListTransferableOffersMethod =
541                   io.grpc.MethodDescriptor
542                       .<com.google.cloud.channel.v1.ListTransferableOffersRequest,
543                           com.google.cloud.channel.v1.ListTransferableOffersResponse>
544                           newBuilder()
545                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
546                       .setFullMethodName(
547                           generateFullMethodName(SERVICE_NAME, "ListTransferableOffers"))
548                       .setSampledToLocalTracing(true)
549                       .setRequestMarshaller(
550                           io.grpc.protobuf.ProtoUtils.marshaller(
551                               com.google.cloud.channel.v1.ListTransferableOffersRequest
552                                   .getDefaultInstance()))
553                       .setResponseMarshaller(
554                           io.grpc.protobuf.ProtoUtils.marshaller(
555                               com.google.cloud.channel.v1.ListTransferableOffersResponse
556                                   .getDefaultInstance()))
557                       .setSchemaDescriptor(
558                           new CloudChannelServiceMethodDescriptorSupplier("ListTransferableOffers"))
559                       .build();
560         }
561       }
562     }
563     return getListTransferableOffersMethod;
564   }
565 
566   private static volatile io.grpc.MethodDescriptor<
567           com.google.cloud.channel.v1.GetEntitlementRequest,
568           com.google.cloud.channel.v1.Entitlement>
569       getGetEntitlementMethod;
570 
571   @io.grpc.stub.annotations.RpcMethod(
572       fullMethodName = SERVICE_NAME + '/' + "GetEntitlement",
573       requestType = com.google.cloud.channel.v1.GetEntitlementRequest.class,
574       responseType = com.google.cloud.channel.v1.Entitlement.class,
575       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
576   public static io.grpc.MethodDescriptor<
577           com.google.cloud.channel.v1.GetEntitlementRequest,
578           com.google.cloud.channel.v1.Entitlement>
getGetEntitlementMethod()579       getGetEntitlementMethod() {
580     io.grpc.MethodDescriptor<
581             com.google.cloud.channel.v1.GetEntitlementRequest,
582             com.google.cloud.channel.v1.Entitlement>
583         getGetEntitlementMethod;
584     if ((getGetEntitlementMethod = CloudChannelServiceGrpc.getGetEntitlementMethod) == null) {
585       synchronized (CloudChannelServiceGrpc.class) {
586         if ((getGetEntitlementMethod = CloudChannelServiceGrpc.getGetEntitlementMethod) == null) {
587           CloudChannelServiceGrpc.getGetEntitlementMethod =
588               getGetEntitlementMethod =
589                   io.grpc.MethodDescriptor
590                       .<com.google.cloud.channel.v1.GetEntitlementRequest,
591                           com.google.cloud.channel.v1.Entitlement>
592                           newBuilder()
593                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
594                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEntitlement"))
595                       .setSampledToLocalTracing(true)
596                       .setRequestMarshaller(
597                           io.grpc.protobuf.ProtoUtils.marshaller(
598                               com.google.cloud.channel.v1.GetEntitlementRequest
599                                   .getDefaultInstance()))
600                       .setResponseMarshaller(
601                           io.grpc.protobuf.ProtoUtils.marshaller(
602                               com.google.cloud.channel.v1.Entitlement.getDefaultInstance()))
603                       .setSchemaDescriptor(
604                           new CloudChannelServiceMethodDescriptorSupplier("GetEntitlement"))
605                       .build();
606         }
607       }
608     }
609     return getGetEntitlementMethod;
610   }
611 
612   private static volatile io.grpc.MethodDescriptor<
613           com.google.cloud.channel.v1.CreateEntitlementRequest, com.google.longrunning.Operation>
614       getCreateEntitlementMethod;
615 
616   @io.grpc.stub.annotations.RpcMethod(
617       fullMethodName = SERVICE_NAME + '/' + "CreateEntitlement",
618       requestType = com.google.cloud.channel.v1.CreateEntitlementRequest.class,
619       responseType = com.google.longrunning.Operation.class,
620       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
621   public static io.grpc.MethodDescriptor<
622           com.google.cloud.channel.v1.CreateEntitlementRequest, com.google.longrunning.Operation>
getCreateEntitlementMethod()623       getCreateEntitlementMethod() {
624     io.grpc.MethodDescriptor<
625             com.google.cloud.channel.v1.CreateEntitlementRequest, com.google.longrunning.Operation>
626         getCreateEntitlementMethod;
627     if ((getCreateEntitlementMethod = CloudChannelServiceGrpc.getCreateEntitlementMethod) == null) {
628       synchronized (CloudChannelServiceGrpc.class) {
629         if ((getCreateEntitlementMethod = CloudChannelServiceGrpc.getCreateEntitlementMethod)
630             == null) {
631           CloudChannelServiceGrpc.getCreateEntitlementMethod =
632               getCreateEntitlementMethod =
633                   io.grpc.MethodDescriptor
634                       .<com.google.cloud.channel.v1.CreateEntitlementRequest,
635                           com.google.longrunning.Operation>
636                           newBuilder()
637                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
638                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEntitlement"))
639                       .setSampledToLocalTracing(true)
640                       .setRequestMarshaller(
641                           io.grpc.protobuf.ProtoUtils.marshaller(
642                               com.google.cloud.channel.v1.CreateEntitlementRequest
643                                   .getDefaultInstance()))
644                       .setResponseMarshaller(
645                           io.grpc.protobuf.ProtoUtils.marshaller(
646                               com.google.longrunning.Operation.getDefaultInstance()))
647                       .setSchemaDescriptor(
648                           new CloudChannelServiceMethodDescriptorSupplier("CreateEntitlement"))
649                       .build();
650         }
651       }
652     }
653     return getCreateEntitlementMethod;
654   }
655 
656   private static volatile io.grpc.MethodDescriptor<
657           com.google.cloud.channel.v1.ChangeParametersRequest, com.google.longrunning.Operation>
658       getChangeParametersMethod;
659 
660   @io.grpc.stub.annotations.RpcMethod(
661       fullMethodName = SERVICE_NAME + '/' + "ChangeParameters",
662       requestType = com.google.cloud.channel.v1.ChangeParametersRequest.class,
663       responseType = com.google.longrunning.Operation.class,
664       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
665   public static io.grpc.MethodDescriptor<
666           com.google.cloud.channel.v1.ChangeParametersRequest, com.google.longrunning.Operation>
getChangeParametersMethod()667       getChangeParametersMethod() {
668     io.grpc.MethodDescriptor<
669             com.google.cloud.channel.v1.ChangeParametersRequest, com.google.longrunning.Operation>
670         getChangeParametersMethod;
671     if ((getChangeParametersMethod = CloudChannelServiceGrpc.getChangeParametersMethod) == null) {
672       synchronized (CloudChannelServiceGrpc.class) {
673         if ((getChangeParametersMethod = CloudChannelServiceGrpc.getChangeParametersMethod)
674             == null) {
675           CloudChannelServiceGrpc.getChangeParametersMethod =
676               getChangeParametersMethod =
677                   io.grpc.MethodDescriptor
678                       .<com.google.cloud.channel.v1.ChangeParametersRequest,
679                           com.google.longrunning.Operation>
680                           newBuilder()
681                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
682                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ChangeParameters"))
683                       .setSampledToLocalTracing(true)
684                       .setRequestMarshaller(
685                           io.grpc.protobuf.ProtoUtils.marshaller(
686                               com.google.cloud.channel.v1.ChangeParametersRequest
687                                   .getDefaultInstance()))
688                       .setResponseMarshaller(
689                           io.grpc.protobuf.ProtoUtils.marshaller(
690                               com.google.longrunning.Operation.getDefaultInstance()))
691                       .setSchemaDescriptor(
692                           new CloudChannelServiceMethodDescriptorSupplier("ChangeParameters"))
693                       .build();
694         }
695       }
696     }
697     return getChangeParametersMethod;
698   }
699 
700   private static volatile io.grpc.MethodDescriptor<
701           com.google.cloud.channel.v1.ChangeRenewalSettingsRequest,
702           com.google.longrunning.Operation>
703       getChangeRenewalSettingsMethod;
704 
705   @io.grpc.stub.annotations.RpcMethod(
706       fullMethodName = SERVICE_NAME + '/' + "ChangeRenewalSettings",
707       requestType = com.google.cloud.channel.v1.ChangeRenewalSettingsRequest.class,
708       responseType = com.google.longrunning.Operation.class,
709       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
710   public static io.grpc.MethodDescriptor<
711           com.google.cloud.channel.v1.ChangeRenewalSettingsRequest,
712           com.google.longrunning.Operation>
getChangeRenewalSettingsMethod()713       getChangeRenewalSettingsMethod() {
714     io.grpc.MethodDescriptor<
715             com.google.cloud.channel.v1.ChangeRenewalSettingsRequest,
716             com.google.longrunning.Operation>
717         getChangeRenewalSettingsMethod;
718     if ((getChangeRenewalSettingsMethod = CloudChannelServiceGrpc.getChangeRenewalSettingsMethod)
719         == null) {
720       synchronized (CloudChannelServiceGrpc.class) {
721         if ((getChangeRenewalSettingsMethod =
722                 CloudChannelServiceGrpc.getChangeRenewalSettingsMethod)
723             == null) {
724           CloudChannelServiceGrpc.getChangeRenewalSettingsMethod =
725               getChangeRenewalSettingsMethod =
726                   io.grpc.MethodDescriptor
727                       .<com.google.cloud.channel.v1.ChangeRenewalSettingsRequest,
728                           com.google.longrunning.Operation>
729                           newBuilder()
730                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
731                       .setFullMethodName(
732                           generateFullMethodName(SERVICE_NAME, "ChangeRenewalSettings"))
733                       .setSampledToLocalTracing(true)
734                       .setRequestMarshaller(
735                           io.grpc.protobuf.ProtoUtils.marshaller(
736                               com.google.cloud.channel.v1.ChangeRenewalSettingsRequest
737                                   .getDefaultInstance()))
738                       .setResponseMarshaller(
739                           io.grpc.protobuf.ProtoUtils.marshaller(
740                               com.google.longrunning.Operation.getDefaultInstance()))
741                       .setSchemaDescriptor(
742                           new CloudChannelServiceMethodDescriptorSupplier("ChangeRenewalSettings"))
743                       .build();
744         }
745       }
746     }
747     return getChangeRenewalSettingsMethod;
748   }
749 
750   private static volatile io.grpc.MethodDescriptor<
751           com.google.cloud.channel.v1.ChangeOfferRequest, com.google.longrunning.Operation>
752       getChangeOfferMethod;
753 
754   @io.grpc.stub.annotations.RpcMethod(
755       fullMethodName = SERVICE_NAME + '/' + "ChangeOffer",
756       requestType = com.google.cloud.channel.v1.ChangeOfferRequest.class,
757       responseType = com.google.longrunning.Operation.class,
758       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
759   public static io.grpc.MethodDescriptor<
760           com.google.cloud.channel.v1.ChangeOfferRequest, com.google.longrunning.Operation>
getChangeOfferMethod()761       getChangeOfferMethod() {
762     io.grpc.MethodDescriptor<
763             com.google.cloud.channel.v1.ChangeOfferRequest, com.google.longrunning.Operation>
764         getChangeOfferMethod;
765     if ((getChangeOfferMethod = CloudChannelServiceGrpc.getChangeOfferMethod) == null) {
766       synchronized (CloudChannelServiceGrpc.class) {
767         if ((getChangeOfferMethod = CloudChannelServiceGrpc.getChangeOfferMethod) == null) {
768           CloudChannelServiceGrpc.getChangeOfferMethod =
769               getChangeOfferMethod =
770                   io.grpc.MethodDescriptor
771                       .<com.google.cloud.channel.v1.ChangeOfferRequest,
772                           com.google.longrunning.Operation>
773                           newBuilder()
774                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
775                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ChangeOffer"))
776                       .setSampledToLocalTracing(true)
777                       .setRequestMarshaller(
778                           io.grpc.protobuf.ProtoUtils.marshaller(
779                               com.google.cloud.channel.v1.ChangeOfferRequest.getDefaultInstance()))
780                       .setResponseMarshaller(
781                           io.grpc.protobuf.ProtoUtils.marshaller(
782                               com.google.longrunning.Operation.getDefaultInstance()))
783                       .setSchemaDescriptor(
784                           new CloudChannelServiceMethodDescriptorSupplier("ChangeOffer"))
785                       .build();
786         }
787       }
788     }
789     return getChangeOfferMethod;
790   }
791 
792   private static volatile io.grpc.MethodDescriptor<
793           com.google.cloud.channel.v1.StartPaidServiceRequest, com.google.longrunning.Operation>
794       getStartPaidServiceMethod;
795 
796   @io.grpc.stub.annotations.RpcMethod(
797       fullMethodName = SERVICE_NAME + '/' + "StartPaidService",
798       requestType = com.google.cloud.channel.v1.StartPaidServiceRequest.class,
799       responseType = com.google.longrunning.Operation.class,
800       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
801   public static io.grpc.MethodDescriptor<
802           com.google.cloud.channel.v1.StartPaidServiceRequest, com.google.longrunning.Operation>
getStartPaidServiceMethod()803       getStartPaidServiceMethod() {
804     io.grpc.MethodDescriptor<
805             com.google.cloud.channel.v1.StartPaidServiceRequest, com.google.longrunning.Operation>
806         getStartPaidServiceMethod;
807     if ((getStartPaidServiceMethod = CloudChannelServiceGrpc.getStartPaidServiceMethod) == null) {
808       synchronized (CloudChannelServiceGrpc.class) {
809         if ((getStartPaidServiceMethod = CloudChannelServiceGrpc.getStartPaidServiceMethod)
810             == null) {
811           CloudChannelServiceGrpc.getStartPaidServiceMethod =
812               getStartPaidServiceMethod =
813                   io.grpc.MethodDescriptor
814                       .<com.google.cloud.channel.v1.StartPaidServiceRequest,
815                           com.google.longrunning.Operation>
816                           newBuilder()
817                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
818                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StartPaidService"))
819                       .setSampledToLocalTracing(true)
820                       .setRequestMarshaller(
821                           io.grpc.protobuf.ProtoUtils.marshaller(
822                               com.google.cloud.channel.v1.StartPaidServiceRequest
823                                   .getDefaultInstance()))
824                       .setResponseMarshaller(
825                           io.grpc.protobuf.ProtoUtils.marshaller(
826                               com.google.longrunning.Operation.getDefaultInstance()))
827                       .setSchemaDescriptor(
828                           new CloudChannelServiceMethodDescriptorSupplier("StartPaidService"))
829                       .build();
830         }
831       }
832     }
833     return getStartPaidServiceMethod;
834   }
835 
836   private static volatile io.grpc.MethodDescriptor<
837           com.google.cloud.channel.v1.SuspendEntitlementRequest, com.google.longrunning.Operation>
838       getSuspendEntitlementMethod;
839 
840   @io.grpc.stub.annotations.RpcMethod(
841       fullMethodName = SERVICE_NAME + '/' + "SuspendEntitlement",
842       requestType = com.google.cloud.channel.v1.SuspendEntitlementRequest.class,
843       responseType = com.google.longrunning.Operation.class,
844       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
845   public static io.grpc.MethodDescriptor<
846           com.google.cloud.channel.v1.SuspendEntitlementRequest, com.google.longrunning.Operation>
getSuspendEntitlementMethod()847       getSuspendEntitlementMethod() {
848     io.grpc.MethodDescriptor<
849             com.google.cloud.channel.v1.SuspendEntitlementRequest, com.google.longrunning.Operation>
850         getSuspendEntitlementMethod;
851     if ((getSuspendEntitlementMethod = CloudChannelServiceGrpc.getSuspendEntitlementMethod)
852         == null) {
853       synchronized (CloudChannelServiceGrpc.class) {
854         if ((getSuspendEntitlementMethod = CloudChannelServiceGrpc.getSuspendEntitlementMethod)
855             == null) {
856           CloudChannelServiceGrpc.getSuspendEntitlementMethod =
857               getSuspendEntitlementMethod =
858                   io.grpc.MethodDescriptor
859                       .<com.google.cloud.channel.v1.SuspendEntitlementRequest,
860                           com.google.longrunning.Operation>
861                           newBuilder()
862                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
863                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SuspendEntitlement"))
864                       .setSampledToLocalTracing(true)
865                       .setRequestMarshaller(
866                           io.grpc.protobuf.ProtoUtils.marshaller(
867                               com.google.cloud.channel.v1.SuspendEntitlementRequest
868                                   .getDefaultInstance()))
869                       .setResponseMarshaller(
870                           io.grpc.protobuf.ProtoUtils.marshaller(
871                               com.google.longrunning.Operation.getDefaultInstance()))
872                       .setSchemaDescriptor(
873                           new CloudChannelServiceMethodDescriptorSupplier("SuspendEntitlement"))
874                       .build();
875         }
876       }
877     }
878     return getSuspendEntitlementMethod;
879   }
880 
881   private static volatile io.grpc.MethodDescriptor<
882           com.google.cloud.channel.v1.CancelEntitlementRequest, com.google.longrunning.Operation>
883       getCancelEntitlementMethod;
884 
885   @io.grpc.stub.annotations.RpcMethod(
886       fullMethodName = SERVICE_NAME + '/' + "CancelEntitlement",
887       requestType = com.google.cloud.channel.v1.CancelEntitlementRequest.class,
888       responseType = com.google.longrunning.Operation.class,
889       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
890   public static io.grpc.MethodDescriptor<
891           com.google.cloud.channel.v1.CancelEntitlementRequest, com.google.longrunning.Operation>
getCancelEntitlementMethod()892       getCancelEntitlementMethod() {
893     io.grpc.MethodDescriptor<
894             com.google.cloud.channel.v1.CancelEntitlementRequest, com.google.longrunning.Operation>
895         getCancelEntitlementMethod;
896     if ((getCancelEntitlementMethod = CloudChannelServiceGrpc.getCancelEntitlementMethod) == null) {
897       synchronized (CloudChannelServiceGrpc.class) {
898         if ((getCancelEntitlementMethod = CloudChannelServiceGrpc.getCancelEntitlementMethod)
899             == null) {
900           CloudChannelServiceGrpc.getCancelEntitlementMethod =
901               getCancelEntitlementMethod =
902                   io.grpc.MethodDescriptor
903                       .<com.google.cloud.channel.v1.CancelEntitlementRequest,
904                           com.google.longrunning.Operation>
905                           newBuilder()
906                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
907                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelEntitlement"))
908                       .setSampledToLocalTracing(true)
909                       .setRequestMarshaller(
910                           io.grpc.protobuf.ProtoUtils.marshaller(
911                               com.google.cloud.channel.v1.CancelEntitlementRequest
912                                   .getDefaultInstance()))
913                       .setResponseMarshaller(
914                           io.grpc.protobuf.ProtoUtils.marshaller(
915                               com.google.longrunning.Operation.getDefaultInstance()))
916                       .setSchemaDescriptor(
917                           new CloudChannelServiceMethodDescriptorSupplier("CancelEntitlement"))
918                       .build();
919         }
920       }
921     }
922     return getCancelEntitlementMethod;
923   }
924 
925   private static volatile io.grpc.MethodDescriptor<
926           com.google.cloud.channel.v1.ActivateEntitlementRequest, com.google.longrunning.Operation>
927       getActivateEntitlementMethod;
928 
929   @io.grpc.stub.annotations.RpcMethod(
930       fullMethodName = SERVICE_NAME + '/' + "ActivateEntitlement",
931       requestType = com.google.cloud.channel.v1.ActivateEntitlementRequest.class,
932       responseType = com.google.longrunning.Operation.class,
933       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
934   public static io.grpc.MethodDescriptor<
935           com.google.cloud.channel.v1.ActivateEntitlementRequest, com.google.longrunning.Operation>
getActivateEntitlementMethod()936       getActivateEntitlementMethod() {
937     io.grpc.MethodDescriptor<
938             com.google.cloud.channel.v1.ActivateEntitlementRequest,
939             com.google.longrunning.Operation>
940         getActivateEntitlementMethod;
941     if ((getActivateEntitlementMethod = CloudChannelServiceGrpc.getActivateEntitlementMethod)
942         == null) {
943       synchronized (CloudChannelServiceGrpc.class) {
944         if ((getActivateEntitlementMethod = CloudChannelServiceGrpc.getActivateEntitlementMethod)
945             == null) {
946           CloudChannelServiceGrpc.getActivateEntitlementMethod =
947               getActivateEntitlementMethod =
948                   io.grpc.MethodDescriptor
949                       .<com.google.cloud.channel.v1.ActivateEntitlementRequest,
950                           com.google.longrunning.Operation>
951                           newBuilder()
952                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
953                       .setFullMethodName(
954                           generateFullMethodName(SERVICE_NAME, "ActivateEntitlement"))
955                       .setSampledToLocalTracing(true)
956                       .setRequestMarshaller(
957                           io.grpc.protobuf.ProtoUtils.marshaller(
958                               com.google.cloud.channel.v1.ActivateEntitlementRequest
959                                   .getDefaultInstance()))
960                       .setResponseMarshaller(
961                           io.grpc.protobuf.ProtoUtils.marshaller(
962                               com.google.longrunning.Operation.getDefaultInstance()))
963                       .setSchemaDescriptor(
964                           new CloudChannelServiceMethodDescriptorSupplier("ActivateEntitlement"))
965                       .build();
966         }
967       }
968     }
969     return getActivateEntitlementMethod;
970   }
971 
972   private static volatile io.grpc.MethodDescriptor<
973           com.google.cloud.channel.v1.TransferEntitlementsRequest, com.google.longrunning.Operation>
974       getTransferEntitlementsMethod;
975 
976   @io.grpc.stub.annotations.RpcMethod(
977       fullMethodName = SERVICE_NAME + '/' + "TransferEntitlements",
978       requestType = com.google.cloud.channel.v1.TransferEntitlementsRequest.class,
979       responseType = com.google.longrunning.Operation.class,
980       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
981   public static io.grpc.MethodDescriptor<
982           com.google.cloud.channel.v1.TransferEntitlementsRequest, com.google.longrunning.Operation>
getTransferEntitlementsMethod()983       getTransferEntitlementsMethod() {
984     io.grpc.MethodDescriptor<
985             com.google.cloud.channel.v1.TransferEntitlementsRequest,
986             com.google.longrunning.Operation>
987         getTransferEntitlementsMethod;
988     if ((getTransferEntitlementsMethod = CloudChannelServiceGrpc.getTransferEntitlementsMethod)
989         == null) {
990       synchronized (CloudChannelServiceGrpc.class) {
991         if ((getTransferEntitlementsMethod = CloudChannelServiceGrpc.getTransferEntitlementsMethod)
992             == null) {
993           CloudChannelServiceGrpc.getTransferEntitlementsMethod =
994               getTransferEntitlementsMethod =
995                   io.grpc.MethodDescriptor
996                       .<com.google.cloud.channel.v1.TransferEntitlementsRequest,
997                           com.google.longrunning.Operation>
998                           newBuilder()
999                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1000                       .setFullMethodName(
1001                           generateFullMethodName(SERVICE_NAME, "TransferEntitlements"))
1002                       .setSampledToLocalTracing(true)
1003                       .setRequestMarshaller(
1004                           io.grpc.protobuf.ProtoUtils.marshaller(
1005                               com.google.cloud.channel.v1.TransferEntitlementsRequest
1006                                   .getDefaultInstance()))
1007                       .setResponseMarshaller(
1008                           io.grpc.protobuf.ProtoUtils.marshaller(
1009                               com.google.longrunning.Operation.getDefaultInstance()))
1010                       .setSchemaDescriptor(
1011                           new CloudChannelServiceMethodDescriptorSupplier("TransferEntitlements"))
1012                       .build();
1013         }
1014       }
1015     }
1016     return getTransferEntitlementsMethod;
1017   }
1018 
1019   private static volatile io.grpc.MethodDescriptor<
1020           com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest,
1021           com.google.longrunning.Operation>
1022       getTransferEntitlementsToGoogleMethod;
1023 
1024   @io.grpc.stub.annotations.RpcMethod(
1025       fullMethodName = SERVICE_NAME + '/' + "TransferEntitlementsToGoogle",
1026       requestType = com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest.class,
1027       responseType = com.google.longrunning.Operation.class,
1028       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
1029   public static io.grpc.MethodDescriptor<
1030           com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest,
1031           com.google.longrunning.Operation>
getTransferEntitlementsToGoogleMethod()1032       getTransferEntitlementsToGoogleMethod() {
1033     io.grpc.MethodDescriptor<
1034             com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest,
1035             com.google.longrunning.Operation>
1036         getTransferEntitlementsToGoogleMethod;
1037     if ((getTransferEntitlementsToGoogleMethod =
1038             CloudChannelServiceGrpc.getTransferEntitlementsToGoogleMethod)
1039         == null) {
1040       synchronized (CloudChannelServiceGrpc.class) {
1041         if ((getTransferEntitlementsToGoogleMethod =
1042                 CloudChannelServiceGrpc.getTransferEntitlementsToGoogleMethod)
1043             == null) {
1044           CloudChannelServiceGrpc.getTransferEntitlementsToGoogleMethod =
1045               getTransferEntitlementsToGoogleMethod =
1046                   io.grpc.MethodDescriptor
1047                       .<com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest,
1048                           com.google.longrunning.Operation>
1049                           newBuilder()
1050                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1051                       .setFullMethodName(
1052                           generateFullMethodName(SERVICE_NAME, "TransferEntitlementsToGoogle"))
1053                       .setSampledToLocalTracing(true)
1054                       .setRequestMarshaller(
1055                           io.grpc.protobuf.ProtoUtils.marshaller(
1056                               com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest
1057                                   .getDefaultInstance()))
1058                       .setResponseMarshaller(
1059                           io.grpc.protobuf.ProtoUtils.marshaller(
1060                               com.google.longrunning.Operation.getDefaultInstance()))
1061                       .setSchemaDescriptor(
1062                           new CloudChannelServiceMethodDescriptorSupplier(
1063                               "TransferEntitlementsToGoogle"))
1064                       .build();
1065         }
1066       }
1067     }
1068     return getTransferEntitlementsToGoogleMethod;
1069   }
1070 
1071   private static volatile io.grpc.MethodDescriptor<
1072           com.google.cloud.channel.v1.ListChannelPartnerLinksRequest,
1073           com.google.cloud.channel.v1.ListChannelPartnerLinksResponse>
1074       getListChannelPartnerLinksMethod;
1075 
1076   @io.grpc.stub.annotations.RpcMethod(
1077       fullMethodName = SERVICE_NAME + '/' + "ListChannelPartnerLinks",
1078       requestType = com.google.cloud.channel.v1.ListChannelPartnerLinksRequest.class,
1079       responseType = com.google.cloud.channel.v1.ListChannelPartnerLinksResponse.class,
1080       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
1081   public static io.grpc.MethodDescriptor<
1082           com.google.cloud.channel.v1.ListChannelPartnerLinksRequest,
1083           com.google.cloud.channel.v1.ListChannelPartnerLinksResponse>
getListChannelPartnerLinksMethod()1084       getListChannelPartnerLinksMethod() {
1085     io.grpc.MethodDescriptor<
1086             com.google.cloud.channel.v1.ListChannelPartnerLinksRequest,
1087             com.google.cloud.channel.v1.ListChannelPartnerLinksResponse>
1088         getListChannelPartnerLinksMethod;
1089     if ((getListChannelPartnerLinksMethod =
1090             CloudChannelServiceGrpc.getListChannelPartnerLinksMethod)
1091         == null) {
1092       synchronized (CloudChannelServiceGrpc.class) {
1093         if ((getListChannelPartnerLinksMethod =
1094                 CloudChannelServiceGrpc.getListChannelPartnerLinksMethod)
1095             == null) {
1096           CloudChannelServiceGrpc.getListChannelPartnerLinksMethod =
1097               getListChannelPartnerLinksMethod =
1098                   io.grpc.MethodDescriptor
1099                       .<com.google.cloud.channel.v1.ListChannelPartnerLinksRequest,
1100                           com.google.cloud.channel.v1.ListChannelPartnerLinksResponse>
1101                           newBuilder()
1102                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1103                       .setFullMethodName(
1104                           generateFullMethodName(SERVICE_NAME, "ListChannelPartnerLinks"))
1105                       .setSampledToLocalTracing(true)
1106                       .setRequestMarshaller(
1107                           io.grpc.protobuf.ProtoUtils.marshaller(
1108                               com.google.cloud.channel.v1.ListChannelPartnerLinksRequest
1109                                   .getDefaultInstance()))
1110                       .setResponseMarshaller(
1111                           io.grpc.protobuf.ProtoUtils.marshaller(
1112                               com.google.cloud.channel.v1.ListChannelPartnerLinksResponse
1113                                   .getDefaultInstance()))
1114                       .setSchemaDescriptor(
1115                           new CloudChannelServiceMethodDescriptorSupplier(
1116                               "ListChannelPartnerLinks"))
1117                       .build();
1118         }
1119       }
1120     }
1121     return getListChannelPartnerLinksMethod;
1122   }
1123 
1124   private static volatile io.grpc.MethodDescriptor<
1125           com.google.cloud.channel.v1.GetChannelPartnerLinkRequest,
1126           com.google.cloud.channel.v1.ChannelPartnerLink>
1127       getGetChannelPartnerLinkMethod;
1128 
1129   @io.grpc.stub.annotations.RpcMethod(
1130       fullMethodName = SERVICE_NAME + '/' + "GetChannelPartnerLink",
1131       requestType = com.google.cloud.channel.v1.GetChannelPartnerLinkRequest.class,
1132       responseType = com.google.cloud.channel.v1.ChannelPartnerLink.class,
1133       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
1134   public static io.grpc.MethodDescriptor<
1135           com.google.cloud.channel.v1.GetChannelPartnerLinkRequest,
1136           com.google.cloud.channel.v1.ChannelPartnerLink>
getGetChannelPartnerLinkMethod()1137       getGetChannelPartnerLinkMethod() {
1138     io.grpc.MethodDescriptor<
1139             com.google.cloud.channel.v1.GetChannelPartnerLinkRequest,
1140             com.google.cloud.channel.v1.ChannelPartnerLink>
1141         getGetChannelPartnerLinkMethod;
1142     if ((getGetChannelPartnerLinkMethod = CloudChannelServiceGrpc.getGetChannelPartnerLinkMethod)
1143         == null) {
1144       synchronized (CloudChannelServiceGrpc.class) {
1145         if ((getGetChannelPartnerLinkMethod =
1146                 CloudChannelServiceGrpc.getGetChannelPartnerLinkMethod)
1147             == null) {
1148           CloudChannelServiceGrpc.getGetChannelPartnerLinkMethod =
1149               getGetChannelPartnerLinkMethod =
1150                   io.grpc.MethodDescriptor
1151                       .<com.google.cloud.channel.v1.GetChannelPartnerLinkRequest,
1152                           com.google.cloud.channel.v1.ChannelPartnerLink>
1153                           newBuilder()
1154                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1155                       .setFullMethodName(
1156                           generateFullMethodName(SERVICE_NAME, "GetChannelPartnerLink"))
1157                       .setSampledToLocalTracing(true)
1158                       .setRequestMarshaller(
1159                           io.grpc.protobuf.ProtoUtils.marshaller(
1160                               com.google.cloud.channel.v1.GetChannelPartnerLinkRequest
1161                                   .getDefaultInstance()))
1162                       .setResponseMarshaller(
1163                           io.grpc.protobuf.ProtoUtils.marshaller(
1164                               com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance()))
1165                       .setSchemaDescriptor(
1166                           new CloudChannelServiceMethodDescriptorSupplier("GetChannelPartnerLink"))
1167                       .build();
1168         }
1169       }
1170     }
1171     return getGetChannelPartnerLinkMethod;
1172   }
1173 
1174   private static volatile io.grpc.MethodDescriptor<
1175           com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest,
1176           com.google.cloud.channel.v1.ChannelPartnerLink>
1177       getCreateChannelPartnerLinkMethod;
1178 
1179   @io.grpc.stub.annotations.RpcMethod(
1180       fullMethodName = SERVICE_NAME + '/' + "CreateChannelPartnerLink",
1181       requestType = com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest.class,
1182       responseType = com.google.cloud.channel.v1.ChannelPartnerLink.class,
1183       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
1184   public static io.grpc.MethodDescriptor<
1185           com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest,
1186           com.google.cloud.channel.v1.ChannelPartnerLink>
getCreateChannelPartnerLinkMethod()1187       getCreateChannelPartnerLinkMethod() {
1188     io.grpc.MethodDescriptor<
1189             com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest,
1190             com.google.cloud.channel.v1.ChannelPartnerLink>
1191         getCreateChannelPartnerLinkMethod;
1192     if ((getCreateChannelPartnerLinkMethod =
1193             CloudChannelServiceGrpc.getCreateChannelPartnerLinkMethod)
1194         == null) {
1195       synchronized (CloudChannelServiceGrpc.class) {
1196         if ((getCreateChannelPartnerLinkMethod =
1197                 CloudChannelServiceGrpc.getCreateChannelPartnerLinkMethod)
1198             == null) {
1199           CloudChannelServiceGrpc.getCreateChannelPartnerLinkMethod =
1200               getCreateChannelPartnerLinkMethod =
1201                   io.grpc.MethodDescriptor
1202                       .<com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest,
1203                           com.google.cloud.channel.v1.ChannelPartnerLink>
1204                           newBuilder()
1205                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1206                       .setFullMethodName(
1207                           generateFullMethodName(SERVICE_NAME, "CreateChannelPartnerLink"))
1208                       .setSampledToLocalTracing(true)
1209                       .setRequestMarshaller(
1210                           io.grpc.protobuf.ProtoUtils.marshaller(
1211                               com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest
1212                                   .getDefaultInstance()))
1213                       .setResponseMarshaller(
1214                           io.grpc.protobuf.ProtoUtils.marshaller(
1215                               com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance()))
1216                       .setSchemaDescriptor(
1217                           new CloudChannelServiceMethodDescriptorSupplier(
1218                               "CreateChannelPartnerLink"))
1219                       .build();
1220         }
1221       }
1222     }
1223     return getCreateChannelPartnerLinkMethod;
1224   }
1225 
1226   private static volatile io.grpc.MethodDescriptor<
1227           com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest,
1228           com.google.cloud.channel.v1.ChannelPartnerLink>
1229       getUpdateChannelPartnerLinkMethod;
1230 
1231   @io.grpc.stub.annotations.RpcMethod(
1232       fullMethodName = SERVICE_NAME + '/' + "UpdateChannelPartnerLink",
1233       requestType = com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest.class,
1234       responseType = com.google.cloud.channel.v1.ChannelPartnerLink.class,
1235       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
1236   public static io.grpc.MethodDescriptor<
1237           com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest,
1238           com.google.cloud.channel.v1.ChannelPartnerLink>
getUpdateChannelPartnerLinkMethod()1239       getUpdateChannelPartnerLinkMethod() {
1240     io.grpc.MethodDescriptor<
1241             com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest,
1242             com.google.cloud.channel.v1.ChannelPartnerLink>
1243         getUpdateChannelPartnerLinkMethod;
1244     if ((getUpdateChannelPartnerLinkMethod =
1245             CloudChannelServiceGrpc.getUpdateChannelPartnerLinkMethod)
1246         == null) {
1247       synchronized (CloudChannelServiceGrpc.class) {
1248         if ((getUpdateChannelPartnerLinkMethod =
1249                 CloudChannelServiceGrpc.getUpdateChannelPartnerLinkMethod)
1250             == null) {
1251           CloudChannelServiceGrpc.getUpdateChannelPartnerLinkMethod =
1252               getUpdateChannelPartnerLinkMethod =
1253                   io.grpc.MethodDescriptor
1254                       .<com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest,
1255                           com.google.cloud.channel.v1.ChannelPartnerLink>
1256                           newBuilder()
1257                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1258                       .setFullMethodName(
1259                           generateFullMethodName(SERVICE_NAME, "UpdateChannelPartnerLink"))
1260                       .setSampledToLocalTracing(true)
1261                       .setRequestMarshaller(
1262                           io.grpc.protobuf.ProtoUtils.marshaller(
1263                               com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest
1264                                   .getDefaultInstance()))
1265                       .setResponseMarshaller(
1266                           io.grpc.protobuf.ProtoUtils.marshaller(
1267                               com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance()))
1268                       .setSchemaDescriptor(
1269                           new CloudChannelServiceMethodDescriptorSupplier(
1270                               "UpdateChannelPartnerLink"))
1271                       .build();
1272         }
1273       }
1274     }
1275     return getUpdateChannelPartnerLinkMethod;
1276   }
1277 
1278   private static volatile io.grpc.MethodDescriptor<
1279           com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest,
1280           com.google.cloud.channel.v1.CustomerRepricingConfig>
1281       getGetCustomerRepricingConfigMethod;
1282 
1283   @io.grpc.stub.annotations.RpcMethod(
1284       fullMethodName = SERVICE_NAME + '/' + "GetCustomerRepricingConfig",
1285       requestType = com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest.class,
1286       responseType = com.google.cloud.channel.v1.CustomerRepricingConfig.class,
1287       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
1288   public static io.grpc.MethodDescriptor<
1289           com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest,
1290           com.google.cloud.channel.v1.CustomerRepricingConfig>
getGetCustomerRepricingConfigMethod()1291       getGetCustomerRepricingConfigMethod() {
1292     io.grpc.MethodDescriptor<
1293             com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest,
1294             com.google.cloud.channel.v1.CustomerRepricingConfig>
1295         getGetCustomerRepricingConfigMethod;
1296     if ((getGetCustomerRepricingConfigMethod =
1297             CloudChannelServiceGrpc.getGetCustomerRepricingConfigMethod)
1298         == null) {
1299       synchronized (CloudChannelServiceGrpc.class) {
1300         if ((getGetCustomerRepricingConfigMethod =
1301                 CloudChannelServiceGrpc.getGetCustomerRepricingConfigMethod)
1302             == null) {
1303           CloudChannelServiceGrpc.getGetCustomerRepricingConfigMethod =
1304               getGetCustomerRepricingConfigMethod =
1305                   io.grpc.MethodDescriptor
1306                       .<com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest,
1307                           com.google.cloud.channel.v1.CustomerRepricingConfig>
1308                           newBuilder()
1309                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1310                       .setFullMethodName(
1311                           generateFullMethodName(SERVICE_NAME, "GetCustomerRepricingConfig"))
1312                       .setSampledToLocalTracing(true)
1313                       .setRequestMarshaller(
1314                           io.grpc.protobuf.ProtoUtils.marshaller(
1315                               com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest
1316                                   .getDefaultInstance()))
1317                       .setResponseMarshaller(
1318                           io.grpc.protobuf.ProtoUtils.marshaller(
1319                               com.google.cloud.channel.v1.CustomerRepricingConfig
1320                                   .getDefaultInstance()))
1321                       .setSchemaDescriptor(
1322                           new CloudChannelServiceMethodDescriptorSupplier(
1323                               "GetCustomerRepricingConfig"))
1324                       .build();
1325         }
1326       }
1327     }
1328     return getGetCustomerRepricingConfigMethod;
1329   }
1330 
1331   private static volatile io.grpc.MethodDescriptor<
1332           com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest,
1333           com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse>
1334       getListCustomerRepricingConfigsMethod;
1335 
1336   @io.grpc.stub.annotations.RpcMethod(
1337       fullMethodName = SERVICE_NAME + '/' + "ListCustomerRepricingConfigs",
1338       requestType = com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.class,
1339       responseType = com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.class,
1340       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
1341   public static io.grpc.MethodDescriptor<
1342           com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest,
1343           com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse>
getListCustomerRepricingConfigsMethod()1344       getListCustomerRepricingConfigsMethod() {
1345     io.grpc.MethodDescriptor<
1346             com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest,
1347             com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse>
1348         getListCustomerRepricingConfigsMethod;
1349     if ((getListCustomerRepricingConfigsMethod =
1350             CloudChannelServiceGrpc.getListCustomerRepricingConfigsMethod)
1351         == null) {
1352       synchronized (CloudChannelServiceGrpc.class) {
1353         if ((getListCustomerRepricingConfigsMethod =
1354                 CloudChannelServiceGrpc.getListCustomerRepricingConfigsMethod)
1355             == null) {
1356           CloudChannelServiceGrpc.getListCustomerRepricingConfigsMethod =
1357               getListCustomerRepricingConfigsMethod =
1358                   io.grpc.MethodDescriptor
1359                       .<com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest,
1360                           com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse>
1361                           newBuilder()
1362                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1363                       .setFullMethodName(
1364                           generateFullMethodName(SERVICE_NAME, "ListCustomerRepricingConfigs"))
1365                       .setSampledToLocalTracing(true)
1366                       .setRequestMarshaller(
1367                           io.grpc.protobuf.ProtoUtils.marshaller(
1368                               com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest
1369                                   .getDefaultInstance()))
1370                       .setResponseMarshaller(
1371                           io.grpc.protobuf.ProtoUtils.marshaller(
1372                               com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse
1373                                   .getDefaultInstance()))
1374                       .setSchemaDescriptor(
1375                           new CloudChannelServiceMethodDescriptorSupplier(
1376                               "ListCustomerRepricingConfigs"))
1377                       .build();
1378         }
1379       }
1380     }
1381     return getListCustomerRepricingConfigsMethod;
1382   }
1383 
1384   private static volatile io.grpc.MethodDescriptor<
1385           com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest,
1386           com.google.cloud.channel.v1.CustomerRepricingConfig>
1387       getCreateCustomerRepricingConfigMethod;
1388 
1389   @io.grpc.stub.annotations.RpcMethod(
1390       fullMethodName = SERVICE_NAME + '/' + "CreateCustomerRepricingConfig",
1391       requestType = com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest.class,
1392       responseType = com.google.cloud.channel.v1.CustomerRepricingConfig.class,
1393       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
1394   public static io.grpc.MethodDescriptor<
1395           com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest,
1396           com.google.cloud.channel.v1.CustomerRepricingConfig>
getCreateCustomerRepricingConfigMethod()1397       getCreateCustomerRepricingConfigMethod() {
1398     io.grpc.MethodDescriptor<
1399             com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest,
1400             com.google.cloud.channel.v1.CustomerRepricingConfig>
1401         getCreateCustomerRepricingConfigMethod;
1402     if ((getCreateCustomerRepricingConfigMethod =
1403             CloudChannelServiceGrpc.getCreateCustomerRepricingConfigMethod)
1404         == null) {
1405       synchronized (CloudChannelServiceGrpc.class) {
1406         if ((getCreateCustomerRepricingConfigMethod =
1407                 CloudChannelServiceGrpc.getCreateCustomerRepricingConfigMethod)
1408             == null) {
1409           CloudChannelServiceGrpc.getCreateCustomerRepricingConfigMethod =
1410               getCreateCustomerRepricingConfigMethod =
1411                   io.grpc.MethodDescriptor
1412                       .<com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest,
1413                           com.google.cloud.channel.v1.CustomerRepricingConfig>
1414                           newBuilder()
1415                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1416                       .setFullMethodName(
1417                           generateFullMethodName(SERVICE_NAME, "CreateCustomerRepricingConfig"))
1418                       .setSampledToLocalTracing(true)
1419                       .setRequestMarshaller(
1420                           io.grpc.protobuf.ProtoUtils.marshaller(
1421                               com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest
1422                                   .getDefaultInstance()))
1423                       .setResponseMarshaller(
1424                           io.grpc.protobuf.ProtoUtils.marshaller(
1425                               com.google.cloud.channel.v1.CustomerRepricingConfig
1426                                   .getDefaultInstance()))
1427                       .setSchemaDescriptor(
1428                           new CloudChannelServiceMethodDescriptorSupplier(
1429                               "CreateCustomerRepricingConfig"))
1430                       .build();
1431         }
1432       }
1433     }
1434     return getCreateCustomerRepricingConfigMethod;
1435   }
1436 
1437   private static volatile io.grpc.MethodDescriptor<
1438           com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest,
1439           com.google.cloud.channel.v1.CustomerRepricingConfig>
1440       getUpdateCustomerRepricingConfigMethod;
1441 
1442   @io.grpc.stub.annotations.RpcMethod(
1443       fullMethodName = SERVICE_NAME + '/' + "UpdateCustomerRepricingConfig",
1444       requestType = com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest.class,
1445       responseType = com.google.cloud.channel.v1.CustomerRepricingConfig.class,
1446       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
1447   public static io.grpc.MethodDescriptor<
1448           com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest,
1449           com.google.cloud.channel.v1.CustomerRepricingConfig>
getUpdateCustomerRepricingConfigMethod()1450       getUpdateCustomerRepricingConfigMethod() {
1451     io.grpc.MethodDescriptor<
1452             com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest,
1453             com.google.cloud.channel.v1.CustomerRepricingConfig>
1454         getUpdateCustomerRepricingConfigMethod;
1455     if ((getUpdateCustomerRepricingConfigMethod =
1456             CloudChannelServiceGrpc.getUpdateCustomerRepricingConfigMethod)
1457         == null) {
1458       synchronized (CloudChannelServiceGrpc.class) {
1459         if ((getUpdateCustomerRepricingConfigMethod =
1460                 CloudChannelServiceGrpc.getUpdateCustomerRepricingConfigMethod)
1461             == null) {
1462           CloudChannelServiceGrpc.getUpdateCustomerRepricingConfigMethod =
1463               getUpdateCustomerRepricingConfigMethod =
1464                   io.grpc.MethodDescriptor
1465                       .<com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest,
1466                           com.google.cloud.channel.v1.CustomerRepricingConfig>
1467                           newBuilder()
1468                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1469                       .setFullMethodName(
1470                           generateFullMethodName(SERVICE_NAME, "UpdateCustomerRepricingConfig"))
1471                       .setSampledToLocalTracing(true)
1472                       .setRequestMarshaller(
1473                           io.grpc.protobuf.ProtoUtils.marshaller(
1474                               com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest
1475                                   .getDefaultInstance()))
1476                       .setResponseMarshaller(
1477                           io.grpc.protobuf.ProtoUtils.marshaller(
1478                               com.google.cloud.channel.v1.CustomerRepricingConfig
1479                                   .getDefaultInstance()))
1480                       .setSchemaDescriptor(
1481                           new CloudChannelServiceMethodDescriptorSupplier(
1482                               "UpdateCustomerRepricingConfig"))
1483                       .build();
1484         }
1485       }
1486     }
1487     return getUpdateCustomerRepricingConfigMethod;
1488   }
1489 
1490   private static volatile io.grpc.MethodDescriptor<
1491           com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest,
1492           com.google.protobuf.Empty>
1493       getDeleteCustomerRepricingConfigMethod;
1494 
1495   @io.grpc.stub.annotations.RpcMethod(
1496       fullMethodName = SERVICE_NAME + '/' + "DeleteCustomerRepricingConfig",
1497       requestType = com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest.class,
1498       responseType = com.google.protobuf.Empty.class,
1499       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
1500   public static io.grpc.MethodDescriptor<
1501           com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest,
1502           com.google.protobuf.Empty>
getDeleteCustomerRepricingConfigMethod()1503       getDeleteCustomerRepricingConfigMethod() {
1504     io.grpc.MethodDescriptor<
1505             com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest,
1506             com.google.protobuf.Empty>
1507         getDeleteCustomerRepricingConfigMethod;
1508     if ((getDeleteCustomerRepricingConfigMethod =
1509             CloudChannelServiceGrpc.getDeleteCustomerRepricingConfigMethod)
1510         == null) {
1511       synchronized (CloudChannelServiceGrpc.class) {
1512         if ((getDeleteCustomerRepricingConfigMethod =
1513                 CloudChannelServiceGrpc.getDeleteCustomerRepricingConfigMethod)
1514             == null) {
1515           CloudChannelServiceGrpc.getDeleteCustomerRepricingConfigMethod =
1516               getDeleteCustomerRepricingConfigMethod =
1517                   io.grpc.MethodDescriptor
1518                       .<com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest,
1519                           com.google.protobuf.Empty>
1520                           newBuilder()
1521                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1522                       .setFullMethodName(
1523                           generateFullMethodName(SERVICE_NAME, "DeleteCustomerRepricingConfig"))
1524                       .setSampledToLocalTracing(true)
1525                       .setRequestMarshaller(
1526                           io.grpc.protobuf.ProtoUtils.marshaller(
1527                               com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest
1528                                   .getDefaultInstance()))
1529                       .setResponseMarshaller(
1530                           io.grpc.protobuf.ProtoUtils.marshaller(
1531                               com.google.protobuf.Empty.getDefaultInstance()))
1532                       .setSchemaDescriptor(
1533                           new CloudChannelServiceMethodDescriptorSupplier(
1534                               "DeleteCustomerRepricingConfig"))
1535                       .build();
1536         }
1537       }
1538     }
1539     return getDeleteCustomerRepricingConfigMethod;
1540   }
1541 
1542   private static volatile io.grpc.MethodDescriptor<
1543           com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest,
1544           com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>
1545       getGetChannelPartnerRepricingConfigMethod;
1546 
1547   @io.grpc.stub.annotations.RpcMethod(
1548       fullMethodName = SERVICE_NAME + '/' + "GetChannelPartnerRepricingConfig",
1549       requestType = com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest.class,
1550       responseType = com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.class,
1551       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
1552   public static io.grpc.MethodDescriptor<
1553           com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest,
1554           com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>
getGetChannelPartnerRepricingConfigMethod()1555       getGetChannelPartnerRepricingConfigMethod() {
1556     io.grpc.MethodDescriptor<
1557             com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest,
1558             com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>
1559         getGetChannelPartnerRepricingConfigMethod;
1560     if ((getGetChannelPartnerRepricingConfigMethod =
1561             CloudChannelServiceGrpc.getGetChannelPartnerRepricingConfigMethod)
1562         == null) {
1563       synchronized (CloudChannelServiceGrpc.class) {
1564         if ((getGetChannelPartnerRepricingConfigMethod =
1565                 CloudChannelServiceGrpc.getGetChannelPartnerRepricingConfigMethod)
1566             == null) {
1567           CloudChannelServiceGrpc.getGetChannelPartnerRepricingConfigMethod =
1568               getGetChannelPartnerRepricingConfigMethod =
1569                   io.grpc.MethodDescriptor
1570                       .<com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest,
1571                           com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>
1572                           newBuilder()
1573                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1574                       .setFullMethodName(
1575                           generateFullMethodName(SERVICE_NAME, "GetChannelPartnerRepricingConfig"))
1576                       .setSampledToLocalTracing(true)
1577                       .setRequestMarshaller(
1578                           io.grpc.protobuf.ProtoUtils.marshaller(
1579                               com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest
1580                                   .getDefaultInstance()))
1581                       .setResponseMarshaller(
1582                           io.grpc.protobuf.ProtoUtils.marshaller(
1583                               com.google.cloud.channel.v1.ChannelPartnerRepricingConfig
1584                                   .getDefaultInstance()))
1585                       .setSchemaDescriptor(
1586                           new CloudChannelServiceMethodDescriptorSupplier(
1587                               "GetChannelPartnerRepricingConfig"))
1588                       .build();
1589         }
1590       }
1591     }
1592     return getGetChannelPartnerRepricingConfigMethod;
1593   }
1594 
1595   private static volatile io.grpc.MethodDescriptor<
1596           com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest,
1597           com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse>
1598       getListChannelPartnerRepricingConfigsMethod;
1599 
1600   @io.grpc.stub.annotations.RpcMethod(
1601       fullMethodName = SERVICE_NAME + '/' + "ListChannelPartnerRepricingConfigs",
1602       requestType = com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.class,
1603       responseType = com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.class,
1604       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
1605   public static io.grpc.MethodDescriptor<
1606           com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest,
1607           com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse>
getListChannelPartnerRepricingConfigsMethod()1608       getListChannelPartnerRepricingConfigsMethod() {
1609     io.grpc.MethodDescriptor<
1610             com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest,
1611             com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse>
1612         getListChannelPartnerRepricingConfigsMethod;
1613     if ((getListChannelPartnerRepricingConfigsMethod =
1614             CloudChannelServiceGrpc.getListChannelPartnerRepricingConfigsMethod)
1615         == null) {
1616       synchronized (CloudChannelServiceGrpc.class) {
1617         if ((getListChannelPartnerRepricingConfigsMethod =
1618                 CloudChannelServiceGrpc.getListChannelPartnerRepricingConfigsMethod)
1619             == null) {
1620           CloudChannelServiceGrpc.getListChannelPartnerRepricingConfigsMethod =
1621               getListChannelPartnerRepricingConfigsMethod =
1622                   io.grpc.MethodDescriptor
1623                       .<com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest,
1624                           com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse>
1625                           newBuilder()
1626                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1627                       .setFullMethodName(
1628                           generateFullMethodName(
1629                               SERVICE_NAME, "ListChannelPartnerRepricingConfigs"))
1630                       .setSampledToLocalTracing(true)
1631                       .setRequestMarshaller(
1632                           io.grpc.protobuf.ProtoUtils.marshaller(
1633                               com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest
1634                                   .getDefaultInstance()))
1635                       .setResponseMarshaller(
1636                           io.grpc.protobuf.ProtoUtils.marshaller(
1637                               com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse
1638                                   .getDefaultInstance()))
1639                       .setSchemaDescriptor(
1640                           new CloudChannelServiceMethodDescriptorSupplier(
1641                               "ListChannelPartnerRepricingConfigs"))
1642                       .build();
1643         }
1644       }
1645     }
1646     return getListChannelPartnerRepricingConfigsMethod;
1647   }
1648 
1649   private static volatile io.grpc.MethodDescriptor<
1650           com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest,
1651           com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>
1652       getCreateChannelPartnerRepricingConfigMethod;
1653 
1654   @io.grpc.stub.annotations.RpcMethod(
1655       fullMethodName = SERVICE_NAME + '/' + "CreateChannelPartnerRepricingConfig",
1656       requestType = com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest.class,
1657       responseType = com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.class,
1658       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
1659   public static io.grpc.MethodDescriptor<
1660           com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest,
1661           com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>
getCreateChannelPartnerRepricingConfigMethod()1662       getCreateChannelPartnerRepricingConfigMethod() {
1663     io.grpc.MethodDescriptor<
1664             com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest,
1665             com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>
1666         getCreateChannelPartnerRepricingConfigMethod;
1667     if ((getCreateChannelPartnerRepricingConfigMethod =
1668             CloudChannelServiceGrpc.getCreateChannelPartnerRepricingConfigMethod)
1669         == null) {
1670       synchronized (CloudChannelServiceGrpc.class) {
1671         if ((getCreateChannelPartnerRepricingConfigMethod =
1672                 CloudChannelServiceGrpc.getCreateChannelPartnerRepricingConfigMethod)
1673             == null) {
1674           CloudChannelServiceGrpc.getCreateChannelPartnerRepricingConfigMethod =
1675               getCreateChannelPartnerRepricingConfigMethod =
1676                   io.grpc.MethodDescriptor
1677                       .<com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest,
1678                           com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>
1679                           newBuilder()
1680                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1681                       .setFullMethodName(
1682                           generateFullMethodName(
1683                               SERVICE_NAME, "CreateChannelPartnerRepricingConfig"))
1684                       .setSampledToLocalTracing(true)
1685                       .setRequestMarshaller(
1686                           io.grpc.protobuf.ProtoUtils.marshaller(
1687                               com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest
1688                                   .getDefaultInstance()))
1689                       .setResponseMarshaller(
1690                           io.grpc.protobuf.ProtoUtils.marshaller(
1691                               com.google.cloud.channel.v1.ChannelPartnerRepricingConfig
1692                                   .getDefaultInstance()))
1693                       .setSchemaDescriptor(
1694                           new CloudChannelServiceMethodDescriptorSupplier(
1695                               "CreateChannelPartnerRepricingConfig"))
1696                       .build();
1697         }
1698       }
1699     }
1700     return getCreateChannelPartnerRepricingConfigMethod;
1701   }
1702 
1703   private static volatile io.grpc.MethodDescriptor<
1704           com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest,
1705           com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>
1706       getUpdateChannelPartnerRepricingConfigMethod;
1707 
1708   @io.grpc.stub.annotations.RpcMethod(
1709       fullMethodName = SERVICE_NAME + '/' + "UpdateChannelPartnerRepricingConfig",
1710       requestType = com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest.class,
1711       responseType = com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.class,
1712       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
1713   public static io.grpc.MethodDescriptor<
1714           com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest,
1715           com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>
getUpdateChannelPartnerRepricingConfigMethod()1716       getUpdateChannelPartnerRepricingConfigMethod() {
1717     io.grpc.MethodDescriptor<
1718             com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest,
1719             com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>
1720         getUpdateChannelPartnerRepricingConfigMethod;
1721     if ((getUpdateChannelPartnerRepricingConfigMethod =
1722             CloudChannelServiceGrpc.getUpdateChannelPartnerRepricingConfigMethod)
1723         == null) {
1724       synchronized (CloudChannelServiceGrpc.class) {
1725         if ((getUpdateChannelPartnerRepricingConfigMethod =
1726                 CloudChannelServiceGrpc.getUpdateChannelPartnerRepricingConfigMethod)
1727             == null) {
1728           CloudChannelServiceGrpc.getUpdateChannelPartnerRepricingConfigMethod =
1729               getUpdateChannelPartnerRepricingConfigMethod =
1730                   io.grpc.MethodDescriptor
1731                       .<com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest,
1732                           com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>
1733                           newBuilder()
1734                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1735                       .setFullMethodName(
1736                           generateFullMethodName(
1737                               SERVICE_NAME, "UpdateChannelPartnerRepricingConfig"))
1738                       .setSampledToLocalTracing(true)
1739                       .setRequestMarshaller(
1740                           io.grpc.protobuf.ProtoUtils.marshaller(
1741                               com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest
1742                                   .getDefaultInstance()))
1743                       .setResponseMarshaller(
1744                           io.grpc.protobuf.ProtoUtils.marshaller(
1745                               com.google.cloud.channel.v1.ChannelPartnerRepricingConfig
1746                                   .getDefaultInstance()))
1747                       .setSchemaDescriptor(
1748                           new CloudChannelServiceMethodDescriptorSupplier(
1749                               "UpdateChannelPartnerRepricingConfig"))
1750                       .build();
1751         }
1752       }
1753     }
1754     return getUpdateChannelPartnerRepricingConfigMethod;
1755   }
1756 
1757   private static volatile io.grpc.MethodDescriptor<
1758           com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest,
1759           com.google.protobuf.Empty>
1760       getDeleteChannelPartnerRepricingConfigMethod;
1761 
1762   @io.grpc.stub.annotations.RpcMethod(
1763       fullMethodName = SERVICE_NAME + '/' + "DeleteChannelPartnerRepricingConfig",
1764       requestType = com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest.class,
1765       responseType = com.google.protobuf.Empty.class,
1766       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
1767   public static io.grpc.MethodDescriptor<
1768           com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest,
1769           com.google.protobuf.Empty>
getDeleteChannelPartnerRepricingConfigMethod()1770       getDeleteChannelPartnerRepricingConfigMethod() {
1771     io.grpc.MethodDescriptor<
1772             com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest,
1773             com.google.protobuf.Empty>
1774         getDeleteChannelPartnerRepricingConfigMethod;
1775     if ((getDeleteChannelPartnerRepricingConfigMethod =
1776             CloudChannelServiceGrpc.getDeleteChannelPartnerRepricingConfigMethod)
1777         == null) {
1778       synchronized (CloudChannelServiceGrpc.class) {
1779         if ((getDeleteChannelPartnerRepricingConfigMethod =
1780                 CloudChannelServiceGrpc.getDeleteChannelPartnerRepricingConfigMethod)
1781             == null) {
1782           CloudChannelServiceGrpc.getDeleteChannelPartnerRepricingConfigMethod =
1783               getDeleteChannelPartnerRepricingConfigMethod =
1784                   io.grpc.MethodDescriptor
1785                       .<com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest,
1786                           com.google.protobuf.Empty>
1787                           newBuilder()
1788                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1789                       .setFullMethodName(
1790                           generateFullMethodName(
1791                               SERVICE_NAME, "DeleteChannelPartnerRepricingConfig"))
1792                       .setSampledToLocalTracing(true)
1793                       .setRequestMarshaller(
1794                           io.grpc.protobuf.ProtoUtils.marshaller(
1795                               com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest
1796                                   .getDefaultInstance()))
1797                       .setResponseMarshaller(
1798                           io.grpc.protobuf.ProtoUtils.marshaller(
1799                               com.google.protobuf.Empty.getDefaultInstance()))
1800                       .setSchemaDescriptor(
1801                           new CloudChannelServiceMethodDescriptorSupplier(
1802                               "DeleteChannelPartnerRepricingConfig"))
1803                       .build();
1804         }
1805       }
1806     }
1807     return getDeleteChannelPartnerRepricingConfigMethod;
1808   }
1809 
1810   private static volatile io.grpc.MethodDescriptor<
1811           com.google.cloud.channel.v1.LookupOfferRequest, com.google.cloud.channel.v1.Offer>
1812       getLookupOfferMethod;
1813 
1814   @io.grpc.stub.annotations.RpcMethod(
1815       fullMethodName = SERVICE_NAME + '/' + "LookupOffer",
1816       requestType = com.google.cloud.channel.v1.LookupOfferRequest.class,
1817       responseType = com.google.cloud.channel.v1.Offer.class,
1818       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
1819   public static io.grpc.MethodDescriptor<
1820           com.google.cloud.channel.v1.LookupOfferRequest, com.google.cloud.channel.v1.Offer>
getLookupOfferMethod()1821       getLookupOfferMethod() {
1822     io.grpc.MethodDescriptor<
1823             com.google.cloud.channel.v1.LookupOfferRequest, com.google.cloud.channel.v1.Offer>
1824         getLookupOfferMethod;
1825     if ((getLookupOfferMethod = CloudChannelServiceGrpc.getLookupOfferMethod) == null) {
1826       synchronized (CloudChannelServiceGrpc.class) {
1827         if ((getLookupOfferMethod = CloudChannelServiceGrpc.getLookupOfferMethod) == null) {
1828           CloudChannelServiceGrpc.getLookupOfferMethod =
1829               getLookupOfferMethod =
1830                   io.grpc.MethodDescriptor
1831                       .<com.google.cloud.channel.v1.LookupOfferRequest,
1832                           com.google.cloud.channel.v1.Offer>
1833                           newBuilder()
1834                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1835                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "LookupOffer"))
1836                       .setSampledToLocalTracing(true)
1837                       .setRequestMarshaller(
1838                           io.grpc.protobuf.ProtoUtils.marshaller(
1839                               com.google.cloud.channel.v1.LookupOfferRequest.getDefaultInstance()))
1840                       .setResponseMarshaller(
1841                           io.grpc.protobuf.ProtoUtils.marshaller(
1842                               com.google.cloud.channel.v1.Offer.getDefaultInstance()))
1843                       .setSchemaDescriptor(
1844                           new CloudChannelServiceMethodDescriptorSupplier("LookupOffer"))
1845                       .build();
1846         }
1847       }
1848     }
1849     return getLookupOfferMethod;
1850   }
1851 
1852   private static volatile io.grpc.MethodDescriptor<
1853           com.google.cloud.channel.v1.ListProductsRequest,
1854           com.google.cloud.channel.v1.ListProductsResponse>
1855       getListProductsMethod;
1856 
1857   @io.grpc.stub.annotations.RpcMethod(
1858       fullMethodName = SERVICE_NAME + '/' + "ListProducts",
1859       requestType = com.google.cloud.channel.v1.ListProductsRequest.class,
1860       responseType = com.google.cloud.channel.v1.ListProductsResponse.class,
1861       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
1862   public static io.grpc.MethodDescriptor<
1863           com.google.cloud.channel.v1.ListProductsRequest,
1864           com.google.cloud.channel.v1.ListProductsResponse>
getListProductsMethod()1865       getListProductsMethod() {
1866     io.grpc.MethodDescriptor<
1867             com.google.cloud.channel.v1.ListProductsRequest,
1868             com.google.cloud.channel.v1.ListProductsResponse>
1869         getListProductsMethod;
1870     if ((getListProductsMethod = CloudChannelServiceGrpc.getListProductsMethod) == null) {
1871       synchronized (CloudChannelServiceGrpc.class) {
1872         if ((getListProductsMethod = CloudChannelServiceGrpc.getListProductsMethod) == null) {
1873           CloudChannelServiceGrpc.getListProductsMethod =
1874               getListProductsMethod =
1875                   io.grpc.MethodDescriptor
1876                       .<com.google.cloud.channel.v1.ListProductsRequest,
1877                           com.google.cloud.channel.v1.ListProductsResponse>
1878                           newBuilder()
1879                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1880                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListProducts"))
1881                       .setSampledToLocalTracing(true)
1882                       .setRequestMarshaller(
1883                           io.grpc.protobuf.ProtoUtils.marshaller(
1884                               com.google.cloud.channel.v1.ListProductsRequest.getDefaultInstance()))
1885                       .setResponseMarshaller(
1886                           io.grpc.protobuf.ProtoUtils.marshaller(
1887                               com.google.cloud.channel.v1.ListProductsResponse
1888                                   .getDefaultInstance()))
1889                       .setSchemaDescriptor(
1890                           new CloudChannelServiceMethodDescriptorSupplier("ListProducts"))
1891                       .build();
1892         }
1893       }
1894     }
1895     return getListProductsMethod;
1896   }
1897 
1898   private static volatile io.grpc.MethodDescriptor<
1899           com.google.cloud.channel.v1.ListSkusRequest, com.google.cloud.channel.v1.ListSkusResponse>
1900       getListSkusMethod;
1901 
1902   @io.grpc.stub.annotations.RpcMethod(
1903       fullMethodName = SERVICE_NAME + '/' + "ListSkus",
1904       requestType = com.google.cloud.channel.v1.ListSkusRequest.class,
1905       responseType = com.google.cloud.channel.v1.ListSkusResponse.class,
1906       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
1907   public static io.grpc.MethodDescriptor<
1908           com.google.cloud.channel.v1.ListSkusRequest, com.google.cloud.channel.v1.ListSkusResponse>
getListSkusMethod()1909       getListSkusMethod() {
1910     io.grpc.MethodDescriptor<
1911             com.google.cloud.channel.v1.ListSkusRequest,
1912             com.google.cloud.channel.v1.ListSkusResponse>
1913         getListSkusMethod;
1914     if ((getListSkusMethod = CloudChannelServiceGrpc.getListSkusMethod) == null) {
1915       synchronized (CloudChannelServiceGrpc.class) {
1916         if ((getListSkusMethod = CloudChannelServiceGrpc.getListSkusMethod) == null) {
1917           CloudChannelServiceGrpc.getListSkusMethod =
1918               getListSkusMethod =
1919                   io.grpc.MethodDescriptor
1920                       .<com.google.cloud.channel.v1.ListSkusRequest,
1921                           com.google.cloud.channel.v1.ListSkusResponse>
1922                           newBuilder()
1923                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1924                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSkus"))
1925                       .setSampledToLocalTracing(true)
1926                       .setRequestMarshaller(
1927                           io.grpc.protobuf.ProtoUtils.marshaller(
1928                               com.google.cloud.channel.v1.ListSkusRequest.getDefaultInstance()))
1929                       .setResponseMarshaller(
1930                           io.grpc.protobuf.ProtoUtils.marshaller(
1931                               com.google.cloud.channel.v1.ListSkusResponse.getDefaultInstance()))
1932                       .setSchemaDescriptor(
1933                           new CloudChannelServiceMethodDescriptorSupplier("ListSkus"))
1934                       .build();
1935         }
1936       }
1937     }
1938     return getListSkusMethod;
1939   }
1940 
1941   private static volatile io.grpc.MethodDescriptor<
1942           com.google.cloud.channel.v1.ListOffersRequest,
1943           com.google.cloud.channel.v1.ListOffersResponse>
1944       getListOffersMethod;
1945 
1946   @io.grpc.stub.annotations.RpcMethod(
1947       fullMethodName = SERVICE_NAME + '/' + "ListOffers",
1948       requestType = com.google.cloud.channel.v1.ListOffersRequest.class,
1949       responseType = com.google.cloud.channel.v1.ListOffersResponse.class,
1950       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
1951   public static io.grpc.MethodDescriptor<
1952           com.google.cloud.channel.v1.ListOffersRequest,
1953           com.google.cloud.channel.v1.ListOffersResponse>
getListOffersMethod()1954       getListOffersMethod() {
1955     io.grpc.MethodDescriptor<
1956             com.google.cloud.channel.v1.ListOffersRequest,
1957             com.google.cloud.channel.v1.ListOffersResponse>
1958         getListOffersMethod;
1959     if ((getListOffersMethod = CloudChannelServiceGrpc.getListOffersMethod) == null) {
1960       synchronized (CloudChannelServiceGrpc.class) {
1961         if ((getListOffersMethod = CloudChannelServiceGrpc.getListOffersMethod) == null) {
1962           CloudChannelServiceGrpc.getListOffersMethod =
1963               getListOffersMethod =
1964                   io.grpc.MethodDescriptor
1965                       .<com.google.cloud.channel.v1.ListOffersRequest,
1966                           com.google.cloud.channel.v1.ListOffersResponse>
1967                           newBuilder()
1968                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1969                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListOffers"))
1970                       .setSampledToLocalTracing(true)
1971                       .setRequestMarshaller(
1972                           io.grpc.protobuf.ProtoUtils.marshaller(
1973                               com.google.cloud.channel.v1.ListOffersRequest.getDefaultInstance()))
1974                       .setResponseMarshaller(
1975                           io.grpc.protobuf.ProtoUtils.marshaller(
1976                               com.google.cloud.channel.v1.ListOffersResponse.getDefaultInstance()))
1977                       .setSchemaDescriptor(
1978                           new CloudChannelServiceMethodDescriptorSupplier("ListOffers"))
1979                       .build();
1980         }
1981       }
1982     }
1983     return getListOffersMethod;
1984   }
1985 
1986   private static volatile io.grpc.MethodDescriptor<
1987           com.google.cloud.channel.v1.ListPurchasableSkusRequest,
1988           com.google.cloud.channel.v1.ListPurchasableSkusResponse>
1989       getListPurchasableSkusMethod;
1990 
1991   @io.grpc.stub.annotations.RpcMethod(
1992       fullMethodName = SERVICE_NAME + '/' + "ListPurchasableSkus",
1993       requestType = com.google.cloud.channel.v1.ListPurchasableSkusRequest.class,
1994       responseType = com.google.cloud.channel.v1.ListPurchasableSkusResponse.class,
1995       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
1996   public static io.grpc.MethodDescriptor<
1997           com.google.cloud.channel.v1.ListPurchasableSkusRequest,
1998           com.google.cloud.channel.v1.ListPurchasableSkusResponse>
getListPurchasableSkusMethod()1999       getListPurchasableSkusMethod() {
2000     io.grpc.MethodDescriptor<
2001             com.google.cloud.channel.v1.ListPurchasableSkusRequest,
2002             com.google.cloud.channel.v1.ListPurchasableSkusResponse>
2003         getListPurchasableSkusMethod;
2004     if ((getListPurchasableSkusMethod = CloudChannelServiceGrpc.getListPurchasableSkusMethod)
2005         == null) {
2006       synchronized (CloudChannelServiceGrpc.class) {
2007         if ((getListPurchasableSkusMethod = CloudChannelServiceGrpc.getListPurchasableSkusMethod)
2008             == null) {
2009           CloudChannelServiceGrpc.getListPurchasableSkusMethod =
2010               getListPurchasableSkusMethod =
2011                   io.grpc.MethodDescriptor
2012                       .<com.google.cloud.channel.v1.ListPurchasableSkusRequest,
2013                           com.google.cloud.channel.v1.ListPurchasableSkusResponse>
2014                           newBuilder()
2015                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
2016                       .setFullMethodName(
2017                           generateFullMethodName(SERVICE_NAME, "ListPurchasableSkus"))
2018                       .setSampledToLocalTracing(true)
2019                       .setRequestMarshaller(
2020                           io.grpc.protobuf.ProtoUtils.marshaller(
2021                               com.google.cloud.channel.v1.ListPurchasableSkusRequest
2022                                   .getDefaultInstance()))
2023                       .setResponseMarshaller(
2024                           io.grpc.protobuf.ProtoUtils.marshaller(
2025                               com.google.cloud.channel.v1.ListPurchasableSkusResponse
2026                                   .getDefaultInstance()))
2027                       .setSchemaDescriptor(
2028                           new CloudChannelServiceMethodDescriptorSupplier("ListPurchasableSkus"))
2029                       .build();
2030         }
2031       }
2032     }
2033     return getListPurchasableSkusMethod;
2034   }
2035 
2036   private static volatile io.grpc.MethodDescriptor<
2037           com.google.cloud.channel.v1.ListPurchasableOffersRequest,
2038           com.google.cloud.channel.v1.ListPurchasableOffersResponse>
2039       getListPurchasableOffersMethod;
2040 
2041   @io.grpc.stub.annotations.RpcMethod(
2042       fullMethodName = SERVICE_NAME + '/' + "ListPurchasableOffers",
2043       requestType = com.google.cloud.channel.v1.ListPurchasableOffersRequest.class,
2044       responseType = com.google.cloud.channel.v1.ListPurchasableOffersResponse.class,
2045       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
2046   public static io.grpc.MethodDescriptor<
2047           com.google.cloud.channel.v1.ListPurchasableOffersRequest,
2048           com.google.cloud.channel.v1.ListPurchasableOffersResponse>
getListPurchasableOffersMethod()2049       getListPurchasableOffersMethod() {
2050     io.grpc.MethodDescriptor<
2051             com.google.cloud.channel.v1.ListPurchasableOffersRequest,
2052             com.google.cloud.channel.v1.ListPurchasableOffersResponse>
2053         getListPurchasableOffersMethod;
2054     if ((getListPurchasableOffersMethod = CloudChannelServiceGrpc.getListPurchasableOffersMethod)
2055         == null) {
2056       synchronized (CloudChannelServiceGrpc.class) {
2057         if ((getListPurchasableOffersMethod =
2058                 CloudChannelServiceGrpc.getListPurchasableOffersMethod)
2059             == null) {
2060           CloudChannelServiceGrpc.getListPurchasableOffersMethod =
2061               getListPurchasableOffersMethod =
2062                   io.grpc.MethodDescriptor
2063                       .<com.google.cloud.channel.v1.ListPurchasableOffersRequest,
2064                           com.google.cloud.channel.v1.ListPurchasableOffersResponse>
2065                           newBuilder()
2066                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
2067                       .setFullMethodName(
2068                           generateFullMethodName(SERVICE_NAME, "ListPurchasableOffers"))
2069                       .setSampledToLocalTracing(true)
2070                       .setRequestMarshaller(
2071                           io.grpc.protobuf.ProtoUtils.marshaller(
2072                               com.google.cloud.channel.v1.ListPurchasableOffersRequest
2073                                   .getDefaultInstance()))
2074                       .setResponseMarshaller(
2075                           io.grpc.protobuf.ProtoUtils.marshaller(
2076                               com.google.cloud.channel.v1.ListPurchasableOffersResponse
2077                                   .getDefaultInstance()))
2078                       .setSchemaDescriptor(
2079                           new CloudChannelServiceMethodDescriptorSupplier("ListPurchasableOffers"))
2080                       .build();
2081         }
2082       }
2083     }
2084     return getListPurchasableOffersMethod;
2085   }
2086 
2087   private static volatile io.grpc.MethodDescriptor<
2088           com.google.cloud.channel.v1.RegisterSubscriberRequest,
2089           com.google.cloud.channel.v1.RegisterSubscriberResponse>
2090       getRegisterSubscriberMethod;
2091 
2092   @io.grpc.stub.annotations.RpcMethod(
2093       fullMethodName = SERVICE_NAME + '/' + "RegisterSubscriber",
2094       requestType = com.google.cloud.channel.v1.RegisterSubscriberRequest.class,
2095       responseType = com.google.cloud.channel.v1.RegisterSubscriberResponse.class,
2096       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
2097   public static io.grpc.MethodDescriptor<
2098           com.google.cloud.channel.v1.RegisterSubscriberRequest,
2099           com.google.cloud.channel.v1.RegisterSubscriberResponse>
getRegisterSubscriberMethod()2100       getRegisterSubscriberMethod() {
2101     io.grpc.MethodDescriptor<
2102             com.google.cloud.channel.v1.RegisterSubscriberRequest,
2103             com.google.cloud.channel.v1.RegisterSubscriberResponse>
2104         getRegisterSubscriberMethod;
2105     if ((getRegisterSubscriberMethod = CloudChannelServiceGrpc.getRegisterSubscriberMethod)
2106         == null) {
2107       synchronized (CloudChannelServiceGrpc.class) {
2108         if ((getRegisterSubscriberMethod = CloudChannelServiceGrpc.getRegisterSubscriberMethod)
2109             == null) {
2110           CloudChannelServiceGrpc.getRegisterSubscriberMethod =
2111               getRegisterSubscriberMethod =
2112                   io.grpc.MethodDescriptor
2113                       .<com.google.cloud.channel.v1.RegisterSubscriberRequest,
2114                           com.google.cloud.channel.v1.RegisterSubscriberResponse>
2115                           newBuilder()
2116                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
2117                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RegisterSubscriber"))
2118                       .setSampledToLocalTracing(true)
2119                       .setRequestMarshaller(
2120                           io.grpc.protobuf.ProtoUtils.marshaller(
2121                               com.google.cloud.channel.v1.RegisterSubscriberRequest
2122                                   .getDefaultInstance()))
2123                       .setResponseMarshaller(
2124                           io.grpc.protobuf.ProtoUtils.marshaller(
2125                               com.google.cloud.channel.v1.RegisterSubscriberResponse
2126                                   .getDefaultInstance()))
2127                       .setSchemaDescriptor(
2128                           new CloudChannelServiceMethodDescriptorSupplier("RegisterSubscriber"))
2129                       .build();
2130         }
2131       }
2132     }
2133     return getRegisterSubscriberMethod;
2134   }
2135 
2136   private static volatile io.grpc.MethodDescriptor<
2137           com.google.cloud.channel.v1.UnregisterSubscriberRequest,
2138           com.google.cloud.channel.v1.UnregisterSubscriberResponse>
2139       getUnregisterSubscriberMethod;
2140 
2141   @io.grpc.stub.annotations.RpcMethod(
2142       fullMethodName = SERVICE_NAME + '/' + "UnregisterSubscriber",
2143       requestType = com.google.cloud.channel.v1.UnregisterSubscriberRequest.class,
2144       responseType = com.google.cloud.channel.v1.UnregisterSubscriberResponse.class,
2145       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
2146   public static io.grpc.MethodDescriptor<
2147           com.google.cloud.channel.v1.UnregisterSubscriberRequest,
2148           com.google.cloud.channel.v1.UnregisterSubscriberResponse>
getUnregisterSubscriberMethod()2149       getUnregisterSubscriberMethod() {
2150     io.grpc.MethodDescriptor<
2151             com.google.cloud.channel.v1.UnregisterSubscriberRequest,
2152             com.google.cloud.channel.v1.UnregisterSubscriberResponse>
2153         getUnregisterSubscriberMethod;
2154     if ((getUnregisterSubscriberMethod = CloudChannelServiceGrpc.getUnregisterSubscriberMethod)
2155         == null) {
2156       synchronized (CloudChannelServiceGrpc.class) {
2157         if ((getUnregisterSubscriberMethod = CloudChannelServiceGrpc.getUnregisterSubscriberMethod)
2158             == null) {
2159           CloudChannelServiceGrpc.getUnregisterSubscriberMethod =
2160               getUnregisterSubscriberMethod =
2161                   io.grpc.MethodDescriptor
2162                       .<com.google.cloud.channel.v1.UnregisterSubscriberRequest,
2163                           com.google.cloud.channel.v1.UnregisterSubscriberResponse>
2164                           newBuilder()
2165                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
2166                       .setFullMethodName(
2167                           generateFullMethodName(SERVICE_NAME, "UnregisterSubscriber"))
2168                       .setSampledToLocalTracing(true)
2169                       .setRequestMarshaller(
2170                           io.grpc.protobuf.ProtoUtils.marshaller(
2171                               com.google.cloud.channel.v1.UnregisterSubscriberRequest
2172                                   .getDefaultInstance()))
2173                       .setResponseMarshaller(
2174                           io.grpc.protobuf.ProtoUtils.marshaller(
2175                               com.google.cloud.channel.v1.UnregisterSubscriberResponse
2176                                   .getDefaultInstance()))
2177                       .setSchemaDescriptor(
2178                           new CloudChannelServiceMethodDescriptorSupplier("UnregisterSubscriber"))
2179                       .build();
2180         }
2181       }
2182     }
2183     return getUnregisterSubscriberMethod;
2184   }
2185 
2186   private static volatile io.grpc.MethodDescriptor<
2187           com.google.cloud.channel.v1.ListSubscribersRequest,
2188           com.google.cloud.channel.v1.ListSubscribersResponse>
2189       getListSubscribersMethod;
2190 
2191   @io.grpc.stub.annotations.RpcMethod(
2192       fullMethodName = SERVICE_NAME + '/' + "ListSubscribers",
2193       requestType = com.google.cloud.channel.v1.ListSubscribersRequest.class,
2194       responseType = com.google.cloud.channel.v1.ListSubscribersResponse.class,
2195       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
2196   public static io.grpc.MethodDescriptor<
2197           com.google.cloud.channel.v1.ListSubscribersRequest,
2198           com.google.cloud.channel.v1.ListSubscribersResponse>
getListSubscribersMethod()2199       getListSubscribersMethod() {
2200     io.grpc.MethodDescriptor<
2201             com.google.cloud.channel.v1.ListSubscribersRequest,
2202             com.google.cloud.channel.v1.ListSubscribersResponse>
2203         getListSubscribersMethod;
2204     if ((getListSubscribersMethod = CloudChannelServiceGrpc.getListSubscribersMethod) == null) {
2205       synchronized (CloudChannelServiceGrpc.class) {
2206         if ((getListSubscribersMethod = CloudChannelServiceGrpc.getListSubscribersMethod) == null) {
2207           CloudChannelServiceGrpc.getListSubscribersMethod =
2208               getListSubscribersMethod =
2209                   io.grpc.MethodDescriptor
2210                       .<com.google.cloud.channel.v1.ListSubscribersRequest,
2211                           com.google.cloud.channel.v1.ListSubscribersResponse>
2212                           newBuilder()
2213                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
2214                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSubscribers"))
2215                       .setSampledToLocalTracing(true)
2216                       .setRequestMarshaller(
2217                           io.grpc.protobuf.ProtoUtils.marshaller(
2218                               com.google.cloud.channel.v1.ListSubscribersRequest
2219                                   .getDefaultInstance()))
2220                       .setResponseMarshaller(
2221                           io.grpc.protobuf.ProtoUtils.marshaller(
2222                               com.google.cloud.channel.v1.ListSubscribersResponse
2223                                   .getDefaultInstance()))
2224                       .setSchemaDescriptor(
2225                           new CloudChannelServiceMethodDescriptorSupplier("ListSubscribers"))
2226                       .build();
2227         }
2228       }
2229     }
2230     return getListSubscribersMethod;
2231   }
2232 
2233   private static volatile io.grpc.MethodDescriptor<
2234           com.google.cloud.channel.v1.ListEntitlementChangesRequest,
2235           com.google.cloud.channel.v1.ListEntitlementChangesResponse>
2236       getListEntitlementChangesMethod;
2237 
2238   @io.grpc.stub.annotations.RpcMethod(
2239       fullMethodName = SERVICE_NAME + '/' + "ListEntitlementChanges",
2240       requestType = com.google.cloud.channel.v1.ListEntitlementChangesRequest.class,
2241       responseType = com.google.cloud.channel.v1.ListEntitlementChangesResponse.class,
2242       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
2243   public static io.grpc.MethodDescriptor<
2244           com.google.cloud.channel.v1.ListEntitlementChangesRequest,
2245           com.google.cloud.channel.v1.ListEntitlementChangesResponse>
getListEntitlementChangesMethod()2246       getListEntitlementChangesMethod() {
2247     io.grpc.MethodDescriptor<
2248             com.google.cloud.channel.v1.ListEntitlementChangesRequest,
2249             com.google.cloud.channel.v1.ListEntitlementChangesResponse>
2250         getListEntitlementChangesMethod;
2251     if ((getListEntitlementChangesMethod = CloudChannelServiceGrpc.getListEntitlementChangesMethod)
2252         == null) {
2253       synchronized (CloudChannelServiceGrpc.class) {
2254         if ((getListEntitlementChangesMethod =
2255                 CloudChannelServiceGrpc.getListEntitlementChangesMethod)
2256             == null) {
2257           CloudChannelServiceGrpc.getListEntitlementChangesMethod =
2258               getListEntitlementChangesMethod =
2259                   io.grpc.MethodDescriptor
2260                       .<com.google.cloud.channel.v1.ListEntitlementChangesRequest,
2261                           com.google.cloud.channel.v1.ListEntitlementChangesResponse>
2262                           newBuilder()
2263                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
2264                       .setFullMethodName(
2265                           generateFullMethodName(SERVICE_NAME, "ListEntitlementChanges"))
2266                       .setSampledToLocalTracing(true)
2267                       .setRequestMarshaller(
2268                           io.grpc.protobuf.ProtoUtils.marshaller(
2269                               com.google.cloud.channel.v1.ListEntitlementChangesRequest
2270                                   .getDefaultInstance()))
2271                       .setResponseMarshaller(
2272                           io.grpc.protobuf.ProtoUtils.marshaller(
2273                               com.google.cloud.channel.v1.ListEntitlementChangesResponse
2274                                   .getDefaultInstance()))
2275                       .setSchemaDescriptor(
2276                           new CloudChannelServiceMethodDescriptorSupplier("ListEntitlementChanges"))
2277                       .build();
2278         }
2279       }
2280     }
2281     return getListEntitlementChangesMethod;
2282   }
2283 
2284   /** Creates a new async stub that supports all call types for the service */
newStub(io.grpc.Channel channel)2285   public static CloudChannelServiceStub newStub(io.grpc.Channel channel) {
2286     io.grpc.stub.AbstractStub.StubFactory<CloudChannelServiceStub> factory =
2287         new io.grpc.stub.AbstractStub.StubFactory<CloudChannelServiceStub>() {
2288           @java.lang.Override
2289           public CloudChannelServiceStub newStub(
2290               io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
2291             return new CloudChannelServiceStub(channel, callOptions);
2292           }
2293         };
2294     return CloudChannelServiceStub.newStub(factory, channel);
2295   }
2296 
2297   /**
2298    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
2299    */
newBlockingStub(io.grpc.Channel channel)2300   public static CloudChannelServiceBlockingStub newBlockingStub(io.grpc.Channel channel) {
2301     io.grpc.stub.AbstractStub.StubFactory<CloudChannelServiceBlockingStub> factory =
2302         new io.grpc.stub.AbstractStub.StubFactory<CloudChannelServiceBlockingStub>() {
2303           @java.lang.Override
2304           public CloudChannelServiceBlockingStub newStub(
2305               io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
2306             return new CloudChannelServiceBlockingStub(channel, callOptions);
2307           }
2308         };
2309     return CloudChannelServiceBlockingStub.newStub(factory, channel);
2310   }
2311 
2312   /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
newFutureStub(io.grpc.Channel channel)2313   public static CloudChannelServiceFutureStub newFutureStub(io.grpc.Channel channel) {
2314     io.grpc.stub.AbstractStub.StubFactory<CloudChannelServiceFutureStub> factory =
2315         new io.grpc.stub.AbstractStub.StubFactory<CloudChannelServiceFutureStub>() {
2316           @java.lang.Override
2317           public CloudChannelServiceFutureStub newStub(
2318               io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
2319             return new CloudChannelServiceFutureStub(channel, callOptions);
2320           }
2321         };
2322     return CloudChannelServiceFutureStub.newStub(factory, channel);
2323   }
2324 
2325   /**
2326    *
2327    *
2328    * <pre>
2329    * CloudChannelService lets Google cloud resellers and distributors manage
2330    * their customers, channel partners, entitlements, and reports.
2331    * Using this service:
2332    * 1. Resellers and distributors can manage a customer entity.
2333    * 2. Distributors can register an authorized reseller in their channel and
2334    *    provide them with delegated admin access.
2335    * 3. Resellers and distributors can manage customer entitlements.
2336    * CloudChannelService exposes the following resources:
2337    * - [Customer][google.cloud.channel.v1.Customer]s: An entity-usually an
2338    * enterprise-managed by a reseller or distributor.
2339    * - [Entitlement][google.cloud.channel.v1.Entitlement]s: An entity that
2340    * provides a customer with the means to use a service. Entitlements are created
2341    * or updated as a result of a successful fulfillment.
2342    * - [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s: An
2343    * entity that identifies links between distributors and their indirect
2344    * resellers in a channel.
2345    * </pre>
2346    */
2347   public interface AsyncService {
2348 
2349     /**
2350      *
2351      *
2352      * <pre>
2353      * List [Customer][google.cloud.channel.v1.Customer]s.
2354      * Possible error codes:
2355      * * PERMISSION_DENIED: The reseller account making the request is different
2356      * from the reseller account in the API request.
2357      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
2358      * Return value:
2359      * List of [Customer][google.cloud.channel.v1.Customer]s, or an empty list if
2360      * there are no customers.
2361      * </pre>
2362      */
listCustomers( com.google.cloud.channel.v1.ListCustomersRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListCustomersResponse> responseObserver)2363     default void listCustomers(
2364         com.google.cloud.channel.v1.ListCustomersRequest request,
2365         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListCustomersResponse>
2366             responseObserver) {
2367       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
2368           getListCustomersMethod(), responseObserver);
2369     }
2370 
2371     /**
2372      *
2373      *
2374      * <pre>
2375      * Returns the requested [Customer][google.cloud.channel.v1.Customer]
2376      * resource.
2377      * Possible error codes:
2378      * * PERMISSION_DENIED: The reseller account making the request is different
2379      * from the reseller account in the API request.
2380      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
2381      * * NOT_FOUND: The customer resource doesn't exist. Usually the result of an
2382      * invalid name parameter.
2383      * Return value:
2384      * The [Customer][google.cloud.channel.v1.Customer] resource.
2385      * </pre>
2386      */
getCustomer( com.google.cloud.channel.v1.GetCustomerRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.Customer> responseObserver)2387     default void getCustomer(
2388         com.google.cloud.channel.v1.GetCustomerRequest request,
2389         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.Customer> responseObserver) {
2390       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
2391           getGetCustomerMethod(), responseObserver);
2392     }
2393 
2394     /**
2395      *
2396      *
2397      * <pre>
2398      * Confirms the existence of Cloud Identity accounts based on the domain and
2399      * if the Cloud Identity accounts are owned by the reseller.
2400      * Possible error codes:
2401      * * PERMISSION_DENIED: The reseller account making the request is different
2402      * from the reseller account in the API request.
2403      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
2404      * * INVALID_VALUE: Invalid domain value in the request.
2405      * Return value:
2406      * A list of
2407      * [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount]
2408      * resources for the domain (may be empty)
2409      * Note: in the v1alpha1 version of the API, a NOT_FOUND error returns if
2410      * no
2411      * [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount]
2412      * resources match the domain.
2413      * </pre>
2414      */
checkCloudIdentityAccountsExist( com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest request, io.grpc.stub.StreamObserver< com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse> responseObserver)2415     default void checkCloudIdentityAccountsExist(
2416         com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest request,
2417         io.grpc.stub.StreamObserver<
2418                 com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse>
2419             responseObserver) {
2420       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
2421           getCheckCloudIdentityAccountsExistMethod(), responseObserver);
2422     }
2423 
2424     /**
2425      *
2426      *
2427      * <pre>
2428      * Creates a new [Customer][google.cloud.channel.v1.Customer] resource under
2429      * the reseller or distributor account.
2430      * Possible error codes:
2431      * * PERMISSION_DENIED: The reseller account making the request is different
2432      * from the reseller account in the API request.
2433      * * INVALID_ARGUMENT:
2434      *     * Required request parameters are missing or invalid.
2435      *     * Domain field value doesn't match the primary email domain.
2436      * Return value:
2437      * The newly created [Customer][google.cloud.channel.v1.Customer] resource.
2438      * </pre>
2439      */
createCustomer( com.google.cloud.channel.v1.CreateCustomerRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.Customer> responseObserver)2440     default void createCustomer(
2441         com.google.cloud.channel.v1.CreateCustomerRequest request,
2442         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.Customer> responseObserver) {
2443       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
2444           getCreateCustomerMethod(), responseObserver);
2445     }
2446 
2447     /**
2448      *
2449      *
2450      * <pre>
2451      * Updates an existing [Customer][google.cloud.channel.v1.Customer] resource
2452      * for the reseller or distributor.
2453      * Possible error codes:
2454      * * PERMISSION_DENIED: The reseller account making the request is different
2455      * from the reseller account in the API request.
2456      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
2457      * * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found
2458      * for the name in the request.
2459      * Return value:
2460      * The updated [Customer][google.cloud.channel.v1.Customer] resource.
2461      * </pre>
2462      */
updateCustomer( com.google.cloud.channel.v1.UpdateCustomerRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.Customer> responseObserver)2463     default void updateCustomer(
2464         com.google.cloud.channel.v1.UpdateCustomerRequest request,
2465         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.Customer> responseObserver) {
2466       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
2467           getUpdateCustomerMethod(), responseObserver);
2468     }
2469 
2470     /**
2471      *
2472      *
2473      * <pre>
2474      * Deletes the given [Customer][google.cloud.channel.v1.Customer] permanently.
2475      * Possible error codes:
2476      * * PERMISSION_DENIED: The account making the request does not own
2477      * this customer.
2478      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
2479      * * FAILED_PRECONDITION: The customer has existing entitlements.
2480      * * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found
2481      * for the name in the request.
2482      * </pre>
2483      */
deleteCustomer( com.google.cloud.channel.v1.DeleteCustomerRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)2484     default void deleteCustomer(
2485         com.google.cloud.channel.v1.DeleteCustomerRequest request,
2486         io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) {
2487       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
2488           getDeleteCustomerMethod(), responseObserver);
2489     }
2490 
2491     /**
2492      *
2493      *
2494      * <pre>
2495      * Imports a [Customer][google.cloud.channel.v1.Customer] from the Cloud
2496      * Identity associated with the provided Cloud Identity ID or domain before a
2497      * TransferEntitlements call. If a linked Customer already exists and
2498      * overwrite_if_exists is true, it will update that Customer's data.
2499      * Possible error codes:
2500      * * PERMISSION_DENIED: The reseller account making the request is different
2501      * from the reseller account in the API request.
2502      * * NOT_FOUND: Cloud Identity doesn't exist or was deleted.
2503      * * INVALID_ARGUMENT: Required parameters are missing, or the auth_token is
2504      * expired or invalid.
2505      * * ALREADY_EXISTS: A customer already exists and has conflicting critical
2506      * fields. Requires an overwrite.
2507      * Return value:
2508      * The [Customer][google.cloud.channel.v1.Customer].
2509      * </pre>
2510      */
importCustomer( com.google.cloud.channel.v1.ImportCustomerRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.Customer> responseObserver)2511     default void importCustomer(
2512         com.google.cloud.channel.v1.ImportCustomerRequest request,
2513         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.Customer> responseObserver) {
2514       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
2515           getImportCustomerMethod(), responseObserver);
2516     }
2517 
2518     /**
2519      *
2520      *
2521      * <pre>
2522      * Creates a Cloud Identity for the given customer using the customer's
2523      * information, or the information provided here.
2524      * Possible error codes:
2525      * *  PERMISSION_DENIED: The customer doesn't belong to the reseller.
2526      * *  INVALID_ARGUMENT: Required request parameters are missing or invalid.
2527      * *  NOT_FOUND: The customer was not found.
2528      * *  ALREADY_EXISTS: The customer's primary email already exists. Retry
2529      *    after changing the customer's primary contact email.
2530      * * INTERNAL: Any non-user error related to a technical issue in the
2531      * backend. Contact Cloud Channel support.
2532      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
2533      * Contact Cloud Channel support.
2534      * Return value:
2535      * The ID of a long-running operation.
2536      * To get the results of the operation, call the GetOperation method of
2537      * CloudChannelOperationsService. The Operation metadata contains an
2538      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
2539      * </pre>
2540      */
provisionCloudIdentity( com.google.cloud.channel.v1.ProvisionCloudIdentityRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)2541     default void provisionCloudIdentity(
2542         com.google.cloud.channel.v1.ProvisionCloudIdentityRequest request,
2543         io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
2544       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
2545           getProvisionCloudIdentityMethod(), responseObserver);
2546     }
2547 
2548     /**
2549      *
2550      *
2551      * <pre>
2552      * Lists [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to a
2553      * customer.
2554      * Possible error codes:
2555      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
2556      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
2557      * Return value:
2558      * A list of the customer's
2559      * [Entitlement][google.cloud.channel.v1.Entitlement]s.
2560      * </pre>
2561      */
listEntitlements( com.google.cloud.channel.v1.ListEntitlementsRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListEntitlementsResponse> responseObserver)2562     default void listEntitlements(
2563         com.google.cloud.channel.v1.ListEntitlementsRequest request,
2564         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListEntitlementsResponse>
2565             responseObserver) {
2566       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
2567           getListEntitlementsMethod(), responseObserver);
2568     }
2569 
2570     /**
2571      *
2572      *
2573      * <pre>
2574      * List [TransferableSku][google.cloud.channel.v1.TransferableSku]s of a
2575      * customer based on the Cloud Identity ID or Customer Name in the request.
2576      * Use this method to list the entitlements information of an
2577      * unowned customer. You should provide the customer's
2578      * Cloud Identity ID or Customer Name.
2579      * Possible error codes:
2580      * * PERMISSION_DENIED:
2581      *     * The customer doesn't belong to the reseller and has no auth token.
2582      *     * The supplied auth token is invalid.
2583      *     * The reseller account making the request is different
2584      *     from the reseller account in the query.
2585      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
2586      * Return value:
2587      * A list of the customer's
2588      * [TransferableSku][google.cloud.channel.v1.TransferableSku].
2589      * </pre>
2590      */
listTransferableSkus( com.google.cloud.channel.v1.ListTransferableSkusRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListTransferableSkusResponse> responseObserver)2591     default void listTransferableSkus(
2592         com.google.cloud.channel.v1.ListTransferableSkusRequest request,
2593         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListTransferableSkusResponse>
2594             responseObserver) {
2595       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
2596           getListTransferableSkusMethod(), responseObserver);
2597     }
2598 
2599     /**
2600      *
2601      *
2602      * <pre>
2603      * List [TransferableOffer][google.cloud.channel.v1.TransferableOffer]s of a
2604      * customer based on Cloud Identity ID or Customer Name in the request.
2605      * Use this method when a reseller gets the entitlement information of an
2606      * unowned customer. The reseller should provide the customer's
2607      * Cloud Identity ID or Customer Name.
2608      * Possible error codes:
2609      * * PERMISSION_DENIED:
2610      *     * The customer doesn't belong to the reseller and has no auth token.
2611      *     * The customer provided incorrect reseller information when generating
2612      *     auth token.
2613      *     * The reseller account making the request is different
2614      *     from the reseller account in the query.
2615      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
2616      * Return value:
2617      * List of [TransferableOffer][google.cloud.channel.v1.TransferableOffer] for
2618      * the given customer and SKU.
2619      * </pre>
2620      */
listTransferableOffers( com.google.cloud.channel.v1.ListTransferableOffersRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListTransferableOffersResponse> responseObserver)2621     default void listTransferableOffers(
2622         com.google.cloud.channel.v1.ListTransferableOffersRequest request,
2623         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListTransferableOffersResponse>
2624             responseObserver) {
2625       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
2626           getListTransferableOffersMethod(), responseObserver);
2627     }
2628 
2629     /**
2630      *
2631      *
2632      * <pre>
2633      * Returns the requested [Entitlement][google.cloud.channel.v1.Entitlement]
2634      * resource.
2635      * Possible error codes:
2636      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
2637      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
2638      * * NOT_FOUND: The customer entitlement was not found.
2639      * Return value:
2640      * The requested [Entitlement][google.cloud.channel.v1.Entitlement] resource.
2641      * </pre>
2642      */
getEntitlement( com.google.cloud.channel.v1.GetEntitlementRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.Entitlement> responseObserver)2643     default void getEntitlement(
2644         com.google.cloud.channel.v1.GetEntitlementRequest request,
2645         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.Entitlement> responseObserver) {
2646       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
2647           getGetEntitlementMethod(), responseObserver);
2648     }
2649 
2650     /**
2651      *
2652      *
2653      * <pre>
2654      * Creates an entitlement for a customer.
2655      * Possible error codes:
2656      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
2657      * * INVALID_ARGUMENT:
2658      *     * Required request parameters are missing or invalid.
2659      *     * There is already a customer entitlement for a SKU from the same
2660      *     product family.
2661      * * INVALID_VALUE: Make sure the OfferId is valid. If it is, contact
2662      * Google Channel support for further troubleshooting.
2663      * * NOT_FOUND: The customer or offer resource was not found.
2664      * * ALREADY_EXISTS:
2665      *     * The SKU was already purchased for the customer.
2666      *     * The customer's primary email already exists. Retry
2667      *     after changing the customer's primary contact email.
2668      * * CONDITION_NOT_MET or FAILED_PRECONDITION:
2669      *     * The domain required for purchasing a SKU has not been verified.
2670      *     * A pre-requisite SKU required to purchase an Add-On SKU is missing.
2671      *     For example, Google Workspace Business Starter is required to purchase
2672      *     Vault or Drive.
2673      *     * (Developer accounts only) Reseller and resold domain must meet the
2674      *     following naming requirements:
2675      *         * Domain names must start with goog-test.
2676      *         * Domain names must include the reseller domain.
2677      * * INTERNAL: Any non-user error related to a technical issue in the
2678      * backend. Contact Cloud Channel support.
2679      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
2680      * Contact Cloud Channel support.
2681      * Return value:
2682      * The ID of a long-running operation.
2683      * To get the results of the operation, call the GetOperation method of
2684      * CloudChannelOperationsService. The Operation metadata will contain an
2685      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
2686      * </pre>
2687      */
createEntitlement( com.google.cloud.channel.v1.CreateEntitlementRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)2688     default void createEntitlement(
2689         com.google.cloud.channel.v1.CreateEntitlementRequest request,
2690         io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
2691       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
2692           getCreateEntitlementMethod(), responseObserver);
2693     }
2694 
2695     /**
2696      *
2697      *
2698      * <pre>
2699      * Change parameters of the entitlement.
2700      * An entitlement update is a long-running operation and it updates the
2701      * entitlement as a result of fulfillment.
2702      * Possible error codes:
2703      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
2704      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
2705      * For example, the number of seats being changed is greater than the allowed
2706      * number of max seats, or decreasing seats for a commitment based plan.
2707      * * NOT_FOUND: Entitlement resource not found.
2708      * * INTERNAL: Any non-user error related to a technical issue in the
2709      * backend. Contact Cloud Channel support.
2710      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
2711      * Contact Cloud Channel support.
2712      * Return value:
2713      * The ID of a long-running operation.
2714      * To get the results of the operation, call the GetOperation method of
2715      * CloudChannelOperationsService. The Operation metadata will contain an
2716      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
2717      * </pre>
2718      */
changeParameters( com.google.cloud.channel.v1.ChangeParametersRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)2719     default void changeParameters(
2720         com.google.cloud.channel.v1.ChangeParametersRequest request,
2721         io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
2722       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
2723           getChangeParametersMethod(), responseObserver);
2724     }
2725 
2726     /**
2727      *
2728      *
2729      * <pre>
2730      * Updates the renewal settings for an existing customer entitlement.
2731      * An entitlement update is a long-running operation and it updates the
2732      * entitlement as a result of fulfillment.
2733      * Possible error codes:
2734      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
2735      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
2736      * * NOT_FOUND: Entitlement resource not found.
2737      * * NOT_COMMITMENT_PLAN: Renewal Settings are only applicable for a
2738      * commitment plan. Can't enable or disable renewals for non-commitment plans.
2739      * * INTERNAL: Any non-user error related to a technical issue in the
2740      * backend. Contact Cloud Channel support.
2741      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
2742      *   Contact Cloud Channel support.
2743      * Return value:
2744      * The ID of a long-running operation.
2745      * To get the results of the operation, call the GetOperation method of
2746      * CloudChannelOperationsService. The Operation metadata will contain an
2747      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
2748      * </pre>
2749      */
changeRenewalSettings( com.google.cloud.channel.v1.ChangeRenewalSettingsRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)2750     default void changeRenewalSettings(
2751         com.google.cloud.channel.v1.ChangeRenewalSettingsRequest request,
2752         io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
2753       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
2754           getChangeRenewalSettingsMethod(), responseObserver);
2755     }
2756 
2757     /**
2758      *
2759      *
2760      * <pre>
2761      * Updates the Offer for an existing customer entitlement.
2762      * An entitlement update is a long-running operation and it updates the
2763      * entitlement as a result of fulfillment.
2764      * Possible error codes:
2765      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
2766      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
2767      * * NOT_FOUND: Offer or Entitlement resource not found.
2768      * * INTERNAL: Any non-user error related to a technical issue in the
2769      * backend. Contact Cloud Channel support.
2770      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
2771      * Contact Cloud Channel support.
2772      * Return value:
2773      * The ID of a long-running operation.
2774      * To get the results of the operation, call the GetOperation method of
2775      * CloudChannelOperationsService. The Operation metadata will contain an
2776      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
2777      * </pre>
2778      */
changeOffer( com.google.cloud.channel.v1.ChangeOfferRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)2779     default void changeOffer(
2780         com.google.cloud.channel.v1.ChangeOfferRequest request,
2781         io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
2782       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
2783           getChangeOfferMethod(), responseObserver);
2784     }
2785 
2786     /**
2787      *
2788      *
2789      * <pre>
2790      * Starts paid service for a trial entitlement.
2791      * Starts paid service for a trial entitlement immediately. This method is
2792      * only applicable if a plan is set up for a trial entitlement but has some
2793      * trial days remaining.
2794      * Possible error codes:
2795      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
2796      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
2797      * * NOT_FOUND: Entitlement resource not found.
2798      * * FAILED_PRECONDITION/NOT_IN_TRIAL: This method only works for
2799      * entitlement on trial plans.
2800      * * INTERNAL: Any non-user error related to a technical issue in the
2801      * backend. Contact Cloud Channel support.
2802      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
2803      * Contact Cloud Channel support.
2804      * Return value:
2805      * The ID of a long-running operation.
2806      * To get the results of the operation, call the GetOperation method of
2807      * CloudChannelOperationsService. The Operation metadata will contain an
2808      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
2809      * </pre>
2810      */
startPaidService( com.google.cloud.channel.v1.StartPaidServiceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)2811     default void startPaidService(
2812         com.google.cloud.channel.v1.StartPaidServiceRequest request,
2813         io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
2814       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
2815           getStartPaidServiceMethod(), responseObserver);
2816     }
2817 
2818     /**
2819      *
2820      *
2821      * <pre>
2822      * Suspends a previously fulfilled entitlement.
2823      * An entitlement suspension is a long-running operation.
2824      * Possible error codes:
2825      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
2826      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
2827      * * NOT_FOUND: Entitlement resource not found.
2828      * * NOT_ACTIVE: Entitlement is not active.
2829      * * INTERNAL: Any non-user error related to a technical issue in the
2830      * backend. Contact Cloud Channel support.
2831      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
2832      * Contact Cloud Channel support.
2833      * Return value:
2834      * The ID of a long-running operation.
2835      * To get the results of the operation, call the GetOperation method of
2836      * CloudChannelOperationsService. The Operation metadata will contain an
2837      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
2838      * </pre>
2839      */
suspendEntitlement( com.google.cloud.channel.v1.SuspendEntitlementRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)2840     default void suspendEntitlement(
2841         com.google.cloud.channel.v1.SuspendEntitlementRequest request,
2842         io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
2843       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
2844           getSuspendEntitlementMethod(), responseObserver);
2845     }
2846 
2847     /**
2848      *
2849      *
2850      * <pre>
2851      * Cancels a previously fulfilled entitlement.
2852      * An entitlement cancellation is a long-running operation.
2853      * Possible error codes:
2854      * * PERMISSION_DENIED: The reseller account making the request is different
2855      * from the reseller account in the API request.
2856      * * FAILED_PRECONDITION: There are Google Cloud projects linked to the
2857      * Google Cloud entitlement's Cloud Billing subaccount.
2858      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
2859      * * NOT_FOUND: Entitlement resource not found.
2860      * * DELETION_TYPE_NOT_ALLOWED: Cancel is only allowed for Google Workspace
2861      * add-ons, or entitlements for Google Cloud's development platform.
2862      * * INTERNAL: Any non-user error related to a technical issue in the
2863      * backend. Contact Cloud Channel support.
2864      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
2865      * Contact Cloud Channel support.
2866      * Return value:
2867      * The ID of a long-running operation.
2868      * To get the results of the operation, call the GetOperation method of
2869      * CloudChannelOperationsService. The response will contain
2870      * google.protobuf.Empty on success. The Operation metadata will contain an
2871      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
2872      * </pre>
2873      */
cancelEntitlement( com.google.cloud.channel.v1.CancelEntitlementRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)2874     default void cancelEntitlement(
2875         com.google.cloud.channel.v1.CancelEntitlementRequest request,
2876         io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
2877       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
2878           getCancelEntitlementMethod(), responseObserver);
2879     }
2880 
2881     /**
2882      *
2883      *
2884      * <pre>
2885      * Activates a previously suspended entitlement. Entitlements suspended for
2886      * pending ToS acceptance can't be activated using this method.
2887      * An entitlement activation is a long-running operation and it updates
2888      * the state of the customer entitlement.
2889      * Possible error codes:
2890      * * PERMISSION_DENIED: The reseller account making the request is different
2891      * from the reseller account in the API request.
2892      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
2893      * * NOT_FOUND: Entitlement resource not found.
2894      * * SUSPENSION_NOT_RESELLER_INITIATED: Can only activate reseller-initiated
2895      * suspensions and entitlements that have accepted the TOS.
2896      * * NOT_SUSPENDED: Can only activate suspended entitlements not in an ACTIVE
2897      * state.
2898      * * INTERNAL: Any non-user error related to a technical issue in the
2899      * backend. Contact Cloud Channel support.
2900      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
2901      * Contact Cloud Channel support.
2902      * Return value:
2903      * The ID of a long-running operation.
2904      * To get the results of the operation, call the GetOperation method of
2905      * CloudChannelOperationsService. The Operation metadata will contain an
2906      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
2907      * </pre>
2908      */
activateEntitlement( com.google.cloud.channel.v1.ActivateEntitlementRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)2909     default void activateEntitlement(
2910         com.google.cloud.channel.v1.ActivateEntitlementRequest request,
2911         io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
2912       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
2913           getActivateEntitlementMethod(), responseObserver);
2914     }
2915 
2916     /**
2917      *
2918      *
2919      * <pre>
2920      * Transfers customer entitlements to new reseller.
2921      * Possible error codes:
2922      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
2923      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
2924      * * NOT_FOUND: The customer or offer resource was not found.
2925      * * ALREADY_EXISTS: The SKU was already transferred for the customer.
2926      * * CONDITION_NOT_MET or FAILED_PRECONDITION:
2927      *     * The SKU requires domain verification to transfer, but the domain is
2928      *     not verified.
2929      *     * An Add-On SKU (example, Vault or Drive) is missing the
2930      *     pre-requisite SKU (example, G Suite Basic).
2931      *     * (Developer accounts only) Reseller and resold domain must meet the
2932      *     following naming requirements:
2933      *         * Domain names must start with goog-test.
2934      *         * Domain names must include the reseller domain.
2935      *     * Specify all transferring entitlements.
2936      * * INTERNAL: Any non-user error related to a technical issue in the
2937      * backend. Contact Cloud Channel support.
2938      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
2939      * Contact Cloud Channel support.
2940      * Return value:
2941      * The ID of a long-running operation.
2942      * To get the results of the operation, call the GetOperation method of
2943      * CloudChannelOperationsService. The Operation metadata will contain an
2944      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
2945      * </pre>
2946      */
transferEntitlements( com.google.cloud.channel.v1.TransferEntitlementsRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)2947     default void transferEntitlements(
2948         com.google.cloud.channel.v1.TransferEntitlementsRequest request,
2949         io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
2950       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
2951           getTransferEntitlementsMethod(), responseObserver);
2952     }
2953 
2954     /**
2955      *
2956      *
2957      * <pre>
2958      * Transfers customer entitlements from their current reseller to Google.
2959      * Possible error codes:
2960      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
2961      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
2962      * * NOT_FOUND: The customer or offer resource was not found.
2963      * * ALREADY_EXISTS: The SKU was already transferred for the customer.
2964      * * CONDITION_NOT_MET or FAILED_PRECONDITION:
2965      *     * The SKU requires domain verification to transfer, but the domain is
2966      *     not verified.
2967      *     * An Add-On SKU (example, Vault or Drive) is missing the
2968      *     pre-requisite SKU (example, G Suite Basic).
2969      *     * (Developer accounts only) Reseller and resold domain must meet the
2970      *     following naming requirements:
2971      *         * Domain names must start with goog-test.
2972      *         * Domain names must include the reseller domain.
2973      * * INTERNAL: Any non-user error related to a technical issue in the
2974      * backend. Contact Cloud Channel support.
2975      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
2976      * Contact Cloud Channel support.
2977      * Return value:
2978      * The ID of a long-running operation.
2979      * To get the results of the operation, call the GetOperation method of
2980      * CloudChannelOperationsService. The response will contain
2981      * google.protobuf.Empty on success. The Operation metadata will contain an
2982      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
2983      * </pre>
2984      */
transferEntitlementsToGoogle( com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)2985     default void transferEntitlementsToGoogle(
2986         com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest request,
2987         io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
2988       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
2989           getTransferEntitlementsToGoogleMethod(), responseObserver);
2990     }
2991 
2992     /**
2993      *
2994      *
2995      * <pre>
2996      * List [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s
2997      * belonging to a distributor. You must be a distributor to call this method.
2998      * Possible error codes:
2999      * * PERMISSION_DENIED: The reseller account making the request is different
3000      * from the reseller account in the API request.
3001      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
3002      * Return value:
3003      * The list of the distributor account's
3004      * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resources.
3005      * </pre>
3006      */
listChannelPartnerLinks( com.google.cloud.channel.v1.ListChannelPartnerLinksRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListChannelPartnerLinksResponse> responseObserver)3007     default void listChannelPartnerLinks(
3008         com.google.cloud.channel.v1.ListChannelPartnerLinksRequest request,
3009         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListChannelPartnerLinksResponse>
3010             responseObserver) {
3011       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
3012           getListChannelPartnerLinksMethod(), responseObserver);
3013     }
3014 
3015     /**
3016      *
3017      *
3018      * <pre>
3019      * Returns the requested
3020      * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
3021      * You must be a distributor to call this method.
3022      * Possible error codes:
3023      * * PERMISSION_DENIED: The reseller account making the request is different
3024      * from the reseller account in the API request.
3025      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
3026      * * NOT_FOUND: ChannelPartnerLink resource not found because of an
3027      * invalid channel partner link name.
3028      * Return value:
3029      * The [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]
3030      * resource.
3031      * </pre>
3032      */
getChannelPartnerLink( com.google.cloud.channel.v1.GetChannelPartnerLinkRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ChannelPartnerLink> responseObserver)3033     default void getChannelPartnerLink(
3034         com.google.cloud.channel.v1.GetChannelPartnerLinkRequest request,
3035         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ChannelPartnerLink>
3036             responseObserver) {
3037       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
3038           getGetChannelPartnerLinkMethod(), responseObserver);
3039     }
3040 
3041     /**
3042      *
3043      *
3044      * <pre>
3045      * Initiates a channel partner link between a distributor and a reseller, or
3046      * between resellers in an n-tier reseller channel.
3047      * Invited partners need to follow the invite_link_uri provided in the
3048      * response to accept. After accepting the invitation, a link is set up
3049      * between the two parties.
3050      * You must be a distributor to call this method.
3051      * Possible error codes:
3052      * * PERMISSION_DENIED: The reseller account making the request is different
3053      * from the reseller account in the API request.
3054      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
3055      * * ALREADY_EXISTS: The ChannelPartnerLink sent in the request already
3056      * exists.
3057      * * NOT_FOUND: No Cloud Identity customer exists for provided domain.
3058      * * INTERNAL: Any non-user error related to a technical issue in the
3059      * backend. Contact Cloud Channel support.
3060      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
3061      * Contact Cloud Channel support.
3062      * Return value:
3063      * The new [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]
3064      * resource.
3065      * </pre>
3066      */
createChannelPartnerLink( com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ChannelPartnerLink> responseObserver)3067     default void createChannelPartnerLink(
3068         com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest request,
3069         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ChannelPartnerLink>
3070             responseObserver) {
3071       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
3072           getCreateChannelPartnerLinkMethod(), responseObserver);
3073     }
3074 
3075     /**
3076      *
3077      *
3078      * <pre>
3079      * Updates a channel partner link. Distributors call this method to change a
3080      * link's status. For example, to suspend a partner link.
3081      * You must be a distributor to call this method.
3082      * Possible error codes:
3083      * * PERMISSION_DENIED: The reseller account making the request is different
3084      * from the reseller account in the API request.
3085      * * INVALID_ARGUMENT:
3086      *     * Required request parameters are missing or invalid.
3087      *     * Link state cannot change from invited to active or suspended.
3088      *     * Cannot send reseller_cloud_identity_id, invite_url, or name in update
3089      *     mask.
3090      * * NOT_FOUND: ChannelPartnerLink resource not found.
3091      * * INTERNAL: Any non-user error related to a technical issue in the
3092      * backend. Contact Cloud Channel support.
3093      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
3094      * Contact Cloud Channel support.
3095      * Return value:
3096      * The updated
3097      * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
3098      * </pre>
3099      */
updateChannelPartnerLink( com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ChannelPartnerLink> responseObserver)3100     default void updateChannelPartnerLink(
3101         com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest request,
3102         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ChannelPartnerLink>
3103             responseObserver) {
3104       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
3105           getUpdateChannelPartnerLinkMethod(), responseObserver);
3106     }
3107 
3108     /**
3109      *
3110      *
3111      * <pre>
3112      * Gets information about how a Reseller modifies their bill before sending
3113      * it to a Customer.
3114      * Possible Error Codes:
3115      * * PERMISSION_DENIED: If the account making the request and the account
3116      * being queried are different.
3117      * * NOT_FOUND: The
3118      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
3119      * was not found.
3120      * * INTERNAL: Any non-user error related to technical issues in the
3121      * backend. In this case, contact Cloud Channel support.
3122      * Return Value:
3123      * If successful, the
3124      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
3125      * resource, otherwise returns an error.
3126      * </pre>
3127      */
getCustomerRepricingConfig( com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.CustomerRepricingConfig> responseObserver)3128     default void getCustomerRepricingConfig(
3129         com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest request,
3130         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.CustomerRepricingConfig>
3131             responseObserver) {
3132       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
3133           getGetCustomerRepricingConfigMethod(), responseObserver);
3134     }
3135 
3136     /**
3137      *
3138      *
3139      * <pre>
3140      * Lists information about how a Reseller modifies their bill before sending
3141      * it to a Customer.
3142      * Possible Error Codes:
3143      * * PERMISSION_DENIED: If the account making the request and the account
3144      * being queried are different.
3145      * * NOT_FOUND: The
3146      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
3147      * specified does not exist or is not associated with the given account.
3148      * * INTERNAL: Any non-user error related to technical issues in the
3149      * backend. In this case, contact Cloud Channel support.
3150      * Return Value:
3151      * If successful, the
3152      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
3153      * resources. The data for each resource is displayed in the ascending order
3154      * of:
3155      * * Customer ID
3156      * * [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement]
3157      * * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
3158      * * [CustomerRepricingConfig.update_time][google.cloud.channel.v1.CustomerRepricingConfig.update_time]
3159      * If unsuccessful, returns an error.
3160      * </pre>
3161      */
listCustomerRepricingConfigs( com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest request, io.grpc.stub.StreamObserver< com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse> responseObserver)3162     default void listCustomerRepricingConfigs(
3163         com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest request,
3164         io.grpc.stub.StreamObserver<
3165                 com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse>
3166             responseObserver) {
3167       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
3168           getListCustomerRepricingConfigsMethod(), responseObserver);
3169     }
3170 
3171     /**
3172      *
3173      *
3174      * <pre>
3175      * Creates a CustomerRepricingConfig. Call this method to set modifications
3176      * for a specific customer's bill. You can only create configs if the
3177      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
3178      * is a future month. If needed, you can create a config for the current
3179      * month, with some restrictions.
3180      * When creating a config for a future month, make sure there are no existing
3181      * configs for that
3182      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
3183      * The following restrictions are for creating configs in the current month.
3184      * * This functionality is reserved for recovering from an erroneous config,
3185      * and should not be used for regular business cases.
3186      * * The new config will not modify exports used with other configs.
3187      * Changes to the config may be immediate, but may take up to 24 hours.
3188      * * There is a limit of ten configs for any
3189      * [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement]
3190      * or
3191      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
3192      * * The contained
3193      * [CustomerRepricingConfig.repricing_config][google.cloud.channel.v1.CustomerRepricingConfig.repricing_config]
3194      * vaule must be different from the value used in the current config for a
3195      * [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement].
3196      * Possible Error Codes:
3197      * * PERMISSION_DENIED: If the account making the request and the account
3198      * being queried are different.
3199      * * INVALID_ARGUMENT: Missing or invalid required parameters in the
3200      * request. Also displays if the updated config is for the current month or
3201      * past months.
3202      * * NOT_FOUND: The
3203      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
3204      * specified does not exist or is not associated with the given account.
3205      * * INTERNAL: Any non-user error related to technical issues in the
3206      * backend. In this case, contact Cloud Channel support.
3207      * Return Value:
3208      * If successful, the updated
3209      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
3210      * resource, otherwise returns an error.
3211      * </pre>
3212      */
createCustomerRepricingConfig( com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.CustomerRepricingConfig> responseObserver)3213     default void createCustomerRepricingConfig(
3214         com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest request,
3215         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.CustomerRepricingConfig>
3216             responseObserver) {
3217       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
3218           getCreateCustomerRepricingConfigMethod(), responseObserver);
3219     }
3220 
3221     /**
3222      *
3223      *
3224      * <pre>
3225      * Updates a CustomerRepricingConfig. Call this method to set modifications
3226      * for a specific customer's bill. This method overwrites the existing
3227      * CustomerRepricingConfig.
3228      * You can only update configs if the
3229      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
3230      * is a future month. To make changes to configs for the current month, use
3231      * [CreateCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateCustomerRepricingConfig],
3232      * taking note of its restrictions. You cannot update the
3233      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
3234      * When updating a config in the future:
3235      * * This config must already exist.
3236      * Possible Error Codes:
3237      * * PERMISSION_DENIED: If the account making the request and the account
3238      * being queried are different.
3239      * * INVALID_ARGUMENT: Missing or invalid required parameters in the
3240      * request. Also displays if the updated config is for the current month or
3241      * past months.
3242      * * NOT_FOUND: The
3243      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
3244      * specified does not exist or is not associated with the given account.
3245      * * INTERNAL: Any non-user error related to technical issues in the
3246      * backend. In this case, contact Cloud Channel support.
3247      * Return Value:
3248      * If successful, the updated
3249      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
3250      * resource, otherwise returns an error.
3251      * </pre>
3252      */
updateCustomerRepricingConfig( com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.CustomerRepricingConfig> responseObserver)3253     default void updateCustomerRepricingConfig(
3254         com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest request,
3255         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.CustomerRepricingConfig>
3256             responseObserver) {
3257       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
3258           getUpdateCustomerRepricingConfigMethod(), responseObserver);
3259     }
3260 
3261     /**
3262      *
3263      *
3264      * <pre>
3265      * Deletes the given
3266      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
3267      * permanently. You can only delete configs if their
3268      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
3269      * is set to a date after the current month.
3270      * Possible error codes:
3271      * * PERMISSION_DENIED: The account making the request does not own
3272      * this customer.
3273      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
3274      * * FAILED_PRECONDITION: The
3275      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
3276      * is active or in the past.
3277      * * NOT_FOUND: No
3278      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
3279      * found for the name in the request.
3280      * </pre>
3281      */
deleteCustomerRepricingConfig( com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)3282     default void deleteCustomerRepricingConfig(
3283         com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest request,
3284         io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) {
3285       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
3286           getDeleteCustomerRepricingConfigMethod(), responseObserver);
3287     }
3288 
3289     /**
3290      *
3291      *
3292      * <pre>
3293      * Gets information about how a Distributor modifies their bill before sending
3294      * it to a ChannelPartner.
3295      * Possible Error Codes:
3296      * * PERMISSION_DENIED: If the account making the request and the account
3297      * being queried are different.
3298      * * NOT_FOUND: The
3299      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
3300      * was not found.
3301      * * INTERNAL: Any non-user error related to technical issues in the
3302      * backend. In this case, contact Cloud Channel support.
3303      * Return Value:
3304      * If successful, the
3305      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
3306      * resource, otherwise returns an error.
3307      * </pre>
3308      */
getChannelPartnerRepricingConfig( com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ChannelPartnerRepricingConfig> responseObserver)3309     default void getChannelPartnerRepricingConfig(
3310         com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest request,
3311         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>
3312             responseObserver) {
3313       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
3314           getGetChannelPartnerRepricingConfigMethod(), responseObserver);
3315     }
3316 
3317     /**
3318      *
3319      *
3320      * <pre>
3321      * Lists information about how a Reseller modifies their bill before sending
3322      * it to a ChannelPartner.
3323      * Possible Error Codes:
3324      * * PERMISSION_DENIED: If the account making the request and the account
3325      * being queried are different.
3326      * * NOT_FOUND: The
3327      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
3328      * specified does not exist or is not associated with the given account.
3329      * * INTERNAL: Any non-user error related to technical issues in the
3330      * backend. In this case, contact Cloud Channel support.
3331      * Return Value:
3332      * If successful, the
3333      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
3334      * resources. The data for each resource is displayed in the ascending order
3335      * of:
3336      * * Channel Partner ID
3337      * * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
3338      * * [ChannelPartnerRepricingConfig.update_time][google.cloud.channel.v1.ChannelPartnerRepricingConfig.update_time]
3339      * If unsuccessful, returns an error.
3340      * </pre>
3341      */
listChannelPartnerRepricingConfigs( com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest request, io.grpc.stub.StreamObserver< com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse> responseObserver)3342     default void listChannelPartnerRepricingConfigs(
3343         com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest request,
3344         io.grpc.stub.StreamObserver<
3345                 com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse>
3346             responseObserver) {
3347       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
3348           getListChannelPartnerRepricingConfigsMethod(), responseObserver);
3349     }
3350 
3351     /**
3352      *
3353      *
3354      * <pre>
3355      * Creates a ChannelPartnerRepricingConfig. Call this method to set
3356      * modifications for a specific ChannelPartner's bill. You can only create
3357      * configs if the
3358      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
3359      * is a future month. If needed, you can create a config for the current
3360      * month, with some restrictions.
3361      * When creating a config for a future month, make sure there are no existing
3362      * configs for that
3363      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
3364      * The following restrictions are for creating configs in the current month.
3365      * * This functionality is reserved for recovering from an erroneous config,
3366      * and should not be used for regular business cases.
3367      * * The new config will not modify exports used with other configs.
3368      * Changes to the config may be immediate, but may take up to 24 hours.
3369      * * There is a limit of ten configs for any ChannelPartner or
3370      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
3371      * * The contained
3372      * [ChannelPartnerRepricingConfig.repricing_config][google.cloud.channel.v1.ChannelPartnerRepricingConfig.repricing_config]
3373      * vaule must be different from the value used in the current config for a
3374      * ChannelPartner.
3375      * Possible Error Codes:
3376      * * PERMISSION_DENIED: If the account making the request and the account
3377      * being queried are different.
3378      * * INVALID_ARGUMENT: Missing or invalid required parameters in the
3379      * request. Also displays if the updated config is for the current month or
3380      * past months.
3381      * * NOT_FOUND: The
3382      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
3383      * specified does not exist or is not associated with the given account.
3384      * * INTERNAL: Any non-user error related to technical issues in the
3385      * backend. In this case, contact Cloud Channel support.
3386      * Return Value:
3387      * If successful, the updated
3388      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
3389      * resource, otherwise returns an error.
3390      * </pre>
3391      */
createChannelPartnerRepricingConfig( com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ChannelPartnerRepricingConfig> responseObserver)3392     default void createChannelPartnerRepricingConfig(
3393         com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest request,
3394         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>
3395             responseObserver) {
3396       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
3397           getCreateChannelPartnerRepricingConfigMethod(), responseObserver);
3398     }
3399 
3400     /**
3401      *
3402      *
3403      * <pre>
3404      * Updates a ChannelPartnerRepricingConfig. Call this method to set
3405      * modifications for a specific ChannelPartner's bill. This method overwrites
3406      * the existing CustomerRepricingConfig.
3407      * You can only update configs if the
3408      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
3409      * is a future month. To make changes to configs for the current month, use
3410      * [CreateChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerRepricingConfig],
3411      * taking note of its restrictions. You cannot update the
3412      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
3413      * When updating a config in the future:
3414      * * This config must already exist.
3415      * Possible Error Codes:
3416      * * PERMISSION_DENIED: If the account making the request and the account
3417      * being queried are different.
3418      * * INVALID_ARGUMENT: Missing or invalid required parameters in the
3419      * request. Also displays if the updated config is for the current month or
3420      * past months.
3421      * * NOT_FOUND: The
3422      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
3423      * specified does not exist or is not associated with the given account.
3424      * * INTERNAL: Any non-user error related to technical issues in the
3425      * backend. In this case, contact Cloud Channel support.
3426      * Return Value:
3427      * If successful, the updated
3428      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
3429      * resource, otherwise returns an error.
3430      * </pre>
3431      */
updateChannelPartnerRepricingConfig( com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ChannelPartnerRepricingConfig> responseObserver)3432     default void updateChannelPartnerRepricingConfig(
3433         com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest request,
3434         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>
3435             responseObserver) {
3436       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
3437           getUpdateChannelPartnerRepricingConfigMethod(), responseObserver);
3438     }
3439 
3440     /**
3441      *
3442      *
3443      * <pre>
3444      * Deletes the given
3445      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
3446      * permanently. You can only delete configs if their
3447      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
3448      * is set to a date after the current month.
3449      * Possible error codes:
3450      * * PERMISSION_DENIED: The account making the request does not own
3451      * this customer.
3452      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
3453      * * FAILED_PRECONDITION: The
3454      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
3455      * is active or in the past.
3456      * * NOT_FOUND: No
3457      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
3458      * found for the name in the request.
3459      * </pre>
3460      */
deleteChannelPartnerRepricingConfig( com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)3461     default void deleteChannelPartnerRepricingConfig(
3462         com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest request,
3463         io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) {
3464       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
3465           getDeleteChannelPartnerRepricingConfigMethod(), responseObserver);
3466     }
3467 
3468     /**
3469      *
3470      *
3471      * <pre>
3472      * Returns the requested [Offer][google.cloud.channel.v1.Offer] resource.
3473      * Possible error codes:
3474      * * PERMISSION_DENIED: The entitlement doesn't belong to the reseller.
3475      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
3476      * * NOT_FOUND: Entitlement or offer was not found.
3477      * Return value:
3478      * The [Offer][google.cloud.channel.v1.Offer] resource.
3479      * </pre>
3480      */
lookupOffer( com.google.cloud.channel.v1.LookupOfferRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.Offer> responseObserver)3481     default void lookupOffer(
3482         com.google.cloud.channel.v1.LookupOfferRequest request,
3483         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.Offer> responseObserver) {
3484       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
3485           getLookupOfferMethod(), responseObserver);
3486     }
3487 
3488     /**
3489      *
3490      *
3491      * <pre>
3492      * Lists the Products the reseller is authorized to sell.
3493      * Possible error codes:
3494      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
3495      * </pre>
3496      */
listProducts( com.google.cloud.channel.v1.ListProductsRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListProductsResponse> responseObserver)3497     default void listProducts(
3498         com.google.cloud.channel.v1.ListProductsRequest request,
3499         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListProductsResponse>
3500             responseObserver) {
3501       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
3502           getListProductsMethod(), responseObserver);
3503     }
3504 
3505     /**
3506      *
3507      *
3508      * <pre>
3509      * Lists the SKUs for a product the reseller is authorized to sell.
3510      * Possible error codes:
3511      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
3512      * </pre>
3513      */
listSkus( com.google.cloud.channel.v1.ListSkusRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListSkusResponse> responseObserver)3514     default void listSkus(
3515         com.google.cloud.channel.v1.ListSkusRequest request,
3516         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListSkusResponse>
3517             responseObserver) {
3518       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListSkusMethod(), responseObserver);
3519     }
3520 
3521     /**
3522      *
3523      *
3524      * <pre>
3525      * Lists the Offers the reseller can sell.
3526      * Possible error codes:
3527      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
3528      * </pre>
3529      */
listOffers( com.google.cloud.channel.v1.ListOffersRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListOffersResponse> responseObserver)3530     default void listOffers(
3531         com.google.cloud.channel.v1.ListOffersRequest request,
3532         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListOffersResponse>
3533             responseObserver) {
3534       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListOffersMethod(), responseObserver);
3535     }
3536 
3537     /**
3538      *
3539      *
3540      * <pre>
3541      * Lists the following:
3542      * * SKUs that you can purchase for a customer
3543      * * SKUs that you can upgrade or downgrade for an entitlement.
3544      * Possible error codes:
3545      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
3546      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
3547      * </pre>
3548      */
listPurchasableSkus( com.google.cloud.channel.v1.ListPurchasableSkusRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListPurchasableSkusResponse> responseObserver)3549     default void listPurchasableSkus(
3550         com.google.cloud.channel.v1.ListPurchasableSkusRequest request,
3551         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListPurchasableSkusResponse>
3552             responseObserver) {
3553       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
3554           getListPurchasableSkusMethod(), responseObserver);
3555     }
3556 
3557     /**
3558      *
3559      *
3560      * <pre>
3561      * Lists the following:
3562      * * Offers that you can purchase for a customer.
3563      * * Offers that you can change for an entitlement.
3564      * Possible error codes:
3565      * * PERMISSION_DENIED: The customer doesn't belong to the reseller
3566      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
3567      * </pre>
3568      */
listPurchasableOffers( com.google.cloud.channel.v1.ListPurchasableOffersRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListPurchasableOffersResponse> responseObserver)3569     default void listPurchasableOffers(
3570         com.google.cloud.channel.v1.ListPurchasableOffersRequest request,
3571         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListPurchasableOffersResponse>
3572             responseObserver) {
3573       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
3574           getListPurchasableOffersMethod(), responseObserver);
3575     }
3576 
3577     /**
3578      *
3579      *
3580      * <pre>
3581      * Registers a service account with subscriber privileges on the Cloud Pub/Sub
3582      * topic for this Channel Services account. After you create a
3583      * subscriber, you get the events through
3584      * [SubscriberEvent][google.cloud.channel.v1.SubscriberEvent]
3585      * Possible error codes:
3586      * * PERMISSION_DENIED: The reseller account making the request and the
3587      * provided reseller account are different, or the impersonated user
3588      * is not a super admin.
3589      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
3590      * * INTERNAL: Any non-user error related to a technical issue in the
3591      * backend. Contact Cloud Channel support.
3592      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
3593      * Contact Cloud Channel support.
3594      * Return value:
3595      * The topic name with the registered service email address.
3596      * </pre>
3597      */
registerSubscriber( com.google.cloud.channel.v1.RegisterSubscriberRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.RegisterSubscriberResponse> responseObserver)3598     default void registerSubscriber(
3599         com.google.cloud.channel.v1.RegisterSubscriberRequest request,
3600         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.RegisterSubscriberResponse>
3601             responseObserver) {
3602       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
3603           getRegisterSubscriberMethod(), responseObserver);
3604     }
3605 
3606     /**
3607      *
3608      *
3609      * <pre>
3610      * Unregisters a service account with subscriber privileges on the Cloud
3611      * Pub/Sub topic created for this Channel Services account. If there are no
3612      * service accounts left with subscriber privileges, this deletes the topic.
3613      * You can call ListSubscribers to check for these accounts.
3614      * Possible error codes:
3615      * * PERMISSION_DENIED: The reseller account making the request and the
3616      * provided reseller account are different, or the impersonated user
3617      * is not a super admin.
3618      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
3619      * * NOT_FOUND: The topic resource doesn't exist.
3620      * * INTERNAL: Any non-user error related to a technical issue in the
3621      * backend. Contact Cloud Channel support.
3622      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
3623      * Contact Cloud Channel support.
3624      * Return value:
3625      * The topic name that unregistered the service email address.
3626      * Returns a success response if the service email address wasn't registered
3627      * with the topic.
3628      * </pre>
3629      */
unregisterSubscriber( com.google.cloud.channel.v1.UnregisterSubscriberRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.UnregisterSubscriberResponse> responseObserver)3630     default void unregisterSubscriber(
3631         com.google.cloud.channel.v1.UnregisterSubscriberRequest request,
3632         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.UnregisterSubscriberResponse>
3633             responseObserver) {
3634       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
3635           getUnregisterSubscriberMethod(), responseObserver);
3636     }
3637 
3638     /**
3639      *
3640      *
3641      * <pre>
3642      * Lists service accounts with subscriber privileges on the Cloud Pub/Sub
3643      * topic created for this Channel Services account.
3644      * Possible error codes:
3645      * * PERMISSION_DENIED: The reseller account making the request and the
3646      * provided reseller account are different, or the impersonated user
3647      * is not a super admin.
3648      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
3649      * * NOT_FOUND: The topic resource doesn't exist.
3650      * * INTERNAL: Any non-user error related to a technical issue in the
3651      * backend. Contact Cloud Channel support.
3652      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
3653      * Contact Cloud Channel support.
3654      * Return value:
3655      * A list of service email addresses.
3656      * </pre>
3657      */
listSubscribers( com.google.cloud.channel.v1.ListSubscribersRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListSubscribersResponse> responseObserver)3658     default void listSubscribers(
3659         com.google.cloud.channel.v1.ListSubscribersRequest request,
3660         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListSubscribersResponse>
3661             responseObserver) {
3662       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
3663           getListSubscribersMethod(), responseObserver);
3664     }
3665 
3666     /**
3667      *
3668      *
3669      * <pre>
3670      * List entitlement history.
3671      * Possible error codes:
3672      * * PERMISSION_DENIED: The reseller account making the request and the
3673      * provided reseller account are different.
3674      * * INVALID_ARGUMENT: Missing or invalid required fields in the request.
3675      * * NOT_FOUND: The parent resource doesn't exist. Usually the result of an
3676      * invalid name parameter.
3677      * * INTERNAL: Any non-user error related to a technical issue in the backend.
3678      * In this case, contact CloudChannel support.
3679      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
3680      * In this case, contact Cloud Channel support.
3681      * Return value:
3682      * List of [EntitlementChange][google.cloud.channel.v1.EntitlementChange]s.
3683      * </pre>
3684      */
listEntitlementChanges( com.google.cloud.channel.v1.ListEntitlementChangesRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListEntitlementChangesResponse> responseObserver)3685     default void listEntitlementChanges(
3686         com.google.cloud.channel.v1.ListEntitlementChangesRequest request,
3687         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListEntitlementChangesResponse>
3688             responseObserver) {
3689       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
3690           getListEntitlementChangesMethod(), responseObserver);
3691     }
3692   }
3693 
3694   /**
3695    * Base class for the server implementation of the service CloudChannelService.
3696    *
3697    * <pre>
3698    * CloudChannelService lets Google cloud resellers and distributors manage
3699    * their customers, channel partners, entitlements, and reports.
3700    * Using this service:
3701    * 1. Resellers and distributors can manage a customer entity.
3702    * 2. Distributors can register an authorized reseller in their channel and
3703    *    provide them with delegated admin access.
3704    * 3. Resellers and distributors can manage customer entitlements.
3705    * CloudChannelService exposes the following resources:
3706    * - [Customer][google.cloud.channel.v1.Customer]s: An entity-usually an
3707    * enterprise-managed by a reseller or distributor.
3708    * - [Entitlement][google.cloud.channel.v1.Entitlement]s: An entity that
3709    * provides a customer with the means to use a service. Entitlements are created
3710    * or updated as a result of a successful fulfillment.
3711    * - [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s: An
3712    * entity that identifies links between distributors and their indirect
3713    * resellers in a channel.
3714    * </pre>
3715    */
3716   public abstract static class CloudChannelServiceImplBase
3717       implements io.grpc.BindableService, AsyncService {
3718 
3719     @java.lang.Override
bindService()3720     public final io.grpc.ServerServiceDefinition bindService() {
3721       return CloudChannelServiceGrpc.bindService(this);
3722     }
3723   }
3724 
3725   /**
3726    * A stub to allow clients to do asynchronous rpc calls to service CloudChannelService.
3727    *
3728    * <pre>
3729    * CloudChannelService lets Google cloud resellers and distributors manage
3730    * their customers, channel partners, entitlements, and reports.
3731    * Using this service:
3732    * 1. Resellers and distributors can manage a customer entity.
3733    * 2. Distributors can register an authorized reseller in their channel and
3734    *    provide them with delegated admin access.
3735    * 3. Resellers and distributors can manage customer entitlements.
3736    * CloudChannelService exposes the following resources:
3737    * - [Customer][google.cloud.channel.v1.Customer]s: An entity-usually an
3738    * enterprise-managed by a reseller or distributor.
3739    * - [Entitlement][google.cloud.channel.v1.Entitlement]s: An entity that
3740    * provides a customer with the means to use a service. Entitlements are created
3741    * or updated as a result of a successful fulfillment.
3742    * - [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s: An
3743    * entity that identifies links between distributors and their indirect
3744    * resellers in a channel.
3745    * </pre>
3746    */
3747   public static final class CloudChannelServiceStub
3748       extends io.grpc.stub.AbstractAsyncStub<CloudChannelServiceStub> {
CloudChannelServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions)3749     private CloudChannelServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
3750       super(channel, callOptions);
3751     }
3752 
3753     @java.lang.Override
build( io.grpc.Channel channel, io.grpc.CallOptions callOptions)3754     protected CloudChannelServiceStub build(
3755         io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
3756       return new CloudChannelServiceStub(channel, callOptions);
3757     }
3758 
3759     /**
3760      *
3761      *
3762      * <pre>
3763      * List [Customer][google.cloud.channel.v1.Customer]s.
3764      * Possible error codes:
3765      * * PERMISSION_DENIED: The reseller account making the request is different
3766      * from the reseller account in the API request.
3767      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
3768      * Return value:
3769      * List of [Customer][google.cloud.channel.v1.Customer]s, or an empty list if
3770      * there are no customers.
3771      * </pre>
3772      */
listCustomers( com.google.cloud.channel.v1.ListCustomersRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListCustomersResponse> responseObserver)3773     public void listCustomers(
3774         com.google.cloud.channel.v1.ListCustomersRequest request,
3775         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListCustomersResponse>
3776             responseObserver) {
3777       io.grpc.stub.ClientCalls.asyncUnaryCall(
3778           getChannel().newCall(getListCustomersMethod(), getCallOptions()),
3779           request,
3780           responseObserver);
3781     }
3782 
3783     /**
3784      *
3785      *
3786      * <pre>
3787      * Returns the requested [Customer][google.cloud.channel.v1.Customer]
3788      * resource.
3789      * Possible error codes:
3790      * * PERMISSION_DENIED: The reseller account making the request is different
3791      * from the reseller account in the API request.
3792      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
3793      * * NOT_FOUND: The customer resource doesn't exist. Usually the result of an
3794      * invalid name parameter.
3795      * Return value:
3796      * The [Customer][google.cloud.channel.v1.Customer] resource.
3797      * </pre>
3798      */
getCustomer( com.google.cloud.channel.v1.GetCustomerRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.Customer> responseObserver)3799     public void getCustomer(
3800         com.google.cloud.channel.v1.GetCustomerRequest request,
3801         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.Customer> responseObserver) {
3802       io.grpc.stub.ClientCalls.asyncUnaryCall(
3803           getChannel().newCall(getGetCustomerMethod(), getCallOptions()),
3804           request,
3805           responseObserver);
3806     }
3807 
3808     /**
3809      *
3810      *
3811      * <pre>
3812      * Confirms the existence of Cloud Identity accounts based on the domain and
3813      * if the Cloud Identity accounts are owned by the reseller.
3814      * Possible error codes:
3815      * * PERMISSION_DENIED: The reseller account making the request is different
3816      * from the reseller account in the API request.
3817      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
3818      * * INVALID_VALUE: Invalid domain value in the request.
3819      * Return value:
3820      * A list of
3821      * [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount]
3822      * resources for the domain (may be empty)
3823      * Note: in the v1alpha1 version of the API, a NOT_FOUND error returns if
3824      * no
3825      * [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount]
3826      * resources match the domain.
3827      * </pre>
3828      */
checkCloudIdentityAccountsExist( com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest request, io.grpc.stub.StreamObserver< com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse> responseObserver)3829     public void checkCloudIdentityAccountsExist(
3830         com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest request,
3831         io.grpc.stub.StreamObserver<
3832                 com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse>
3833             responseObserver) {
3834       io.grpc.stub.ClientCalls.asyncUnaryCall(
3835           getChannel().newCall(getCheckCloudIdentityAccountsExistMethod(), getCallOptions()),
3836           request,
3837           responseObserver);
3838     }
3839 
3840     /**
3841      *
3842      *
3843      * <pre>
3844      * Creates a new [Customer][google.cloud.channel.v1.Customer] resource under
3845      * the reseller or distributor account.
3846      * Possible error codes:
3847      * * PERMISSION_DENIED: The reseller account making the request is different
3848      * from the reseller account in the API request.
3849      * * INVALID_ARGUMENT:
3850      *     * Required request parameters are missing or invalid.
3851      *     * Domain field value doesn't match the primary email domain.
3852      * Return value:
3853      * The newly created [Customer][google.cloud.channel.v1.Customer] resource.
3854      * </pre>
3855      */
createCustomer( com.google.cloud.channel.v1.CreateCustomerRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.Customer> responseObserver)3856     public void createCustomer(
3857         com.google.cloud.channel.v1.CreateCustomerRequest request,
3858         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.Customer> responseObserver) {
3859       io.grpc.stub.ClientCalls.asyncUnaryCall(
3860           getChannel().newCall(getCreateCustomerMethod(), getCallOptions()),
3861           request,
3862           responseObserver);
3863     }
3864 
3865     /**
3866      *
3867      *
3868      * <pre>
3869      * Updates an existing [Customer][google.cloud.channel.v1.Customer] resource
3870      * for the reseller or distributor.
3871      * Possible error codes:
3872      * * PERMISSION_DENIED: The reseller account making the request is different
3873      * from the reseller account in the API request.
3874      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
3875      * * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found
3876      * for the name in the request.
3877      * Return value:
3878      * The updated [Customer][google.cloud.channel.v1.Customer] resource.
3879      * </pre>
3880      */
updateCustomer( com.google.cloud.channel.v1.UpdateCustomerRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.Customer> responseObserver)3881     public void updateCustomer(
3882         com.google.cloud.channel.v1.UpdateCustomerRequest request,
3883         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.Customer> responseObserver) {
3884       io.grpc.stub.ClientCalls.asyncUnaryCall(
3885           getChannel().newCall(getUpdateCustomerMethod(), getCallOptions()),
3886           request,
3887           responseObserver);
3888     }
3889 
3890     /**
3891      *
3892      *
3893      * <pre>
3894      * Deletes the given [Customer][google.cloud.channel.v1.Customer] permanently.
3895      * Possible error codes:
3896      * * PERMISSION_DENIED: The account making the request does not own
3897      * this customer.
3898      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
3899      * * FAILED_PRECONDITION: The customer has existing entitlements.
3900      * * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found
3901      * for the name in the request.
3902      * </pre>
3903      */
deleteCustomer( com.google.cloud.channel.v1.DeleteCustomerRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)3904     public void deleteCustomer(
3905         com.google.cloud.channel.v1.DeleteCustomerRequest request,
3906         io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) {
3907       io.grpc.stub.ClientCalls.asyncUnaryCall(
3908           getChannel().newCall(getDeleteCustomerMethod(), getCallOptions()),
3909           request,
3910           responseObserver);
3911     }
3912 
3913     /**
3914      *
3915      *
3916      * <pre>
3917      * Imports a [Customer][google.cloud.channel.v1.Customer] from the Cloud
3918      * Identity associated with the provided Cloud Identity ID or domain before a
3919      * TransferEntitlements call. If a linked Customer already exists and
3920      * overwrite_if_exists is true, it will update that Customer's data.
3921      * Possible error codes:
3922      * * PERMISSION_DENIED: The reseller account making the request is different
3923      * from the reseller account in the API request.
3924      * * NOT_FOUND: Cloud Identity doesn't exist or was deleted.
3925      * * INVALID_ARGUMENT: Required parameters are missing, or the auth_token is
3926      * expired or invalid.
3927      * * ALREADY_EXISTS: A customer already exists and has conflicting critical
3928      * fields. Requires an overwrite.
3929      * Return value:
3930      * The [Customer][google.cloud.channel.v1.Customer].
3931      * </pre>
3932      */
importCustomer( com.google.cloud.channel.v1.ImportCustomerRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.Customer> responseObserver)3933     public void importCustomer(
3934         com.google.cloud.channel.v1.ImportCustomerRequest request,
3935         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.Customer> responseObserver) {
3936       io.grpc.stub.ClientCalls.asyncUnaryCall(
3937           getChannel().newCall(getImportCustomerMethod(), getCallOptions()),
3938           request,
3939           responseObserver);
3940     }
3941 
3942     /**
3943      *
3944      *
3945      * <pre>
3946      * Creates a Cloud Identity for the given customer using the customer's
3947      * information, or the information provided here.
3948      * Possible error codes:
3949      * *  PERMISSION_DENIED: The customer doesn't belong to the reseller.
3950      * *  INVALID_ARGUMENT: Required request parameters are missing or invalid.
3951      * *  NOT_FOUND: The customer was not found.
3952      * *  ALREADY_EXISTS: The customer's primary email already exists. Retry
3953      *    after changing the customer's primary contact email.
3954      * * INTERNAL: Any non-user error related to a technical issue in the
3955      * backend. Contact Cloud Channel support.
3956      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
3957      * Contact Cloud Channel support.
3958      * Return value:
3959      * The ID of a long-running operation.
3960      * To get the results of the operation, call the GetOperation method of
3961      * CloudChannelOperationsService. The Operation metadata contains an
3962      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
3963      * </pre>
3964      */
provisionCloudIdentity( com.google.cloud.channel.v1.ProvisionCloudIdentityRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)3965     public void provisionCloudIdentity(
3966         com.google.cloud.channel.v1.ProvisionCloudIdentityRequest request,
3967         io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
3968       io.grpc.stub.ClientCalls.asyncUnaryCall(
3969           getChannel().newCall(getProvisionCloudIdentityMethod(), getCallOptions()),
3970           request,
3971           responseObserver);
3972     }
3973 
3974     /**
3975      *
3976      *
3977      * <pre>
3978      * Lists [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to a
3979      * customer.
3980      * Possible error codes:
3981      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
3982      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
3983      * Return value:
3984      * A list of the customer's
3985      * [Entitlement][google.cloud.channel.v1.Entitlement]s.
3986      * </pre>
3987      */
listEntitlements( com.google.cloud.channel.v1.ListEntitlementsRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListEntitlementsResponse> responseObserver)3988     public void listEntitlements(
3989         com.google.cloud.channel.v1.ListEntitlementsRequest request,
3990         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListEntitlementsResponse>
3991             responseObserver) {
3992       io.grpc.stub.ClientCalls.asyncUnaryCall(
3993           getChannel().newCall(getListEntitlementsMethod(), getCallOptions()),
3994           request,
3995           responseObserver);
3996     }
3997 
3998     /**
3999      *
4000      *
4001      * <pre>
4002      * List [TransferableSku][google.cloud.channel.v1.TransferableSku]s of a
4003      * customer based on the Cloud Identity ID or Customer Name in the request.
4004      * Use this method to list the entitlements information of an
4005      * unowned customer. You should provide the customer's
4006      * Cloud Identity ID or Customer Name.
4007      * Possible error codes:
4008      * * PERMISSION_DENIED:
4009      *     * The customer doesn't belong to the reseller and has no auth token.
4010      *     * The supplied auth token is invalid.
4011      *     * The reseller account making the request is different
4012      *     from the reseller account in the query.
4013      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
4014      * Return value:
4015      * A list of the customer's
4016      * [TransferableSku][google.cloud.channel.v1.TransferableSku].
4017      * </pre>
4018      */
listTransferableSkus( com.google.cloud.channel.v1.ListTransferableSkusRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListTransferableSkusResponse> responseObserver)4019     public void listTransferableSkus(
4020         com.google.cloud.channel.v1.ListTransferableSkusRequest request,
4021         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListTransferableSkusResponse>
4022             responseObserver) {
4023       io.grpc.stub.ClientCalls.asyncUnaryCall(
4024           getChannel().newCall(getListTransferableSkusMethod(), getCallOptions()),
4025           request,
4026           responseObserver);
4027     }
4028 
4029     /**
4030      *
4031      *
4032      * <pre>
4033      * List [TransferableOffer][google.cloud.channel.v1.TransferableOffer]s of a
4034      * customer based on Cloud Identity ID or Customer Name in the request.
4035      * Use this method when a reseller gets the entitlement information of an
4036      * unowned customer. The reseller should provide the customer's
4037      * Cloud Identity ID or Customer Name.
4038      * Possible error codes:
4039      * * PERMISSION_DENIED:
4040      *     * The customer doesn't belong to the reseller and has no auth token.
4041      *     * The customer provided incorrect reseller information when generating
4042      *     auth token.
4043      *     * The reseller account making the request is different
4044      *     from the reseller account in the query.
4045      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
4046      * Return value:
4047      * List of [TransferableOffer][google.cloud.channel.v1.TransferableOffer] for
4048      * the given customer and SKU.
4049      * </pre>
4050      */
listTransferableOffers( com.google.cloud.channel.v1.ListTransferableOffersRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListTransferableOffersResponse> responseObserver)4051     public void listTransferableOffers(
4052         com.google.cloud.channel.v1.ListTransferableOffersRequest request,
4053         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListTransferableOffersResponse>
4054             responseObserver) {
4055       io.grpc.stub.ClientCalls.asyncUnaryCall(
4056           getChannel().newCall(getListTransferableOffersMethod(), getCallOptions()),
4057           request,
4058           responseObserver);
4059     }
4060 
4061     /**
4062      *
4063      *
4064      * <pre>
4065      * Returns the requested [Entitlement][google.cloud.channel.v1.Entitlement]
4066      * resource.
4067      * Possible error codes:
4068      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
4069      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
4070      * * NOT_FOUND: The customer entitlement was not found.
4071      * Return value:
4072      * The requested [Entitlement][google.cloud.channel.v1.Entitlement] resource.
4073      * </pre>
4074      */
getEntitlement( com.google.cloud.channel.v1.GetEntitlementRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.Entitlement> responseObserver)4075     public void getEntitlement(
4076         com.google.cloud.channel.v1.GetEntitlementRequest request,
4077         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.Entitlement> responseObserver) {
4078       io.grpc.stub.ClientCalls.asyncUnaryCall(
4079           getChannel().newCall(getGetEntitlementMethod(), getCallOptions()),
4080           request,
4081           responseObserver);
4082     }
4083 
4084     /**
4085      *
4086      *
4087      * <pre>
4088      * Creates an entitlement for a customer.
4089      * Possible error codes:
4090      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
4091      * * INVALID_ARGUMENT:
4092      *     * Required request parameters are missing or invalid.
4093      *     * There is already a customer entitlement for a SKU from the same
4094      *     product family.
4095      * * INVALID_VALUE: Make sure the OfferId is valid. If it is, contact
4096      * Google Channel support for further troubleshooting.
4097      * * NOT_FOUND: The customer or offer resource was not found.
4098      * * ALREADY_EXISTS:
4099      *     * The SKU was already purchased for the customer.
4100      *     * The customer's primary email already exists. Retry
4101      *     after changing the customer's primary contact email.
4102      * * CONDITION_NOT_MET or FAILED_PRECONDITION:
4103      *     * The domain required for purchasing a SKU has not been verified.
4104      *     * A pre-requisite SKU required to purchase an Add-On SKU is missing.
4105      *     For example, Google Workspace Business Starter is required to purchase
4106      *     Vault or Drive.
4107      *     * (Developer accounts only) Reseller and resold domain must meet the
4108      *     following naming requirements:
4109      *         * Domain names must start with goog-test.
4110      *         * Domain names must include the reseller domain.
4111      * * INTERNAL: Any non-user error related to a technical issue in the
4112      * backend. Contact Cloud Channel support.
4113      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
4114      * Contact Cloud Channel support.
4115      * Return value:
4116      * The ID of a long-running operation.
4117      * To get the results of the operation, call the GetOperation method of
4118      * CloudChannelOperationsService. The Operation metadata will contain an
4119      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
4120      * </pre>
4121      */
createEntitlement( com.google.cloud.channel.v1.CreateEntitlementRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)4122     public void createEntitlement(
4123         com.google.cloud.channel.v1.CreateEntitlementRequest request,
4124         io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
4125       io.grpc.stub.ClientCalls.asyncUnaryCall(
4126           getChannel().newCall(getCreateEntitlementMethod(), getCallOptions()),
4127           request,
4128           responseObserver);
4129     }
4130 
4131     /**
4132      *
4133      *
4134      * <pre>
4135      * Change parameters of the entitlement.
4136      * An entitlement update is a long-running operation and it updates the
4137      * entitlement as a result of fulfillment.
4138      * Possible error codes:
4139      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
4140      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
4141      * For example, the number of seats being changed is greater than the allowed
4142      * number of max seats, or decreasing seats for a commitment based plan.
4143      * * NOT_FOUND: Entitlement resource not found.
4144      * * INTERNAL: Any non-user error related to a technical issue in the
4145      * backend. Contact Cloud Channel support.
4146      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
4147      * Contact Cloud Channel support.
4148      * Return value:
4149      * The ID of a long-running operation.
4150      * To get the results of the operation, call the GetOperation method of
4151      * CloudChannelOperationsService. The Operation metadata will contain an
4152      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
4153      * </pre>
4154      */
changeParameters( com.google.cloud.channel.v1.ChangeParametersRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)4155     public void changeParameters(
4156         com.google.cloud.channel.v1.ChangeParametersRequest request,
4157         io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
4158       io.grpc.stub.ClientCalls.asyncUnaryCall(
4159           getChannel().newCall(getChangeParametersMethod(), getCallOptions()),
4160           request,
4161           responseObserver);
4162     }
4163 
4164     /**
4165      *
4166      *
4167      * <pre>
4168      * Updates the renewal settings for an existing customer entitlement.
4169      * An entitlement update is a long-running operation and it updates the
4170      * entitlement as a result of fulfillment.
4171      * Possible error codes:
4172      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
4173      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
4174      * * NOT_FOUND: Entitlement resource not found.
4175      * * NOT_COMMITMENT_PLAN: Renewal Settings are only applicable for a
4176      * commitment plan. Can't enable or disable renewals for non-commitment plans.
4177      * * INTERNAL: Any non-user error related to a technical issue in the
4178      * backend. Contact Cloud Channel support.
4179      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
4180      *   Contact Cloud Channel support.
4181      * Return value:
4182      * The ID of a long-running operation.
4183      * To get the results of the operation, call the GetOperation method of
4184      * CloudChannelOperationsService. The Operation metadata will contain an
4185      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
4186      * </pre>
4187      */
changeRenewalSettings( com.google.cloud.channel.v1.ChangeRenewalSettingsRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)4188     public void changeRenewalSettings(
4189         com.google.cloud.channel.v1.ChangeRenewalSettingsRequest request,
4190         io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
4191       io.grpc.stub.ClientCalls.asyncUnaryCall(
4192           getChannel().newCall(getChangeRenewalSettingsMethod(), getCallOptions()),
4193           request,
4194           responseObserver);
4195     }
4196 
4197     /**
4198      *
4199      *
4200      * <pre>
4201      * Updates the Offer for an existing customer entitlement.
4202      * An entitlement update is a long-running operation and it updates the
4203      * entitlement as a result of fulfillment.
4204      * Possible error codes:
4205      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
4206      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
4207      * * NOT_FOUND: Offer or Entitlement resource not found.
4208      * * INTERNAL: Any non-user error related to a technical issue in the
4209      * backend. Contact Cloud Channel support.
4210      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
4211      * Contact Cloud Channel support.
4212      * Return value:
4213      * The ID of a long-running operation.
4214      * To get the results of the operation, call the GetOperation method of
4215      * CloudChannelOperationsService. The Operation metadata will contain an
4216      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
4217      * </pre>
4218      */
changeOffer( com.google.cloud.channel.v1.ChangeOfferRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)4219     public void changeOffer(
4220         com.google.cloud.channel.v1.ChangeOfferRequest request,
4221         io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
4222       io.grpc.stub.ClientCalls.asyncUnaryCall(
4223           getChannel().newCall(getChangeOfferMethod(), getCallOptions()),
4224           request,
4225           responseObserver);
4226     }
4227 
4228     /**
4229      *
4230      *
4231      * <pre>
4232      * Starts paid service for a trial entitlement.
4233      * Starts paid service for a trial entitlement immediately. This method is
4234      * only applicable if a plan is set up for a trial entitlement but has some
4235      * trial days remaining.
4236      * Possible error codes:
4237      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
4238      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
4239      * * NOT_FOUND: Entitlement resource not found.
4240      * * FAILED_PRECONDITION/NOT_IN_TRIAL: This method only works for
4241      * entitlement on trial plans.
4242      * * INTERNAL: Any non-user error related to a technical issue in the
4243      * backend. Contact Cloud Channel support.
4244      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
4245      * Contact Cloud Channel support.
4246      * Return value:
4247      * The ID of a long-running operation.
4248      * To get the results of the operation, call the GetOperation method of
4249      * CloudChannelOperationsService. The Operation metadata will contain an
4250      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
4251      * </pre>
4252      */
startPaidService( com.google.cloud.channel.v1.StartPaidServiceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)4253     public void startPaidService(
4254         com.google.cloud.channel.v1.StartPaidServiceRequest request,
4255         io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
4256       io.grpc.stub.ClientCalls.asyncUnaryCall(
4257           getChannel().newCall(getStartPaidServiceMethod(), getCallOptions()),
4258           request,
4259           responseObserver);
4260     }
4261 
4262     /**
4263      *
4264      *
4265      * <pre>
4266      * Suspends a previously fulfilled entitlement.
4267      * An entitlement suspension is a long-running operation.
4268      * Possible error codes:
4269      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
4270      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
4271      * * NOT_FOUND: Entitlement resource not found.
4272      * * NOT_ACTIVE: Entitlement is not active.
4273      * * INTERNAL: Any non-user error related to a technical issue in the
4274      * backend. Contact Cloud Channel support.
4275      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
4276      * Contact Cloud Channel support.
4277      * Return value:
4278      * The ID of a long-running operation.
4279      * To get the results of the operation, call the GetOperation method of
4280      * CloudChannelOperationsService. The Operation metadata will contain an
4281      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
4282      * </pre>
4283      */
suspendEntitlement( com.google.cloud.channel.v1.SuspendEntitlementRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)4284     public void suspendEntitlement(
4285         com.google.cloud.channel.v1.SuspendEntitlementRequest request,
4286         io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
4287       io.grpc.stub.ClientCalls.asyncUnaryCall(
4288           getChannel().newCall(getSuspendEntitlementMethod(), getCallOptions()),
4289           request,
4290           responseObserver);
4291     }
4292 
4293     /**
4294      *
4295      *
4296      * <pre>
4297      * Cancels a previously fulfilled entitlement.
4298      * An entitlement cancellation is a long-running operation.
4299      * Possible error codes:
4300      * * PERMISSION_DENIED: The reseller account making the request is different
4301      * from the reseller account in the API request.
4302      * * FAILED_PRECONDITION: There are Google Cloud projects linked to the
4303      * Google Cloud entitlement's Cloud Billing subaccount.
4304      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
4305      * * NOT_FOUND: Entitlement resource not found.
4306      * * DELETION_TYPE_NOT_ALLOWED: Cancel is only allowed for Google Workspace
4307      * add-ons, or entitlements for Google Cloud's development platform.
4308      * * INTERNAL: Any non-user error related to a technical issue in the
4309      * backend. Contact Cloud Channel support.
4310      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
4311      * Contact Cloud Channel support.
4312      * Return value:
4313      * The ID of a long-running operation.
4314      * To get the results of the operation, call the GetOperation method of
4315      * CloudChannelOperationsService. The response will contain
4316      * google.protobuf.Empty on success. The Operation metadata will contain an
4317      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
4318      * </pre>
4319      */
cancelEntitlement( com.google.cloud.channel.v1.CancelEntitlementRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)4320     public void cancelEntitlement(
4321         com.google.cloud.channel.v1.CancelEntitlementRequest request,
4322         io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
4323       io.grpc.stub.ClientCalls.asyncUnaryCall(
4324           getChannel().newCall(getCancelEntitlementMethod(), getCallOptions()),
4325           request,
4326           responseObserver);
4327     }
4328 
4329     /**
4330      *
4331      *
4332      * <pre>
4333      * Activates a previously suspended entitlement. Entitlements suspended for
4334      * pending ToS acceptance can't be activated using this method.
4335      * An entitlement activation is a long-running operation and it updates
4336      * the state of the customer entitlement.
4337      * Possible error codes:
4338      * * PERMISSION_DENIED: The reseller account making the request is different
4339      * from the reseller account in the API request.
4340      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
4341      * * NOT_FOUND: Entitlement resource not found.
4342      * * SUSPENSION_NOT_RESELLER_INITIATED: Can only activate reseller-initiated
4343      * suspensions and entitlements that have accepted the TOS.
4344      * * NOT_SUSPENDED: Can only activate suspended entitlements not in an ACTIVE
4345      * state.
4346      * * INTERNAL: Any non-user error related to a technical issue in the
4347      * backend. Contact Cloud Channel support.
4348      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
4349      * Contact Cloud Channel support.
4350      * Return value:
4351      * The ID of a long-running operation.
4352      * To get the results of the operation, call the GetOperation method of
4353      * CloudChannelOperationsService. The Operation metadata will contain an
4354      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
4355      * </pre>
4356      */
activateEntitlement( com.google.cloud.channel.v1.ActivateEntitlementRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)4357     public void activateEntitlement(
4358         com.google.cloud.channel.v1.ActivateEntitlementRequest request,
4359         io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
4360       io.grpc.stub.ClientCalls.asyncUnaryCall(
4361           getChannel().newCall(getActivateEntitlementMethod(), getCallOptions()),
4362           request,
4363           responseObserver);
4364     }
4365 
4366     /**
4367      *
4368      *
4369      * <pre>
4370      * Transfers customer entitlements to new reseller.
4371      * Possible error codes:
4372      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
4373      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
4374      * * NOT_FOUND: The customer or offer resource was not found.
4375      * * ALREADY_EXISTS: The SKU was already transferred for the customer.
4376      * * CONDITION_NOT_MET or FAILED_PRECONDITION:
4377      *     * The SKU requires domain verification to transfer, but the domain is
4378      *     not verified.
4379      *     * An Add-On SKU (example, Vault or Drive) is missing the
4380      *     pre-requisite SKU (example, G Suite Basic).
4381      *     * (Developer accounts only) Reseller and resold domain must meet the
4382      *     following naming requirements:
4383      *         * Domain names must start with goog-test.
4384      *         * Domain names must include the reseller domain.
4385      *     * Specify all transferring entitlements.
4386      * * INTERNAL: Any non-user error related to a technical issue in the
4387      * backend. Contact Cloud Channel support.
4388      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
4389      * Contact Cloud Channel support.
4390      * Return value:
4391      * The ID of a long-running operation.
4392      * To get the results of the operation, call the GetOperation method of
4393      * CloudChannelOperationsService. The Operation metadata will contain an
4394      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
4395      * </pre>
4396      */
transferEntitlements( com.google.cloud.channel.v1.TransferEntitlementsRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)4397     public void transferEntitlements(
4398         com.google.cloud.channel.v1.TransferEntitlementsRequest request,
4399         io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
4400       io.grpc.stub.ClientCalls.asyncUnaryCall(
4401           getChannel().newCall(getTransferEntitlementsMethod(), getCallOptions()),
4402           request,
4403           responseObserver);
4404     }
4405 
4406     /**
4407      *
4408      *
4409      * <pre>
4410      * Transfers customer entitlements from their current reseller to Google.
4411      * Possible error codes:
4412      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
4413      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
4414      * * NOT_FOUND: The customer or offer resource was not found.
4415      * * ALREADY_EXISTS: The SKU was already transferred for the customer.
4416      * * CONDITION_NOT_MET or FAILED_PRECONDITION:
4417      *     * The SKU requires domain verification to transfer, but the domain is
4418      *     not verified.
4419      *     * An Add-On SKU (example, Vault or Drive) is missing the
4420      *     pre-requisite SKU (example, G Suite Basic).
4421      *     * (Developer accounts only) Reseller and resold domain must meet the
4422      *     following naming requirements:
4423      *         * Domain names must start with goog-test.
4424      *         * Domain names must include the reseller domain.
4425      * * INTERNAL: Any non-user error related to a technical issue in the
4426      * backend. Contact Cloud Channel support.
4427      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
4428      * Contact Cloud Channel support.
4429      * Return value:
4430      * The ID of a long-running operation.
4431      * To get the results of the operation, call the GetOperation method of
4432      * CloudChannelOperationsService. The response will contain
4433      * google.protobuf.Empty on success. The Operation metadata will contain an
4434      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
4435      * </pre>
4436      */
transferEntitlementsToGoogle( com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)4437     public void transferEntitlementsToGoogle(
4438         com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest request,
4439         io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
4440       io.grpc.stub.ClientCalls.asyncUnaryCall(
4441           getChannel().newCall(getTransferEntitlementsToGoogleMethod(), getCallOptions()),
4442           request,
4443           responseObserver);
4444     }
4445 
4446     /**
4447      *
4448      *
4449      * <pre>
4450      * List [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s
4451      * belonging to a distributor. You must be a distributor to call this method.
4452      * Possible error codes:
4453      * * PERMISSION_DENIED: The reseller account making the request is different
4454      * from the reseller account in the API request.
4455      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
4456      * Return value:
4457      * The list of the distributor account's
4458      * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resources.
4459      * </pre>
4460      */
listChannelPartnerLinks( com.google.cloud.channel.v1.ListChannelPartnerLinksRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListChannelPartnerLinksResponse> responseObserver)4461     public void listChannelPartnerLinks(
4462         com.google.cloud.channel.v1.ListChannelPartnerLinksRequest request,
4463         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListChannelPartnerLinksResponse>
4464             responseObserver) {
4465       io.grpc.stub.ClientCalls.asyncUnaryCall(
4466           getChannel().newCall(getListChannelPartnerLinksMethod(), getCallOptions()),
4467           request,
4468           responseObserver);
4469     }
4470 
4471     /**
4472      *
4473      *
4474      * <pre>
4475      * Returns the requested
4476      * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
4477      * You must be a distributor to call this method.
4478      * Possible error codes:
4479      * * PERMISSION_DENIED: The reseller account making the request is different
4480      * from the reseller account in the API request.
4481      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
4482      * * NOT_FOUND: ChannelPartnerLink resource not found because of an
4483      * invalid channel partner link name.
4484      * Return value:
4485      * The [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]
4486      * resource.
4487      * </pre>
4488      */
getChannelPartnerLink( com.google.cloud.channel.v1.GetChannelPartnerLinkRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ChannelPartnerLink> responseObserver)4489     public void getChannelPartnerLink(
4490         com.google.cloud.channel.v1.GetChannelPartnerLinkRequest request,
4491         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ChannelPartnerLink>
4492             responseObserver) {
4493       io.grpc.stub.ClientCalls.asyncUnaryCall(
4494           getChannel().newCall(getGetChannelPartnerLinkMethod(), getCallOptions()),
4495           request,
4496           responseObserver);
4497     }
4498 
4499     /**
4500      *
4501      *
4502      * <pre>
4503      * Initiates a channel partner link between a distributor and a reseller, or
4504      * between resellers in an n-tier reseller channel.
4505      * Invited partners need to follow the invite_link_uri provided in the
4506      * response to accept. After accepting the invitation, a link is set up
4507      * between the two parties.
4508      * You must be a distributor to call this method.
4509      * Possible error codes:
4510      * * PERMISSION_DENIED: The reseller account making the request is different
4511      * from the reseller account in the API request.
4512      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
4513      * * ALREADY_EXISTS: The ChannelPartnerLink sent in the request already
4514      * exists.
4515      * * NOT_FOUND: No Cloud Identity customer exists for provided domain.
4516      * * INTERNAL: Any non-user error related to a technical issue in the
4517      * backend. Contact Cloud Channel support.
4518      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
4519      * Contact Cloud Channel support.
4520      * Return value:
4521      * The new [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]
4522      * resource.
4523      * </pre>
4524      */
createChannelPartnerLink( com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ChannelPartnerLink> responseObserver)4525     public void createChannelPartnerLink(
4526         com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest request,
4527         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ChannelPartnerLink>
4528             responseObserver) {
4529       io.grpc.stub.ClientCalls.asyncUnaryCall(
4530           getChannel().newCall(getCreateChannelPartnerLinkMethod(), getCallOptions()),
4531           request,
4532           responseObserver);
4533     }
4534 
4535     /**
4536      *
4537      *
4538      * <pre>
4539      * Updates a channel partner link. Distributors call this method to change a
4540      * link's status. For example, to suspend a partner link.
4541      * You must be a distributor to call this method.
4542      * Possible error codes:
4543      * * PERMISSION_DENIED: The reseller account making the request is different
4544      * from the reseller account in the API request.
4545      * * INVALID_ARGUMENT:
4546      *     * Required request parameters are missing or invalid.
4547      *     * Link state cannot change from invited to active or suspended.
4548      *     * Cannot send reseller_cloud_identity_id, invite_url, or name in update
4549      *     mask.
4550      * * NOT_FOUND: ChannelPartnerLink resource not found.
4551      * * INTERNAL: Any non-user error related to a technical issue in the
4552      * backend. Contact Cloud Channel support.
4553      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
4554      * Contact Cloud Channel support.
4555      * Return value:
4556      * The updated
4557      * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
4558      * </pre>
4559      */
updateChannelPartnerLink( com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ChannelPartnerLink> responseObserver)4560     public void updateChannelPartnerLink(
4561         com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest request,
4562         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ChannelPartnerLink>
4563             responseObserver) {
4564       io.grpc.stub.ClientCalls.asyncUnaryCall(
4565           getChannel().newCall(getUpdateChannelPartnerLinkMethod(), getCallOptions()),
4566           request,
4567           responseObserver);
4568     }
4569 
4570     /**
4571      *
4572      *
4573      * <pre>
4574      * Gets information about how a Reseller modifies their bill before sending
4575      * it to a Customer.
4576      * Possible Error Codes:
4577      * * PERMISSION_DENIED: If the account making the request and the account
4578      * being queried are different.
4579      * * NOT_FOUND: The
4580      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
4581      * was not found.
4582      * * INTERNAL: Any non-user error related to technical issues in the
4583      * backend. In this case, contact Cloud Channel support.
4584      * Return Value:
4585      * If successful, the
4586      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
4587      * resource, otherwise returns an error.
4588      * </pre>
4589      */
getCustomerRepricingConfig( com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.CustomerRepricingConfig> responseObserver)4590     public void getCustomerRepricingConfig(
4591         com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest request,
4592         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.CustomerRepricingConfig>
4593             responseObserver) {
4594       io.grpc.stub.ClientCalls.asyncUnaryCall(
4595           getChannel().newCall(getGetCustomerRepricingConfigMethod(), getCallOptions()),
4596           request,
4597           responseObserver);
4598     }
4599 
4600     /**
4601      *
4602      *
4603      * <pre>
4604      * Lists information about how a Reseller modifies their bill before sending
4605      * it to a Customer.
4606      * Possible Error Codes:
4607      * * PERMISSION_DENIED: If the account making the request and the account
4608      * being queried are different.
4609      * * NOT_FOUND: The
4610      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
4611      * specified does not exist or is not associated with the given account.
4612      * * INTERNAL: Any non-user error related to technical issues in the
4613      * backend. In this case, contact Cloud Channel support.
4614      * Return Value:
4615      * If successful, the
4616      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
4617      * resources. The data for each resource is displayed in the ascending order
4618      * of:
4619      * * Customer ID
4620      * * [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement]
4621      * * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
4622      * * [CustomerRepricingConfig.update_time][google.cloud.channel.v1.CustomerRepricingConfig.update_time]
4623      * If unsuccessful, returns an error.
4624      * </pre>
4625      */
listCustomerRepricingConfigs( com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest request, io.grpc.stub.StreamObserver< com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse> responseObserver)4626     public void listCustomerRepricingConfigs(
4627         com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest request,
4628         io.grpc.stub.StreamObserver<
4629                 com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse>
4630             responseObserver) {
4631       io.grpc.stub.ClientCalls.asyncUnaryCall(
4632           getChannel().newCall(getListCustomerRepricingConfigsMethod(), getCallOptions()),
4633           request,
4634           responseObserver);
4635     }
4636 
4637     /**
4638      *
4639      *
4640      * <pre>
4641      * Creates a CustomerRepricingConfig. Call this method to set modifications
4642      * for a specific customer's bill. You can only create configs if the
4643      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
4644      * is a future month. If needed, you can create a config for the current
4645      * month, with some restrictions.
4646      * When creating a config for a future month, make sure there are no existing
4647      * configs for that
4648      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
4649      * The following restrictions are for creating configs in the current month.
4650      * * This functionality is reserved for recovering from an erroneous config,
4651      * and should not be used for regular business cases.
4652      * * The new config will not modify exports used with other configs.
4653      * Changes to the config may be immediate, but may take up to 24 hours.
4654      * * There is a limit of ten configs for any
4655      * [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement]
4656      * or
4657      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
4658      * * The contained
4659      * [CustomerRepricingConfig.repricing_config][google.cloud.channel.v1.CustomerRepricingConfig.repricing_config]
4660      * vaule must be different from the value used in the current config for a
4661      * [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement].
4662      * Possible Error Codes:
4663      * * PERMISSION_DENIED: If the account making the request and the account
4664      * being queried are different.
4665      * * INVALID_ARGUMENT: Missing or invalid required parameters in the
4666      * request. Also displays if the updated config is for the current month or
4667      * past months.
4668      * * NOT_FOUND: The
4669      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
4670      * specified does not exist or is not associated with the given account.
4671      * * INTERNAL: Any non-user error related to technical issues in the
4672      * backend. In this case, contact Cloud Channel support.
4673      * Return Value:
4674      * If successful, the updated
4675      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
4676      * resource, otherwise returns an error.
4677      * </pre>
4678      */
createCustomerRepricingConfig( com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.CustomerRepricingConfig> responseObserver)4679     public void createCustomerRepricingConfig(
4680         com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest request,
4681         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.CustomerRepricingConfig>
4682             responseObserver) {
4683       io.grpc.stub.ClientCalls.asyncUnaryCall(
4684           getChannel().newCall(getCreateCustomerRepricingConfigMethod(), getCallOptions()),
4685           request,
4686           responseObserver);
4687     }
4688 
4689     /**
4690      *
4691      *
4692      * <pre>
4693      * Updates a CustomerRepricingConfig. Call this method to set modifications
4694      * for a specific customer's bill. This method overwrites the existing
4695      * CustomerRepricingConfig.
4696      * You can only update configs if the
4697      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
4698      * is a future month. To make changes to configs for the current month, use
4699      * [CreateCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateCustomerRepricingConfig],
4700      * taking note of its restrictions. You cannot update the
4701      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
4702      * When updating a config in the future:
4703      * * This config must already exist.
4704      * Possible Error Codes:
4705      * * PERMISSION_DENIED: If the account making the request and the account
4706      * being queried are different.
4707      * * INVALID_ARGUMENT: Missing or invalid required parameters in the
4708      * request. Also displays if the updated config is for the current month or
4709      * past months.
4710      * * NOT_FOUND: The
4711      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
4712      * specified does not exist or is not associated with the given account.
4713      * * INTERNAL: Any non-user error related to technical issues in the
4714      * backend. In this case, contact Cloud Channel support.
4715      * Return Value:
4716      * If successful, the updated
4717      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
4718      * resource, otherwise returns an error.
4719      * </pre>
4720      */
updateCustomerRepricingConfig( com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.CustomerRepricingConfig> responseObserver)4721     public void updateCustomerRepricingConfig(
4722         com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest request,
4723         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.CustomerRepricingConfig>
4724             responseObserver) {
4725       io.grpc.stub.ClientCalls.asyncUnaryCall(
4726           getChannel().newCall(getUpdateCustomerRepricingConfigMethod(), getCallOptions()),
4727           request,
4728           responseObserver);
4729     }
4730 
4731     /**
4732      *
4733      *
4734      * <pre>
4735      * Deletes the given
4736      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
4737      * permanently. You can only delete configs if their
4738      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
4739      * is set to a date after the current month.
4740      * Possible error codes:
4741      * * PERMISSION_DENIED: The account making the request does not own
4742      * this customer.
4743      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
4744      * * FAILED_PRECONDITION: The
4745      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
4746      * is active or in the past.
4747      * * NOT_FOUND: No
4748      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
4749      * found for the name in the request.
4750      * </pre>
4751      */
deleteCustomerRepricingConfig( com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)4752     public void deleteCustomerRepricingConfig(
4753         com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest request,
4754         io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) {
4755       io.grpc.stub.ClientCalls.asyncUnaryCall(
4756           getChannel().newCall(getDeleteCustomerRepricingConfigMethod(), getCallOptions()),
4757           request,
4758           responseObserver);
4759     }
4760 
4761     /**
4762      *
4763      *
4764      * <pre>
4765      * Gets information about how a Distributor modifies their bill before sending
4766      * it to a ChannelPartner.
4767      * Possible Error Codes:
4768      * * PERMISSION_DENIED: If the account making the request and the account
4769      * being queried are different.
4770      * * NOT_FOUND: The
4771      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
4772      * was not found.
4773      * * INTERNAL: Any non-user error related to technical issues in the
4774      * backend. In this case, contact Cloud Channel support.
4775      * Return Value:
4776      * If successful, the
4777      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
4778      * resource, otherwise returns an error.
4779      * </pre>
4780      */
getChannelPartnerRepricingConfig( com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ChannelPartnerRepricingConfig> responseObserver)4781     public void getChannelPartnerRepricingConfig(
4782         com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest request,
4783         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>
4784             responseObserver) {
4785       io.grpc.stub.ClientCalls.asyncUnaryCall(
4786           getChannel().newCall(getGetChannelPartnerRepricingConfigMethod(), getCallOptions()),
4787           request,
4788           responseObserver);
4789     }
4790 
4791     /**
4792      *
4793      *
4794      * <pre>
4795      * Lists information about how a Reseller modifies their bill before sending
4796      * it to a ChannelPartner.
4797      * Possible Error Codes:
4798      * * PERMISSION_DENIED: If the account making the request and the account
4799      * being queried are different.
4800      * * NOT_FOUND: The
4801      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
4802      * specified does not exist or is not associated with the given account.
4803      * * INTERNAL: Any non-user error related to technical issues in the
4804      * backend. In this case, contact Cloud Channel support.
4805      * Return Value:
4806      * If successful, the
4807      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
4808      * resources. The data for each resource is displayed in the ascending order
4809      * of:
4810      * * Channel Partner ID
4811      * * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
4812      * * [ChannelPartnerRepricingConfig.update_time][google.cloud.channel.v1.ChannelPartnerRepricingConfig.update_time]
4813      * If unsuccessful, returns an error.
4814      * </pre>
4815      */
listChannelPartnerRepricingConfigs( com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest request, io.grpc.stub.StreamObserver< com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse> responseObserver)4816     public void listChannelPartnerRepricingConfigs(
4817         com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest request,
4818         io.grpc.stub.StreamObserver<
4819                 com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse>
4820             responseObserver) {
4821       io.grpc.stub.ClientCalls.asyncUnaryCall(
4822           getChannel().newCall(getListChannelPartnerRepricingConfigsMethod(), getCallOptions()),
4823           request,
4824           responseObserver);
4825     }
4826 
4827     /**
4828      *
4829      *
4830      * <pre>
4831      * Creates a ChannelPartnerRepricingConfig. Call this method to set
4832      * modifications for a specific ChannelPartner's bill. You can only create
4833      * configs if the
4834      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
4835      * is a future month. If needed, you can create a config for the current
4836      * month, with some restrictions.
4837      * When creating a config for a future month, make sure there are no existing
4838      * configs for that
4839      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
4840      * The following restrictions are for creating configs in the current month.
4841      * * This functionality is reserved for recovering from an erroneous config,
4842      * and should not be used for regular business cases.
4843      * * The new config will not modify exports used with other configs.
4844      * Changes to the config may be immediate, but may take up to 24 hours.
4845      * * There is a limit of ten configs for any ChannelPartner or
4846      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
4847      * * The contained
4848      * [ChannelPartnerRepricingConfig.repricing_config][google.cloud.channel.v1.ChannelPartnerRepricingConfig.repricing_config]
4849      * vaule must be different from the value used in the current config for a
4850      * ChannelPartner.
4851      * Possible Error Codes:
4852      * * PERMISSION_DENIED: If the account making the request and the account
4853      * being queried are different.
4854      * * INVALID_ARGUMENT: Missing or invalid required parameters in the
4855      * request. Also displays if the updated config is for the current month or
4856      * past months.
4857      * * NOT_FOUND: The
4858      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
4859      * specified does not exist or is not associated with the given account.
4860      * * INTERNAL: Any non-user error related to technical issues in the
4861      * backend. In this case, contact Cloud Channel support.
4862      * Return Value:
4863      * If successful, the updated
4864      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
4865      * resource, otherwise returns an error.
4866      * </pre>
4867      */
createChannelPartnerRepricingConfig( com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ChannelPartnerRepricingConfig> responseObserver)4868     public void createChannelPartnerRepricingConfig(
4869         com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest request,
4870         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>
4871             responseObserver) {
4872       io.grpc.stub.ClientCalls.asyncUnaryCall(
4873           getChannel().newCall(getCreateChannelPartnerRepricingConfigMethod(), getCallOptions()),
4874           request,
4875           responseObserver);
4876     }
4877 
4878     /**
4879      *
4880      *
4881      * <pre>
4882      * Updates a ChannelPartnerRepricingConfig. Call this method to set
4883      * modifications for a specific ChannelPartner's bill. This method overwrites
4884      * the existing CustomerRepricingConfig.
4885      * You can only update configs if the
4886      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
4887      * is a future month. To make changes to configs for the current month, use
4888      * [CreateChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerRepricingConfig],
4889      * taking note of its restrictions. You cannot update the
4890      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
4891      * When updating a config in the future:
4892      * * This config must already exist.
4893      * Possible Error Codes:
4894      * * PERMISSION_DENIED: If the account making the request and the account
4895      * being queried are different.
4896      * * INVALID_ARGUMENT: Missing or invalid required parameters in the
4897      * request. Also displays if the updated config is for the current month or
4898      * past months.
4899      * * NOT_FOUND: The
4900      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
4901      * specified does not exist or is not associated with the given account.
4902      * * INTERNAL: Any non-user error related to technical issues in the
4903      * backend. In this case, contact Cloud Channel support.
4904      * Return Value:
4905      * If successful, the updated
4906      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
4907      * resource, otherwise returns an error.
4908      * </pre>
4909      */
updateChannelPartnerRepricingConfig( com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ChannelPartnerRepricingConfig> responseObserver)4910     public void updateChannelPartnerRepricingConfig(
4911         com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest request,
4912         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>
4913             responseObserver) {
4914       io.grpc.stub.ClientCalls.asyncUnaryCall(
4915           getChannel().newCall(getUpdateChannelPartnerRepricingConfigMethod(), getCallOptions()),
4916           request,
4917           responseObserver);
4918     }
4919 
4920     /**
4921      *
4922      *
4923      * <pre>
4924      * Deletes the given
4925      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
4926      * permanently. You can only delete configs if their
4927      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
4928      * is set to a date after the current month.
4929      * Possible error codes:
4930      * * PERMISSION_DENIED: The account making the request does not own
4931      * this customer.
4932      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
4933      * * FAILED_PRECONDITION: The
4934      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
4935      * is active or in the past.
4936      * * NOT_FOUND: No
4937      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
4938      * found for the name in the request.
4939      * </pre>
4940      */
deleteChannelPartnerRepricingConfig( com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)4941     public void deleteChannelPartnerRepricingConfig(
4942         com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest request,
4943         io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) {
4944       io.grpc.stub.ClientCalls.asyncUnaryCall(
4945           getChannel().newCall(getDeleteChannelPartnerRepricingConfigMethod(), getCallOptions()),
4946           request,
4947           responseObserver);
4948     }
4949 
4950     /**
4951      *
4952      *
4953      * <pre>
4954      * Returns the requested [Offer][google.cloud.channel.v1.Offer] resource.
4955      * Possible error codes:
4956      * * PERMISSION_DENIED: The entitlement doesn't belong to the reseller.
4957      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
4958      * * NOT_FOUND: Entitlement or offer was not found.
4959      * Return value:
4960      * The [Offer][google.cloud.channel.v1.Offer] resource.
4961      * </pre>
4962      */
lookupOffer( com.google.cloud.channel.v1.LookupOfferRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.Offer> responseObserver)4963     public void lookupOffer(
4964         com.google.cloud.channel.v1.LookupOfferRequest request,
4965         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.Offer> responseObserver) {
4966       io.grpc.stub.ClientCalls.asyncUnaryCall(
4967           getChannel().newCall(getLookupOfferMethod(), getCallOptions()),
4968           request,
4969           responseObserver);
4970     }
4971 
4972     /**
4973      *
4974      *
4975      * <pre>
4976      * Lists the Products the reseller is authorized to sell.
4977      * Possible error codes:
4978      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
4979      * </pre>
4980      */
listProducts( com.google.cloud.channel.v1.ListProductsRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListProductsResponse> responseObserver)4981     public void listProducts(
4982         com.google.cloud.channel.v1.ListProductsRequest request,
4983         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListProductsResponse>
4984             responseObserver) {
4985       io.grpc.stub.ClientCalls.asyncUnaryCall(
4986           getChannel().newCall(getListProductsMethod(), getCallOptions()),
4987           request,
4988           responseObserver);
4989     }
4990 
4991     /**
4992      *
4993      *
4994      * <pre>
4995      * Lists the SKUs for a product the reseller is authorized to sell.
4996      * Possible error codes:
4997      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
4998      * </pre>
4999      */
listSkus( com.google.cloud.channel.v1.ListSkusRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListSkusResponse> responseObserver)5000     public void listSkus(
5001         com.google.cloud.channel.v1.ListSkusRequest request,
5002         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListSkusResponse>
5003             responseObserver) {
5004       io.grpc.stub.ClientCalls.asyncUnaryCall(
5005           getChannel().newCall(getListSkusMethod(), getCallOptions()), request, responseObserver);
5006     }
5007 
5008     /**
5009      *
5010      *
5011      * <pre>
5012      * Lists the Offers the reseller can sell.
5013      * Possible error codes:
5014      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
5015      * </pre>
5016      */
listOffers( com.google.cloud.channel.v1.ListOffersRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListOffersResponse> responseObserver)5017     public void listOffers(
5018         com.google.cloud.channel.v1.ListOffersRequest request,
5019         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListOffersResponse>
5020             responseObserver) {
5021       io.grpc.stub.ClientCalls.asyncUnaryCall(
5022           getChannel().newCall(getListOffersMethod(), getCallOptions()), request, responseObserver);
5023     }
5024 
5025     /**
5026      *
5027      *
5028      * <pre>
5029      * Lists the following:
5030      * * SKUs that you can purchase for a customer
5031      * * SKUs that you can upgrade or downgrade for an entitlement.
5032      * Possible error codes:
5033      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
5034      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
5035      * </pre>
5036      */
listPurchasableSkus( com.google.cloud.channel.v1.ListPurchasableSkusRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListPurchasableSkusResponse> responseObserver)5037     public void listPurchasableSkus(
5038         com.google.cloud.channel.v1.ListPurchasableSkusRequest request,
5039         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListPurchasableSkusResponse>
5040             responseObserver) {
5041       io.grpc.stub.ClientCalls.asyncUnaryCall(
5042           getChannel().newCall(getListPurchasableSkusMethod(), getCallOptions()),
5043           request,
5044           responseObserver);
5045     }
5046 
5047     /**
5048      *
5049      *
5050      * <pre>
5051      * Lists the following:
5052      * * Offers that you can purchase for a customer.
5053      * * Offers that you can change for an entitlement.
5054      * Possible error codes:
5055      * * PERMISSION_DENIED: The customer doesn't belong to the reseller
5056      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
5057      * </pre>
5058      */
listPurchasableOffers( com.google.cloud.channel.v1.ListPurchasableOffersRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListPurchasableOffersResponse> responseObserver)5059     public void listPurchasableOffers(
5060         com.google.cloud.channel.v1.ListPurchasableOffersRequest request,
5061         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListPurchasableOffersResponse>
5062             responseObserver) {
5063       io.grpc.stub.ClientCalls.asyncUnaryCall(
5064           getChannel().newCall(getListPurchasableOffersMethod(), getCallOptions()),
5065           request,
5066           responseObserver);
5067     }
5068 
5069     /**
5070      *
5071      *
5072      * <pre>
5073      * Registers a service account with subscriber privileges on the Cloud Pub/Sub
5074      * topic for this Channel Services account. After you create a
5075      * subscriber, you get the events through
5076      * [SubscriberEvent][google.cloud.channel.v1.SubscriberEvent]
5077      * Possible error codes:
5078      * * PERMISSION_DENIED: The reseller account making the request and the
5079      * provided reseller account are different, or the impersonated user
5080      * is not a super admin.
5081      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
5082      * * INTERNAL: Any non-user error related to a technical issue in the
5083      * backend. Contact Cloud Channel support.
5084      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
5085      * Contact Cloud Channel support.
5086      * Return value:
5087      * The topic name with the registered service email address.
5088      * </pre>
5089      */
registerSubscriber( com.google.cloud.channel.v1.RegisterSubscriberRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.RegisterSubscriberResponse> responseObserver)5090     public void registerSubscriber(
5091         com.google.cloud.channel.v1.RegisterSubscriberRequest request,
5092         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.RegisterSubscriberResponse>
5093             responseObserver) {
5094       io.grpc.stub.ClientCalls.asyncUnaryCall(
5095           getChannel().newCall(getRegisterSubscriberMethod(), getCallOptions()),
5096           request,
5097           responseObserver);
5098     }
5099 
5100     /**
5101      *
5102      *
5103      * <pre>
5104      * Unregisters a service account with subscriber privileges on the Cloud
5105      * Pub/Sub topic created for this Channel Services account. If there are no
5106      * service accounts left with subscriber privileges, this deletes the topic.
5107      * You can call ListSubscribers to check for these accounts.
5108      * Possible error codes:
5109      * * PERMISSION_DENIED: The reseller account making the request and the
5110      * provided reseller account are different, or the impersonated user
5111      * is not a super admin.
5112      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
5113      * * NOT_FOUND: The topic resource doesn't exist.
5114      * * INTERNAL: Any non-user error related to a technical issue in the
5115      * backend. Contact Cloud Channel support.
5116      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
5117      * Contact Cloud Channel support.
5118      * Return value:
5119      * The topic name that unregistered the service email address.
5120      * Returns a success response if the service email address wasn't registered
5121      * with the topic.
5122      * </pre>
5123      */
unregisterSubscriber( com.google.cloud.channel.v1.UnregisterSubscriberRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.UnregisterSubscriberResponse> responseObserver)5124     public void unregisterSubscriber(
5125         com.google.cloud.channel.v1.UnregisterSubscriberRequest request,
5126         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.UnregisterSubscriberResponse>
5127             responseObserver) {
5128       io.grpc.stub.ClientCalls.asyncUnaryCall(
5129           getChannel().newCall(getUnregisterSubscriberMethod(), getCallOptions()),
5130           request,
5131           responseObserver);
5132     }
5133 
5134     /**
5135      *
5136      *
5137      * <pre>
5138      * Lists service accounts with subscriber privileges on the Cloud Pub/Sub
5139      * topic created for this Channel Services account.
5140      * Possible error codes:
5141      * * PERMISSION_DENIED: The reseller account making the request and the
5142      * provided reseller account are different, or the impersonated user
5143      * is not a super admin.
5144      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
5145      * * NOT_FOUND: The topic resource doesn't exist.
5146      * * INTERNAL: Any non-user error related to a technical issue in the
5147      * backend. Contact Cloud Channel support.
5148      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
5149      * Contact Cloud Channel support.
5150      * Return value:
5151      * A list of service email addresses.
5152      * </pre>
5153      */
listSubscribers( com.google.cloud.channel.v1.ListSubscribersRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListSubscribersResponse> responseObserver)5154     public void listSubscribers(
5155         com.google.cloud.channel.v1.ListSubscribersRequest request,
5156         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListSubscribersResponse>
5157             responseObserver) {
5158       io.grpc.stub.ClientCalls.asyncUnaryCall(
5159           getChannel().newCall(getListSubscribersMethod(), getCallOptions()),
5160           request,
5161           responseObserver);
5162     }
5163 
5164     /**
5165      *
5166      *
5167      * <pre>
5168      * List entitlement history.
5169      * Possible error codes:
5170      * * PERMISSION_DENIED: The reseller account making the request and the
5171      * provided reseller account are different.
5172      * * INVALID_ARGUMENT: Missing or invalid required fields in the request.
5173      * * NOT_FOUND: The parent resource doesn't exist. Usually the result of an
5174      * invalid name parameter.
5175      * * INTERNAL: Any non-user error related to a technical issue in the backend.
5176      * In this case, contact CloudChannel support.
5177      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
5178      * In this case, contact Cloud Channel support.
5179      * Return value:
5180      * List of [EntitlementChange][google.cloud.channel.v1.EntitlementChange]s.
5181      * </pre>
5182      */
listEntitlementChanges( com.google.cloud.channel.v1.ListEntitlementChangesRequest request, io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListEntitlementChangesResponse> responseObserver)5183     public void listEntitlementChanges(
5184         com.google.cloud.channel.v1.ListEntitlementChangesRequest request,
5185         io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListEntitlementChangesResponse>
5186             responseObserver) {
5187       io.grpc.stub.ClientCalls.asyncUnaryCall(
5188           getChannel().newCall(getListEntitlementChangesMethod(), getCallOptions()),
5189           request,
5190           responseObserver);
5191     }
5192   }
5193 
5194   /**
5195    * A stub to allow clients to do synchronous rpc calls to service CloudChannelService.
5196    *
5197    * <pre>
5198    * CloudChannelService lets Google cloud resellers and distributors manage
5199    * their customers, channel partners, entitlements, and reports.
5200    * Using this service:
5201    * 1. Resellers and distributors can manage a customer entity.
5202    * 2. Distributors can register an authorized reseller in their channel and
5203    *    provide them with delegated admin access.
5204    * 3. Resellers and distributors can manage customer entitlements.
5205    * CloudChannelService exposes the following resources:
5206    * - [Customer][google.cloud.channel.v1.Customer]s: An entity-usually an
5207    * enterprise-managed by a reseller or distributor.
5208    * - [Entitlement][google.cloud.channel.v1.Entitlement]s: An entity that
5209    * provides a customer with the means to use a service. Entitlements are created
5210    * or updated as a result of a successful fulfillment.
5211    * - [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s: An
5212    * entity that identifies links between distributors and their indirect
5213    * resellers in a channel.
5214    * </pre>
5215    */
5216   public static final class CloudChannelServiceBlockingStub
5217       extends io.grpc.stub.AbstractBlockingStub<CloudChannelServiceBlockingStub> {
CloudChannelServiceBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions)5218     private CloudChannelServiceBlockingStub(
5219         io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
5220       super(channel, callOptions);
5221     }
5222 
5223     @java.lang.Override
build( io.grpc.Channel channel, io.grpc.CallOptions callOptions)5224     protected CloudChannelServiceBlockingStub build(
5225         io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
5226       return new CloudChannelServiceBlockingStub(channel, callOptions);
5227     }
5228 
5229     /**
5230      *
5231      *
5232      * <pre>
5233      * List [Customer][google.cloud.channel.v1.Customer]s.
5234      * Possible error codes:
5235      * * PERMISSION_DENIED: The reseller account making the request is different
5236      * from the reseller account in the API request.
5237      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
5238      * Return value:
5239      * List of [Customer][google.cloud.channel.v1.Customer]s, or an empty list if
5240      * there are no customers.
5241      * </pre>
5242      */
listCustomers( com.google.cloud.channel.v1.ListCustomersRequest request)5243     public com.google.cloud.channel.v1.ListCustomersResponse listCustomers(
5244         com.google.cloud.channel.v1.ListCustomersRequest request) {
5245       return io.grpc.stub.ClientCalls.blockingUnaryCall(
5246           getChannel(), getListCustomersMethod(), getCallOptions(), request);
5247     }
5248 
5249     /**
5250      *
5251      *
5252      * <pre>
5253      * Returns the requested [Customer][google.cloud.channel.v1.Customer]
5254      * resource.
5255      * Possible error codes:
5256      * * PERMISSION_DENIED: The reseller account making the request is different
5257      * from the reseller account in the API request.
5258      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
5259      * * NOT_FOUND: The customer resource doesn't exist. Usually the result of an
5260      * invalid name parameter.
5261      * Return value:
5262      * The [Customer][google.cloud.channel.v1.Customer] resource.
5263      * </pre>
5264      */
getCustomer( com.google.cloud.channel.v1.GetCustomerRequest request)5265     public com.google.cloud.channel.v1.Customer getCustomer(
5266         com.google.cloud.channel.v1.GetCustomerRequest request) {
5267       return io.grpc.stub.ClientCalls.blockingUnaryCall(
5268           getChannel(), getGetCustomerMethod(), getCallOptions(), request);
5269     }
5270 
5271     /**
5272      *
5273      *
5274      * <pre>
5275      * Confirms the existence of Cloud Identity accounts based on the domain and
5276      * if the Cloud Identity accounts are owned by the reseller.
5277      * Possible error codes:
5278      * * PERMISSION_DENIED: The reseller account making the request is different
5279      * from the reseller account in the API request.
5280      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
5281      * * INVALID_VALUE: Invalid domain value in the request.
5282      * Return value:
5283      * A list of
5284      * [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount]
5285      * resources for the domain (may be empty)
5286      * Note: in the v1alpha1 version of the API, a NOT_FOUND error returns if
5287      * no
5288      * [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount]
5289      * resources match the domain.
5290      * </pre>
5291      */
5292     public com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse
checkCloudIdentityAccountsExist( com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest request)5293         checkCloudIdentityAccountsExist(
5294             com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest request) {
5295       return io.grpc.stub.ClientCalls.blockingUnaryCall(
5296           getChannel(), getCheckCloudIdentityAccountsExistMethod(), getCallOptions(), request);
5297     }
5298 
5299     /**
5300      *
5301      *
5302      * <pre>
5303      * Creates a new [Customer][google.cloud.channel.v1.Customer] resource under
5304      * the reseller or distributor account.
5305      * Possible error codes:
5306      * * PERMISSION_DENIED: The reseller account making the request is different
5307      * from the reseller account in the API request.
5308      * * INVALID_ARGUMENT:
5309      *     * Required request parameters are missing or invalid.
5310      *     * Domain field value doesn't match the primary email domain.
5311      * Return value:
5312      * The newly created [Customer][google.cloud.channel.v1.Customer] resource.
5313      * </pre>
5314      */
createCustomer( com.google.cloud.channel.v1.CreateCustomerRequest request)5315     public com.google.cloud.channel.v1.Customer createCustomer(
5316         com.google.cloud.channel.v1.CreateCustomerRequest request) {
5317       return io.grpc.stub.ClientCalls.blockingUnaryCall(
5318           getChannel(), getCreateCustomerMethod(), getCallOptions(), request);
5319     }
5320 
5321     /**
5322      *
5323      *
5324      * <pre>
5325      * Updates an existing [Customer][google.cloud.channel.v1.Customer] resource
5326      * for the reseller or distributor.
5327      * Possible error codes:
5328      * * PERMISSION_DENIED: The reseller account making the request is different
5329      * from the reseller account in the API request.
5330      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
5331      * * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found
5332      * for the name in the request.
5333      * Return value:
5334      * The updated [Customer][google.cloud.channel.v1.Customer] resource.
5335      * </pre>
5336      */
updateCustomer( com.google.cloud.channel.v1.UpdateCustomerRequest request)5337     public com.google.cloud.channel.v1.Customer updateCustomer(
5338         com.google.cloud.channel.v1.UpdateCustomerRequest request) {
5339       return io.grpc.stub.ClientCalls.blockingUnaryCall(
5340           getChannel(), getUpdateCustomerMethod(), getCallOptions(), request);
5341     }
5342 
5343     /**
5344      *
5345      *
5346      * <pre>
5347      * Deletes the given [Customer][google.cloud.channel.v1.Customer] permanently.
5348      * Possible error codes:
5349      * * PERMISSION_DENIED: The account making the request does not own
5350      * this customer.
5351      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
5352      * * FAILED_PRECONDITION: The customer has existing entitlements.
5353      * * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found
5354      * for the name in the request.
5355      * </pre>
5356      */
deleteCustomer( com.google.cloud.channel.v1.DeleteCustomerRequest request)5357     public com.google.protobuf.Empty deleteCustomer(
5358         com.google.cloud.channel.v1.DeleteCustomerRequest request) {
5359       return io.grpc.stub.ClientCalls.blockingUnaryCall(
5360           getChannel(), getDeleteCustomerMethod(), getCallOptions(), request);
5361     }
5362 
5363     /**
5364      *
5365      *
5366      * <pre>
5367      * Imports a [Customer][google.cloud.channel.v1.Customer] from the Cloud
5368      * Identity associated with the provided Cloud Identity ID or domain before a
5369      * TransferEntitlements call. If a linked Customer already exists and
5370      * overwrite_if_exists is true, it will update that Customer's data.
5371      * Possible error codes:
5372      * * PERMISSION_DENIED: The reseller account making the request is different
5373      * from the reseller account in the API request.
5374      * * NOT_FOUND: Cloud Identity doesn't exist or was deleted.
5375      * * INVALID_ARGUMENT: Required parameters are missing, or the auth_token is
5376      * expired or invalid.
5377      * * ALREADY_EXISTS: A customer already exists and has conflicting critical
5378      * fields. Requires an overwrite.
5379      * Return value:
5380      * The [Customer][google.cloud.channel.v1.Customer].
5381      * </pre>
5382      */
importCustomer( com.google.cloud.channel.v1.ImportCustomerRequest request)5383     public com.google.cloud.channel.v1.Customer importCustomer(
5384         com.google.cloud.channel.v1.ImportCustomerRequest request) {
5385       return io.grpc.stub.ClientCalls.blockingUnaryCall(
5386           getChannel(), getImportCustomerMethod(), getCallOptions(), request);
5387     }
5388 
5389     /**
5390      *
5391      *
5392      * <pre>
5393      * Creates a Cloud Identity for the given customer using the customer's
5394      * information, or the information provided here.
5395      * Possible error codes:
5396      * *  PERMISSION_DENIED: The customer doesn't belong to the reseller.
5397      * *  INVALID_ARGUMENT: Required request parameters are missing or invalid.
5398      * *  NOT_FOUND: The customer was not found.
5399      * *  ALREADY_EXISTS: The customer's primary email already exists. Retry
5400      *    after changing the customer's primary contact email.
5401      * * INTERNAL: Any non-user error related to a technical issue in the
5402      * backend. Contact Cloud Channel support.
5403      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
5404      * Contact Cloud Channel support.
5405      * Return value:
5406      * The ID of a long-running operation.
5407      * To get the results of the operation, call the GetOperation method of
5408      * CloudChannelOperationsService. The Operation metadata contains an
5409      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
5410      * </pre>
5411      */
provisionCloudIdentity( com.google.cloud.channel.v1.ProvisionCloudIdentityRequest request)5412     public com.google.longrunning.Operation provisionCloudIdentity(
5413         com.google.cloud.channel.v1.ProvisionCloudIdentityRequest request) {
5414       return io.grpc.stub.ClientCalls.blockingUnaryCall(
5415           getChannel(), getProvisionCloudIdentityMethod(), getCallOptions(), request);
5416     }
5417 
5418     /**
5419      *
5420      *
5421      * <pre>
5422      * Lists [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to a
5423      * customer.
5424      * Possible error codes:
5425      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
5426      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
5427      * Return value:
5428      * A list of the customer's
5429      * [Entitlement][google.cloud.channel.v1.Entitlement]s.
5430      * </pre>
5431      */
listEntitlements( com.google.cloud.channel.v1.ListEntitlementsRequest request)5432     public com.google.cloud.channel.v1.ListEntitlementsResponse listEntitlements(
5433         com.google.cloud.channel.v1.ListEntitlementsRequest request) {
5434       return io.grpc.stub.ClientCalls.blockingUnaryCall(
5435           getChannel(), getListEntitlementsMethod(), getCallOptions(), request);
5436     }
5437 
5438     /**
5439      *
5440      *
5441      * <pre>
5442      * List [TransferableSku][google.cloud.channel.v1.TransferableSku]s of a
5443      * customer based on the Cloud Identity ID or Customer Name in the request.
5444      * Use this method to list the entitlements information of an
5445      * unowned customer. You should provide the customer's
5446      * Cloud Identity ID or Customer Name.
5447      * Possible error codes:
5448      * * PERMISSION_DENIED:
5449      *     * The customer doesn't belong to the reseller and has no auth token.
5450      *     * The supplied auth token is invalid.
5451      *     * The reseller account making the request is different
5452      *     from the reseller account in the query.
5453      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
5454      * Return value:
5455      * A list of the customer's
5456      * [TransferableSku][google.cloud.channel.v1.TransferableSku].
5457      * </pre>
5458      */
listTransferableSkus( com.google.cloud.channel.v1.ListTransferableSkusRequest request)5459     public com.google.cloud.channel.v1.ListTransferableSkusResponse listTransferableSkus(
5460         com.google.cloud.channel.v1.ListTransferableSkusRequest request) {
5461       return io.grpc.stub.ClientCalls.blockingUnaryCall(
5462           getChannel(), getListTransferableSkusMethod(), getCallOptions(), request);
5463     }
5464 
5465     /**
5466      *
5467      *
5468      * <pre>
5469      * List [TransferableOffer][google.cloud.channel.v1.TransferableOffer]s of a
5470      * customer based on Cloud Identity ID or Customer Name in the request.
5471      * Use this method when a reseller gets the entitlement information of an
5472      * unowned customer. The reseller should provide the customer's
5473      * Cloud Identity ID or Customer Name.
5474      * Possible error codes:
5475      * * PERMISSION_DENIED:
5476      *     * The customer doesn't belong to the reseller and has no auth token.
5477      *     * The customer provided incorrect reseller information when generating
5478      *     auth token.
5479      *     * The reseller account making the request is different
5480      *     from the reseller account in the query.
5481      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
5482      * Return value:
5483      * List of [TransferableOffer][google.cloud.channel.v1.TransferableOffer] for
5484      * the given customer and SKU.
5485      * </pre>
5486      */
listTransferableOffers( com.google.cloud.channel.v1.ListTransferableOffersRequest request)5487     public com.google.cloud.channel.v1.ListTransferableOffersResponse listTransferableOffers(
5488         com.google.cloud.channel.v1.ListTransferableOffersRequest request) {
5489       return io.grpc.stub.ClientCalls.blockingUnaryCall(
5490           getChannel(), getListTransferableOffersMethod(), getCallOptions(), request);
5491     }
5492 
5493     /**
5494      *
5495      *
5496      * <pre>
5497      * Returns the requested [Entitlement][google.cloud.channel.v1.Entitlement]
5498      * resource.
5499      * Possible error codes:
5500      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
5501      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
5502      * * NOT_FOUND: The customer entitlement was not found.
5503      * Return value:
5504      * The requested [Entitlement][google.cloud.channel.v1.Entitlement] resource.
5505      * </pre>
5506      */
getEntitlement( com.google.cloud.channel.v1.GetEntitlementRequest request)5507     public com.google.cloud.channel.v1.Entitlement getEntitlement(
5508         com.google.cloud.channel.v1.GetEntitlementRequest request) {
5509       return io.grpc.stub.ClientCalls.blockingUnaryCall(
5510           getChannel(), getGetEntitlementMethod(), getCallOptions(), request);
5511     }
5512 
5513     /**
5514      *
5515      *
5516      * <pre>
5517      * Creates an entitlement for a customer.
5518      * Possible error codes:
5519      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
5520      * * INVALID_ARGUMENT:
5521      *     * Required request parameters are missing or invalid.
5522      *     * There is already a customer entitlement for a SKU from the same
5523      *     product family.
5524      * * INVALID_VALUE: Make sure the OfferId is valid. If it is, contact
5525      * Google Channel support for further troubleshooting.
5526      * * NOT_FOUND: The customer or offer resource was not found.
5527      * * ALREADY_EXISTS:
5528      *     * The SKU was already purchased for the customer.
5529      *     * The customer's primary email already exists. Retry
5530      *     after changing the customer's primary contact email.
5531      * * CONDITION_NOT_MET or FAILED_PRECONDITION:
5532      *     * The domain required for purchasing a SKU has not been verified.
5533      *     * A pre-requisite SKU required to purchase an Add-On SKU is missing.
5534      *     For example, Google Workspace Business Starter is required to purchase
5535      *     Vault or Drive.
5536      *     * (Developer accounts only) Reseller and resold domain must meet the
5537      *     following naming requirements:
5538      *         * Domain names must start with goog-test.
5539      *         * Domain names must include the reseller domain.
5540      * * INTERNAL: Any non-user error related to a technical issue in the
5541      * backend. Contact Cloud Channel support.
5542      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
5543      * Contact Cloud Channel support.
5544      * Return value:
5545      * The ID of a long-running operation.
5546      * To get the results of the operation, call the GetOperation method of
5547      * CloudChannelOperationsService. The Operation metadata will contain an
5548      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
5549      * </pre>
5550      */
createEntitlement( com.google.cloud.channel.v1.CreateEntitlementRequest request)5551     public com.google.longrunning.Operation createEntitlement(
5552         com.google.cloud.channel.v1.CreateEntitlementRequest request) {
5553       return io.grpc.stub.ClientCalls.blockingUnaryCall(
5554           getChannel(), getCreateEntitlementMethod(), getCallOptions(), request);
5555     }
5556 
5557     /**
5558      *
5559      *
5560      * <pre>
5561      * Change parameters of the entitlement.
5562      * An entitlement update is a long-running operation and it updates the
5563      * entitlement as a result of fulfillment.
5564      * Possible error codes:
5565      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
5566      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
5567      * For example, the number of seats being changed is greater than the allowed
5568      * number of max seats, or decreasing seats for a commitment based plan.
5569      * * NOT_FOUND: Entitlement resource not found.
5570      * * INTERNAL: Any non-user error related to a technical issue in the
5571      * backend. Contact Cloud Channel support.
5572      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
5573      * Contact Cloud Channel support.
5574      * Return value:
5575      * The ID of a long-running operation.
5576      * To get the results of the operation, call the GetOperation method of
5577      * CloudChannelOperationsService. The Operation metadata will contain an
5578      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
5579      * </pre>
5580      */
changeParameters( com.google.cloud.channel.v1.ChangeParametersRequest request)5581     public com.google.longrunning.Operation changeParameters(
5582         com.google.cloud.channel.v1.ChangeParametersRequest request) {
5583       return io.grpc.stub.ClientCalls.blockingUnaryCall(
5584           getChannel(), getChangeParametersMethod(), getCallOptions(), request);
5585     }
5586 
5587     /**
5588      *
5589      *
5590      * <pre>
5591      * Updates the renewal settings for an existing customer entitlement.
5592      * An entitlement update is a long-running operation and it updates the
5593      * entitlement as a result of fulfillment.
5594      * Possible error codes:
5595      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
5596      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
5597      * * NOT_FOUND: Entitlement resource not found.
5598      * * NOT_COMMITMENT_PLAN: Renewal Settings are only applicable for a
5599      * commitment plan. Can't enable or disable renewals for non-commitment plans.
5600      * * INTERNAL: Any non-user error related to a technical issue in the
5601      * backend. Contact Cloud Channel support.
5602      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
5603      *   Contact Cloud Channel support.
5604      * Return value:
5605      * The ID of a long-running operation.
5606      * To get the results of the operation, call the GetOperation method of
5607      * CloudChannelOperationsService. The Operation metadata will contain an
5608      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
5609      * </pre>
5610      */
changeRenewalSettings( com.google.cloud.channel.v1.ChangeRenewalSettingsRequest request)5611     public com.google.longrunning.Operation changeRenewalSettings(
5612         com.google.cloud.channel.v1.ChangeRenewalSettingsRequest request) {
5613       return io.grpc.stub.ClientCalls.blockingUnaryCall(
5614           getChannel(), getChangeRenewalSettingsMethod(), getCallOptions(), request);
5615     }
5616 
5617     /**
5618      *
5619      *
5620      * <pre>
5621      * Updates the Offer for an existing customer entitlement.
5622      * An entitlement update is a long-running operation and it updates the
5623      * entitlement as a result of fulfillment.
5624      * Possible error codes:
5625      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
5626      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
5627      * * NOT_FOUND: Offer or Entitlement resource not found.
5628      * * INTERNAL: Any non-user error related to a technical issue in the
5629      * backend. Contact Cloud Channel support.
5630      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
5631      * Contact Cloud Channel support.
5632      * Return value:
5633      * The ID of a long-running operation.
5634      * To get the results of the operation, call the GetOperation method of
5635      * CloudChannelOperationsService. The Operation metadata will contain an
5636      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
5637      * </pre>
5638      */
changeOffer( com.google.cloud.channel.v1.ChangeOfferRequest request)5639     public com.google.longrunning.Operation changeOffer(
5640         com.google.cloud.channel.v1.ChangeOfferRequest request) {
5641       return io.grpc.stub.ClientCalls.blockingUnaryCall(
5642           getChannel(), getChangeOfferMethod(), getCallOptions(), request);
5643     }
5644 
5645     /**
5646      *
5647      *
5648      * <pre>
5649      * Starts paid service for a trial entitlement.
5650      * Starts paid service for a trial entitlement immediately. This method is
5651      * only applicable if a plan is set up for a trial entitlement but has some
5652      * trial days remaining.
5653      * Possible error codes:
5654      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
5655      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
5656      * * NOT_FOUND: Entitlement resource not found.
5657      * * FAILED_PRECONDITION/NOT_IN_TRIAL: This method only works for
5658      * entitlement on trial plans.
5659      * * INTERNAL: Any non-user error related to a technical issue in the
5660      * backend. Contact Cloud Channel support.
5661      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
5662      * Contact Cloud Channel support.
5663      * Return value:
5664      * The ID of a long-running operation.
5665      * To get the results of the operation, call the GetOperation method of
5666      * CloudChannelOperationsService. The Operation metadata will contain an
5667      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
5668      * </pre>
5669      */
startPaidService( com.google.cloud.channel.v1.StartPaidServiceRequest request)5670     public com.google.longrunning.Operation startPaidService(
5671         com.google.cloud.channel.v1.StartPaidServiceRequest request) {
5672       return io.grpc.stub.ClientCalls.blockingUnaryCall(
5673           getChannel(), getStartPaidServiceMethod(), getCallOptions(), request);
5674     }
5675 
5676     /**
5677      *
5678      *
5679      * <pre>
5680      * Suspends a previously fulfilled entitlement.
5681      * An entitlement suspension is a long-running operation.
5682      * Possible error codes:
5683      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
5684      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
5685      * * NOT_FOUND: Entitlement resource not found.
5686      * * NOT_ACTIVE: Entitlement is not active.
5687      * * INTERNAL: Any non-user error related to a technical issue in the
5688      * backend. Contact Cloud Channel support.
5689      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
5690      * Contact Cloud Channel support.
5691      * Return value:
5692      * The ID of a long-running operation.
5693      * To get the results of the operation, call the GetOperation method of
5694      * CloudChannelOperationsService. The Operation metadata will contain an
5695      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
5696      * </pre>
5697      */
suspendEntitlement( com.google.cloud.channel.v1.SuspendEntitlementRequest request)5698     public com.google.longrunning.Operation suspendEntitlement(
5699         com.google.cloud.channel.v1.SuspendEntitlementRequest request) {
5700       return io.grpc.stub.ClientCalls.blockingUnaryCall(
5701           getChannel(), getSuspendEntitlementMethod(), getCallOptions(), request);
5702     }
5703 
5704     /**
5705      *
5706      *
5707      * <pre>
5708      * Cancels a previously fulfilled entitlement.
5709      * An entitlement cancellation is a long-running operation.
5710      * Possible error codes:
5711      * * PERMISSION_DENIED: The reseller account making the request is different
5712      * from the reseller account in the API request.
5713      * * FAILED_PRECONDITION: There are Google Cloud projects linked to the
5714      * Google Cloud entitlement's Cloud Billing subaccount.
5715      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
5716      * * NOT_FOUND: Entitlement resource not found.
5717      * * DELETION_TYPE_NOT_ALLOWED: Cancel is only allowed for Google Workspace
5718      * add-ons, or entitlements for Google Cloud's development platform.
5719      * * INTERNAL: Any non-user error related to a technical issue in the
5720      * backend. Contact Cloud Channel support.
5721      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
5722      * Contact Cloud Channel support.
5723      * Return value:
5724      * The ID of a long-running operation.
5725      * To get the results of the operation, call the GetOperation method of
5726      * CloudChannelOperationsService. The response will contain
5727      * google.protobuf.Empty on success. The Operation metadata will contain an
5728      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
5729      * </pre>
5730      */
cancelEntitlement( com.google.cloud.channel.v1.CancelEntitlementRequest request)5731     public com.google.longrunning.Operation cancelEntitlement(
5732         com.google.cloud.channel.v1.CancelEntitlementRequest request) {
5733       return io.grpc.stub.ClientCalls.blockingUnaryCall(
5734           getChannel(), getCancelEntitlementMethod(), getCallOptions(), request);
5735     }
5736 
5737     /**
5738      *
5739      *
5740      * <pre>
5741      * Activates a previously suspended entitlement. Entitlements suspended for
5742      * pending ToS acceptance can't be activated using this method.
5743      * An entitlement activation is a long-running operation and it updates
5744      * the state of the customer entitlement.
5745      * Possible error codes:
5746      * * PERMISSION_DENIED: The reseller account making the request is different
5747      * from the reseller account in the API request.
5748      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
5749      * * NOT_FOUND: Entitlement resource not found.
5750      * * SUSPENSION_NOT_RESELLER_INITIATED: Can only activate reseller-initiated
5751      * suspensions and entitlements that have accepted the TOS.
5752      * * NOT_SUSPENDED: Can only activate suspended entitlements not in an ACTIVE
5753      * state.
5754      * * INTERNAL: Any non-user error related to a technical issue in the
5755      * backend. Contact Cloud Channel support.
5756      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
5757      * Contact Cloud Channel support.
5758      * Return value:
5759      * The ID of a long-running operation.
5760      * To get the results of the operation, call the GetOperation method of
5761      * CloudChannelOperationsService. The Operation metadata will contain an
5762      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
5763      * </pre>
5764      */
activateEntitlement( com.google.cloud.channel.v1.ActivateEntitlementRequest request)5765     public com.google.longrunning.Operation activateEntitlement(
5766         com.google.cloud.channel.v1.ActivateEntitlementRequest request) {
5767       return io.grpc.stub.ClientCalls.blockingUnaryCall(
5768           getChannel(), getActivateEntitlementMethod(), getCallOptions(), request);
5769     }
5770 
5771     /**
5772      *
5773      *
5774      * <pre>
5775      * Transfers customer entitlements to new reseller.
5776      * Possible error codes:
5777      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
5778      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
5779      * * NOT_FOUND: The customer or offer resource was not found.
5780      * * ALREADY_EXISTS: The SKU was already transferred for the customer.
5781      * * CONDITION_NOT_MET or FAILED_PRECONDITION:
5782      *     * The SKU requires domain verification to transfer, but the domain is
5783      *     not verified.
5784      *     * An Add-On SKU (example, Vault or Drive) is missing the
5785      *     pre-requisite SKU (example, G Suite Basic).
5786      *     * (Developer accounts only) Reseller and resold domain must meet the
5787      *     following naming requirements:
5788      *         * Domain names must start with goog-test.
5789      *         * Domain names must include the reseller domain.
5790      *     * Specify all transferring entitlements.
5791      * * INTERNAL: Any non-user error related to a technical issue in the
5792      * backend. Contact Cloud Channel support.
5793      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
5794      * Contact Cloud Channel support.
5795      * Return value:
5796      * The ID of a long-running operation.
5797      * To get the results of the operation, call the GetOperation method of
5798      * CloudChannelOperationsService. The Operation metadata will contain an
5799      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
5800      * </pre>
5801      */
transferEntitlements( com.google.cloud.channel.v1.TransferEntitlementsRequest request)5802     public com.google.longrunning.Operation transferEntitlements(
5803         com.google.cloud.channel.v1.TransferEntitlementsRequest request) {
5804       return io.grpc.stub.ClientCalls.blockingUnaryCall(
5805           getChannel(), getTransferEntitlementsMethod(), getCallOptions(), request);
5806     }
5807 
5808     /**
5809      *
5810      *
5811      * <pre>
5812      * Transfers customer entitlements from their current reseller to Google.
5813      * Possible error codes:
5814      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
5815      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
5816      * * NOT_FOUND: The customer or offer resource was not found.
5817      * * ALREADY_EXISTS: The SKU was already transferred for the customer.
5818      * * CONDITION_NOT_MET or FAILED_PRECONDITION:
5819      *     * The SKU requires domain verification to transfer, but the domain is
5820      *     not verified.
5821      *     * An Add-On SKU (example, Vault or Drive) is missing the
5822      *     pre-requisite SKU (example, G Suite Basic).
5823      *     * (Developer accounts only) Reseller and resold domain must meet the
5824      *     following naming requirements:
5825      *         * Domain names must start with goog-test.
5826      *         * Domain names must include the reseller domain.
5827      * * INTERNAL: Any non-user error related to a technical issue in the
5828      * backend. Contact Cloud Channel support.
5829      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
5830      * Contact Cloud Channel support.
5831      * Return value:
5832      * The ID of a long-running operation.
5833      * To get the results of the operation, call the GetOperation method of
5834      * CloudChannelOperationsService. The response will contain
5835      * google.protobuf.Empty on success. The Operation metadata will contain an
5836      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
5837      * </pre>
5838      */
transferEntitlementsToGoogle( com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest request)5839     public com.google.longrunning.Operation transferEntitlementsToGoogle(
5840         com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest request) {
5841       return io.grpc.stub.ClientCalls.blockingUnaryCall(
5842           getChannel(), getTransferEntitlementsToGoogleMethod(), getCallOptions(), request);
5843     }
5844 
5845     /**
5846      *
5847      *
5848      * <pre>
5849      * List [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s
5850      * belonging to a distributor. You must be a distributor to call this method.
5851      * Possible error codes:
5852      * * PERMISSION_DENIED: The reseller account making the request is different
5853      * from the reseller account in the API request.
5854      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
5855      * Return value:
5856      * The list of the distributor account's
5857      * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resources.
5858      * </pre>
5859      */
listChannelPartnerLinks( com.google.cloud.channel.v1.ListChannelPartnerLinksRequest request)5860     public com.google.cloud.channel.v1.ListChannelPartnerLinksResponse listChannelPartnerLinks(
5861         com.google.cloud.channel.v1.ListChannelPartnerLinksRequest request) {
5862       return io.grpc.stub.ClientCalls.blockingUnaryCall(
5863           getChannel(), getListChannelPartnerLinksMethod(), getCallOptions(), request);
5864     }
5865 
5866     /**
5867      *
5868      *
5869      * <pre>
5870      * Returns the requested
5871      * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
5872      * You must be a distributor to call this method.
5873      * Possible error codes:
5874      * * PERMISSION_DENIED: The reseller account making the request is different
5875      * from the reseller account in the API request.
5876      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
5877      * * NOT_FOUND: ChannelPartnerLink resource not found because of an
5878      * invalid channel partner link name.
5879      * Return value:
5880      * The [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]
5881      * resource.
5882      * </pre>
5883      */
getChannelPartnerLink( com.google.cloud.channel.v1.GetChannelPartnerLinkRequest request)5884     public com.google.cloud.channel.v1.ChannelPartnerLink getChannelPartnerLink(
5885         com.google.cloud.channel.v1.GetChannelPartnerLinkRequest request) {
5886       return io.grpc.stub.ClientCalls.blockingUnaryCall(
5887           getChannel(), getGetChannelPartnerLinkMethod(), getCallOptions(), request);
5888     }
5889 
5890     /**
5891      *
5892      *
5893      * <pre>
5894      * Initiates a channel partner link between a distributor and a reseller, or
5895      * between resellers in an n-tier reseller channel.
5896      * Invited partners need to follow the invite_link_uri provided in the
5897      * response to accept. After accepting the invitation, a link is set up
5898      * between the two parties.
5899      * You must be a distributor to call this method.
5900      * Possible error codes:
5901      * * PERMISSION_DENIED: The reseller account making the request is different
5902      * from the reseller account in the API request.
5903      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
5904      * * ALREADY_EXISTS: The ChannelPartnerLink sent in the request already
5905      * exists.
5906      * * NOT_FOUND: No Cloud Identity customer exists for provided domain.
5907      * * INTERNAL: Any non-user error related to a technical issue in the
5908      * backend. Contact Cloud Channel support.
5909      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
5910      * Contact Cloud Channel support.
5911      * Return value:
5912      * The new [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]
5913      * resource.
5914      * </pre>
5915      */
createChannelPartnerLink( com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest request)5916     public com.google.cloud.channel.v1.ChannelPartnerLink createChannelPartnerLink(
5917         com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest request) {
5918       return io.grpc.stub.ClientCalls.blockingUnaryCall(
5919           getChannel(), getCreateChannelPartnerLinkMethod(), getCallOptions(), request);
5920     }
5921 
5922     /**
5923      *
5924      *
5925      * <pre>
5926      * Updates a channel partner link. Distributors call this method to change a
5927      * link's status. For example, to suspend a partner link.
5928      * You must be a distributor to call this method.
5929      * Possible error codes:
5930      * * PERMISSION_DENIED: The reseller account making the request is different
5931      * from the reseller account in the API request.
5932      * * INVALID_ARGUMENT:
5933      *     * Required request parameters are missing or invalid.
5934      *     * Link state cannot change from invited to active or suspended.
5935      *     * Cannot send reseller_cloud_identity_id, invite_url, or name in update
5936      *     mask.
5937      * * NOT_FOUND: ChannelPartnerLink resource not found.
5938      * * INTERNAL: Any non-user error related to a technical issue in the
5939      * backend. Contact Cloud Channel support.
5940      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
5941      * Contact Cloud Channel support.
5942      * Return value:
5943      * The updated
5944      * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
5945      * </pre>
5946      */
updateChannelPartnerLink( com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest request)5947     public com.google.cloud.channel.v1.ChannelPartnerLink updateChannelPartnerLink(
5948         com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest request) {
5949       return io.grpc.stub.ClientCalls.blockingUnaryCall(
5950           getChannel(), getUpdateChannelPartnerLinkMethod(), getCallOptions(), request);
5951     }
5952 
5953     /**
5954      *
5955      *
5956      * <pre>
5957      * Gets information about how a Reseller modifies their bill before sending
5958      * it to a Customer.
5959      * Possible Error Codes:
5960      * * PERMISSION_DENIED: If the account making the request and the account
5961      * being queried are different.
5962      * * NOT_FOUND: The
5963      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
5964      * was not found.
5965      * * INTERNAL: Any non-user error related to technical issues in the
5966      * backend. In this case, contact Cloud Channel support.
5967      * Return Value:
5968      * If successful, the
5969      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
5970      * resource, otherwise returns an error.
5971      * </pre>
5972      */
getCustomerRepricingConfig( com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest request)5973     public com.google.cloud.channel.v1.CustomerRepricingConfig getCustomerRepricingConfig(
5974         com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest request) {
5975       return io.grpc.stub.ClientCalls.blockingUnaryCall(
5976           getChannel(), getGetCustomerRepricingConfigMethod(), getCallOptions(), request);
5977     }
5978 
5979     /**
5980      *
5981      *
5982      * <pre>
5983      * Lists information about how a Reseller modifies their bill before sending
5984      * it to a Customer.
5985      * Possible Error Codes:
5986      * * PERMISSION_DENIED: If the account making the request and the account
5987      * being queried are different.
5988      * * NOT_FOUND: The
5989      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
5990      * specified does not exist or is not associated with the given account.
5991      * * INTERNAL: Any non-user error related to technical issues in the
5992      * backend. In this case, contact Cloud Channel support.
5993      * Return Value:
5994      * If successful, the
5995      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
5996      * resources. The data for each resource is displayed in the ascending order
5997      * of:
5998      * * Customer ID
5999      * * [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement]
6000      * * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
6001      * * [CustomerRepricingConfig.update_time][google.cloud.channel.v1.CustomerRepricingConfig.update_time]
6002      * If unsuccessful, returns an error.
6003      * </pre>
6004      */
6005     public com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse
listCustomerRepricingConfigs( com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest request)6006         listCustomerRepricingConfigs(
6007             com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest request) {
6008       return io.grpc.stub.ClientCalls.blockingUnaryCall(
6009           getChannel(), getListCustomerRepricingConfigsMethod(), getCallOptions(), request);
6010     }
6011 
6012     /**
6013      *
6014      *
6015      * <pre>
6016      * Creates a CustomerRepricingConfig. Call this method to set modifications
6017      * for a specific customer's bill. You can only create configs if the
6018      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
6019      * is a future month. If needed, you can create a config for the current
6020      * month, with some restrictions.
6021      * When creating a config for a future month, make sure there are no existing
6022      * configs for that
6023      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
6024      * The following restrictions are for creating configs in the current month.
6025      * * This functionality is reserved for recovering from an erroneous config,
6026      * and should not be used for regular business cases.
6027      * * The new config will not modify exports used with other configs.
6028      * Changes to the config may be immediate, but may take up to 24 hours.
6029      * * There is a limit of ten configs for any
6030      * [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement]
6031      * or
6032      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
6033      * * The contained
6034      * [CustomerRepricingConfig.repricing_config][google.cloud.channel.v1.CustomerRepricingConfig.repricing_config]
6035      * vaule must be different from the value used in the current config for a
6036      * [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement].
6037      * Possible Error Codes:
6038      * * PERMISSION_DENIED: If the account making the request and the account
6039      * being queried are different.
6040      * * INVALID_ARGUMENT: Missing or invalid required parameters in the
6041      * request. Also displays if the updated config is for the current month or
6042      * past months.
6043      * * NOT_FOUND: The
6044      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
6045      * specified does not exist or is not associated with the given account.
6046      * * INTERNAL: Any non-user error related to technical issues in the
6047      * backend. In this case, contact Cloud Channel support.
6048      * Return Value:
6049      * If successful, the updated
6050      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
6051      * resource, otherwise returns an error.
6052      * </pre>
6053      */
createCustomerRepricingConfig( com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest request)6054     public com.google.cloud.channel.v1.CustomerRepricingConfig createCustomerRepricingConfig(
6055         com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest request) {
6056       return io.grpc.stub.ClientCalls.blockingUnaryCall(
6057           getChannel(), getCreateCustomerRepricingConfigMethod(), getCallOptions(), request);
6058     }
6059 
6060     /**
6061      *
6062      *
6063      * <pre>
6064      * Updates a CustomerRepricingConfig. Call this method to set modifications
6065      * for a specific customer's bill. This method overwrites the existing
6066      * CustomerRepricingConfig.
6067      * You can only update configs if the
6068      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
6069      * is a future month. To make changes to configs for the current month, use
6070      * [CreateCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateCustomerRepricingConfig],
6071      * taking note of its restrictions. You cannot update the
6072      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
6073      * When updating a config in the future:
6074      * * This config must already exist.
6075      * Possible Error Codes:
6076      * * PERMISSION_DENIED: If the account making the request and the account
6077      * being queried are different.
6078      * * INVALID_ARGUMENT: Missing or invalid required parameters in the
6079      * request. Also displays if the updated config is for the current month or
6080      * past months.
6081      * * NOT_FOUND: The
6082      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
6083      * specified does not exist or is not associated with the given account.
6084      * * INTERNAL: Any non-user error related to technical issues in the
6085      * backend. In this case, contact Cloud Channel support.
6086      * Return Value:
6087      * If successful, the updated
6088      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
6089      * resource, otherwise returns an error.
6090      * </pre>
6091      */
updateCustomerRepricingConfig( com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest request)6092     public com.google.cloud.channel.v1.CustomerRepricingConfig updateCustomerRepricingConfig(
6093         com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest request) {
6094       return io.grpc.stub.ClientCalls.blockingUnaryCall(
6095           getChannel(), getUpdateCustomerRepricingConfigMethod(), getCallOptions(), request);
6096     }
6097 
6098     /**
6099      *
6100      *
6101      * <pre>
6102      * Deletes the given
6103      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
6104      * permanently. You can only delete configs if their
6105      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
6106      * is set to a date after the current month.
6107      * Possible error codes:
6108      * * PERMISSION_DENIED: The account making the request does not own
6109      * this customer.
6110      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
6111      * * FAILED_PRECONDITION: The
6112      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
6113      * is active or in the past.
6114      * * NOT_FOUND: No
6115      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
6116      * found for the name in the request.
6117      * </pre>
6118      */
deleteCustomerRepricingConfig( com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest request)6119     public com.google.protobuf.Empty deleteCustomerRepricingConfig(
6120         com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest request) {
6121       return io.grpc.stub.ClientCalls.blockingUnaryCall(
6122           getChannel(), getDeleteCustomerRepricingConfigMethod(), getCallOptions(), request);
6123     }
6124 
6125     /**
6126      *
6127      *
6128      * <pre>
6129      * Gets information about how a Distributor modifies their bill before sending
6130      * it to a ChannelPartner.
6131      * Possible Error Codes:
6132      * * PERMISSION_DENIED: If the account making the request and the account
6133      * being queried are different.
6134      * * NOT_FOUND: The
6135      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
6136      * was not found.
6137      * * INTERNAL: Any non-user error related to technical issues in the
6138      * backend. In this case, contact Cloud Channel support.
6139      * Return Value:
6140      * If successful, the
6141      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
6142      * resource, otherwise returns an error.
6143      * </pre>
6144      */
6145     public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig
getChannelPartnerRepricingConfig( com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest request)6146         getChannelPartnerRepricingConfig(
6147             com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest request) {
6148       return io.grpc.stub.ClientCalls.blockingUnaryCall(
6149           getChannel(), getGetChannelPartnerRepricingConfigMethod(), getCallOptions(), request);
6150     }
6151 
6152     /**
6153      *
6154      *
6155      * <pre>
6156      * Lists information about how a Reseller modifies their bill before sending
6157      * it to a ChannelPartner.
6158      * Possible Error Codes:
6159      * * PERMISSION_DENIED: If the account making the request and the account
6160      * being queried are different.
6161      * * NOT_FOUND: The
6162      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
6163      * specified does not exist or is not associated with the given account.
6164      * * INTERNAL: Any non-user error related to technical issues in the
6165      * backend. In this case, contact Cloud Channel support.
6166      * Return Value:
6167      * If successful, the
6168      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
6169      * resources. The data for each resource is displayed in the ascending order
6170      * of:
6171      * * Channel Partner ID
6172      * * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
6173      * * [ChannelPartnerRepricingConfig.update_time][google.cloud.channel.v1.ChannelPartnerRepricingConfig.update_time]
6174      * If unsuccessful, returns an error.
6175      * </pre>
6176      */
6177     public com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse
listChannelPartnerRepricingConfigs( com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest request)6178         listChannelPartnerRepricingConfigs(
6179             com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest request) {
6180       return io.grpc.stub.ClientCalls.blockingUnaryCall(
6181           getChannel(), getListChannelPartnerRepricingConfigsMethod(), getCallOptions(), request);
6182     }
6183 
6184     /**
6185      *
6186      *
6187      * <pre>
6188      * Creates a ChannelPartnerRepricingConfig. Call this method to set
6189      * modifications for a specific ChannelPartner's bill. You can only create
6190      * configs if the
6191      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
6192      * is a future month. If needed, you can create a config for the current
6193      * month, with some restrictions.
6194      * When creating a config for a future month, make sure there are no existing
6195      * configs for that
6196      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
6197      * The following restrictions are for creating configs in the current month.
6198      * * This functionality is reserved for recovering from an erroneous config,
6199      * and should not be used for regular business cases.
6200      * * The new config will not modify exports used with other configs.
6201      * Changes to the config may be immediate, but may take up to 24 hours.
6202      * * There is a limit of ten configs for any ChannelPartner or
6203      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
6204      * * The contained
6205      * [ChannelPartnerRepricingConfig.repricing_config][google.cloud.channel.v1.ChannelPartnerRepricingConfig.repricing_config]
6206      * vaule must be different from the value used in the current config for a
6207      * ChannelPartner.
6208      * Possible Error Codes:
6209      * * PERMISSION_DENIED: If the account making the request and the account
6210      * being queried are different.
6211      * * INVALID_ARGUMENT: Missing or invalid required parameters in the
6212      * request. Also displays if the updated config is for the current month or
6213      * past months.
6214      * * NOT_FOUND: The
6215      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
6216      * specified does not exist or is not associated with the given account.
6217      * * INTERNAL: Any non-user error related to technical issues in the
6218      * backend. In this case, contact Cloud Channel support.
6219      * Return Value:
6220      * If successful, the updated
6221      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
6222      * resource, otherwise returns an error.
6223      * </pre>
6224      */
6225     public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig
createChannelPartnerRepricingConfig( com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest request)6226         createChannelPartnerRepricingConfig(
6227             com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest request) {
6228       return io.grpc.stub.ClientCalls.blockingUnaryCall(
6229           getChannel(), getCreateChannelPartnerRepricingConfigMethod(), getCallOptions(), request);
6230     }
6231 
6232     /**
6233      *
6234      *
6235      * <pre>
6236      * Updates a ChannelPartnerRepricingConfig. Call this method to set
6237      * modifications for a specific ChannelPartner's bill. This method overwrites
6238      * the existing CustomerRepricingConfig.
6239      * You can only update configs if the
6240      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
6241      * is a future month. To make changes to configs for the current month, use
6242      * [CreateChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerRepricingConfig],
6243      * taking note of its restrictions. You cannot update the
6244      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
6245      * When updating a config in the future:
6246      * * This config must already exist.
6247      * Possible Error Codes:
6248      * * PERMISSION_DENIED: If the account making the request and the account
6249      * being queried are different.
6250      * * INVALID_ARGUMENT: Missing or invalid required parameters in the
6251      * request. Also displays if the updated config is for the current month or
6252      * past months.
6253      * * NOT_FOUND: The
6254      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
6255      * specified does not exist or is not associated with the given account.
6256      * * INTERNAL: Any non-user error related to technical issues in the
6257      * backend. In this case, contact Cloud Channel support.
6258      * Return Value:
6259      * If successful, the updated
6260      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
6261      * resource, otherwise returns an error.
6262      * </pre>
6263      */
6264     public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig
updateChannelPartnerRepricingConfig( com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest request)6265         updateChannelPartnerRepricingConfig(
6266             com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest request) {
6267       return io.grpc.stub.ClientCalls.blockingUnaryCall(
6268           getChannel(), getUpdateChannelPartnerRepricingConfigMethod(), getCallOptions(), request);
6269     }
6270 
6271     /**
6272      *
6273      *
6274      * <pre>
6275      * Deletes the given
6276      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
6277      * permanently. You can only delete configs if their
6278      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
6279      * is set to a date after the current month.
6280      * Possible error codes:
6281      * * PERMISSION_DENIED: The account making the request does not own
6282      * this customer.
6283      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
6284      * * FAILED_PRECONDITION: The
6285      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
6286      * is active or in the past.
6287      * * NOT_FOUND: No
6288      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
6289      * found for the name in the request.
6290      * </pre>
6291      */
deleteChannelPartnerRepricingConfig( com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest request)6292     public com.google.protobuf.Empty deleteChannelPartnerRepricingConfig(
6293         com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest request) {
6294       return io.grpc.stub.ClientCalls.blockingUnaryCall(
6295           getChannel(), getDeleteChannelPartnerRepricingConfigMethod(), getCallOptions(), request);
6296     }
6297 
6298     /**
6299      *
6300      *
6301      * <pre>
6302      * Returns the requested [Offer][google.cloud.channel.v1.Offer] resource.
6303      * Possible error codes:
6304      * * PERMISSION_DENIED: The entitlement doesn't belong to the reseller.
6305      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
6306      * * NOT_FOUND: Entitlement or offer was not found.
6307      * Return value:
6308      * The [Offer][google.cloud.channel.v1.Offer] resource.
6309      * </pre>
6310      */
lookupOffer( com.google.cloud.channel.v1.LookupOfferRequest request)6311     public com.google.cloud.channel.v1.Offer lookupOffer(
6312         com.google.cloud.channel.v1.LookupOfferRequest request) {
6313       return io.grpc.stub.ClientCalls.blockingUnaryCall(
6314           getChannel(), getLookupOfferMethod(), getCallOptions(), request);
6315     }
6316 
6317     /**
6318      *
6319      *
6320      * <pre>
6321      * Lists the Products the reseller is authorized to sell.
6322      * Possible error codes:
6323      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
6324      * </pre>
6325      */
listProducts( com.google.cloud.channel.v1.ListProductsRequest request)6326     public com.google.cloud.channel.v1.ListProductsResponse listProducts(
6327         com.google.cloud.channel.v1.ListProductsRequest request) {
6328       return io.grpc.stub.ClientCalls.blockingUnaryCall(
6329           getChannel(), getListProductsMethod(), getCallOptions(), request);
6330     }
6331 
6332     /**
6333      *
6334      *
6335      * <pre>
6336      * Lists the SKUs for a product the reseller is authorized to sell.
6337      * Possible error codes:
6338      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
6339      * </pre>
6340      */
listSkus( com.google.cloud.channel.v1.ListSkusRequest request)6341     public com.google.cloud.channel.v1.ListSkusResponse listSkus(
6342         com.google.cloud.channel.v1.ListSkusRequest request) {
6343       return io.grpc.stub.ClientCalls.blockingUnaryCall(
6344           getChannel(), getListSkusMethod(), getCallOptions(), request);
6345     }
6346 
6347     /**
6348      *
6349      *
6350      * <pre>
6351      * Lists the Offers the reseller can sell.
6352      * Possible error codes:
6353      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
6354      * </pre>
6355      */
listOffers( com.google.cloud.channel.v1.ListOffersRequest request)6356     public com.google.cloud.channel.v1.ListOffersResponse listOffers(
6357         com.google.cloud.channel.v1.ListOffersRequest request) {
6358       return io.grpc.stub.ClientCalls.blockingUnaryCall(
6359           getChannel(), getListOffersMethod(), getCallOptions(), request);
6360     }
6361 
6362     /**
6363      *
6364      *
6365      * <pre>
6366      * Lists the following:
6367      * * SKUs that you can purchase for a customer
6368      * * SKUs that you can upgrade or downgrade for an entitlement.
6369      * Possible error codes:
6370      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
6371      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
6372      * </pre>
6373      */
listPurchasableSkus( com.google.cloud.channel.v1.ListPurchasableSkusRequest request)6374     public com.google.cloud.channel.v1.ListPurchasableSkusResponse listPurchasableSkus(
6375         com.google.cloud.channel.v1.ListPurchasableSkusRequest request) {
6376       return io.grpc.stub.ClientCalls.blockingUnaryCall(
6377           getChannel(), getListPurchasableSkusMethod(), getCallOptions(), request);
6378     }
6379 
6380     /**
6381      *
6382      *
6383      * <pre>
6384      * Lists the following:
6385      * * Offers that you can purchase for a customer.
6386      * * Offers that you can change for an entitlement.
6387      * Possible error codes:
6388      * * PERMISSION_DENIED: The customer doesn't belong to the reseller
6389      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
6390      * </pre>
6391      */
listPurchasableOffers( com.google.cloud.channel.v1.ListPurchasableOffersRequest request)6392     public com.google.cloud.channel.v1.ListPurchasableOffersResponse listPurchasableOffers(
6393         com.google.cloud.channel.v1.ListPurchasableOffersRequest request) {
6394       return io.grpc.stub.ClientCalls.blockingUnaryCall(
6395           getChannel(), getListPurchasableOffersMethod(), getCallOptions(), request);
6396     }
6397 
6398     /**
6399      *
6400      *
6401      * <pre>
6402      * Registers a service account with subscriber privileges on the Cloud Pub/Sub
6403      * topic for this Channel Services account. After you create a
6404      * subscriber, you get the events through
6405      * [SubscriberEvent][google.cloud.channel.v1.SubscriberEvent]
6406      * Possible error codes:
6407      * * PERMISSION_DENIED: The reseller account making the request and the
6408      * provided reseller account are different, or the impersonated user
6409      * is not a super admin.
6410      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
6411      * * INTERNAL: Any non-user error related to a technical issue in the
6412      * backend. Contact Cloud Channel support.
6413      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
6414      * Contact Cloud Channel support.
6415      * Return value:
6416      * The topic name with the registered service email address.
6417      * </pre>
6418      */
registerSubscriber( com.google.cloud.channel.v1.RegisterSubscriberRequest request)6419     public com.google.cloud.channel.v1.RegisterSubscriberResponse registerSubscriber(
6420         com.google.cloud.channel.v1.RegisterSubscriberRequest request) {
6421       return io.grpc.stub.ClientCalls.blockingUnaryCall(
6422           getChannel(), getRegisterSubscriberMethod(), getCallOptions(), request);
6423     }
6424 
6425     /**
6426      *
6427      *
6428      * <pre>
6429      * Unregisters a service account with subscriber privileges on the Cloud
6430      * Pub/Sub topic created for this Channel Services account. If there are no
6431      * service accounts left with subscriber privileges, this deletes the topic.
6432      * You can call ListSubscribers to check for these accounts.
6433      * Possible error codes:
6434      * * PERMISSION_DENIED: The reseller account making the request and the
6435      * provided reseller account are different, or the impersonated user
6436      * is not a super admin.
6437      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
6438      * * NOT_FOUND: The topic resource doesn't exist.
6439      * * INTERNAL: Any non-user error related to a technical issue in the
6440      * backend. Contact Cloud Channel support.
6441      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
6442      * Contact Cloud Channel support.
6443      * Return value:
6444      * The topic name that unregistered the service email address.
6445      * Returns a success response if the service email address wasn't registered
6446      * with the topic.
6447      * </pre>
6448      */
unregisterSubscriber( com.google.cloud.channel.v1.UnregisterSubscriberRequest request)6449     public com.google.cloud.channel.v1.UnregisterSubscriberResponse unregisterSubscriber(
6450         com.google.cloud.channel.v1.UnregisterSubscriberRequest request) {
6451       return io.grpc.stub.ClientCalls.blockingUnaryCall(
6452           getChannel(), getUnregisterSubscriberMethod(), getCallOptions(), request);
6453     }
6454 
6455     /**
6456      *
6457      *
6458      * <pre>
6459      * Lists service accounts with subscriber privileges on the Cloud Pub/Sub
6460      * topic created for this Channel Services account.
6461      * Possible error codes:
6462      * * PERMISSION_DENIED: The reseller account making the request and the
6463      * provided reseller account are different, or the impersonated user
6464      * is not a super admin.
6465      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
6466      * * NOT_FOUND: The topic resource doesn't exist.
6467      * * INTERNAL: Any non-user error related to a technical issue in the
6468      * backend. Contact Cloud Channel support.
6469      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
6470      * Contact Cloud Channel support.
6471      * Return value:
6472      * A list of service email addresses.
6473      * </pre>
6474      */
listSubscribers( com.google.cloud.channel.v1.ListSubscribersRequest request)6475     public com.google.cloud.channel.v1.ListSubscribersResponse listSubscribers(
6476         com.google.cloud.channel.v1.ListSubscribersRequest request) {
6477       return io.grpc.stub.ClientCalls.blockingUnaryCall(
6478           getChannel(), getListSubscribersMethod(), getCallOptions(), request);
6479     }
6480 
6481     /**
6482      *
6483      *
6484      * <pre>
6485      * List entitlement history.
6486      * Possible error codes:
6487      * * PERMISSION_DENIED: The reseller account making the request and the
6488      * provided reseller account are different.
6489      * * INVALID_ARGUMENT: Missing or invalid required fields in the request.
6490      * * NOT_FOUND: The parent resource doesn't exist. Usually the result of an
6491      * invalid name parameter.
6492      * * INTERNAL: Any non-user error related to a technical issue in the backend.
6493      * In this case, contact CloudChannel support.
6494      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
6495      * In this case, contact Cloud Channel support.
6496      * Return value:
6497      * List of [EntitlementChange][google.cloud.channel.v1.EntitlementChange]s.
6498      * </pre>
6499      */
listEntitlementChanges( com.google.cloud.channel.v1.ListEntitlementChangesRequest request)6500     public com.google.cloud.channel.v1.ListEntitlementChangesResponse listEntitlementChanges(
6501         com.google.cloud.channel.v1.ListEntitlementChangesRequest request) {
6502       return io.grpc.stub.ClientCalls.blockingUnaryCall(
6503           getChannel(), getListEntitlementChangesMethod(), getCallOptions(), request);
6504     }
6505   }
6506 
6507   /**
6508    * A stub to allow clients to do ListenableFuture-style rpc calls to service CloudChannelService.
6509    *
6510    * <pre>
6511    * CloudChannelService lets Google cloud resellers and distributors manage
6512    * their customers, channel partners, entitlements, and reports.
6513    * Using this service:
6514    * 1. Resellers and distributors can manage a customer entity.
6515    * 2. Distributors can register an authorized reseller in their channel and
6516    *    provide them with delegated admin access.
6517    * 3. Resellers and distributors can manage customer entitlements.
6518    * CloudChannelService exposes the following resources:
6519    * - [Customer][google.cloud.channel.v1.Customer]s: An entity-usually an
6520    * enterprise-managed by a reseller or distributor.
6521    * - [Entitlement][google.cloud.channel.v1.Entitlement]s: An entity that
6522    * provides a customer with the means to use a service. Entitlements are created
6523    * or updated as a result of a successful fulfillment.
6524    * - [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s: An
6525    * entity that identifies links between distributors and their indirect
6526    * resellers in a channel.
6527    * </pre>
6528    */
6529   public static final class CloudChannelServiceFutureStub
6530       extends io.grpc.stub.AbstractFutureStub<CloudChannelServiceFutureStub> {
CloudChannelServiceFutureStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions)6531     private CloudChannelServiceFutureStub(
6532         io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
6533       super(channel, callOptions);
6534     }
6535 
6536     @java.lang.Override
build( io.grpc.Channel channel, io.grpc.CallOptions callOptions)6537     protected CloudChannelServiceFutureStub build(
6538         io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
6539       return new CloudChannelServiceFutureStub(channel, callOptions);
6540     }
6541 
6542     /**
6543      *
6544      *
6545      * <pre>
6546      * List [Customer][google.cloud.channel.v1.Customer]s.
6547      * Possible error codes:
6548      * * PERMISSION_DENIED: The reseller account making the request is different
6549      * from the reseller account in the API request.
6550      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
6551      * Return value:
6552      * List of [Customer][google.cloud.channel.v1.Customer]s, or an empty list if
6553      * there are no customers.
6554      * </pre>
6555      */
6556     public com.google.common.util.concurrent.ListenableFuture<
6557             com.google.cloud.channel.v1.ListCustomersResponse>
listCustomers(com.google.cloud.channel.v1.ListCustomersRequest request)6558         listCustomers(com.google.cloud.channel.v1.ListCustomersRequest request) {
6559       return io.grpc.stub.ClientCalls.futureUnaryCall(
6560           getChannel().newCall(getListCustomersMethod(), getCallOptions()), request);
6561     }
6562 
6563     /**
6564      *
6565      *
6566      * <pre>
6567      * Returns the requested [Customer][google.cloud.channel.v1.Customer]
6568      * resource.
6569      * Possible error codes:
6570      * * PERMISSION_DENIED: The reseller account making the request is different
6571      * from the reseller account in the API request.
6572      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
6573      * * NOT_FOUND: The customer resource doesn't exist. Usually the result of an
6574      * invalid name parameter.
6575      * Return value:
6576      * The [Customer][google.cloud.channel.v1.Customer] resource.
6577      * </pre>
6578      */
6579     public com.google.common.util.concurrent.ListenableFuture<com.google.cloud.channel.v1.Customer>
getCustomer(com.google.cloud.channel.v1.GetCustomerRequest request)6580         getCustomer(com.google.cloud.channel.v1.GetCustomerRequest request) {
6581       return io.grpc.stub.ClientCalls.futureUnaryCall(
6582           getChannel().newCall(getGetCustomerMethod(), getCallOptions()), request);
6583     }
6584 
6585     /**
6586      *
6587      *
6588      * <pre>
6589      * Confirms the existence of Cloud Identity accounts based on the domain and
6590      * if the Cloud Identity accounts are owned by the reseller.
6591      * Possible error codes:
6592      * * PERMISSION_DENIED: The reseller account making the request is different
6593      * from the reseller account in the API request.
6594      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
6595      * * INVALID_VALUE: Invalid domain value in the request.
6596      * Return value:
6597      * A list of
6598      * [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount]
6599      * resources for the domain (may be empty)
6600      * Note: in the v1alpha1 version of the API, a NOT_FOUND error returns if
6601      * no
6602      * [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount]
6603      * resources match the domain.
6604      * </pre>
6605      */
6606     public com.google.common.util.concurrent.ListenableFuture<
6607             com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse>
checkCloudIdentityAccountsExist( com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest request)6608         checkCloudIdentityAccountsExist(
6609             com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest request) {
6610       return io.grpc.stub.ClientCalls.futureUnaryCall(
6611           getChannel().newCall(getCheckCloudIdentityAccountsExistMethod(), getCallOptions()),
6612           request);
6613     }
6614 
6615     /**
6616      *
6617      *
6618      * <pre>
6619      * Creates a new [Customer][google.cloud.channel.v1.Customer] resource under
6620      * the reseller or distributor account.
6621      * Possible error codes:
6622      * * PERMISSION_DENIED: The reseller account making the request is different
6623      * from the reseller account in the API request.
6624      * * INVALID_ARGUMENT:
6625      *     * Required request parameters are missing or invalid.
6626      *     * Domain field value doesn't match the primary email domain.
6627      * Return value:
6628      * The newly created [Customer][google.cloud.channel.v1.Customer] resource.
6629      * </pre>
6630      */
6631     public com.google.common.util.concurrent.ListenableFuture<com.google.cloud.channel.v1.Customer>
createCustomer(com.google.cloud.channel.v1.CreateCustomerRequest request)6632         createCustomer(com.google.cloud.channel.v1.CreateCustomerRequest request) {
6633       return io.grpc.stub.ClientCalls.futureUnaryCall(
6634           getChannel().newCall(getCreateCustomerMethod(), getCallOptions()), request);
6635     }
6636 
6637     /**
6638      *
6639      *
6640      * <pre>
6641      * Updates an existing [Customer][google.cloud.channel.v1.Customer] resource
6642      * for the reseller or distributor.
6643      * Possible error codes:
6644      * * PERMISSION_DENIED: The reseller account making the request is different
6645      * from the reseller account in the API request.
6646      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
6647      * * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found
6648      * for the name in the request.
6649      * Return value:
6650      * The updated [Customer][google.cloud.channel.v1.Customer] resource.
6651      * </pre>
6652      */
6653     public com.google.common.util.concurrent.ListenableFuture<com.google.cloud.channel.v1.Customer>
updateCustomer(com.google.cloud.channel.v1.UpdateCustomerRequest request)6654         updateCustomer(com.google.cloud.channel.v1.UpdateCustomerRequest request) {
6655       return io.grpc.stub.ClientCalls.futureUnaryCall(
6656           getChannel().newCall(getUpdateCustomerMethod(), getCallOptions()), request);
6657     }
6658 
6659     /**
6660      *
6661      *
6662      * <pre>
6663      * Deletes the given [Customer][google.cloud.channel.v1.Customer] permanently.
6664      * Possible error codes:
6665      * * PERMISSION_DENIED: The account making the request does not own
6666      * this customer.
6667      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
6668      * * FAILED_PRECONDITION: The customer has existing entitlements.
6669      * * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found
6670      * for the name in the request.
6671      * </pre>
6672      */
6673     public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
deleteCustomer(com.google.cloud.channel.v1.DeleteCustomerRequest request)6674         deleteCustomer(com.google.cloud.channel.v1.DeleteCustomerRequest request) {
6675       return io.grpc.stub.ClientCalls.futureUnaryCall(
6676           getChannel().newCall(getDeleteCustomerMethod(), getCallOptions()), request);
6677     }
6678 
6679     /**
6680      *
6681      *
6682      * <pre>
6683      * Imports a [Customer][google.cloud.channel.v1.Customer] from the Cloud
6684      * Identity associated with the provided Cloud Identity ID or domain before a
6685      * TransferEntitlements call. If a linked Customer already exists and
6686      * overwrite_if_exists is true, it will update that Customer's data.
6687      * Possible error codes:
6688      * * PERMISSION_DENIED: The reseller account making the request is different
6689      * from the reseller account in the API request.
6690      * * NOT_FOUND: Cloud Identity doesn't exist or was deleted.
6691      * * INVALID_ARGUMENT: Required parameters are missing, or the auth_token is
6692      * expired or invalid.
6693      * * ALREADY_EXISTS: A customer already exists and has conflicting critical
6694      * fields. Requires an overwrite.
6695      * Return value:
6696      * The [Customer][google.cloud.channel.v1.Customer].
6697      * </pre>
6698      */
6699     public com.google.common.util.concurrent.ListenableFuture<com.google.cloud.channel.v1.Customer>
importCustomer(com.google.cloud.channel.v1.ImportCustomerRequest request)6700         importCustomer(com.google.cloud.channel.v1.ImportCustomerRequest request) {
6701       return io.grpc.stub.ClientCalls.futureUnaryCall(
6702           getChannel().newCall(getImportCustomerMethod(), getCallOptions()), request);
6703     }
6704 
6705     /**
6706      *
6707      *
6708      * <pre>
6709      * Creates a Cloud Identity for the given customer using the customer's
6710      * information, or the information provided here.
6711      * Possible error codes:
6712      * *  PERMISSION_DENIED: The customer doesn't belong to the reseller.
6713      * *  INVALID_ARGUMENT: Required request parameters are missing or invalid.
6714      * *  NOT_FOUND: The customer was not found.
6715      * *  ALREADY_EXISTS: The customer's primary email already exists. Retry
6716      *    after changing the customer's primary contact email.
6717      * * INTERNAL: Any non-user error related to a technical issue in the
6718      * backend. Contact Cloud Channel support.
6719      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
6720      * Contact Cloud Channel support.
6721      * Return value:
6722      * The ID of a long-running operation.
6723      * To get the results of the operation, call the GetOperation method of
6724      * CloudChannelOperationsService. The Operation metadata contains an
6725      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
6726      * </pre>
6727      */
6728     public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
provisionCloudIdentity(com.google.cloud.channel.v1.ProvisionCloudIdentityRequest request)6729         provisionCloudIdentity(com.google.cloud.channel.v1.ProvisionCloudIdentityRequest request) {
6730       return io.grpc.stub.ClientCalls.futureUnaryCall(
6731           getChannel().newCall(getProvisionCloudIdentityMethod(), getCallOptions()), request);
6732     }
6733 
6734     /**
6735      *
6736      *
6737      * <pre>
6738      * Lists [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to a
6739      * customer.
6740      * Possible error codes:
6741      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
6742      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
6743      * Return value:
6744      * A list of the customer's
6745      * [Entitlement][google.cloud.channel.v1.Entitlement]s.
6746      * </pre>
6747      */
6748     public com.google.common.util.concurrent.ListenableFuture<
6749             com.google.cloud.channel.v1.ListEntitlementsResponse>
listEntitlements(com.google.cloud.channel.v1.ListEntitlementsRequest request)6750         listEntitlements(com.google.cloud.channel.v1.ListEntitlementsRequest request) {
6751       return io.grpc.stub.ClientCalls.futureUnaryCall(
6752           getChannel().newCall(getListEntitlementsMethod(), getCallOptions()), request);
6753     }
6754 
6755     /**
6756      *
6757      *
6758      * <pre>
6759      * List [TransferableSku][google.cloud.channel.v1.TransferableSku]s of a
6760      * customer based on the Cloud Identity ID or Customer Name in the request.
6761      * Use this method to list the entitlements information of an
6762      * unowned customer. You should provide the customer's
6763      * Cloud Identity ID or Customer Name.
6764      * Possible error codes:
6765      * * PERMISSION_DENIED:
6766      *     * The customer doesn't belong to the reseller and has no auth token.
6767      *     * The supplied auth token is invalid.
6768      *     * The reseller account making the request is different
6769      *     from the reseller account in the query.
6770      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
6771      * Return value:
6772      * A list of the customer's
6773      * [TransferableSku][google.cloud.channel.v1.TransferableSku].
6774      * </pre>
6775      */
6776     public com.google.common.util.concurrent.ListenableFuture<
6777             com.google.cloud.channel.v1.ListTransferableSkusResponse>
listTransferableSkus(com.google.cloud.channel.v1.ListTransferableSkusRequest request)6778         listTransferableSkus(com.google.cloud.channel.v1.ListTransferableSkusRequest request) {
6779       return io.grpc.stub.ClientCalls.futureUnaryCall(
6780           getChannel().newCall(getListTransferableSkusMethod(), getCallOptions()), request);
6781     }
6782 
6783     /**
6784      *
6785      *
6786      * <pre>
6787      * List [TransferableOffer][google.cloud.channel.v1.TransferableOffer]s of a
6788      * customer based on Cloud Identity ID or Customer Name in the request.
6789      * Use this method when a reseller gets the entitlement information of an
6790      * unowned customer. The reseller should provide the customer's
6791      * Cloud Identity ID or Customer Name.
6792      * Possible error codes:
6793      * * PERMISSION_DENIED:
6794      *     * The customer doesn't belong to the reseller and has no auth token.
6795      *     * The customer provided incorrect reseller information when generating
6796      *     auth token.
6797      *     * The reseller account making the request is different
6798      *     from the reseller account in the query.
6799      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
6800      * Return value:
6801      * List of [TransferableOffer][google.cloud.channel.v1.TransferableOffer] for
6802      * the given customer and SKU.
6803      * </pre>
6804      */
6805     public com.google.common.util.concurrent.ListenableFuture<
6806             com.google.cloud.channel.v1.ListTransferableOffersResponse>
listTransferableOffers(com.google.cloud.channel.v1.ListTransferableOffersRequest request)6807         listTransferableOffers(com.google.cloud.channel.v1.ListTransferableOffersRequest request) {
6808       return io.grpc.stub.ClientCalls.futureUnaryCall(
6809           getChannel().newCall(getListTransferableOffersMethod(), getCallOptions()), request);
6810     }
6811 
6812     /**
6813      *
6814      *
6815      * <pre>
6816      * Returns the requested [Entitlement][google.cloud.channel.v1.Entitlement]
6817      * resource.
6818      * Possible error codes:
6819      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
6820      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
6821      * * NOT_FOUND: The customer entitlement was not found.
6822      * Return value:
6823      * The requested [Entitlement][google.cloud.channel.v1.Entitlement] resource.
6824      * </pre>
6825      */
6826     public com.google.common.util.concurrent.ListenableFuture<
6827             com.google.cloud.channel.v1.Entitlement>
getEntitlement(com.google.cloud.channel.v1.GetEntitlementRequest request)6828         getEntitlement(com.google.cloud.channel.v1.GetEntitlementRequest request) {
6829       return io.grpc.stub.ClientCalls.futureUnaryCall(
6830           getChannel().newCall(getGetEntitlementMethod(), getCallOptions()), request);
6831     }
6832 
6833     /**
6834      *
6835      *
6836      * <pre>
6837      * Creates an entitlement for a customer.
6838      * Possible error codes:
6839      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
6840      * * INVALID_ARGUMENT:
6841      *     * Required request parameters are missing or invalid.
6842      *     * There is already a customer entitlement for a SKU from the same
6843      *     product family.
6844      * * INVALID_VALUE: Make sure the OfferId is valid. If it is, contact
6845      * Google Channel support for further troubleshooting.
6846      * * NOT_FOUND: The customer or offer resource was not found.
6847      * * ALREADY_EXISTS:
6848      *     * The SKU was already purchased for the customer.
6849      *     * The customer's primary email already exists. Retry
6850      *     after changing the customer's primary contact email.
6851      * * CONDITION_NOT_MET or FAILED_PRECONDITION:
6852      *     * The domain required for purchasing a SKU has not been verified.
6853      *     * A pre-requisite SKU required to purchase an Add-On SKU is missing.
6854      *     For example, Google Workspace Business Starter is required to purchase
6855      *     Vault or Drive.
6856      *     * (Developer accounts only) Reseller and resold domain must meet the
6857      *     following naming requirements:
6858      *         * Domain names must start with goog-test.
6859      *         * Domain names must include the reseller domain.
6860      * * INTERNAL: Any non-user error related to a technical issue in the
6861      * backend. Contact Cloud Channel support.
6862      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
6863      * Contact Cloud Channel support.
6864      * Return value:
6865      * The ID of a long-running operation.
6866      * To get the results of the operation, call the GetOperation method of
6867      * CloudChannelOperationsService. The Operation metadata will contain an
6868      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
6869      * </pre>
6870      */
6871     public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
createEntitlement(com.google.cloud.channel.v1.CreateEntitlementRequest request)6872         createEntitlement(com.google.cloud.channel.v1.CreateEntitlementRequest request) {
6873       return io.grpc.stub.ClientCalls.futureUnaryCall(
6874           getChannel().newCall(getCreateEntitlementMethod(), getCallOptions()), request);
6875     }
6876 
6877     /**
6878      *
6879      *
6880      * <pre>
6881      * Change parameters of the entitlement.
6882      * An entitlement update is a long-running operation and it updates the
6883      * entitlement as a result of fulfillment.
6884      * Possible error codes:
6885      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
6886      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
6887      * For example, the number of seats being changed is greater than the allowed
6888      * number of max seats, or decreasing seats for a commitment based plan.
6889      * * NOT_FOUND: Entitlement resource not found.
6890      * * INTERNAL: Any non-user error related to a technical issue in the
6891      * backend. Contact Cloud Channel support.
6892      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
6893      * Contact Cloud Channel support.
6894      * Return value:
6895      * The ID of a long-running operation.
6896      * To get the results of the operation, call the GetOperation method of
6897      * CloudChannelOperationsService. The Operation metadata will contain an
6898      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
6899      * </pre>
6900      */
6901     public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
changeParameters(com.google.cloud.channel.v1.ChangeParametersRequest request)6902         changeParameters(com.google.cloud.channel.v1.ChangeParametersRequest request) {
6903       return io.grpc.stub.ClientCalls.futureUnaryCall(
6904           getChannel().newCall(getChangeParametersMethod(), getCallOptions()), request);
6905     }
6906 
6907     /**
6908      *
6909      *
6910      * <pre>
6911      * Updates the renewal settings for an existing customer entitlement.
6912      * An entitlement update is a long-running operation and it updates the
6913      * entitlement as a result of fulfillment.
6914      * Possible error codes:
6915      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
6916      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
6917      * * NOT_FOUND: Entitlement resource not found.
6918      * * NOT_COMMITMENT_PLAN: Renewal Settings are only applicable for a
6919      * commitment plan. Can't enable or disable renewals for non-commitment plans.
6920      * * INTERNAL: Any non-user error related to a technical issue in the
6921      * backend. Contact Cloud Channel support.
6922      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
6923      *   Contact Cloud Channel support.
6924      * Return value:
6925      * The ID of a long-running operation.
6926      * To get the results of the operation, call the GetOperation method of
6927      * CloudChannelOperationsService. The Operation metadata will contain an
6928      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
6929      * </pre>
6930      */
6931     public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
changeRenewalSettings(com.google.cloud.channel.v1.ChangeRenewalSettingsRequest request)6932         changeRenewalSettings(com.google.cloud.channel.v1.ChangeRenewalSettingsRequest request) {
6933       return io.grpc.stub.ClientCalls.futureUnaryCall(
6934           getChannel().newCall(getChangeRenewalSettingsMethod(), getCallOptions()), request);
6935     }
6936 
6937     /**
6938      *
6939      *
6940      * <pre>
6941      * Updates the Offer for an existing customer entitlement.
6942      * An entitlement update is a long-running operation and it updates the
6943      * entitlement as a result of fulfillment.
6944      * Possible error codes:
6945      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
6946      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
6947      * * NOT_FOUND: Offer or Entitlement resource not found.
6948      * * INTERNAL: Any non-user error related to a technical issue in the
6949      * backend. Contact Cloud Channel support.
6950      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
6951      * Contact Cloud Channel support.
6952      * Return value:
6953      * The ID of a long-running operation.
6954      * To get the results of the operation, call the GetOperation method of
6955      * CloudChannelOperationsService. The Operation metadata will contain an
6956      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
6957      * </pre>
6958      */
6959     public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
changeOffer(com.google.cloud.channel.v1.ChangeOfferRequest request)6960         changeOffer(com.google.cloud.channel.v1.ChangeOfferRequest request) {
6961       return io.grpc.stub.ClientCalls.futureUnaryCall(
6962           getChannel().newCall(getChangeOfferMethod(), getCallOptions()), request);
6963     }
6964 
6965     /**
6966      *
6967      *
6968      * <pre>
6969      * Starts paid service for a trial entitlement.
6970      * Starts paid service for a trial entitlement immediately. This method is
6971      * only applicable if a plan is set up for a trial entitlement but has some
6972      * trial days remaining.
6973      * Possible error codes:
6974      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
6975      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
6976      * * NOT_FOUND: Entitlement resource not found.
6977      * * FAILED_PRECONDITION/NOT_IN_TRIAL: This method only works for
6978      * entitlement on trial plans.
6979      * * INTERNAL: Any non-user error related to a technical issue in the
6980      * backend. Contact Cloud Channel support.
6981      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
6982      * Contact Cloud Channel support.
6983      * Return value:
6984      * The ID of a long-running operation.
6985      * To get the results of the operation, call the GetOperation method of
6986      * CloudChannelOperationsService. The Operation metadata will contain an
6987      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
6988      * </pre>
6989      */
6990     public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
startPaidService(com.google.cloud.channel.v1.StartPaidServiceRequest request)6991         startPaidService(com.google.cloud.channel.v1.StartPaidServiceRequest request) {
6992       return io.grpc.stub.ClientCalls.futureUnaryCall(
6993           getChannel().newCall(getStartPaidServiceMethod(), getCallOptions()), request);
6994     }
6995 
6996     /**
6997      *
6998      *
6999      * <pre>
7000      * Suspends a previously fulfilled entitlement.
7001      * An entitlement suspension is a long-running operation.
7002      * Possible error codes:
7003      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
7004      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
7005      * * NOT_FOUND: Entitlement resource not found.
7006      * * NOT_ACTIVE: Entitlement is not active.
7007      * * INTERNAL: Any non-user error related to a technical issue in the
7008      * backend. Contact Cloud Channel support.
7009      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
7010      * Contact Cloud Channel support.
7011      * Return value:
7012      * The ID of a long-running operation.
7013      * To get the results of the operation, call the GetOperation method of
7014      * CloudChannelOperationsService. The Operation metadata will contain an
7015      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
7016      * </pre>
7017      */
7018     public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
suspendEntitlement(com.google.cloud.channel.v1.SuspendEntitlementRequest request)7019         suspendEntitlement(com.google.cloud.channel.v1.SuspendEntitlementRequest request) {
7020       return io.grpc.stub.ClientCalls.futureUnaryCall(
7021           getChannel().newCall(getSuspendEntitlementMethod(), getCallOptions()), request);
7022     }
7023 
7024     /**
7025      *
7026      *
7027      * <pre>
7028      * Cancels a previously fulfilled entitlement.
7029      * An entitlement cancellation is a long-running operation.
7030      * Possible error codes:
7031      * * PERMISSION_DENIED: The reseller account making the request is different
7032      * from the reseller account in the API request.
7033      * * FAILED_PRECONDITION: There are Google Cloud projects linked to the
7034      * Google Cloud entitlement's Cloud Billing subaccount.
7035      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
7036      * * NOT_FOUND: Entitlement resource not found.
7037      * * DELETION_TYPE_NOT_ALLOWED: Cancel is only allowed for Google Workspace
7038      * add-ons, or entitlements for Google Cloud's development platform.
7039      * * INTERNAL: Any non-user error related to a technical issue in the
7040      * backend. Contact Cloud Channel support.
7041      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
7042      * Contact Cloud Channel support.
7043      * Return value:
7044      * The ID of a long-running operation.
7045      * To get the results of the operation, call the GetOperation method of
7046      * CloudChannelOperationsService. The response will contain
7047      * google.protobuf.Empty on success. The Operation metadata will contain an
7048      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
7049      * </pre>
7050      */
7051     public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
cancelEntitlement(com.google.cloud.channel.v1.CancelEntitlementRequest request)7052         cancelEntitlement(com.google.cloud.channel.v1.CancelEntitlementRequest request) {
7053       return io.grpc.stub.ClientCalls.futureUnaryCall(
7054           getChannel().newCall(getCancelEntitlementMethod(), getCallOptions()), request);
7055     }
7056 
7057     /**
7058      *
7059      *
7060      * <pre>
7061      * Activates a previously suspended entitlement. Entitlements suspended for
7062      * pending ToS acceptance can't be activated using this method.
7063      * An entitlement activation is a long-running operation and it updates
7064      * the state of the customer entitlement.
7065      * Possible error codes:
7066      * * PERMISSION_DENIED: The reseller account making the request is different
7067      * from the reseller account in the API request.
7068      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
7069      * * NOT_FOUND: Entitlement resource not found.
7070      * * SUSPENSION_NOT_RESELLER_INITIATED: Can only activate reseller-initiated
7071      * suspensions and entitlements that have accepted the TOS.
7072      * * NOT_SUSPENDED: Can only activate suspended entitlements not in an ACTIVE
7073      * state.
7074      * * INTERNAL: Any non-user error related to a technical issue in the
7075      * backend. Contact Cloud Channel support.
7076      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
7077      * Contact Cloud Channel support.
7078      * Return value:
7079      * The ID of a long-running operation.
7080      * To get the results of the operation, call the GetOperation method of
7081      * CloudChannelOperationsService. The Operation metadata will contain an
7082      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
7083      * </pre>
7084      */
7085     public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
activateEntitlement(com.google.cloud.channel.v1.ActivateEntitlementRequest request)7086         activateEntitlement(com.google.cloud.channel.v1.ActivateEntitlementRequest request) {
7087       return io.grpc.stub.ClientCalls.futureUnaryCall(
7088           getChannel().newCall(getActivateEntitlementMethod(), getCallOptions()), request);
7089     }
7090 
7091     /**
7092      *
7093      *
7094      * <pre>
7095      * Transfers customer entitlements to new reseller.
7096      * Possible error codes:
7097      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
7098      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
7099      * * NOT_FOUND: The customer or offer resource was not found.
7100      * * ALREADY_EXISTS: The SKU was already transferred for the customer.
7101      * * CONDITION_NOT_MET or FAILED_PRECONDITION:
7102      *     * The SKU requires domain verification to transfer, but the domain is
7103      *     not verified.
7104      *     * An Add-On SKU (example, Vault or Drive) is missing the
7105      *     pre-requisite SKU (example, G Suite Basic).
7106      *     * (Developer accounts only) Reseller and resold domain must meet the
7107      *     following naming requirements:
7108      *         * Domain names must start with goog-test.
7109      *         * Domain names must include the reseller domain.
7110      *     * Specify all transferring entitlements.
7111      * * INTERNAL: Any non-user error related to a technical issue in the
7112      * backend. Contact Cloud Channel support.
7113      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
7114      * Contact Cloud Channel support.
7115      * Return value:
7116      * The ID of a long-running operation.
7117      * To get the results of the operation, call the GetOperation method of
7118      * CloudChannelOperationsService. The Operation metadata will contain an
7119      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
7120      * </pre>
7121      */
7122     public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
transferEntitlements(com.google.cloud.channel.v1.TransferEntitlementsRequest request)7123         transferEntitlements(com.google.cloud.channel.v1.TransferEntitlementsRequest request) {
7124       return io.grpc.stub.ClientCalls.futureUnaryCall(
7125           getChannel().newCall(getTransferEntitlementsMethod(), getCallOptions()), request);
7126     }
7127 
7128     /**
7129      *
7130      *
7131      * <pre>
7132      * Transfers customer entitlements from their current reseller to Google.
7133      * Possible error codes:
7134      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
7135      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
7136      * * NOT_FOUND: The customer or offer resource was not found.
7137      * * ALREADY_EXISTS: The SKU was already transferred for the customer.
7138      * * CONDITION_NOT_MET or FAILED_PRECONDITION:
7139      *     * The SKU requires domain verification to transfer, but the domain is
7140      *     not verified.
7141      *     * An Add-On SKU (example, Vault or Drive) is missing the
7142      *     pre-requisite SKU (example, G Suite Basic).
7143      *     * (Developer accounts only) Reseller and resold domain must meet the
7144      *     following naming requirements:
7145      *         * Domain names must start with goog-test.
7146      *         * Domain names must include the reseller domain.
7147      * * INTERNAL: Any non-user error related to a technical issue in the
7148      * backend. Contact Cloud Channel support.
7149      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
7150      * Contact Cloud Channel support.
7151      * Return value:
7152      * The ID of a long-running operation.
7153      * To get the results of the operation, call the GetOperation method of
7154      * CloudChannelOperationsService. The response will contain
7155      * google.protobuf.Empty on success. The Operation metadata will contain an
7156      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
7157      * </pre>
7158      */
7159     public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
transferEntitlementsToGoogle( com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest request)7160         transferEntitlementsToGoogle(
7161             com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest request) {
7162       return io.grpc.stub.ClientCalls.futureUnaryCall(
7163           getChannel().newCall(getTransferEntitlementsToGoogleMethod(), getCallOptions()), request);
7164     }
7165 
7166     /**
7167      *
7168      *
7169      * <pre>
7170      * List [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s
7171      * belonging to a distributor. You must be a distributor to call this method.
7172      * Possible error codes:
7173      * * PERMISSION_DENIED: The reseller account making the request is different
7174      * from the reseller account in the API request.
7175      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
7176      * Return value:
7177      * The list of the distributor account's
7178      * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resources.
7179      * </pre>
7180      */
7181     public com.google.common.util.concurrent.ListenableFuture<
7182             com.google.cloud.channel.v1.ListChannelPartnerLinksResponse>
listChannelPartnerLinks( com.google.cloud.channel.v1.ListChannelPartnerLinksRequest request)7183         listChannelPartnerLinks(
7184             com.google.cloud.channel.v1.ListChannelPartnerLinksRequest request) {
7185       return io.grpc.stub.ClientCalls.futureUnaryCall(
7186           getChannel().newCall(getListChannelPartnerLinksMethod(), getCallOptions()), request);
7187     }
7188 
7189     /**
7190      *
7191      *
7192      * <pre>
7193      * Returns the requested
7194      * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
7195      * You must be a distributor to call this method.
7196      * Possible error codes:
7197      * * PERMISSION_DENIED: The reseller account making the request is different
7198      * from the reseller account in the API request.
7199      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
7200      * * NOT_FOUND: ChannelPartnerLink resource not found because of an
7201      * invalid channel partner link name.
7202      * Return value:
7203      * The [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]
7204      * resource.
7205      * </pre>
7206      */
7207     public com.google.common.util.concurrent.ListenableFuture<
7208             com.google.cloud.channel.v1.ChannelPartnerLink>
getChannelPartnerLink(com.google.cloud.channel.v1.GetChannelPartnerLinkRequest request)7209         getChannelPartnerLink(com.google.cloud.channel.v1.GetChannelPartnerLinkRequest request) {
7210       return io.grpc.stub.ClientCalls.futureUnaryCall(
7211           getChannel().newCall(getGetChannelPartnerLinkMethod(), getCallOptions()), request);
7212     }
7213 
7214     /**
7215      *
7216      *
7217      * <pre>
7218      * Initiates a channel partner link between a distributor and a reseller, or
7219      * between resellers in an n-tier reseller channel.
7220      * Invited partners need to follow the invite_link_uri provided in the
7221      * response to accept. After accepting the invitation, a link is set up
7222      * between the two parties.
7223      * You must be a distributor to call this method.
7224      * Possible error codes:
7225      * * PERMISSION_DENIED: The reseller account making the request is different
7226      * from the reseller account in the API request.
7227      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
7228      * * ALREADY_EXISTS: The ChannelPartnerLink sent in the request already
7229      * exists.
7230      * * NOT_FOUND: No Cloud Identity customer exists for provided domain.
7231      * * INTERNAL: Any non-user error related to a technical issue in the
7232      * backend. Contact Cloud Channel support.
7233      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
7234      * Contact Cloud Channel support.
7235      * Return value:
7236      * The new [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]
7237      * resource.
7238      * </pre>
7239      */
7240     public com.google.common.util.concurrent.ListenableFuture<
7241             com.google.cloud.channel.v1.ChannelPartnerLink>
createChannelPartnerLink( com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest request)7242         createChannelPartnerLink(
7243             com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest request) {
7244       return io.grpc.stub.ClientCalls.futureUnaryCall(
7245           getChannel().newCall(getCreateChannelPartnerLinkMethod(), getCallOptions()), request);
7246     }
7247 
7248     /**
7249      *
7250      *
7251      * <pre>
7252      * Updates a channel partner link. Distributors call this method to change a
7253      * link's status. For example, to suspend a partner link.
7254      * You must be a distributor to call this method.
7255      * Possible error codes:
7256      * * PERMISSION_DENIED: The reseller account making the request is different
7257      * from the reseller account in the API request.
7258      * * INVALID_ARGUMENT:
7259      *     * Required request parameters are missing or invalid.
7260      *     * Link state cannot change from invited to active or suspended.
7261      *     * Cannot send reseller_cloud_identity_id, invite_url, or name in update
7262      *     mask.
7263      * * NOT_FOUND: ChannelPartnerLink resource not found.
7264      * * INTERNAL: Any non-user error related to a technical issue in the
7265      * backend. Contact Cloud Channel support.
7266      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
7267      * Contact Cloud Channel support.
7268      * Return value:
7269      * The updated
7270      * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
7271      * </pre>
7272      */
7273     public com.google.common.util.concurrent.ListenableFuture<
7274             com.google.cloud.channel.v1.ChannelPartnerLink>
updateChannelPartnerLink( com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest request)7275         updateChannelPartnerLink(
7276             com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest request) {
7277       return io.grpc.stub.ClientCalls.futureUnaryCall(
7278           getChannel().newCall(getUpdateChannelPartnerLinkMethod(), getCallOptions()), request);
7279     }
7280 
7281     /**
7282      *
7283      *
7284      * <pre>
7285      * Gets information about how a Reseller modifies their bill before sending
7286      * it to a Customer.
7287      * Possible Error Codes:
7288      * * PERMISSION_DENIED: If the account making the request and the account
7289      * being queried are different.
7290      * * NOT_FOUND: The
7291      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
7292      * was not found.
7293      * * INTERNAL: Any non-user error related to technical issues in the
7294      * backend. In this case, contact Cloud Channel support.
7295      * Return Value:
7296      * If successful, the
7297      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
7298      * resource, otherwise returns an error.
7299      * </pre>
7300      */
7301     public com.google.common.util.concurrent.ListenableFuture<
7302             com.google.cloud.channel.v1.CustomerRepricingConfig>
getCustomerRepricingConfig( com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest request)7303         getCustomerRepricingConfig(
7304             com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest request) {
7305       return io.grpc.stub.ClientCalls.futureUnaryCall(
7306           getChannel().newCall(getGetCustomerRepricingConfigMethod(), getCallOptions()), request);
7307     }
7308 
7309     /**
7310      *
7311      *
7312      * <pre>
7313      * Lists information about how a Reseller modifies their bill before sending
7314      * it to a Customer.
7315      * Possible Error Codes:
7316      * * PERMISSION_DENIED: If the account making the request and the account
7317      * being queried are different.
7318      * * NOT_FOUND: The
7319      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
7320      * specified does not exist or is not associated with the given account.
7321      * * INTERNAL: Any non-user error related to technical issues in the
7322      * backend. In this case, contact Cloud Channel support.
7323      * Return Value:
7324      * If successful, the
7325      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
7326      * resources. The data for each resource is displayed in the ascending order
7327      * of:
7328      * * Customer ID
7329      * * [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement]
7330      * * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
7331      * * [CustomerRepricingConfig.update_time][google.cloud.channel.v1.CustomerRepricingConfig.update_time]
7332      * If unsuccessful, returns an error.
7333      * </pre>
7334      */
7335     public com.google.common.util.concurrent.ListenableFuture<
7336             com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse>
listCustomerRepricingConfigs( com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest request)7337         listCustomerRepricingConfigs(
7338             com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest request) {
7339       return io.grpc.stub.ClientCalls.futureUnaryCall(
7340           getChannel().newCall(getListCustomerRepricingConfigsMethod(), getCallOptions()), request);
7341     }
7342 
7343     /**
7344      *
7345      *
7346      * <pre>
7347      * Creates a CustomerRepricingConfig. Call this method to set modifications
7348      * for a specific customer's bill. You can only create configs if the
7349      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
7350      * is a future month. If needed, you can create a config for the current
7351      * month, with some restrictions.
7352      * When creating a config for a future month, make sure there are no existing
7353      * configs for that
7354      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
7355      * The following restrictions are for creating configs in the current month.
7356      * * This functionality is reserved for recovering from an erroneous config,
7357      * and should not be used for regular business cases.
7358      * * The new config will not modify exports used with other configs.
7359      * Changes to the config may be immediate, but may take up to 24 hours.
7360      * * There is a limit of ten configs for any
7361      * [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement]
7362      * or
7363      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
7364      * * The contained
7365      * [CustomerRepricingConfig.repricing_config][google.cloud.channel.v1.CustomerRepricingConfig.repricing_config]
7366      * vaule must be different from the value used in the current config for a
7367      * [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement].
7368      * Possible Error Codes:
7369      * * PERMISSION_DENIED: If the account making the request and the account
7370      * being queried are different.
7371      * * INVALID_ARGUMENT: Missing or invalid required parameters in the
7372      * request. Also displays if the updated config is for the current month or
7373      * past months.
7374      * * NOT_FOUND: The
7375      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
7376      * specified does not exist or is not associated with the given account.
7377      * * INTERNAL: Any non-user error related to technical issues in the
7378      * backend. In this case, contact Cloud Channel support.
7379      * Return Value:
7380      * If successful, the updated
7381      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
7382      * resource, otherwise returns an error.
7383      * </pre>
7384      */
7385     public com.google.common.util.concurrent.ListenableFuture<
7386             com.google.cloud.channel.v1.CustomerRepricingConfig>
createCustomerRepricingConfig( com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest request)7387         createCustomerRepricingConfig(
7388             com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest request) {
7389       return io.grpc.stub.ClientCalls.futureUnaryCall(
7390           getChannel().newCall(getCreateCustomerRepricingConfigMethod(), getCallOptions()),
7391           request);
7392     }
7393 
7394     /**
7395      *
7396      *
7397      * <pre>
7398      * Updates a CustomerRepricingConfig. Call this method to set modifications
7399      * for a specific customer's bill. This method overwrites the existing
7400      * CustomerRepricingConfig.
7401      * You can only update configs if the
7402      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
7403      * is a future month. To make changes to configs for the current month, use
7404      * [CreateCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateCustomerRepricingConfig],
7405      * taking note of its restrictions. You cannot update the
7406      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
7407      * When updating a config in the future:
7408      * * This config must already exist.
7409      * Possible Error Codes:
7410      * * PERMISSION_DENIED: If the account making the request and the account
7411      * being queried are different.
7412      * * INVALID_ARGUMENT: Missing or invalid required parameters in the
7413      * request. Also displays if the updated config is for the current month or
7414      * past months.
7415      * * NOT_FOUND: The
7416      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
7417      * specified does not exist or is not associated with the given account.
7418      * * INTERNAL: Any non-user error related to technical issues in the
7419      * backend. In this case, contact Cloud Channel support.
7420      * Return Value:
7421      * If successful, the updated
7422      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
7423      * resource, otherwise returns an error.
7424      * </pre>
7425      */
7426     public com.google.common.util.concurrent.ListenableFuture<
7427             com.google.cloud.channel.v1.CustomerRepricingConfig>
updateCustomerRepricingConfig( com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest request)7428         updateCustomerRepricingConfig(
7429             com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest request) {
7430       return io.grpc.stub.ClientCalls.futureUnaryCall(
7431           getChannel().newCall(getUpdateCustomerRepricingConfigMethod(), getCallOptions()),
7432           request);
7433     }
7434 
7435     /**
7436      *
7437      *
7438      * <pre>
7439      * Deletes the given
7440      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
7441      * permanently. You can only delete configs if their
7442      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
7443      * is set to a date after the current month.
7444      * Possible error codes:
7445      * * PERMISSION_DENIED: The account making the request does not own
7446      * this customer.
7447      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
7448      * * FAILED_PRECONDITION: The
7449      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
7450      * is active or in the past.
7451      * * NOT_FOUND: No
7452      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
7453      * found for the name in the request.
7454      * </pre>
7455      */
7456     public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
deleteCustomerRepricingConfig( com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest request)7457         deleteCustomerRepricingConfig(
7458             com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest request) {
7459       return io.grpc.stub.ClientCalls.futureUnaryCall(
7460           getChannel().newCall(getDeleteCustomerRepricingConfigMethod(), getCallOptions()),
7461           request);
7462     }
7463 
7464     /**
7465      *
7466      *
7467      * <pre>
7468      * Gets information about how a Distributor modifies their bill before sending
7469      * it to a ChannelPartner.
7470      * Possible Error Codes:
7471      * * PERMISSION_DENIED: If the account making the request and the account
7472      * being queried are different.
7473      * * NOT_FOUND: The
7474      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
7475      * was not found.
7476      * * INTERNAL: Any non-user error related to technical issues in the
7477      * backend. In this case, contact Cloud Channel support.
7478      * Return Value:
7479      * If successful, the
7480      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
7481      * resource, otherwise returns an error.
7482      * </pre>
7483      */
7484     public com.google.common.util.concurrent.ListenableFuture<
7485             com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>
getChannelPartnerRepricingConfig( com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest request)7486         getChannelPartnerRepricingConfig(
7487             com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest request) {
7488       return io.grpc.stub.ClientCalls.futureUnaryCall(
7489           getChannel().newCall(getGetChannelPartnerRepricingConfigMethod(), getCallOptions()),
7490           request);
7491     }
7492 
7493     /**
7494      *
7495      *
7496      * <pre>
7497      * Lists information about how a Reseller modifies their bill before sending
7498      * it to a ChannelPartner.
7499      * Possible Error Codes:
7500      * * PERMISSION_DENIED: If the account making the request and the account
7501      * being queried are different.
7502      * * NOT_FOUND: The
7503      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
7504      * specified does not exist or is not associated with the given account.
7505      * * INTERNAL: Any non-user error related to technical issues in the
7506      * backend. In this case, contact Cloud Channel support.
7507      * Return Value:
7508      * If successful, the
7509      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
7510      * resources. The data for each resource is displayed in the ascending order
7511      * of:
7512      * * Channel Partner ID
7513      * * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
7514      * * [ChannelPartnerRepricingConfig.update_time][google.cloud.channel.v1.ChannelPartnerRepricingConfig.update_time]
7515      * If unsuccessful, returns an error.
7516      * </pre>
7517      */
7518     public com.google.common.util.concurrent.ListenableFuture<
7519             com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse>
listChannelPartnerRepricingConfigs( com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest request)7520         listChannelPartnerRepricingConfigs(
7521             com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest request) {
7522       return io.grpc.stub.ClientCalls.futureUnaryCall(
7523           getChannel().newCall(getListChannelPartnerRepricingConfigsMethod(), getCallOptions()),
7524           request);
7525     }
7526 
7527     /**
7528      *
7529      *
7530      * <pre>
7531      * Creates a ChannelPartnerRepricingConfig. Call this method to set
7532      * modifications for a specific ChannelPartner's bill. You can only create
7533      * configs if the
7534      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
7535      * is a future month. If needed, you can create a config for the current
7536      * month, with some restrictions.
7537      * When creating a config for a future month, make sure there are no existing
7538      * configs for that
7539      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
7540      * The following restrictions are for creating configs in the current month.
7541      * * This functionality is reserved for recovering from an erroneous config,
7542      * and should not be used for regular business cases.
7543      * * The new config will not modify exports used with other configs.
7544      * Changes to the config may be immediate, but may take up to 24 hours.
7545      * * There is a limit of ten configs for any ChannelPartner or
7546      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
7547      * * The contained
7548      * [ChannelPartnerRepricingConfig.repricing_config][google.cloud.channel.v1.ChannelPartnerRepricingConfig.repricing_config]
7549      * vaule must be different from the value used in the current config for a
7550      * ChannelPartner.
7551      * Possible Error Codes:
7552      * * PERMISSION_DENIED: If the account making the request and the account
7553      * being queried are different.
7554      * * INVALID_ARGUMENT: Missing or invalid required parameters in the
7555      * request. Also displays if the updated config is for the current month or
7556      * past months.
7557      * * NOT_FOUND: The
7558      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
7559      * specified does not exist or is not associated with the given account.
7560      * * INTERNAL: Any non-user error related to technical issues in the
7561      * backend. In this case, contact Cloud Channel support.
7562      * Return Value:
7563      * If successful, the updated
7564      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
7565      * resource, otherwise returns an error.
7566      * </pre>
7567      */
7568     public com.google.common.util.concurrent.ListenableFuture<
7569             com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>
createChannelPartnerRepricingConfig( com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest request)7570         createChannelPartnerRepricingConfig(
7571             com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest request) {
7572       return io.grpc.stub.ClientCalls.futureUnaryCall(
7573           getChannel().newCall(getCreateChannelPartnerRepricingConfigMethod(), getCallOptions()),
7574           request);
7575     }
7576 
7577     /**
7578      *
7579      *
7580      * <pre>
7581      * Updates a ChannelPartnerRepricingConfig. Call this method to set
7582      * modifications for a specific ChannelPartner's bill. This method overwrites
7583      * the existing CustomerRepricingConfig.
7584      * You can only update configs if the
7585      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
7586      * is a future month. To make changes to configs for the current month, use
7587      * [CreateChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerRepricingConfig],
7588      * taking note of its restrictions. You cannot update the
7589      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
7590      * When updating a config in the future:
7591      * * This config must already exist.
7592      * Possible Error Codes:
7593      * * PERMISSION_DENIED: If the account making the request and the account
7594      * being queried are different.
7595      * * INVALID_ARGUMENT: Missing or invalid required parameters in the
7596      * request. Also displays if the updated config is for the current month or
7597      * past months.
7598      * * NOT_FOUND: The
7599      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
7600      * specified does not exist or is not associated with the given account.
7601      * * INTERNAL: Any non-user error related to technical issues in the
7602      * backend. In this case, contact Cloud Channel support.
7603      * Return Value:
7604      * If successful, the updated
7605      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
7606      * resource, otherwise returns an error.
7607      * </pre>
7608      */
7609     public com.google.common.util.concurrent.ListenableFuture<
7610             com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>
updateChannelPartnerRepricingConfig( com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest request)7611         updateChannelPartnerRepricingConfig(
7612             com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest request) {
7613       return io.grpc.stub.ClientCalls.futureUnaryCall(
7614           getChannel().newCall(getUpdateChannelPartnerRepricingConfigMethod(), getCallOptions()),
7615           request);
7616     }
7617 
7618     /**
7619      *
7620      *
7621      * <pre>
7622      * Deletes the given
7623      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
7624      * permanently. You can only delete configs if their
7625      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
7626      * is set to a date after the current month.
7627      * Possible error codes:
7628      * * PERMISSION_DENIED: The account making the request does not own
7629      * this customer.
7630      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
7631      * * FAILED_PRECONDITION: The
7632      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
7633      * is active or in the past.
7634      * * NOT_FOUND: No
7635      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
7636      * found for the name in the request.
7637      * </pre>
7638      */
7639     public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
deleteChannelPartnerRepricingConfig( com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest request)7640         deleteChannelPartnerRepricingConfig(
7641             com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest request) {
7642       return io.grpc.stub.ClientCalls.futureUnaryCall(
7643           getChannel().newCall(getDeleteChannelPartnerRepricingConfigMethod(), getCallOptions()),
7644           request);
7645     }
7646 
7647     /**
7648      *
7649      *
7650      * <pre>
7651      * Returns the requested [Offer][google.cloud.channel.v1.Offer] resource.
7652      * Possible error codes:
7653      * * PERMISSION_DENIED: The entitlement doesn't belong to the reseller.
7654      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
7655      * * NOT_FOUND: Entitlement or offer was not found.
7656      * Return value:
7657      * The [Offer][google.cloud.channel.v1.Offer] resource.
7658      * </pre>
7659      */
7660     public com.google.common.util.concurrent.ListenableFuture<com.google.cloud.channel.v1.Offer>
lookupOffer(com.google.cloud.channel.v1.LookupOfferRequest request)7661         lookupOffer(com.google.cloud.channel.v1.LookupOfferRequest request) {
7662       return io.grpc.stub.ClientCalls.futureUnaryCall(
7663           getChannel().newCall(getLookupOfferMethod(), getCallOptions()), request);
7664     }
7665 
7666     /**
7667      *
7668      *
7669      * <pre>
7670      * Lists the Products the reseller is authorized to sell.
7671      * Possible error codes:
7672      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
7673      * </pre>
7674      */
7675     public com.google.common.util.concurrent.ListenableFuture<
7676             com.google.cloud.channel.v1.ListProductsResponse>
listProducts(com.google.cloud.channel.v1.ListProductsRequest request)7677         listProducts(com.google.cloud.channel.v1.ListProductsRequest request) {
7678       return io.grpc.stub.ClientCalls.futureUnaryCall(
7679           getChannel().newCall(getListProductsMethod(), getCallOptions()), request);
7680     }
7681 
7682     /**
7683      *
7684      *
7685      * <pre>
7686      * Lists the SKUs for a product the reseller is authorized to sell.
7687      * Possible error codes:
7688      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
7689      * </pre>
7690      */
7691     public com.google.common.util.concurrent.ListenableFuture<
7692             com.google.cloud.channel.v1.ListSkusResponse>
listSkus(com.google.cloud.channel.v1.ListSkusRequest request)7693         listSkus(com.google.cloud.channel.v1.ListSkusRequest request) {
7694       return io.grpc.stub.ClientCalls.futureUnaryCall(
7695           getChannel().newCall(getListSkusMethod(), getCallOptions()), request);
7696     }
7697 
7698     /**
7699      *
7700      *
7701      * <pre>
7702      * Lists the Offers the reseller can sell.
7703      * Possible error codes:
7704      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
7705      * </pre>
7706      */
7707     public com.google.common.util.concurrent.ListenableFuture<
7708             com.google.cloud.channel.v1.ListOffersResponse>
listOffers(com.google.cloud.channel.v1.ListOffersRequest request)7709         listOffers(com.google.cloud.channel.v1.ListOffersRequest request) {
7710       return io.grpc.stub.ClientCalls.futureUnaryCall(
7711           getChannel().newCall(getListOffersMethod(), getCallOptions()), request);
7712     }
7713 
7714     /**
7715      *
7716      *
7717      * <pre>
7718      * Lists the following:
7719      * * SKUs that you can purchase for a customer
7720      * * SKUs that you can upgrade or downgrade for an entitlement.
7721      * Possible error codes:
7722      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
7723      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
7724      * </pre>
7725      */
7726     public com.google.common.util.concurrent.ListenableFuture<
7727             com.google.cloud.channel.v1.ListPurchasableSkusResponse>
listPurchasableSkus(com.google.cloud.channel.v1.ListPurchasableSkusRequest request)7728         listPurchasableSkus(com.google.cloud.channel.v1.ListPurchasableSkusRequest request) {
7729       return io.grpc.stub.ClientCalls.futureUnaryCall(
7730           getChannel().newCall(getListPurchasableSkusMethod(), getCallOptions()), request);
7731     }
7732 
7733     /**
7734      *
7735      *
7736      * <pre>
7737      * Lists the following:
7738      * * Offers that you can purchase for a customer.
7739      * * Offers that you can change for an entitlement.
7740      * Possible error codes:
7741      * * PERMISSION_DENIED: The customer doesn't belong to the reseller
7742      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
7743      * </pre>
7744      */
7745     public com.google.common.util.concurrent.ListenableFuture<
7746             com.google.cloud.channel.v1.ListPurchasableOffersResponse>
listPurchasableOffers(com.google.cloud.channel.v1.ListPurchasableOffersRequest request)7747         listPurchasableOffers(com.google.cloud.channel.v1.ListPurchasableOffersRequest request) {
7748       return io.grpc.stub.ClientCalls.futureUnaryCall(
7749           getChannel().newCall(getListPurchasableOffersMethod(), getCallOptions()), request);
7750     }
7751 
7752     /**
7753      *
7754      *
7755      * <pre>
7756      * Registers a service account with subscriber privileges on the Cloud Pub/Sub
7757      * topic for this Channel Services account. After you create a
7758      * subscriber, you get the events through
7759      * [SubscriberEvent][google.cloud.channel.v1.SubscriberEvent]
7760      * Possible error codes:
7761      * * PERMISSION_DENIED: The reseller account making the request and the
7762      * provided reseller account are different, or the impersonated user
7763      * is not a super admin.
7764      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
7765      * * INTERNAL: Any non-user error related to a technical issue in the
7766      * backend. Contact Cloud Channel support.
7767      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
7768      * Contact Cloud Channel support.
7769      * Return value:
7770      * The topic name with the registered service email address.
7771      * </pre>
7772      */
7773     public com.google.common.util.concurrent.ListenableFuture<
7774             com.google.cloud.channel.v1.RegisterSubscriberResponse>
registerSubscriber(com.google.cloud.channel.v1.RegisterSubscriberRequest request)7775         registerSubscriber(com.google.cloud.channel.v1.RegisterSubscriberRequest request) {
7776       return io.grpc.stub.ClientCalls.futureUnaryCall(
7777           getChannel().newCall(getRegisterSubscriberMethod(), getCallOptions()), request);
7778     }
7779 
7780     /**
7781      *
7782      *
7783      * <pre>
7784      * Unregisters a service account with subscriber privileges on the Cloud
7785      * Pub/Sub topic created for this Channel Services account. If there are no
7786      * service accounts left with subscriber privileges, this deletes the topic.
7787      * You can call ListSubscribers to check for these accounts.
7788      * Possible error codes:
7789      * * PERMISSION_DENIED: The reseller account making the request and the
7790      * provided reseller account are different, or the impersonated user
7791      * is not a super admin.
7792      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
7793      * * NOT_FOUND: The topic resource doesn't exist.
7794      * * INTERNAL: Any non-user error related to a technical issue in the
7795      * backend. Contact Cloud Channel support.
7796      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
7797      * Contact Cloud Channel support.
7798      * Return value:
7799      * The topic name that unregistered the service email address.
7800      * Returns a success response if the service email address wasn't registered
7801      * with the topic.
7802      * </pre>
7803      */
7804     public com.google.common.util.concurrent.ListenableFuture<
7805             com.google.cloud.channel.v1.UnregisterSubscriberResponse>
unregisterSubscriber(com.google.cloud.channel.v1.UnregisterSubscriberRequest request)7806         unregisterSubscriber(com.google.cloud.channel.v1.UnregisterSubscriberRequest request) {
7807       return io.grpc.stub.ClientCalls.futureUnaryCall(
7808           getChannel().newCall(getUnregisterSubscriberMethod(), getCallOptions()), request);
7809     }
7810 
7811     /**
7812      *
7813      *
7814      * <pre>
7815      * Lists service accounts with subscriber privileges on the Cloud Pub/Sub
7816      * topic created for this Channel Services account.
7817      * Possible error codes:
7818      * * PERMISSION_DENIED: The reseller account making the request and the
7819      * provided reseller account are different, or the impersonated user
7820      * is not a super admin.
7821      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
7822      * * NOT_FOUND: The topic resource doesn't exist.
7823      * * INTERNAL: Any non-user error related to a technical issue in the
7824      * backend. Contact Cloud Channel support.
7825      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
7826      * Contact Cloud Channel support.
7827      * Return value:
7828      * A list of service email addresses.
7829      * </pre>
7830      */
7831     public com.google.common.util.concurrent.ListenableFuture<
7832             com.google.cloud.channel.v1.ListSubscribersResponse>
listSubscribers(com.google.cloud.channel.v1.ListSubscribersRequest request)7833         listSubscribers(com.google.cloud.channel.v1.ListSubscribersRequest request) {
7834       return io.grpc.stub.ClientCalls.futureUnaryCall(
7835           getChannel().newCall(getListSubscribersMethod(), getCallOptions()), request);
7836     }
7837 
7838     /**
7839      *
7840      *
7841      * <pre>
7842      * List entitlement history.
7843      * Possible error codes:
7844      * * PERMISSION_DENIED: The reseller account making the request and the
7845      * provided reseller account are different.
7846      * * INVALID_ARGUMENT: Missing or invalid required fields in the request.
7847      * * NOT_FOUND: The parent resource doesn't exist. Usually the result of an
7848      * invalid name parameter.
7849      * * INTERNAL: Any non-user error related to a technical issue in the backend.
7850      * In this case, contact CloudChannel support.
7851      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
7852      * In this case, contact Cloud Channel support.
7853      * Return value:
7854      * List of [EntitlementChange][google.cloud.channel.v1.EntitlementChange]s.
7855      * </pre>
7856      */
7857     public com.google.common.util.concurrent.ListenableFuture<
7858             com.google.cloud.channel.v1.ListEntitlementChangesResponse>
listEntitlementChanges(com.google.cloud.channel.v1.ListEntitlementChangesRequest request)7859         listEntitlementChanges(com.google.cloud.channel.v1.ListEntitlementChangesRequest request) {
7860       return io.grpc.stub.ClientCalls.futureUnaryCall(
7861           getChannel().newCall(getListEntitlementChangesMethod(), getCallOptions()), request);
7862     }
7863   }
7864 
7865   private static final int METHODID_LIST_CUSTOMERS = 0;
7866   private static final int METHODID_GET_CUSTOMER = 1;
7867   private static final int METHODID_CHECK_CLOUD_IDENTITY_ACCOUNTS_EXIST = 2;
7868   private static final int METHODID_CREATE_CUSTOMER = 3;
7869   private static final int METHODID_UPDATE_CUSTOMER = 4;
7870   private static final int METHODID_DELETE_CUSTOMER = 5;
7871   private static final int METHODID_IMPORT_CUSTOMER = 6;
7872   private static final int METHODID_PROVISION_CLOUD_IDENTITY = 7;
7873   private static final int METHODID_LIST_ENTITLEMENTS = 8;
7874   private static final int METHODID_LIST_TRANSFERABLE_SKUS = 9;
7875   private static final int METHODID_LIST_TRANSFERABLE_OFFERS = 10;
7876   private static final int METHODID_GET_ENTITLEMENT = 11;
7877   private static final int METHODID_CREATE_ENTITLEMENT = 12;
7878   private static final int METHODID_CHANGE_PARAMETERS = 13;
7879   private static final int METHODID_CHANGE_RENEWAL_SETTINGS = 14;
7880   private static final int METHODID_CHANGE_OFFER = 15;
7881   private static final int METHODID_START_PAID_SERVICE = 16;
7882   private static final int METHODID_SUSPEND_ENTITLEMENT = 17;
7883   private static final int METHODID_CANCEL_ENTITLEMENT = 18;
7884   private static final int METHODID_ACTIVATE_ENTITLEMENT = 19;
7885   private static final int METHODID_TRANSFER_ENTITLEMENTS = 20;
7886   private static final int METHODID_TRANSFER_ENTITLEMENTS_TO_GOOGLE = 21;
7887   private static final int METHODID_LIST_CHANNEL_PARTNER_LINKS = 22;
7888   private static final int METHODID_GET_CHANNEL_PARTNER_LINK = 23;
7889   private static final int METHODID_CREATE_CHANNEL_PARTNER_LINK = 24;
7890   private static final int METHODID_UPDATE_CHANNEL_PARTNER_LINK = 25;
7891   private static final int METHODID_GET_CUSTOMER_REPRICING_CONFIG = 26;
7892   private static final int METHODID_LIST_CUSTOMER_REPRICING_CONFIGS = 27;
7893   private static final int METHODID_CREATE_CUSTOMER_REPRICING_CONFIG = 28;
7894   private static final int METHODID_UPDATE_CUSTOMER_REPRICING_CONFIG = 29;
7895   private static final int METHODID_DELETE_CUSTOMER_REPRICING_CONFIG = 30;
7896   private static final int METHODID_GET_CHANNEL_PARTNER_REPRICING_CONFIG = 31;
7897   private static final int METHODID_LIST_CHANNEL_PARTNER_REPRICING_CONFIGS = 32;
7898   private static final int METHODID_CREATE_CHANNEL_PARTNER_REPRICING_CONFIG = 33;
7899   private static final int METHODID_UPDATE_CHANNEL_PARTNER_REPRICING_CONFIG = 34;
7900   private static final int METHODID_DELETE_CHANNEL_PARTNER_REPRICING_CONFIG = 35;
7901   private static final int METHODID_LOOKUP_OFFER = 36;
7902   private static final int METHODID_LIST_PRODUCTS = 37;
7903   private static final int METHODID_LIST_SKUS = 38;
7904   private static final int METHODID_LIST_OFFERS = 39;
7905   private static final int METHODID_LIST_PURCHASABLE_SKUS = 40;
7906   private static final int METHODID_LIST_PURCHASABLE_OFFERS = 41;
7907   private static final int METHODID_REGISTER_SUBSCRIBER = 42;
7908   private static final int METHODID_UNREGISTER_SUBSCRIBER = 43;
7909   private static final int METHODID_LIST_SUBSCRIBERS = 44;
7910   private static final int METHODID_LIST_ENTITLEMENT_CHANGES = 45;
7911 
7912   private static final class MethodHandlers<Req, Resp>
7913       implements io.grpc.stub.ServerCalls.UnaryMethod<Req, Resp>,
7914           io.grpc.stub.ServerCalls.ServerStreamingMethod<Req, Resp>,
7915           io.grpc.stub.ServerCalls.ClientStreamingMethod<Req, Resp>,
7916           io.grpc.stub.ServerCalls.BidiStreamingMethod<Req, Resp> {
7917     private final AsyncService serviceImpl;
7918     private final int methodId;
7919 
MethodHandlers(AsyncService serviceImpl, int methodId)7920     MethodHandlers(AsyncService serviceImpl, int methodId) {
7921       this.serviceImpl = serviceImpl;
7922       this.methodId = methodId;
7923     }
7924 
7925     @java.lang.Override
7926     @java.lang.SuppressWarnings("unchecked")
invoke(Req request, io.grpc.stub.StreamObserver<Resp> responseObserver)7927     public void invoke(Req request, io.grpc.stub.StreamObserver<Resp> responseObserver) {
7928       switch (methodId) {
7929         case METHODID_LIST_CUSTOMERS:
7930           serviceImpl.listCustomers(
7931               (com.google.cloud.channel.v1.ListCustomersRequest) request,
7932               (io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListCustomersResponse>)
7933                   responseObserver);
7934           break;
7935         case METHODID_GET_CUSTOMER:
7936           serviceImpl.getCustomer(
7937               (com.google.cloud.channel.v1.GetCustomerRequest) request,
7938               (io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.Customer>) responseObserver);
7939           break;
7940         case METHODID_CHECK_CLOUD_IDENTITY_ACCOUNTS_EXIST:
7941           serviceImpl.checkCloudIdentityAccountsExist(
7942               (com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest) request,
7943               (io.grpc.stub.StreamObserver<
7944                       com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse>)
7945                   responseObserver);
7946           break;
7947         case METHODID_CREATE_CUSTOMER:
7948           serviceImpl.createCustomer(
7949               (com.google.cloud.channel.v1.CreateCustomerRequest) request,
7950               (io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.Customer>) responseObserver);
7951           break;
7952         case METHODID_UPDATE_CUSTOMER:
7953           serviceImpl.updateCustomer(
7954               (com.google.cloud.channel.v1.UpdateCustomerRequest) request,
7955               (io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.Customer>) responseObserver);
7956           break;
7957         case METHODID_DELETE_CUSTOMER:
7958           serviceImpl.deleteCustomer(
7959               (com.google.cloud.channel.v1.DeleteCustomerRequest) request,
7960               (io.grpc.stub.StreamObserver<com.google.protobuf.Empty>) responseObserver);
7961           break;
7962         case METHODID_IMPORT_CUSTOMER:
7963           serviceImpl.importCustomer(
7964               (com.google.cloud.channel.v1.ImportCustomerRequest) request,
7965               (io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.Customer>) responseObserver);
7966           break;
7967         case METHODID_PROVISION_CLOUD_IDENTITY:
7968           serviceImpl.provisionCloudIdentity(
7969               (com.google.cloud.channel.v1.ProvisionCloudIdentityRequest) request,
7970               (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
7971           break;
7972         case METHODID_LIST_ENTITLEMENTS:
7973           serviceImpl.listEntitlements(
7974               (com.google.cloud.channel.v1.ListEntitlementsRequest) request,
7975               (io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListEntitlementsResponse>)
7976                   responseObserver);
7977           break;
7978         case METHODID_LIST_TRANSFERABLE_SKUS:
7979           serviceImpl.listTransferableSkus(
7980               (com.google.cloud.channel.v1.ListTransferableSkusRequest) request,
7981               (io.grpc.stub.StreamObserver<
7982                       com.google.cloud.channel.v1.ListTransferableSkusResponse>)
7983                   responseObserver);
7984           break;
7985         case METHODID_LIST_TRANSFERABLE_OFFERS:
7986           serviceImpl.listTransferableOffers(
7987               (com.google.cloud.channel.v1.ListTransferableOffersRequest) request,
7988               (io.grpc.stub.StreamObserver<
7989                       com.google.cloud.channel.v1.ListTransferableOffersResponse>)
7990                   responseObserver);
7991           break;
7992         case METHODID_GET_ENTITLEMENT:
7993           serviceImpl.getEntitlement(
7994               (com.google.cloud.channel.v1.GetEntitlementRequest) request,
7995               (io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.Entitlement>)
7996                   responseObserver);
7997           break;
7998         case METHODID_CREATE_ENTITLEMENT:
7999           serviceImpl.createEntitlement(
8000               (com.google.cloud.channel.v1.CreateEntitlementRequest) request,
8001               (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
8002           break;
8003         case METHODID_CHANGE_PARAMETERS:
8004           serviceImpl.changeParameters(
8005               (com.google.cloud.channel.v1.ChangeParametersRequest) request,
8006               (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
8007           break;
8008         case METHODID_CHANGE_RENEWAL_SETTINGS:
8009           serviceImpl.changeRenewalSettings(
8010               (com.google.cloud.channel.v1.ChangeRenewalSettingsRequest) request,
8011               (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
8012           break;
8013         case METHODID_CHANGE_OFFER:
8014           serviceImpl.changeOffer(
8015               (com.google.cloud.channel.v1.ChangeOfferRequest) request,
8016               (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
8017           break;
8018         case METHODID_START_PAID_SERVICE:
8019           serviceImpl.startPaidService(
8020               (com.google.cloud.channel.v1.StartPaidServiceRequest) request,
8021               (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
8022           break;
8023         case METHODID_SUSPEND_ENTITLEMENT:
8024           serviceImpl.suspendEntitlement(
8025               (com.google.cloud.channel.v1.SuspendEntitlementRequest) request,
8026               (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
8027           break;
8028         case METHODID_CANCEL_ENTITLEMENT:
8029           serviceImpl.cancelEntitlement(
8030               (com.google.cloud.channel.v1.CancelEntitlementRequest) request,
8031               (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
8032           break;
8033         case METHODID_ACTIVATE_ENTITLEMENT:
8034           serviceImpl.activateEntitlement(
8035               (com.google.cloud.channel.v1.ActivateEntitlementRequest) request,
8036               (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
8037           break;
8038         case METHODID_TRANSFER_ENTITLEMENTS:
8039           serviceImpl.transferEntitlements(
8040               (com.google.cloud.channel.v1.TransferEntitlementsRequest) request,
8041               (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
8042           break;
8043         case METHODID_TRANSFER_ENTITLEMENTS_TO_GOOGLE:
8044           serviceImpl.transferEntitlementsToGoogle(
8045               (com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest) request,
8046               (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
8047           break;
8048         case METHODID_LIST_CHANNEL_PARTNER_LINKS:
8049           serviceImpl.listChannelPartnerLinks(
8050               (com.google.cloud.channel.v1.ListChannelPartnerLinksRequest) request,
8051               (io.grpc.stub.StreamObserver<
8052                       com.google.cloud.channel.v1.ListChannelPartnerLinksResponse>)
8053                   responseObserver);
8054           break;
8055         case METHODID_GET_CHANNEL_PARTNER_LINK:
8056           serviceImpl.getChannelPartnerLink(
8057               (com.google.cloud.channel.v1.GetChannelPartnerLinkRequest) request,
8058               (io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ChannelPartnerLink>)
8059                   responseObserver);
8060           break;
8061         case METHODID_CREATE_CHANNEL_PARTNER_LINK:
8062           serviceImpl.createChannelPartnerLink(
8063               (com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest) request,
8064               (io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ChannelPartnerLink>)
8065                   responseObserver);
8066           break;
8067         case METHODID_UPDATE_CHANNEL_PARTNER_LINK:
8068           serviceImpl.updateChannelPartnerLink(
8069               (com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest) request,
8070               (io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ChannelPartnerLink>)
8071                   responseObserver);
8072           break;
8073         case METHODID_GET_CUSTOMER_REPRICING_CONFIG:
8074           serviceImpl.getCustomerRepricingConfig(
8075               (com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest) request,
8076               (io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.CustomerRepricingConfig>)
8077                   responseObserver);
8078           break;
8079         case METHODID_LIST_CUSTOMER_REPRICING_CONFIGS:
8080           serviceImpl.listCustomerRepricingConfigs(
8081               (com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest) request,
8082               (io.grpc.stub.StreamObserver<
8083                       com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse>)
8084                   responseObserver);
8085           break;
8086         case METHODID_CREATE_CUSTOMER_REPRICING_CONFIG:
8087           serviceImpl.createCustomerRepricingConfig(
8088               (com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest) request,
8089               (io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.CustomerRepricingConfig>)
8090                   responseObserver);
8091           break;
8092         case METHODID_UPDATE_CUSTOMER_REPRICING_CONFIG:
8093           serviceImpl.updateCustomerRepricingConfig(
8094               (com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest) request,
8095               (io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.CustomerRepricingConfig>)
8096                   responseObserver);
8097           break;
8098         case METHODID_DELETE_CUSTOMER_REPRICING_CONFIG:
8099           serviceImpl.deleteCustomerRepricingConfig(
8100               (com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest) request,
8101               (io.grpc.stub.StreamObserver<com.google.protobuf.Empty>) responseObserver);
8102           break;
8103         case METHODID_GET_CHANNEL_PARTNER_REPRICING_CONFIG:
8104           serviceImpl.getChannelPartnerRepricingConfig(
8105               (com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest) request,
8106               (io.grpc.stub.StreamObserver<
8107                       com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>)
8108                   responseObserver);
8109           break;
8110         case METHODID_LIST_CHANNEL_PARTNER_REPRICING_CONFIGS:
8111           serviceImpl.listChannelPartnerRepricingConfigs(
8112               (com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest) request,
8113               (io.grpc.stub.StreamObserver<
8114                       com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse>)
8115                   responseObserver);
8116           break;
8117         case METHODID_CREATE_CHANNEL_PARTNER_REPRICING_CONFIG:
8118           serviceImpl.createChannelPartnerRepricingConfig(
8119               (com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest) request,
8120               (io.grpc.stub.StreamObserver<
8121                       com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>)
8122                   responseObserver);
8123           break;
8124         case METHODID_UPDATE_CHANNEL_PARTNER_REPRICING_CONFIG:
8125           serviceImpl.updateChannelPartnerRepricingConfig(
8126               (com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest) request,
8127               (io.grpc.stub.StreamObserver<
8128                       com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>)
8129                   responseObserver);
8130           break;
8131         case METHODID_DELETE_CHANNEL_PARTNER_REPRICING_CONFIG:
8132           serviceImpl.deleteChannelPartnerRepricingConfig(
8133               (com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest) request,
8134               (io.grpc.stub.StreamObserver<com.google.protobuf.Empty>) responseObserver);
8135           break;
8136         case METHODID_LOOKUP_OFFER:
8137           serviceImpl.lookupOffer(
8138               (com.google.cloud.channel.v1.LookupOfferRequest) request,
8139               (io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.Offer>) responseObserver);
8140           break;
8141         case METHODID_LIST_PRODUCTS:
8142           serviceImpl.listProducts(
8143               (com.google.cloud.channel.v1.ListProductsRequest) request,
8144               (io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListProductsResponse>)
8145                   responseObserver);
8146           break;
8147         case METHODID_LIST_SKUS:
8148           serviceImpl.listSkus(
8149               (com.google.cloud.channel.v1.ListSkusRequest) request,
8150               (io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListSkusResponse>)
8151                   responseObserver);
8152           break;
8153         case METHODID_LIST_OFFERS:
8154           serviceImpl.listOffers(
8155               (com.google.cloud.channel.v1.ListOffersRequest) request,
8156               (io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListOffersResponse>)
8157                   responseObserver);
8158           break;
8159         case METHODID_LIST_PURCHASABLE_SKUS:
8160           serviceImpl.listPurchasableSkus(
8161               (com.google.cloud.channel.v1.ListPurchasableSkusRequest) request,
8162               (io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListPurchasableSkusResponse>)
8163                   responseObserver);
8164           break;
8165         case METHODID_LIST_PURCHASABLE_OFFERS:
8166           serviceImpl.listPurchasableOffers(
8167               (com.google.cloud.channel.v1.ListPurchasableOffersRequest) request,
8168               (io.grpc.stub.StreamObserver<
8169                       com.google.cloud.channel.v1.ListPurchasableOffersResponse>)
8170                   responseObserver);
8171           break;
8172         case METHODID_REGISTER_SUBSCRIBER:
8173           serviceImpl.registerSubscriber(
8174               (com.google.cloud.channel.v1.RegisterSubscriberRequest) request,
8175               (io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.RegisterSubscriberResponse>)
8176                   responseObserver);
8177           break;
8178         case METHODID_UNREGISTER_SUBSCRIBER:
8179           serviceImpl.unregisterSubscriber(
8180               (com.google.cloud.channel.v1.UnregisterSubscriberRequest) request,
8181               (io.grpc.stub.StreamObserver<
8182                       com.google.cloud.channel.v1.UnregisterSubscriberResponse>)
8183                   responseObserver);
8184           break;
8185         case METHODID_LIST_SUBSCRIBERS:
8186           serviceImpl.listSubscribers(
8187               (com.google.cloud.channel.v1.ListSubscribersRequest) request,
8188               (io.grpc.stub.StreamObserver<com.google.cloud.channel.v1.ListSubscribersResponse>)
8189                   responseObserver);
8190           break;
8191         case METHODID_LIST_ENTITLEMENT_CHANGES:
8192           serviceImpl.listEntitlementChanges(
8193               (com.google.cloud.channel.v1.ListEntitlementChangesRequest) request,
8194               (io.grpc.stub.StreamObserver<
8195                       com.google.cloud.channel.v1.ListEntitlementChangesResponse>)
8196                   responseObserver);
8197           break;
8198         default:
8199           throw new AssertionError();
8200       }
8201     }
8202 
8203     @java.lang.Override
8204     @java.lang.SuppressWarnings("unchecked")
invoke( io.grpc.stub.StreamObserver<Resp> responseObserver)8205     public io.grpc.stub.StreamObserver<Req> invoke(
8206         io.grpc.stub.StreamObserver<Resp> responseObserver) {
8207       switch (methodId) {
8208         default:
8209           throw new AssertionError();
8210       }
8211     }
8212   }
8213 
bindService(AsyncService service)8214   public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) {
8215     return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
8216         .addMethod(
8217             getListCustomersMethod(),
8218             io.grpc.stub.ServerCalls.asyncUnaryCall(
8219                 new MethodHandlers<
8220                     com.google.cloud.channel.v1.ListCustomersRequest,
8221                     com.google.cloud.channel.v1.ListCustomersResponse>(
8222                     service, METHODID_LIST_CUSTOMERS)))
8223         .addMethod(
8224             getGetCustomerMethod(),
8225             io.grpc.stub.ServerCalls.asyncUnaryCall(
8226                 new MethodHandlers<
8227                     com.google.cloud.channel.v1.GetCustomerRequest,
8228                     com.google.cloud.channel.v1.Customer>(service, METHODID_GET_CUSTOMER)))
8229         .addMethod(
8230             getCheckCloudIdentityAccountsExistMethod(),
8231             io.grpc.stub.ServerCalls.asyncUnaryCall(
8232                 new MethodHandlers<
8233                     com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest,
8234                     com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse>(
8235                     service, METHODID_CHECK_CLOUD_IDENTITY_ACCOUNTS_EXIST)))
8236         .addMethod(
8237             getCreateCustomerMethod(),
8238             io.grpc.stub.ServerCalls.asyncUnaryCall(
8239                 new MethodHandlers<
8240                     com.google.cloud.channel.v1.CreateCustomerRequest,
8241                     com.google.cloud.channel.v1.Customer>(service, METHODID_CREATE_CUSTOMER)))
8242         .addMethod(
8243             getUpdateCustomerMethod(),
8244             io.grpc.stub.ServerCalls.asyncUnaryCall(
8245                 new MethodHandlers<
8246                     com.google.cloud.channel.v1.UpdateCustomerRequest,
8247                     com.google.cloud.channel.v1.Customer>(service, METHODID_UPDATE_CUSTOMER)))
8248         .addMethod(
8249             getDeleteCustomerMethod(),
8250             io.grpc.stub.ServerCalls.asyncUnaryCall(
8251                 new MethodHandlers<
8252                     com.google.cloud.channel.v1.DeleteCustomerRequest, com.google.protobuf.Empty>(
8253                     service, METHODID_DELETE_CUSTOMER)))
8254         .addMethod(
8255             getImportCustomerMethod(),
8256             io.grpc.stub.ServerCalls.asyncUnaryCall(
8257                 new MethodHandlers<
8258                     com.google.cloud.channel.v1.ImportCustomerRequest,
8259                     com.google.cloud.channel.v1.Customer>(service, METHODID_IMPORT_CUSTOMER)))
8260         .addMethod(
8261             getProvisionCloudIdentityMethod(),
8262             io.grpc.stub.ServerCalls.asyncUnaryCall(
8263                 new MethodHandlers<
8264                     com.google.cloud.channel.v1.ProvisionCloudIdentityRequest,
8265                     com.google.longrunning.Operation>(service, METHODID_PROVISION_CLOUD_IDENTITY)))
8266         .addMethod(
8267             getListEntitlementsMethod(),
8268             io.grpc.stub.ServerCalls.asyncUnaryCall(
8269                 new MethodHandlers<
8270                     com.google.cloud.channel.v1.ListEntitlementsRequest,
8271                     com.google.cloud.channel.v1.ListEntitlementsResponse>(
8272                     service, METHODID_LIST_ENTITLEMENTS)))
8273         .addMethod(
8274             getListTransferableSkusMethod(),
8275             io.grpc.stub.ServerCalls.asyncUnaryCall(
8276                 new MethodHandlers<
8277                     com.google.cloud.channel.v1.ListTransferableSkusRequest,
8278                     com.google.cloud.channel.v1.ListTransferableSkusResponse>(
8279                     service, METHODID_LIST_TRANSFERABLE_SKUS)))
8280         .addMethod(
8281             getListTransferableOffersMethod(),
8282             io.grpc.stub.ServerCalls.asyncUnaryCall(
8283                 new MethodHandlers<
8284                     com.google.cloud.channel.v1.ListTransferableOffersRequest,
8285                     com.google.cloud.channel.v1.ListTransferableOffersResponse>(
8286                     service, METHODID_LIST_TRANSFERABLE_OFFERS)))
8287         .addMethod(
8288             getGetEntitlementMethod(),
8289             io.grpc.stub.ServerCalls.asyncUnaryCall(
8290                 new MethodHandlers<
8291                     com.google.cloud.channel.v1.GetEntitlementRequest,
8292                     com.google.cloud.channel.v1.Entitlement>(service, METHODID_GET_ENTITLEMENT)))
8293         .addMethod(
8294             getCreateEntitlementMethod(),
8295             io.grpc.stub.ServerCalls.asyncUnaryCall(
8296                 new MethodHandlers<
8297                     com.google.cloud.channel.v1.CreateEntitlementRequest,
8298                     com.google.longrunning.Operation>(service, METHODID_CREATE_ENTITLEMENT)))
8299         .addMethod(
8300             getChangeParametersMethod(),
8301             io.grpc.stub.ServerCalls.asyncUnaryCall(
8302                 new MethodHandlers<
8303                     com.google.cloud.channel.v1.ChangeParametersRequest,
8304                     com.google.longrunning.Operation>(service, METHODID_CHANGE_PARAMETERS)))
8305         .addMethod(
8306             getChangeRenewalSettingsMethod(),
8307             io.grpc.stub.ServerCalls.asyncUnaryCall(
8308                 new MethodHandlers<
8309                     com.google.cloud.channel.v1.ChangeRenewalSettingsRequest,
8310                     com.google.longrunning.Operation>(service, METHODID_CHANGE_RENEWAL_SETTINGS)))
8311         .addMethod(
8312             getChangeOfferMethod(),
8313             io.grpc.stub.ServerCalls.asyncUnaryCall(
8314                 new MethodHandlers<
8315                     com.google.cloud.channel.v1.ChangeOfferRequest,
8316                     com.google.longrunning.Operation>(service, METHODID_CHANGE_OFFER)))
8317         .addMethod(
8318             getStartPaidServiceMethod(),
8319             io.grpc.stub.ServerCalls.asyncUnaryCall(
8320                 new MethodHandlers<
8321                     com.google.cloud.channel.v1.StartPaidServiceRequest,
8322                     com.google.longrunning.Operation>(service, METHODID_START_PAID_SERVICE)))
8323         .addMethod(
8324             getSuspendEntitlementMethod(),
8325             io.grpc.stub.ServerCalls.asyncUnaryCall(
8326                 new MethodHandlers<
8327                     com.google.cloud.channel.v1.SuspendEntitlementRequest,
8328                     com.google.longrunning.Operation>(service, METHODID_SUSPEND_ENTITLEMENT)))
8329         .addMethod(
8330             getCancelEntitlementMethod(),
8331             io.grpc.stub.ServerCalls.asyncUnaryCall(
8332                 new MethodHandlers<
8333                     com.google.cloud.channel.v1.CancelEntitlementRequest,
8334                     com.google.longrunning.Operation>(service, METHODID_CANCEL_ENTITLEMENT)))
8335         .addMethod(
8336             getActivateEntitlementMethod(),
8337             io.grpc.stub.ServerCalls.asyncUnaryCall(
8338                 new MethodHandlers<
8339                     com.google.cloud.channel.v1.ActivateEntitlementRequest,
8340                     com.google.longrunning.Operation>(service, METHODID_ACTIVATE_ENTITLEMENT)))
8341         .addMethod(
8342             getTransferEntitlementsMethod(),
8343             io.grpc.stub.ServerCalls.asyncUnaryCall(
8344                 new MethodHandlers<
8345                     com.google.cloud.channel.v1.TransferEntitlementsRequest,
8346                     com.google.longrunning.Operation>(service, METHODID_TRANSFER_ENTITLEMENTS)))
8347         .addMethod(
8348             getTransferEntitlementsToGoogleMethod(),
8349             io.grpc.stub.ServerCalls.asyncUnaryCall(
8350                 new MethodHandlers<
8351                     com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest,
8352                     com.google.longrunning.Operation>(
8353                     service, METHODID_TRANSFER_ENTITLEMENTS_TO_GOOGLE)))
8354         .addMethod(
8355             getListChannelPartnerLinksMethod(),
8356             io.grpc.stub.ServerCalls.asyncUnaryCall(
8357                 new MethodHandlers<
8358                     com.google.cloud.channel.v1.ListChannelPartnerLinksRequest,
8359                     com.google.cloud.channel.v1.ListChannelPartnerLinksResponse>(
8360                     service, METHODID_LIST_CHANNEL_PARTNER_LINKS)))
8361         .addMethod(
8362             getGetChannelPartnerLinkMethod(),
8363             io.grpc.stub.ServerCalls.asyncUnaryCall(
8364                 new MethodHandlers<
8365                     com.google.cloud.channel.v1.GetChannelPartnerLinkRequest,
8366                     com.google.cloud.channel.v1.ChannelPartnerLink>(
8367                     service, METHODID_GET_CHANNEL_PARTNER_LINK)))
8368         .addMethod(
8369             getCreateChannelPartnerLinkMethod(),
8370             io.grpc.stub.ServerCalls.asyncUnaryCall(
8371                 new MethodHandlers<
8372                     com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest,
8373                     com.google.cloud.channel.v1.ChannelPartnerLink>(
8374                     service, METHODID_CREATE_CHANNEL_PARTNER_LINK)))
8375         .addMethod(
8376             getUpdateChannelPartnerLinkMethod(),
8377             io.grpc.stub.ServerCalls.asyncUnaryCall(
8378                 new MethodHandlers<
8379                     com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest,
8380                     com.google.cloud.channel.v1.ChannelPartnerLink>(
8381                     service, METHODID_UPDATE_CHANNEL_PARTNER_LINK)))
8382         .addMethod(
8383             getGetCustomerRepricingConfigMethod(),
8384             io.grpc.stub.ServerCalls.asyncUnaryCall(
8385                 new MethodHandlers<
8386                     com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest,
8387                     com.google.cloud.channel.v1.CustomerRepricingConfig>(
8388                     service, METHODID_GET_CUSTOMER_REPRICING_CONFIG)))
8389         .addMethod(
8390             getListCustomerRepricingConfigsMethod(),
8391             io.grpc.stub.ServerCalls.asyncUnaryCall(
8392                 new MethodHandlers<
8393                     com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest,
8394                     com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse>(
8395                     service, METHODID_LIST_CUSTOMER_REPRICING_CONFIGS)))
8396         .addMethod(
8397             getCreateCustomerRepricingConfigMethod(),
8398             io.grpc.stub.ServerCalls.asyncUnaryCall(
8399                 new MethodHandlers<
8400                     com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest,
8401                     com.google.cloud.channel.v1.CustomerRepricingConfig>(
8402                     service, METHODID_CREATE_CUSTOMER_REPRICING_CONFIG)))
8403         .addMethod(
8404             getUpdateCustomerRepricingConfigMethod(),
8405             io.grpc.stub.ServerCalls.asyncUnaryCall(
8406                 new MethodHandlers<
8407                     com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest,
8408                     com.google.cloud.channel.v1.CustomerRepricingConfig>(
8409                     service, METHODID_UPDATE_CUSTOMER_REPRICING_CONFIG)))
8410         .addMethod(
8411             getDeleteCustomerRepricingConfigMethod(),
8412             io.grpc.stub.ServerCalls.asyncUnaryCall(
8413                 new MethodHandlers<
8414                     com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest,
8415                     com.google.protobuf.Empty>(service, METHODID_DELETE_CUSTOMER_REPRICING_CONFIG)))
8416         .addMethod(
8417             getGetChannelPartnerRepricingConfigMethod(),
8418             io.grpc.stub.ServerCalls.asyncUnaryCall(
8419                 new MethodHandlers<
8420                     com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest,
8421                     com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>(
8422                     service, METHODID_GET_CHANNEL_PARTNER_REPRICING_CONFIG)))
8423         .addMethod(
8424             getListChannelPartnerRepricingConfigsMethod(),
8425             io.grpc.stub.ServerCalls.asyncUnaryCall(
8426                 new MethodHandlers<
8427                     com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest,
8428                     com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse>(
8429                     service, METHODID_LIST_CHANNEL_PARTNER_REPRICING_CONFIGS)))
8430         .addMethod(
8431             getCreateChannelPartnerRepricingConfigMethod(),
8432             io.grpc.stub.ServerCalls.asyncUnaryCall(
8433                 new MethodHandlers<
8434                     com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest,
8435                     com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>(
8436                     service, METHODID_CREATE_CHANNEL_PARTNER_REPRICING_CONFIG)))
8437         .addMethod(
8438             getUpdateChannelPartnerRepricingConfigMethod(),
8439             io.grpc.stub.ServerCalls.asyncUnaryCall(
8440                 new MethodHandlers<
8441                     com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest,
8442                     com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>(
8443                     service, METHODID_UPDATE_CHANNEL_PARTNER_REPRICING_CONFIG)))
8444         .addMethod(
8445             getDeleteChannelPartnerRepricingConfigMethod(),
8446             io.grpc.stub.ServerCalls.asyncUnaryCall(
8447                 new MethodHandlers<
8448                     com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest,
8449                     com.google.protobuf.Empty>(
8450                     service, METHODID_DELETE_CHANNEL_PARTNER_REPRICING_CONFIG)))
8451         .addMethod(
8452             getLookupOfferMethod(),
8453             io.grpc.stub.ServerCalls.asyncUnaryCall(
8454                 new MethodHandlers<
8455                     com.google.cloud.channel.v1.LookupOfferRequest,
8456                     com.google.cloud.channel.v1.Offer>(service, METHODID_LOOKUP_OFFER)))
8457         .addMethod(
8458             getListProductsMethod(),
8459             io.grpc.stub.ServerCalls.asyncUnaryCall(
8460                 new MethodHandlers<
8461                     com.google.cloud.channel.v1.ListProductsRequest,
8462                     com.google.cloud.channel.v1.ListProductsResponse>(
8463                     service, METHODID_LIST_PRODUCTS)))
8464         .addMethod(
8465             getListSkusMethod(),
8466             io.grpc.stub.ServerCalls.asyncUnaryCall(
8467                 new MethodHandlers<
8468                     com.google.cloud.channel.v1.ListSkusRequest,
8469                     com.google.cloud.channel.v1.ListSkusResponse>(service, METHODID_LIST_SKUS)))
8470         .addMethod(
8471             getListOffersMethod(),
8472             io.grpc.stub.ServerCalls.asyncUnaryCall(
8473                 new MethodHandlers<
8474                     com.google.cloud.channel.v1.ListOffersRequest,
8475                     com.google.cloud.channel.v1.ListOffersResponse>(service, METHODID_LIST_OFFERS)))
8476         .addMethod(
8477             getListPurchasableSkusMethod(),
8478             io.grpc.stub.ServerCalls.asyncUnaryCall(
8479                 new MethodHandlers<
8480                     com.google.cloud.channel.v1.ListPurchasableSkusRequest,
8481                     com.google.cloud.channel.v1.ListPurchasableSkusResponse>(
8482                     service, METHODID_LIST_PURCHASABLE_SKUS)))
8483         .addMethod(
8484             getListPurchasableOffersMethod(),
8485             io.grpc.stub.ServerCalls.asyncUnaryCall(
8486                 new MethodHandlers<
8487                     com.google.cloud.channel.v1.ListPurchasableOffersRequest,
8488                     com.google.cloud.channel.v1.ListPurchasableOffersResponse>(
8489                     service, METHODID_LIST_PURCHASABLE_OFFERS)))
8490         .addMethod(
8491             getRegisterSubscriberMethod(),
8492             io.grpc.stub.ServerCalls.asyncUnaryCall(
8493                 new MethodHandlers<
8494                     com.google.cloud.channel.v1.RegisterSubscriberRequest,
8495                     com.google.cloud.channel.v1.RegisterSubscriberResponse>(
8496                     service, METHODID_REGISTER_SUBSCRIBER)))
8497         .addMethod(
8498             getUnregisterSubscriberMethod(),
8499             io.grpc.stub.ServerCalls.asyncUnaryCall(
8500                 new MethodHandlers<
8501                     com.google.cloud.channel.v1.UnregisterSubscriberRequest,
8502                     com.google.cloud.channel.v1.UnregisterSubscriberResponse>(
8503                     service, METHODID_UNREGISTER_SUBSCRIBER)))
8504         .addMethod(
8505             getListSubscribersMethod(),
8506             io.grpc.stub.ServerCalls.asyncUnaryCall(
8507                 new MethodHandlers<
8508                     com.google.cloud.channel.v1.ListSubscribersRequest,
8509                     com.google.cloud.channel.v1.ListSubscribersResponse>(
8510                     service, METHODID_LIST_SUBSCRIBERS)))
8511         .addMethod(
8512             getListEntitlementChangesMethod(),
8513             io.grpc.stub.ServerCalls.asyncUnaryCall(
8514                 new MethodHandlers<
8515                     com.google.cloud.channel.v1.ListEntitlementChangesRequest,
8516                     com.google.cloud.channel.v1.ListEntitlementChangesResponse>(
8517                     service, METHODID_LIST_ENTITLEMENT_CHANGES)))
8518         .build();
8519   }
8520 
8521   private abstract static class CloudChannelServiceBaseDescriptorSupplier
8522       implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
8523           io.grpc.protobuf.ProtoServiceDescriptorSupplier {
CloudChannelServiceBaseDescriptorSupplier()8524     CloudChannelServiceBaseDescriptorSupplier() {}
8525 
8526     @java.lang.Override
getFileDescriptor()8527     public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
8528       return com.google.cloud.channel.v1.ServiceProto.getDescriptor();
8529     }
8530 
8531     @java.lang.Override
getServiceDescriptor()8532     public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() {
8533       return getFileDescriptor().findServiceByName("CloudChannelService");
8534     }
8535   }
8536 
8537   private static final class CloudChannelServiceFileDescriptorSupplier
8538       extends CloudChannelServiceBaseDescriptorSupplier {
CloudChannelServiceFileDescriptorSupplier()8539     CloudChannelServiceFileDescriptorSupplier() {}
8540   }
8541 
8542   private static final class CloudChannelServiceMethodDescriptorSupplier
8543       extends CloudChannelServiceBaseDescriptorSupplier
8544       implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
8545     private final String methodName;
8546 
CloudChannelServiceMethodDescriptorSupplier(String methodName)8547     CloudChannelServiceMethodDescriptorSupplier(String methodName) {
8548       this.methodName = methodName;
8549     }
8550 
8551     @java.lang.Override
getMethodDescriptor()8552     public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() {
8553       return getServiceDescriptor().findMethodByName(methodName);
8554     }
8555   }
8556 
8557   private static volatile io.grpc.ServiceDescriptor serviceDescriptor;
8558 
getServiceDescriptor()8559   public static io.grpc.ServiceDescriptor getServiceDescriptor() {
8560     io.grpc.ServiceDescriptor result = serviceDescriptor;
8561     if (result == null) {
8562       synchronized (CloudChannelServiceGrpc.class) {
8563         result = serviceDescriptor;
8564         if (result == null) {
8565           serviceDescriptor =
8566               result =
8567                   io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
8568                       .setSchemaDescriptor(new CloudChannelServiceFileDescriptorSupplier())
8569                       .addMethod(getListCustomersMethod())
8570                       .addMethod(getGetCustomerMethod())
8571                       .addMethod(getCheckCloudIdentityAccountsExistMethod())
8572                       .addMethod(getCreateCustomerMethod())
8573                       .addMethod(getUpdateCustomerMethod())
8574                       .addMethod(getDeleteCustomerMethod())
8575                       .addMethod(getImportCustomerMethod())
8576                       .addMethod(getProvisionCloudIdentityMethod())
8577                       .addMethod(getListEntitlementsMethod())
8578                       .addMethod(getListTransferableSkusMethod())
8579                       .addMethod(getListTransferableOffersMethod())
8580                       .addMethod(getGetEntitlementMethod())
8581                       .addMethod(getCreateEntitlementMethod())
8582                       .addMethod(getChangeParametersMethod())
8583                       .addMethod(getChangeRenewalSettingsMethod())
8584                       .addMethod(getChangeOfferMethod())
8585                       .addMethod(getStartPaidServiceMethod())
8586                       .addMethod(getSuspendEntitlementMethod())
8587                       .addMethod(getCancelEntitlementMethod())
8588                       .addMethod(getActivateEntitlementMethod())
8589                       .addMethod(getTransferEntitlementsMethod())
8590                       .addMethod(getTransferEntitlementsToGoogleMethod())
8591                       .addMethod(getListChannelPartnerLinksMethod())
8592                       .addMethod(getGetChannelPartnerLinkMethod())
8593                       .addMethod(getCreateChannelPartnerLinkMethod())
8594                       .addMethod(getUpdateChannelPartnerLinkMethod())
8595                       .addMethod(getGetCustomerRepricingConfigMethod())
8596                       .addMethod(getListCustomerRepricingConfigsMethod())
8597                       .addMethod(getCreateCustomerRepricingConfigMethod())
8598                       .addMethod(getUpdateCustomerRepricingConfigMethod())
8599                       .addMethod(getDeleteCustomerRepricingConfigMethod())
8600                       .addMethod(getGetChannelPartnerRepricingConfigMethod())
8601                       .addMethod(getListChannelPartnerRepricingConfigsMethod())
8602                       .addMethod(getCreateChannelPartnerRepricingConfigMethod())
8603                       .addMethod(getUpdateChannelPartnerRepricingConfigMethod())
8604                       .addMethod(getDeleteChannelPartnerRepricingConfigMethod())
8605                       .addMethod(getLookupOfferMethod())
8606                       .addMethod(getListProductsMethod())
8607                       .addMethod(getListSkusMethod())
8608                       .addMethod(getListOffersMethod())
8609                       .addMethod(getListPurchasableSkusMethod())
8610                       .addMethod(getListPurchasableOffersMethod())
8611                       .addMethod(getRegisterSubscriberMethod())
8612                       .addMethod(getUnregisterSubscriberMethod())
8613                       .addMethod(getListSubscribersMethod())
8614                       .addMethod(getListEntitlementChangesMethod())
8615                       .build();
8616         }
8617       }
8618     }
8619     return result;
8620   }
8621 }
8622