• 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.container.v1;
17 
18 import static io.grpc.MethodDescriptor.generateFullMethodName;
19 
20 /**
21  *
22  *
23  * <pre>
24  * Google Kubernetes Engine Cluster Manager v1
25  * </pre>
26  */
27 @javax.annotation.Generated(
28     value = "by gRPC proto compiler",
29     comments = "Source: google/container/v1/cluster_service.proto")
30 @io.grpc.stub.annotations.GrpcGenerated
31 public final class ClusterManagerGrpc {
32 
ClusterManagerGrpc()33   private ClusterManagerGrpc() {}
34 
35   public static final String SERVICE_NAME = "google.container.v1.ClusterManager";
36 
37   // Static method descriptors that strictly reflect the proto.
38   private static volatile io.grpc.MethodDescriptor<
39           com.google.container.v1.ListClustersRequest, com.google.container.v1.ListClustersResponse>
40       getListClustersMethod;
41 
42   @io.grpc.stub.annotations.RpcMethod(
43       fullMethodName = SERVICE_NAME + '/' + "ListClusters",
44       requestType = com.google.container.v1.ListClustersRequest.class,
45       responseType = com.google.container.v1.ListClustersResponse.class,
46       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
47   public static io.grpc.MethodDescriptor<
48           com.google.container.v1.ListClustersRequest, com.google.container.v1.ListClustersResponse>
getListClustersMethod()49       getListClustersMethod() {
50     io.grpc.MethodDescriptor<
51             com.google.container.v1.ListClustersRequest,
52             com.google.container.v1.ListClustersResponse>
53         getListClustersMethod;
54     if ((getListClustersMethod = ClusterManagerGrpc.getListClustersMethod) == null) {
55       synchronized (ClusterManagerGrpc.class) {
56         if ((getListClustersMethod = ClusterManagerGrpc.getListClustersMethod) == null) {
57           ClusterManagerGrpc.getListClustersMethod =
58               getListClustersMethod =
59                   io.grpc.MethodDescriptor
60                       .<com.google.container.v1.ListClustersRequest,
61                           com.google.container.v1.ListClustersResponse>
62                           newBuilder()
63                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
64                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListClusters"))
65                       .setSampledToLocalTracing(true)
66                       .setRequestMarshaller(
67                           io.grpc.protobuf.ProtoUtils.marshaller(
68                               com.google.container.v1.ListClustersRequest.getDefaultInstance()))
69                       .setResponseMarshaller(
70                           io.grpc.protobuf.ProtoUtils.marshaller(
71                               com.google.container.v1.ListClustersResponse.getDefaultInstance()))
72                       .setSchemaDescriptor(
73                           new ClusterManagerMethodDescriptorSupplier("ListClusters"))
74                       .build();
75         }
76       }
77     }
78     return getListClustersMethod;
79   }
80 
81   private static volatile io.grpc.MethodDescriptor<
82           com.google.container.v1.GetClusterRequest, com.google.container.v1.Cluster>
83       getGetClusterMethod;
84 
85   @io.grpc.stub.annotations.RpcMethod(
86       fullMethodName = SERVICE_NAME + '/' + "GetCluster",
87       requestType = com.google.container.v1.GetClusterRequest.class,
88       responseType = com.google.container.v1.Cluster.class,
89       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
90   public static io.grpc.MethodDescriptor<
91           com.google.container.v1.GetClusterRequest, com.google.container.v1.Cluster>
getGetClusterMethod()92       getGetClusterMethod() {
93     io.grpc.MethodDescriptor<
94             com.google.container.v1.GetClusterRequest, com.google.container.v1.Cluster>
95         getGetClusterMethod;
96     if ((getGetClusterMethod = ClusterManagerGrpc.getGetClusterMethod) == null) {
97       synchronized (ClusterManagerGrpc.class) {
98         if ((getGetClusterMethod = ClusterManagerGrpc.getGetClusterMethod) == null) {
99           ClusterManagerGrpc.getGetClusterMethod =
100               getGetClusterMethod =
101                   io.grpc.MethodDescriptor
102                       .<com.google.container.v1.GetClusterRequest, com.google.container.v1.Cluster>
103                           newBuilder()
104                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
105                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCluster"))
106                       .setSampledToLocalTracing(true)
107                       .setRequestMarshaller(
108                           io.grpc.protobuf.ProtoUtils.marshaller(
109                               com.google.container.v1.GetClusterRequest.getDefaultInstance()))
110                       .setResponseMarshaller(
111                           io.grpc.protobuf.ProtoUtils.marshaller(
112                               com.google.container.v1.Cluster.getDefaultInstance()))
113                       .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("GetCluster"))
114                       .build();
115         }
116       }
117     }
118     return getGetClusterMethod;
119   }
120 
121   private static volatile io.grpc.MethodDescriptor<
122           com.google.container.v1.CreateClusterRequest, com.google.container.v1.Operation>
123       getCreateClusterMethod;
124 
125   @io.grpc.stub.annotations.RpcMethod(
126       fullMethodName = SERVICE_NAME + '/' + "CreateCluster",
127       requestType = com.google.container.v1.CreateClusterRequest.class,
128       responseType = com.google.container.v1.Operation.class,
129       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
130   public static io.grpc.MethodDescriptor<
131           com.google.container.v1.CreateClusterRequest, com.google.container.v1.Operation>
getCreateClusterMethod()132       getCreateClusterMethod() {
133     io.grpc.MethodDescriptor<
134             com.google.container.v1.CreateClusterRequest, com.google.container.v1.Operation>
135         getCreateClusterMethod;
136     if ((getCreateClusterMethod = ClusterManagerGrpc.getCreateClusterMethod) == null) {
137       synchronized (ClusterManagerGrpc.class) {
138         if ((getCreateClusterMethod = ClusterManagerGrpc.getCreateClusterMethod) == null) {
139           ClusterManagerGrpc.getCreateClusterMethod =
140               getCreateClusterMethod =
141                   io.grpc.MethodDescriptor
142                       .<com.google.container.v1.CreateClusterRequest,
143                           com.google.container.v1.Operation>
144                           newBuilder()
145                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
146                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCluster"))
147                       .setSampledToLocalTracing(true)
148                       .setRequestMarshaller(
149                           io.grpc.protobuf.ProtoUtils.marshaller(
150                               com.google.container.v1.CreateClusterRequest.getDefaultInstance()))
151                       .setResponseMarshaller(
152                           io.grpc.protobuf.ProtoUtils.marshaller(
153                               com.google.container.v1.Operation.getDefaultInstance()))
154                       .setSchemaDescriptor(
155                           new ClusterManagerMethodDescriptorSupplier("CreateCluster"))
156                       .build();
157         }
158       }
159     }
160     return getCreateClusterMethod;
161   }
162 
163   private static volatile io.grpc.MethodDescriptor<
164           com.google.container.v1.UpdateClusterRequest, com.google.container.v1.Operation>
165       getUpdateClusterMethod;
166 
167   @io.grpc.stub.annotations.RpcMethod(
168       fullMethodName = SERVICE_NAME + '/' + "UpdateCluster",
169       requestType = com.google.container.v1.UpdateClusterRequest.class,
170       responseType = com.google.container.v1.Operation.class,
171       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
172   public static io.grpc.MethodDescriptor<
173           com.google.container.v1.UpdateClusterRequest, com.google.container.v1.Operation>
getUpdateClusterMethod()174       getUpdateClusterMethod() {
175     io.grpc.MethodDescriptor<
176             com.google.container.v1.UpdateClusterRequest, com.google.container.v1.Operation>
177         getUpdateClusterMethod;
178     if ((getUpdateClusterMethod = ClusterManagerGrpc.getUpdateClusterMethod) == null) {
179       synchronized (ClusterManagerGrpc.class) {
180         if ((getUpdateClusterMethod = ClusterManagerGrpc.getUpdateClusterMethod) == null) {
181           ClusterManagerGrpc.getUpdateClusterMethod =
182               getUpdateClusterMethod =
183                   io.grpc.MethodDescriptor
184                       .<com.google.container.v1.UpdateClusterRequest,
185                           com.google.container.v1.Operation>
186                           newBuilder()
187                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
188                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCluster"))
189                       .setSampledToLocalTracing(true)
190                       .setRequestMarshaller(
191                           io.grpc.protobuf.ProtoUtils.marshaller(
192                               com.google.container.v1.UpdateClusterRequest.getDefaultInstance()))
193                       .setResponseMarshaller(
194                           io.grpc.protobuf.ProtoUtils.marshaller(
195                               com.google.container.v1.Operation.getDefaultInstance()))
196                       .setSchemaDescriptor(
197                           new ClusterManagerMethodDescriptorSupplier("UpdateCluster"))
198                       .build();
199         }
200       }
201     }
202     return getUpdateClusterMethod;
203   }
204 
205   private static volatile io.grpc.MethodDescriptor<
206           com.google.container.v1.UpdateNodePoolRequest, com.google.container.v1.Operation>
207       getUpdateNodePoolMethod;
208 
209   @io.grpc.stub.annotations.RpcMethod(
210       fullMethodName = SERVICE_NAME + '/' + "UpdateNodePool",
211       requestType = com.google.container.v1.UpdateNodePoolRequest.class,
212       responseType = com.google.container.v1.Operation.class,
213       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
214   public static io.grpc.MethodDescriptor<
215           com.google.container.v1.UpdateNodePoolRequest, com.google.container.v1.Operation>
getUpdateNodePoolMethod()216       getUpdateNodePoolMethod() {
217     io.grpc.MethodDescriptor<
218             com.google.container.v1.UpdateNodePoolRequest, com.google.container.v1.Operation>
219         getUpdateNodePoolMethod;
220     if ((getUpdateNodePoolMethod = ClusterManagerGrpc.getUpdateNodePoolMethod) == null) {
221       synchronized (ClusterManagerGrpc.class) {
222         if ((getUpdateNodePoolMethod = ClusterManagerGrpc.getUpdateNodePoolMethod) == null) {
223           ClusterManagerGrpc.getUpdateNodePoolMethod =
224               getUpdateNodePoolMethod =
225                   io.grpc.MethodDescriptor
226                       .<com.google.container.v1.UpdateNodePoolRequest,
227                           com.google.container.v1.Operation>
228                           newBuilder()
229                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
230                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateNodePool"))
231                       .setSampledToLocalTracing(true)
232                       .setRequestMarshaller(
233                           io.grpc.protobuf.ProtoUtils.marshaller(
234                               com.google.container.v1.UpdateNodePoolRequest.getDefaultInstance()))
235                       .setResponseMarshaller(
236                           io.grpc.protobuf.ProtoUtils.marshaller(
237                               com.google.container.v1.Operation.getDefaultInstance()))
238                       .setSchemaDescriptor(
239                           new ClusterManagerMethodDescriptorSupplier("UpdateNodePool"))
240                       .build();
241         }
242       }
243     }
244     return getUpdateNodePoolMethod;
245   }
246 
247   private static volatile io.grpc.MethodDescriptor<
248           com.google.container.v1.SetNodePoolAutoscalingRequest, com.google.container.v1.Operation>
249       getSetNodePoolAutoscalingMethod;
250 
251   @io.grpc.stub.annotations.RpcMethod(
252       fullMethodName = SERVICE_NAME + '/' + "SetNodePoolAutoscaling",
253       requestType = com.google.container.v1.SetNodePoolAutoscalingRequest.class,
254       responseType = com.google.container.v1.Operation.class,
255       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
256   public static io.grpc.MethodDescriptor<
257           com.google.container.v1.SetNodePoolAutoscalingRequest, com.google.container.v1.Operation>
getSetNodePoolAutoscalingMethod()258       getSetNodePoolAutoscalingMethod() {
259     io.grpc.MethodDescriptor<
260             com.google.container.v1.SetNodePoolAutoscalingRequest,
261             com.google.container.v1.Operation>
262         getSetNodePoolAutoscalingMethod;
263     if ((getSetNodePoolAutoscalingMethod = ClusterManagerGrpc.getSetNodePoolAutoscalingMethod)
264         == null) {
265       synchronized (ClusterManagerGrpc.class) {
266         if ((getSetNodePoolAutoscalingMethod = ClusterManagerGrpc.getSetNodePoolAutoscalingMethod)
267             == null) {
268           ClusterManagerGrpc.getSetNodePoolAutoscalingMethod =
269               getSetNodePoolAutoscalingMethod =
270                   io.grpc.MethodDescriptor
271                       .<com.google.container.v1.SetNodePoolAutoscalingRequest,
272                           com.google.container.v1.Operation>
273                           newBuilder()
274                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
275                       .setFullMethodName(
276                           generateFullMethodName(SERVICE_NAME, "SetNodePoolAutoscaling"))
277                       .setSampledToLocalTracing(true)
278                       .setRequestMarshaller(
279                           io.grpc.protobuf.ProtoUtils.marshaller(
280                               com.google.container.v1.SetNodePoolAutoscalingRequest
281                                   .getDefaultInstance()))
282                       .setResponseMarshaller(
283                           io.grpc.protobuf.ProtoUtils.marshaller(
284                               com.google.container.v1.Operation.getDefaultInstance()))
285                       .setSchemaDescriptor(
286                           new ClusterManagerMethodDescriptorSupplier("SetNodePoolAutoscaling"))
287                       .build();
288         }
289       }
290     }
291     return getSetNodePoolAutoscalingMethod;
292   }
293 
294   private static volatile io.grpc.MethodDescriptor<
295           com.google.container.v1.SetLoggingServiceRequest, com.google.container.v1.Operation>
296       getSetLoggingServiceMethod;
297 
298   @io.grpc.stub.annotations.RpcMethod(
299       fullMethodName = SERVICE_NAME + '/' + "SetLoggingService",
300       requestType = com.google.container.v1.SetLoggingServiceRequest.class,
301       responseType = com.google.container.v1.Operation.class,
302       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
303   public static io.grpc.MethodDescriptor<
304           com.google.container.v1.SetLoggingServiceRequest, com.google.container.v1.Operation>
getSetLoggingServiceMethod()305       getSetLoggingServiceMethod() {
306     io.grpc.MethodDescriptor<
307             com.google.container.v1.SetLoggingServiceRequest, com.google.container.v1.Operation>
308         getSetLoggingServiceMethod;
309     if ((getSetLoggingServiceMethod = ClusterManagerGrpc.getSetLoggingServiceMethod) == null) {
310       synchronized (ClusterManagerGrpc.class) {
311         if ((getSetLoggingServiceMethod = ClusterManagerGrpc.getSetLoggingServiceMethod) == null) {
312           ClusterManagerGrpc.getSetLoggingServiceMethod =
313               getSetLoggingServiceMethod =
314                   io.grpc.MethodDescriptor
315                       .<com.google.container.v1.SetLoggingServiceRequest,
316                           com.google.container.v1.Operation>
317                           newBuilder()
318                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
319                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetLoggingService"))
320                       .setSampledToLocalTracing(true)
321                       .setRequestMarshaller(
322                           io.grpc.protobuf.ProtoUtils.marshaller(
323                               com.google.container.v1.SetLoggingServiceRequest
324                                   .getDefaultInstance()))
325                       .setResponseMarshaller(
326                           io.grpc.protobuf.ProtoUtils.marshaller(
327                               com.google.container.v1.Operation.getDefaultInstance()))
328                       .setSchemaDescriptor(
329                           new ClusterManagerMethodDescriptorSupplier("SetLoggingService"))
330                       .build();
331         }
332       }
333     }
334     return getSetLoggingServiceMethod;
335   }
336 
337   private static volatile io.grpc.MethodDescriptor<
338           com.google.container.v1.SetMonitoringServiceRequest, com.google.container.v1.Operation>
339       getSetMonitoringServiceMethod;
340 
341   @io.grpc.stub.annotations.RpcMethod(
342       fullMethodName = SERVICE_NAME + '/' + "SetMonitoringService",
343       requestType = com.google.container.v1.SetMonitoringServiceRequest.class,
344       responseType = com.google.container.v1.Operation.class,
345       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
346   public static io.grpc.MethodDescriptor<
347           com.google.container.v1.SetMonitoringServiceRequest, com.google.container.v1.Operation>
getSetMonitoringServiceMethod()348       getSetMonitoringServiceMethod() {
349     io.grpc.MethodDescriptor<
350             com.google.container.v1.SetMonitoringServiceRequest, com.google.container.v1.Operation>
351         getSetMonitoringServiceMethod;
352     if ((getSetMonitoringServiceMethod = ClusterManagerGrpc.getSetMonitoringServiceMethod)
353         == null) {
354       synchronized (ClusterManagerGrpc.class) {
355         if ((getSetMonitoringServiceMethod = ClusterManagerGrpc.getSetMonitoringServiceMethod)
356             == null) {
357           ClusterManagerGrpc.getSetMonitoringServiceMethod =
358               getSetMonitoringServiceMethod =
359                   io.grpc.MethodDescriptor
360                       .<com.google.container.v1.SetMonitoringServiceRequest,
361                           com.google.container.v1.Operation>
362                           newBuilder()
363                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
364                       .setFullMethodName(
365                           generateFullMethodName(SERVICE_NAME, "SetMonitoringService"))
366                       .setSampledToLocalTracing(true)
367                       .setRequestMarshaller(
368                           io.grpc.protobuf.ProtoUtils.marshaller(
369                               com.google.container.v1.SetMonitoringServiceRequest
370                                   .getDefaultInstance()))
371                       .setResponseMarshaller(
372                           io.grpc.protobuf.ProtoUtils.marshaller(
373                               com.google.container.v1.Operation.getDefaultInstance()))
374                       .setSchemaDescriptor(
375                           new ClusterManagerMethodDescriptorSupplier("SetMonitoringService"))
376                       .build();
377         }
378       }
379     }
380     return getSetMonitoringServiceMethod;
381   }
382 
383   private static volatile io.grpc.MethodDescriptor<
384           com.google.container.v1.SetAddonsConfigRequest, com.google.container.v1.Operation>
385       getSetAddonsConfigMethod;
386 
387   @io.grpc.stub.annotations.RpcMethod(
388       fullMethodName = SERVICE_NAME + '/' + "SetAddonsConfig",
389       requestType = com.google.container.v1.SetAddonsConfigRequest.class,
390       responseType = com.google.container.v1.Operation.class,
391       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
392   public static io.grpc.MethodDescriptor<
393           com.google.container.v1.SetAddonsConfigRequest, com.google.container.v1.Operation>
getSetAddonsConfigMethod()394       getSetAddonsConfigMethod() {
395     io.grpc.MethodDescriptor<
396             com.google.container.v1.SetAddonsConfigRequest, com.google.container.v1.Operation>
397         getSetAddonsConfigMethod;
398     if ((getSetAddonsConfigMethod = ClusterManagerGrpc.getSetAddonsConfigMethod) == null) {
399       synchronized (ClusterManagerGrpc.class) {
400         if ((getSetAddonsConfigMethod = ClusterManagerGrpc.getSetAddonsConfigMethod) == null) {
401           ClusterManagerGrpc.getSetAddonsConfigMethod =
402               getSetAddonsConfigMethod =
403                   io.grpc.MethodDescriptor
404                       .<com.google.container.v1.SetAddonsConfigRequest,
405                           com.google.container.v1.Operation>
406                           newBuilder()
407                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
408                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetAddonsConfig"))
409                       .setSampledToLocalTracing(true)
410                       .setRequestMarshaller(
411                           io.grpc.protobuf.ProtoUtils.marshaller(
412                               com.google.container.v1.SetAddonsConfigRequest.getDefaultInstance()))
413                       .setResponseMarshaller(
414                           io.grpc.protobuf.ProtoUtils.marshaller(
415                               com.google.container.v1.Operation.getDefaultInstance()))
416                       .setSchemaDescriptor(
417                           new ClusterManagerMethodDescriptorSupplier("SetAddonsConfig"))
418                       .build();
419         }
420       }
421     }
422     return getSetAddonsConfigMethod;
423   }
424 
425   private static volatile io.grpc.MethodDescriptor<
426           com.google.container.v1.SetLocationsRequest, com.google.container.v1.Operation>
427       getSetLocationsMethod;
428 
429   @io.grpc.stub.annotations.RpcMethod(
430       fullMethodName = SERVICE_NAME + '/' + "SetLocations",
431       requestType = com.google.container.v1.SetLocationsRequest.class,
432       responseType = com.google.container.v1.Operation.class,
433       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
434   public static io.grpc.MethodDescriptor<
435           com.google.container.v1.SetLocationsRequest, com.google.container.v1.Operation>
getSetLocationsMethod()436       getSetLocationsMethod() {
437     io.grpc.MethodDescriptor<
438             com.google.container.v1.SetLocationsRequest, com.google.container.v1.Operation>
439         getSetLocationsMethod;
440     if ((getSetLocationsMethod = ClusterManagerGrpc.getSetLocationsMethod) == null) {
441       synchronized (ClusterManagerGrpc.class) {
442         if ((getSetLocationsMethod = ClusterManagerGrpc.getSetLocationsMethod) == null) {
443           ClusterManagerGrpc.getSetLocationsMethod =
444               getSetLocationsMethod =
445                   io.grpc.MethodDescriptor
446                       .<com.google.container.v1.SetLocationsRequest,
447                           com.google.container.v1.Operation>
448                           newBuilder()
449                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
450                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetLocations"))
451                       .setSampledToLocalTracing(true)
452                       .setRequestMarshaller(
453                           io.grpc.protobuf.ProtoUtils.marshaller(
454                               com.google.container.v1.SetLocationsRequest.getDefaultInstance()))
455                       .setResponseMarshaller(
456                           io.grpc.protobuf.ProtoUtils.marshaller(
457                               com.google.container.v1.Operation.getDefaultInstance()))
458                       .setSchemaDescriptor(
459                           new ClusterManagerMethodDescriptorSupplier("SetLocations"))
460                       .build();
461         }
462       }
463     }
464     return getSetLocationsMethod;
465   }
466 
467   private static volatile io.grpc.MethodDescriptor<
468           com.google.container.v1.UpdateMasterRequest, com.google.container.v1.Operation>
469       getUpdateMasterMethod;
470 
471   @io.grpc.stub.annotations.RpcMethod(
472       fullMethodName = SERVICE_NAME + '/' + "UpdateMaster",
473       requestType = com.google.container.v1.UpdateMasterRequest.class,
474       responseType = com.google.container.v1.Operation.class,
475       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
476   public static io.grpc.MethodDescriptor<
477           com.google.container.v1.UpdateMasterRequest, com.google.container.v1.Operation>
getUpdateMasterMethod()478       getUpdateMasterMethod() {
479     io.grpc.MethodDescriptor<
480             com.google.container.v1.UpdateMasterRequest, com.google.container.v1.Operation>
481         getUpdateMasterMethod;
482     if ((getUpdateMasterMethod = ClusterManagerGrpc.getUpdateMasterMethod) == null) {
483       synchronized (ClusterManagerGrpc.class) {
484         if ((getUpdateMasterMethod = ClusterManagerGrpc.getUpdateMasterMethod) == null) {
485           ClusterManagerGrpc.getUpdateMasterMethod =
486               getUpdateMasterMethod =
487                   io.grpc.MethodDescriptor
488                       .<com.google.container.v1.UpdateMasterRequest,
489                           com.google.container.v1.Operation>
490                           newBuilder()
491                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
492                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateMaster"))
493                       .setSampledToLocalTracing(true)
494                       .setRequestMarshaller(
495                           io.grpc.protobuf.ProtoUtils.marshaller(
496                               com.google.container.v1.UpdateMasterRequest.getDefaultInstance()))
497                       .setResponseMarshaller(
498                           io.grpc.protobuf.ProtoUtils.marshaller(
499                               com.google.container.v1.Operation.getDefaultInstance()))
500                       .setSchemaDescriptor(
501                           new ClusterManagerMethodDescriptorSupplier("UpdateMaster"))
502                       .build();
503         }
504       }
505     }
506     return getUpdateMasterMethod;
507   }
508 
509   private static volatile io.grpc.MethodDescriptor<
510           com.google.container.v1.SetMasterAuthRequest, com.google.container.v1.Operation>
511       getSetMasterAuthMethod;
512 
513   @io.grpc.stub.annotations.RpcMethod(
514       fullMethodName = SERVICE_NAME + '/' + "SetMasterAuth",
515       requestType = com.google.container.v1.SetMasterAuthRequest.class,
516       responseType = com.google.container.v1.Operation.class,
517       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
518   public static io.grpc.MethodDescriptor<
519           com.google.container.v1.SetMasterAuthRequest, com.google.container.v1.Operation>
getSetMasterAuthMethod()520       getSetMasterAuthMethod() {
521     io.grpc.MethodDescriptor<
522             com.google.container.v1.SetMasterAuthRequest, com.google.container.v1.Operation>
523         getSetMasterAuthMethod;
524     if ((getSetMasterAuthMethod = ClusterManagerGrpc.getSetMasterAuthMethod) == null) {
525       synchronized (ClusterManagerGrpc.class) {
526         if ((getSetMasterAuthMethod = ClusterManagerGrpc.getSetMasterAuthMethod) == null) {
527           ClusterManagerGrpc.getSetMasterAuthMethod =
528               getSetMasterAuthMethod =
529                   io.grpc.MethodDescriptor
530                       .<com.google.container.v1.SetMasterAuthRequest,
531                           com.google.container.v1.Operation>
532                           newBuilder()
533                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
534                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetMasterAuth"))
535                       .setSampledToLocalTracing(true)
536                       .setRequestMarshaller(
537                           io.grpc.protobuf.ProtoUtils.marshaller(
538                               com.google.container.v1.SetMasterAuthRequest.getDefaultInstance()))
539                       .setResponseMarshaller(
540                           io.grpc.protobuf.ProtoUtils.marshaller(
541                               com.google.container.v1.Operation.getDefaultInstance()))
542                       .setSchemaDescriptor(
543                           new ClusterManagerMethodDescriptorSupplier("SetMasterAuth"))
544                       .build();
545         }
546       }
547     }
548     return getSetMasterAuthMethod;
549   }
550 
551   private static volatile io.grpc.MethodDescriptor<
552           com.google.container.v1.DeleteClusterRequest, com.google.container.v1.Operation>
553       getDeleteClusterMethod;
554 
555   @io.grpc.stub.annotations.RpcMethod(
556       fullMethodName = SERVICE_NAME + '/' + "DeleteCluster",
557       requestType = com.google.container.v1.DeleteClusterRequest.class,
558       responseType = com.google.container.v1.Operation.class,
559       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
560   public static io.grpc.MethodDescriptor<
561           com.google.container.v1.DeleteClusterRequest, com.google.container.v1.Operation>
getDeleteClusterMethod()562       getDeleteClusterMethod() {
563     io.grpc.MethodDescriptor<
564             com.google.container.v1.DeleteClusterRequest, com.google.container.v1.Operation>
565         getDeleteClusterMethod;
566     if ((getDeleteClusterMethod = ClusterManagerGrpc.getDeleteClusterMethod) == null) {
567       synchronized (ClusterManagerGrpc.class) {
568         if ((getDeleteClusterMethod = ClusterManagerGrpc.getDeleteClusterMethod) == null) {
569           ClusterManagerGrpc.getDeleteClusterMethod =
570               getDeleteClusterMethod =
571                   io.grpc.MethodDescriptor
572                       .<com.google.container.v1.DeleteClusterRequest,
573                           com.google.container.v1.Operation>
574                           newBuilder()
575                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
576                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCluster"))
577                       .setSampledToLocalTracing(true)
578                       .setRequestMarshaller(
579                           io.grpc.protobuf.ProtoUtils.marshaller(
580                               com.google.container.v1.DeleteClusterRequest.getDefaultInstance()))
581                       .setResponseMarshaller(
582                           io.grpc.protobuf.ProtoUtils.marshaller(
583                               com.google.container.v1.Operation.getDefaultInstance()))
584                       .setSchemaDescriptor(
585                           new ClusterManagerMethodDescriptorSupplier("DeleteCluster"))
586                       .build();
587         }
588       }
589     }
590     return getDeleteClusterMethod;
591   }
592 
593   private static volatile io.grpc.MethodDescriptor<
594           com.google.container.v1.ListOperationsRequest,
595           com.google.container.v1.ListOperationsResponse>
596       getListOperationsMethod;
597 
598   @io.grpc.stub.annotations.RpcMethod(
599       fullMethodName = SERVICE_NAME + '/' + "ListOperations",
600       requestType = com.google.container.v1.ListOperationsRequest.class,
601       responseType = com.google.container.v1.ListOperationsResponse.class,
602       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
603   public static io.grpc.MethodDescriptor<
604           com.google.container.v1.ListOperationsRequest,
605           com.google.container.v1.ListOperationsResponse>
getListOperationsMethod()606       getListOperationsMethod() {
607     io.grpc.MethodDescriptor<
608             com.google.container.v1.ListOperationsRequest,
609             com.google.container.v1.ListOperationsResponse>
610         getListOperationsMethod;
611     if ((getListOperationsMethod = ClusterManagerGrpc.getListOperationsMethod) == null) {
612       synchronized (ClusterManagerGrpc.class) {
613         if ((getListOperationsMethod = ClusterManagerGrpc.getListOperationsMethod) == null) {
614           ClusterManagerGrpc.getListOperationsMethod =
615               getListOperationsMethod =
616                   io.grpc.MethodDescriptor
617                       .<com.google.container.v1.ListOperationsRequest,
618                           com.google.container.v1.ListOperationsResponse>
619                           newBuilder()
620                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
621                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListOperations"))
622                       .setSampledToLocalTracing(true)
623                       .setRequestMarshaller(
624                           io.grpc.protobuf.ProtoUtils.marshaller(
625                               com.google.container.v1.ListOperationsRequest.getDefaultInstance()))
626                       .setResponseMarshaller(
627                           io.grpc.protobuf.ProtoUtils.marshaller(
628                               com.google.container.v1.ListOperationsResponse.getDefaultInstance()))
629                       .setSchemaDescriptor(
630                           new ClusterManagerMethodDescriptorSupplier("ListOperations"))
631                       .build();
632         }
633       }
634     }
635     return getListOperationsMethod;
636   }
637 
638   private static volatile io.grpc.MethodDescriptor<
639           com.google.container.v1.GetOperationRequest, com.google.container.v1.Operation>
640       getGetOperationMethod;
641 
642   @io.grpc.stub.annotations.RpcMethod(
643       fullMethodName = SERVICE_NAME + '/' + "GetOperation",
644       requestType = com.google.container.v1.GetOperationRequest.class,
645       responseType = com.google.container.v1.Operation.class,
646       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
647   public static io.grpc.MethodDescriptor<
648           com.google.container.v1.GetOperationRequest, com.google.container.v1.Operation>
getGetOperationMethod()649       getGetOperationMethod() {
650     io.grpc.MethodDescriptor<
651             com.google.container.v1.GetOperationRequest, com.google.container.v1.Operation>
652         getGetOperationMethod;
653     if ((getGetOperationMethod = ClusterManagerGrpc.getGetOperationMethod) == null) {
654       synchronized (ClusterManagerGrpc.class) {
655         if ((getGetOperationMethod = ClusterManagerGrpc.getGetOperationMethod) == null) {
656           ClusterManagerGrpc.getGetOperationMethod =
657               getGetOperationMethod =
658                   io.grpc.MethodDescriptor
659                       .<com.google.container.v1.GetOperationRequest,
660                           com.google.container.v1.Operation>
661                           newBuilder()
662                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
663                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetOperation"))
664                       .setSampledToLocalTracing(true)
665                       .setRequestMarshaller(
666                           io.grpc.protobuf.ProtoUtils.marshaller(
667                               com.google.container.v1.GetOperationRequest.getDefaultInstance()))
668                       .setResponseMarshaller(
669                           io.grpc.protobuf.ProtoUtils.marshaller(
670                               com.google.container.v1.Operation.getDefaultInstance()))
671                       .setSchemaDescriptor(
672                           new ClusterManagerMethodDescriptorSupplier("GetOperation"))
673                       .build();
674         }
675       }
676     }
677     return getGetOperationMethod;
678   }
679 
680   private static volatile io.grpc.MethodDescriptor<
681           com.google.container.v1.CancelOperationRequest, com.google.protobuf.Empty>
682       getCancelOperationMethod;
683 
684   @io.grpc.stub.annotations.RpcMethod(
685       fullMethodName = SERVICE_NAME + '/' + "CancelOperation",
686       requestType = com.google.container.v1.CancelOperationRequest.class,
687       responseType = com.google.protobuf.Empty.class,
688       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
689   public static io.grpc.MethodDescriptor<
690           com.google.container.v1.CancelOperationRequest, com.google.protobuf.Empty>
getCancelOperationMethod()691       getCancelOperationMethod() {
692     io.grpc.MethodDescriptor<
693             com.google.container.v1.CancelOperationRequest, com.google.protobuf.Empty>
694         getCancelOperationMethod;
695     if ((getCancelOperationMethod = ClusterManagerGrpc.getCancelOperationMethod) == null) {
696       synchronized (ClusterManagerGrpc.class) {
697         if ((getCancelOperationMethod = ClusterManagerGrpc.getCancelOperationMethod) == null) {
698           ClusterManagerGrpc.getCancelOperationMethod =
699               getCancelOperationMethod =
700                   io.grpc.MethodDescriptor
701                       .<com.google.container.v1.CancelOperationRequest, com.google.protobuf.Empty>
702                           newBuilder()
703                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
704                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelOperation"))
705                       .setSampledToLocalTracing(true)
706                       .setRequestMarshaller(
707                           io.grpc.protobuf.ProtoUtils.marshaller(
708                               com.google.container.v1.CancelOperationRequest.getDefaultInstance()))
709                       .setResponseMarshaller(
710                           io.grpc.protobuf.ProtoUtils.marshaller(
711                               com.google.protobuf.Empty.getDefaultInstance()))
712                       .setSchemaDescriptor(
713                           new ClusterManagerMethodDescriptorSupplier("CancelOperation"))
714                       .build();
715         }
716       }
717     }
718     return getCancelOperationMethod;
719   }
720 
721   private static volatile io.grpc.MethodDescriptor<
722           com.google.container.v1.GetServerConfigRequest, com.google.container.v1.ServerConfig>
723       getGetServerConfigMethod;
724 
725   @io.grpc.stub.annotations.RpcMethod(
726       fullMethodName = SERVICE_NAME + '/' + "GetServerConfig",
727       requestType = com.google.container.v1.GetServerConfigRequest.class,
728       responseType = com.google.container.v1.ServerConfig.class,
729       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
730   public static io.grpc.MethodDescriptor<
731           com.google.container.v1.GetServerConfigRequest, com.google.container.v1.ServerConfig>
getGetServerConfigMethod()732       getGetServerConfigMethod() {
733     io.grpc.MethodDescriptor<
734             com.google.container.v1.GetServerConfigRequest, com.google.container.v1.ServerConfig>
735         getGetServerConfigMethod;
736     if ((getGetServerConfigMethod = ClusterManagerGrpc.getGetServerConfigMethod) == null) {
737       synchronized (ClusterManagerGrpc.class) {
738         if ((getGetServerConfigMethod = ClusterManagerGrpc.getGetServerConfigMethod) == null) {
739           ClusterManagerGrpc.getGetServerConfigMethod =
740               getGetServerConfigMethod =
741                   io.grpc.MethodDescriptor
742                       .<com.google.container.v1.GetServerConfigRequest,
743                           com.google.container.v1.ServerConfig>
744                           newBuilder()
745                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
746                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetServerConfig"))
747                       .setSampledToLocalTracing(true)
748                       .setRequestMarshaller(
749                           io.grpc.protobuf.ProtoUtils.marshaller(
750                               com.google.container.v1.GetServerConfigRequest.getDefaultInstance()))
751                       .setResponseMarshaller(
752                           io.grpc.protobuf.ProtoUtils.marshaller(
753                               com.google.container.v1.ServerConfig.getDefaultInstance()))
754                       .setSchemaDescriptor(
755                           new ClusterManagerMethodDescriptorSupplier("GetServerConfig"))
756                       .build();
757         }
758       }
759     }
760     return getGetServerConfigMethod;
761   }
762 
763   private static volatile io.grpc.MethodDescriptor<
764           com.google.container.v1.GetJSONWebKeysRequest,
765           com.google.container.v1.GetJSONWebKeysResponse>
766       getGetJSONWebKeysMethod;
767 
768   @io.grpc.stub.annotations.RpcMethod(
769       fullMethodName = SERVICE_NAME + '/' + "GetJSONWebKeys",
770       requestType = com.google.container.v1.GetJSONWebKeysRequest.class,
771       responseType = com.google.container.v1.GetJSONWebKeysResponse.class,
772       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
773   public static io.grpc.MethodDescriptor<
774           com.google.container.v1.GetJSONWebKeysRequest,
775           com.google.container.v1.GetJSONWebKeysResponse>
getGetJSONWebKeysMethod()776       getGetJSONWebKeysMethod() {
777     io.grpc.MethodDescriptor<
778             com.google.container.v1.GetJSONWebKeysRequest,
779             com.google.container.v1.GetJSONWebKeysResponse>
780         getGetJSONWebKeysMethod;
781     if ((getGetJSONWebKeysMethod = ClusterManagerGrpc.getGetJSONWebKeysMethod) == null) {
782       synchronized (ClusterManagerGrpc.class) {
783         if ((getGetJSONWebKeysMethod = ClusterManagerGrpc.getGetJSONWebKeysMethod) == null) {
784           ClusterManagerGrpc.getGetJSONWebKeysMethod =
785               getGetJSONWebKeysMethod =
786                   io.grpc.MethodDescriptor
787                       .<com.google.container.v1.GetJSONWebKeysRequest,
788                           com.google.container.v1.GetJSONWebKeysResponse>
789                           newBuilder()
790                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
791                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJSONWebKeys"))
792                       .setSampledToLocalTracing(true)
793                       .setRequestMarshaller(
794                           io.grpc.protobuf.ProtoUtils.marshaller(
795                               com.google.container.v1.GetJSONWebKeysRequest.getDefaultInstance()))
796                       .setResponseMarshaller(
797                           io.grpc.protobuf.ProtoUtils.marshaller(
798                               com.google.container.v1.GetJSONWebKeysResponse.getDefaultInstance()))
799                       .setSchemaDescriptor(
800                           new ClusterManagerMethodDescriptorSupplier("GetJSONWebKeys"))
801                       .build();
802         }
803       }
804     }
805     return getGetJSONWebKeysMethod;
806   }
807 
808   private static volatile io.grpc.MethodDescriptor<
809           com.google.container.v1.ListNodePoolsRequest,
810           com.google.container.v1.ListNodePoolsResponse>
811       getListNodePoolsMethod;
812 
813   @io.grpc.stub.annotations.RpcMethod(
814       fullMethodName = SERVICE_NAME + '/' + "ListNodePools",
815       requestType = com.google.container.v1.ListNodePoolsRequest.class,
816       responseType = com.google.container.v1.ListNodePoolsResponse.class,
817       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
818   public static io.grpc.MethodDescriptor<
819           com.google.container.v1.ListNodePoolsRequest,
820           com.google.container.v1.ListNodePoolsResponse>
getListNodePoolsMethod()821       getListNodePoolsMethod() {
822     io.grpc.MethodDescriptor<
823             com.google.container.v1.ListNodePoolsRequest,
824             com.google.container.v1.ListNodePoolsResponse>
825         getListNodePoolsMethod;
826     if ((getListNodePoolsMethod = ClusterManagerGrpc.getListNodePoolsMethod) == null) {
827       synchronized (ClusterManagerGrpc.class) {
828         if ((getListNodePoolsMethod = ClusterManagerGrpc.getListNodePoolsMethod) == null) {
829           ClusterManagerGrpc.getListNodePoolsMethod =
830               getListNodePoolsMethod =
831                   io.grpc.MethodDescriptor
832                       .<com.google.container.v1.ListNodePoolsRequest,
833                           com.google.container.v1.ListNodePoolsResponse>
834                           newBuilder()
835                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
836                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListNodePools"))
837                       .setSampledToLocalTracing(true)
838                       .setRequestMarshaller(
839                           io.grpc.protobuf.ProtoUtils.marshaller(
840                               com.google.container.v1.ListNodePoolsRequest.getDefaultInstance()))
841                       .setResponseMarshaller(
842                           io.grpc.protobuf.ProtoUtils.marshaller(
843                               com.google.container.v1.ListNodePoolsResponse.getDefaultInstance()))
844                       .setSchemaDescriptor(
845                           new ClusterManagerMethodDescriptorSupplier("ListNodePools"))
846                       .build();
847         }
848       }
849     }
850     return getListNodePoolsMethod;
851   }
852 
853   private static volatile io.grpc.MethodDescriptor<
854           com.google.container.v1.GetNodePoolRequest, com.google.container.v1.NodePool>
855       getGetNodePoolMethod;
856 
857   @io.grpc.stub.annotations.RpcMethod(
858       fullMethodName = SERVICE_NAME + '/' + "GetNodePool",
859       requestType = com.google.container.v1.GetNodePoolRequest.class,
860       responseType = com.google.container.v1.NodePool.class,
861       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
862   public static io.grpc.MethodDescriptor<
863           com.google.container.v1.GetNodePoolRequest, com.google.container.v1.NodePool>
getGetNodePoolMethod()864       getGetNodePoolMethod() {
865     io.grpc.MethodDescriptor<
866             com.google.container.v1.GetNodePoolRequest, com.google.container.v1.NodePool>
867         getGetNodePoolMethod;
868     if ((getGetNodePoolMethod = ClusterManagerGrpc.getGetNodePoolMethod) == null) {
869       synchronized (ClusterManagerGrpc.class) {
870         if ((getGetNodePoolMethod = ClusterManagerGrpc.getGetNodePoolMethod) == null) {
871           ClusterManagerGrpc.getGetNodePoolMethod =
872               getGetNodePoolMethod =
873                   io.grpc.MethodDescriptor
874                       .<com.google.container.v1.GetNodePoolRequest,
875                           com.google.container.v1.NodePool>
876                           newBuilder()
877                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
878                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetNodePool"))
879                       .setSampledToLocalTracing(true)
880                       .setRequestMarshaller(
881                           io.grpc.protobuf.ProtoUtils.marshaller(
882                               com.google.container.v1.GetNodePoolRequest.getDefaultInstance()))
883                       .setResponseMarshaller(
884                           io.grpc.protobuf.ProtoUtils.marshaller(
885                               com.google.container.v1.NodePool.getDefaultInstance()))
886                       .setSchemaDescriptor(
887                           new ClusterManagerMethodDescriptorSupplier("GetNodePool"))
888                       .build();
889         }
890       }
891     }
892     return getGetNodePoolMethod;
893   }
894 
895   private static volatile io.grpc.MethodDescriptor<
896           com.google.container.v1.CreateNodePoolRequest, com.google.container.v1.Operation>
897       getCreateNodePoolMethod;
898 
899   @io.grpc.stub.annotations.RpcMethod(
900       fullMethodName = SERVICE_NAME + '/' + "CreateNodePool",
901       requestType = com.google.container.v1.CreateNodePoolRequest.class,
902       responseType = com.google.container.v1.Operation.class,
903       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
904   public static io.grpc.MethodDescriptor<
905           com.google.container.v1.CreateNodePoolRequest, com.google.container.v1.Operation>
getCreateNodePoolMethod()906       getCreateNodePoolMethod() {
907     io.grpc.MethodDescriptor<
908             com.google.container.v1.CreateNodePoolRequest, com.google.container.v1.Operation>
909         getCreateNodePoolMethod;
910     if ((getCreateNodePoolMethod = ClusterManagerGrpc.getCreateNodePoolMethod) == null) {
911       synchronized (ClusterManagerGrpc.class) {
912         if ((getCreateNodePoolMethod = ClusterManagerGrpc.getCreateNodePoolMethod) == null) {
913           ClusterManagerGrpc.getCreateNodePoolMethod =
914               getCreateNodePoolMethod =
915                   io.grpc.MethodDescriptor
916                       .<com.google.container.v1.CreateNodePoolRequest,
917                           com.google.container.v1.Operation>
918                           newBuilder()
919                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
920                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateNodePool"))
921                       .setSampledToLocalTracing(true)
922                       .setRequestMarshaller(
923                           io.grpc.protobuf.ProtoUtils.marshaller(
924                               com.google.container.v1.CreateNodePoolRequest.getDefaultInstance()))
925                       .setResponseMarshaller(
926                           io.grpc.protobuf.ProtoUtils.marshaller(
927                               com.google.container.v1.Operation.getDefaultInstance()))
928                       .setSchemaDescriptor(
929                           new ClusterManagerMethodDescriptorSupplier("CreateNodePool"))
930                       .build();
931         }
932       }
933     }
934     return getCreateNodePoolMethod;
935   }
936 
937   private static volatile io.grpc.MethodDescriptor<
938           com.google.container.v1.DeleteNodePoolRequest, com.google.container.v1.Operation>
939       getDeleteNodePoolMethod;
940 
941   @io.grpc.stub.annotations.RpcMethod(
942       fullMethodName = SERVICE_NAME + '/' + "DeleteNodePool",
943       requestType = com.google.container.v1.DeleteNodePoolRequest.class,
944       responseType = com.google.container.v1.Operation.class,
945       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
946   public static io.grpc.MethodDescriptor<
947           com.google.container.v1.DeleteNodePoolRequest, com.google.container.v1.Operation>
getDeleteNodePoolMethod()948       getDeleteNodePoolMethod() {
949     io.grpc.MethodDescriptor<
950             com.google.container.v1.DeleteNodePoolRequest, com.google.container.v1.Operation>
951         getDeleteNodePoolMethod;
952     if ((getDeleteNodePoolMethod = ClusterManagerGrpc.getDeleteNodePoolMethod) == null) {
953       synchronized (ClusterManagerGrpc.class) {
954         if ((getDeleteNodePoolMethod = ClusterManagerGrpc.getDeleteNodePoolMethod) == null) {
955           ClusterManagerGrpc.getDeleteNodePoolMethod =
956               getDeleteNodePoolMethod =
957                   io.grpc.MethodDescriptor
958                       .<com.google.container.v1.DeleteNodePoolRequest,
959                           com.google.container.v1.Operation>
960                           newBuilder()
961                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
962                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteNodePool"))
963                       .setSampledToLocalTracing(true)
964                       .setRequestMarshaller(
965                           io.grpc.protobuf.ProtoUtils.marshaller(
966                               com.google.container.v1.DeleteNodePoolRequest.getDefaultInstance()))
967                       .setResponseMarshaller(
968                           io.grpc.protobuf.ProtoUtils.marshaller(
969                               com.google.container.v1.Operation.getDefaultInstance()))
970                       .setSchemaDescriptor(
971                           new ClusterManagerMethodDescriptorSupplier("DeleteNodePool"))
972                       .build();
973         }
974       }
975     }
976     return getDeleteNodePoolMethod;
977   }
978 
979   private static volatile io.grpc.MethodDescriptor<
980           com.google.container.v1.CompleteNodePoolUpgradeRequest, com.google.protobuf.Empty>
981       getCompleteNodePoolUpgradeMethod;
982 
983   @io.grpc.stub.annotations.RpcMethod(
984       fullMethodName = SERVICE_NAME + '/' + "CompleteNodePoolUpgrade",
985       requestType = com.google.container.v1.CompleteNodePoolUpgradeRequest.class,
986       responseType = com.google.protobuf.Empty.class,
987       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
988   public static io.grpc.MethodDescriptor<
989           com.google.container.v1.CompleteNodePoolUpgradeRequest, com.google.protobuf.Empty>
getCompleteNodePoolUpgradeMethod()990       getCompleteNodePoolUpgradeMethod() {
991     io.grpc.MethodDescriptor<
992             com.google.container.v1.CompleteNodePoolUpgradeRequest, com.google.protobuf.Empty>
993         getCompleteNodePoolUpgradeMethod;
994     if ((getCompleteNodePoolUpgradeMethod = ClusterManagerGrpc.getCompleteNodePoolUpgradeMethod)
995         == null) {
996       synchronized (ClusterManagerGrpc.class) {
997         if ((getCompleteNodePoolUpgradeMethod = ClusterManagerGrpc.getCompleteNodePoolUpgradeMethod)
998             == null) {
999           ClusterManagerGrpc.getCompleteNodePoolUpgradeMethod =
1000               getCompleteNodePoolUpgradeMethod =
1001                   io.grpc.MethodDescriptor
1002                       .<com.google.container.v1.CompleteNodePoolUpgradeRequest,
1003                           com.google.protobuf.Empty>
1004                           newBuilder()
1005                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1006                       .setFullMethodName(
1007                           generateFullMethodName(SERVICE_NAME, "CompleteNodePoolUpgrade"))
1008                       .setSampledToLocalTracing(true)
1009                       .setRequestMarshaller(
1010                           io.grpc.protobuf.ProtoUtils.marshaller(
1011                               com.google.container.v1.CompleteNodePoolUpgradeRequest
1012                                   .getDefaultInstance()))
1013                       .setResponseMarshaller(
1014                           io.grpc.protobuf.ProtoUtils.marshaller(
1015                               com.google.protobuf.Empty.getDefaultInstance()))
1016                       .setSchemaDescriptor(
1017                           new ClusterManagerMethodDescriptorSupplier("CompleteNodePoolUpgrade"))
1018                       .build();
1019         }
1020       }
1021     }
1022     return getCompleteNodePoolUpgradeMethod;
1023   }
1024 
1025   private static volatile io.grpc.MethodDescriptor<
1026           com.google.container.v1.RollbackNodePoolUpgradeRequest, com.google.container.v1.Operation>
1027       getRollbackNodePoolUpgradeMethod;
1028 
1029   @io.grpc.stub.annotations.RpcMethod(
1030       fullMethodName = SERVICE_NAME + '/' + "RollbackNodePoolUpgrade",
1031       requestType = com.google.container.v1.RollbackNodePoolUpgradeRequest.class,
1032       responseType = com.google.container.v1.Operation.class,
1033       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
1034   public static io.grpc.MethodDescriptor<
1035           com.google.container.v1.RollbackNodePoolUpgradeRequest, com.google.container.v1.Operation>
getRollbackNodePoolUpgradeMethod()1036       getRollbackNodePoolUpgradeMethod() {
1037     io.grpc.MethodDescriptor<
1038             com.google.container.v1.RollbackNodePoolUpgradeRequest,
1039             com.google.container.v1.Operation>
1040         getRollbackNodePoolUpgradeMethod;
1041     if ((getRollbackNodePoolUpgradeMethod = ClusterManagerGrpc.getRollbackNodePoolUpgradeMethod)
1042         == null) {
1043       synchronized (ClusterManagerGrpc.class) {
1044         if ((getRollbackNodePoolUpgradeMethod = ClusterManagerGrpc.getRollbackNodePoolUpgradeMethod)
1045             == null) {
1046           ClusterManagerGrpc.getRollbackNodePoolUpgradeMethod =
1047               getRollbackNodePoolUpgradeMethod =
1048                   io.grpc.MethodDescriptor
1049                       .<com.google.container.v1.RollbackNodePoolUpgradeRequest,
1050                           com.google.container.v1.Operation>
1051                           newBuilder()
1052                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1053                       .setFullMethodName(
1054                           generateFullMethodName(SERVICE_NAME, "RollbackNodePoolUpgrade"))
1055                       .setSampledToLocalTracing(true)
1056                       .setRequestMarshaller(
1057                           io.grpc.protobuf.ProtoUtils.marshaller(
1058                               com.google.container.v1.RollbackNodePoolUpgradeRequest
1059                                   .getDefaultInstance()))
1060                       .setResponseMarshaller(
1061                           io.grpc.protobuf.ProtoUtils.marshaller(
1062                               com.google.container.v1.Operation.getDefaultInstance()))
1063                       .setSchemaDescriptor(
1064                           new ClusterManagerMethodDescriptorSupplier("RollbackNodePoolUpgrade"))
1065                       .build();
1066         }
1067       }
1068     }
1069     return getRollbackNodePoolUpgradeMethod;
1070   }
1071 
1072   private static volatile io.grpc.MethodDescriptor<
1073           com.google.container.v1.SetNodePoolManagementRequest, com.google.container.v1.Operation>
1074       getSetNodePoolManagementMethod;
1075 
1076   @io.grpc.stub.annotations.RpcMethod(
1077       fullMethodName = SERVICE_NAME + '/' + "SetNodePoolManagement",
1078       requestType = com.google.container.v1.SetNodePoolManagementRequest.class,
1079       responseType = com.google.container.v1.Operation.class,
1080       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
1081   public static io.grpc.MethodDescriptor<
1082           com.google.container.v1.SetNodePoolManagementRequest, com.google.container.v1.Operation>
getSetNodePoolManagementMethod()1083       getSetNodePoolManagementMethod() {
1084     io.grpc.MethodDescriptor<
1085             com.google.container.v1.SetNodePoolManagementRequest, com.google.container.v1.Operation>
1086         getSetNodePoolManagementMethod;
1087     if ((getSetNodePoolManagementMethod = ClusterManagerGrpc.getSetNodePoolManagementMethod)
1088         == null) {
1089       synchronized (ClusterManagerGrpc.class) {
1090         if ((getSetNodePoolManagementMethod = ClusterManagerGrpc.getSetNodePoolManagementMethod)
1091             == null) {
1092           ClusterManagerGrpc.getSetNodePoolManagementMethod =
1093               getSetNodePoolManagementMethod =
1094                   io.grpc.MethodDescriptor
1095                       .<com.google.container.v1.SetNodePoolManagementRequest,
1096                           com.google.container.v1.Operation>
1097                           newBuilder()
1098                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1099                       .setFullMethodName(
1100                           generateFullMethodName(SERVICE_NAME, "SetNodePoolManagement"))
1101                       .setSampledToLocalTracing(true)
1102                       .setRequestMarshaller(
1103                           io.grpc.protobuf.ProtoUtils.marshaller(
1104                               com.google.container.v1.SetNodePoolManagementRequest
1105                                   .getDefaultInstance()))
1106                       .setResponseMarshaller(
1107                           io.grpc.protobuf.ProtoUtils.marshaller(
1108                               com.google.container.v1.Operation.getDefaultInstance()))
1109                       .setSchemaDescriptor(
1110                           new ClusterManagerMethodDescriptorSupplier("SetNodePoolManagement"))
1111                       .build();
1112         }
1113       }
1114     }
1115     return getSetNodePoolManagementMethod;
1116   }
1117 
1118   private static volatile io.grpc.MethodDescriptor<
1119           com.google.container.v1.SetLabelsRequest, com.google.container.v1.Operation>
1120       getSetLabelsMethod;
1121 
1122   @io.grpc.stub.annotations.RpcMethod(
1123       fullMethodName = SERVICE_NAME + '/' + "SetLabels",
1124       requestType = com.google.container.v1.SetLabelsRequest.class,
1125       responseType = com.google.container.v1.Operation.class,
1126       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
1127   public static io.grpc.MethodDescriptor<
1128           com.google.container.v1.SetLabelsRequest, com.google.container.v1.Operation>
getSetLabelsMethod()1129       getSetLabelsMethod() {
1130     io.grpc.MethodDescriptor<
1131             com.google.container.v1.SetLabelsRequest, com.google.container.v1.Operation>
1132         getSetLabelsMethod;
1133     if ((getSetLabelsMethod = ClusterManagerGrpc.getSetLabelsMethod) == null) {
1134       synchronized (ClusterManagerGrpc.class) {
1135         if ((getSetLabelsMethod = ClusterManagerGrpc.getSetLabelsMethod) == null) {
1136           ClusterManagerGrpc.getSetLabelsMethod =
1137               getSetLabelsMethod =
1138                   io.grpc.MethodDescriptor
1139                       .<com.google.container.v1.SetLabelsRequest, com.google.container.v1.Operation>
1140                           newBuilder()
1141                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1142                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetLabels"))
1143                       .setSampledToLocalTracing(true)
1144                       .setRequestMarshaller(
1145                           io.grpc.protobuf.ProtoUtils.marshaller(
1146                               com.google.container.v1.SetLabelsRequest.getDefaultInstance()))
1147                       .setResponseMarshaller(
1148                           io.grpc.protobuf.ProtoUtils.marshaller(
1149                               com.google.container.v1.Operation.getDefaultInstance()))
1150                       .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetLabels"))
1151                       .build();
1152         }
1153       }
1154     }
1155     return getSetLabelsMethod;
1156   }
1157 
1158   private static volatile io.grpc.MethodDescriptor<
1159           com.google.container.v1.SetLegacyAbacRequest, com.google.container.v1.Operation>
1160       getSetLegacyAbacMethod;
1161 
1162   @io.grpc.stub.annotations.RpcMethod(
1163       fullMethodName = SERVICE_NAME + '/' + "SetLegacyAbac",
1164       requestType = com.google.container.v1.SetLegacyAbacRequest.class,
1165       responseType = com.google.container.v1.Operation.class,
1166       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
1167   public static io.grpc.MethodDescriptor<
1168           com.google.container.v1.SetLegacyAbacRequest, com.google.container.v1.Operation>
getSetLegacyAbacMethod()1169       getSetLegacyAbacMethod() {
1170     io.grpc.MethodDescriptor<
1171             com.google.container.v1.SetLegacyAbacRequest, com.google.container.v1.Operation>
1172         getSetLegacyAbacMethod;
1173     if ((getSetLegacyAbacMethod = ClusterManagerGrpc.getSetLegacyAbacMethod) == null) {
1174       synchronized (ClusterManagerGrpc.class) {
1175         if ((getSetLegacyAbacMethod = ClusterManagerGrpc.getSetLegacyAbacMethod) == null) {
1176           ClusterManagerGrpc.getSetLegacyAbacMethod =
1177               getSetLegacyAbacMethod =
1178                   io.grpc.MethodDescriptor
1179                       .<com.google.container.v1.SetLegacyAbacRequest,
1180                           com.google.container.v1.Operation>
1181                           newBuilder()
1182                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1183                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetLegacyAbac"))
1184                       .setSampledToLocalTracing(true)
1185                       .setRequestMarshaller(
1186                           io.grpc.protobuf.ProtoUtils.marshaller(
1187                               com.google.container.v1.SetLegacyAbacRequest.getDefaultInstance()))
1188                       .setResponseMarshaller(
1189                           io.grpc.protobuf.ProtoUtils.marshaller(
1190                               com.google.container.v1.Operation.getDefaultInstance()))
1191                       .setSchemaDescriptor(
1192                           new ClusterManagerMethodDescriptorSupplier("SetLegacyAbac"))
1193                       .build();
1194         }
1195       }
1196     }
1197     return getSetLegacyAbacMethod;
1198   }
1199 
1200   private static volatile io.grpc.MethodDescriptor<
1201           com.google.container.v1.StartIPRotationRequest, com.google.container.v1.Operation>
1202       getStartIPRotationMethod;
1203 
1204   @io.grpc.stub.annotations.RpcMethod(
1205       fullMethodName = SERVICE_NAME + '/' + "StartIPRotation",
1206       requestType = com.google.container.v1.StartIPRotationRequest.class,
1207       responseType = com.google.container.v1.Operation.class,
1208       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
1209   public static io.grpc.MethodDescriptor<
1210           com.google.container.v1.StartIPRotationRequest, com.google.container.v1.Operation>
getStartIPRotationMethod()1211       getStartIPRotationMethod() {
1212     io.grpc.MethodDescriptor<
1213             com.google.container.v1.StartIPRotationRequest, com.google.container.v1.Operation>
1214         getStartIPRotationMethod;
1215     if ((getStartIPRotationMethod = ClusterManagerGrpc.getStartIPRotationMethod) == null) {
1216       synchronized (ClusterManagerGrpc.class) {
1217         if ((getStartIPRotationMethod = ClusterManagerGrpc.getStartIPRotationMethod) == null) {
1218           ClusterManagerGrpc.getStartIPRotationMethod =
1219               getStartIPRotationMethod =
1220                   io.grpc.MethodDescriptor
1221                       .<com.google.container.v1.StartIPRotationRequest,
1222                           com.google.container.v1.Operation>
1223                           newBuilder()
1224                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1225                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StartIPRotation"))
1226                       .setSampledToLocalTracing(true)
1227                       .setRequestMarshaller(
1228                           io.grpc.protobuf.ProtoUtils.marshaller(
1229                               com.google.container.v1.StartIPRotationRequest.getDefaultInstance()))
1230                       .setResponseMarshaller(
1231                           io.grpc.protobuf.ProtoUtils.marshaller(
1232                               com.google.container.v1.Operation.getDefaultInstance()))
1233                       .setSchemaDescriptor(
1234                           new ClusterManagerMethodDescriptorSupplier("StartIPRotation"))
1235                       .build();
1236         }
1237       }
1238     }
1239     return getStartIPRotationMethod;
1240   }
1241 
1242   private static volatile io.grpc.MethodDescriptor<
1243           com.google.container.v1.CompleteIPRotationRequest, com.google.container.v1.Operation>
1244       getCompleteIPRotationMethod;
1245 
1246   @io.grpc.stub.annotations.RpcMethod(
1247       fullMethodName = SERVICE_NAME + '/' + "CompleteIPRotation",
1248       requestType = com.google.container.v1.CompleteIPRotationRequest.class,
1249       responseType = com.google.container.v1.Operation.class,
1250       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
1251   public static io.grpc.MethodDescriptor<
1252           com.google.container.v1.CompleteIPRotationRequest, com.google.container.v1.Operation>
getCompleteIPRotationMethod()1253       getCompleteIPRotationMethod() {
1254     io.grpc.MethodDescriptor<
1255             com.google.container.v1.CompleteIPRotationRequest, com.google.container.v1.Operation>
1256         getCompleteIPRotationMethod;
1257     if ((getCompleteIPRotationMethod = ClusterManagerGrpc.getCompleteIPRotationMethod) == null) {
1258       synchronized (ClusterManagerGrpc.class) {
1259         if ((getCompleteIPRotationMethod = ClusterManagerGrpc.getCompleteIPRotationMethod)
1260             == null) {
1261           ClusterManagerGrpc.getCompleteIPRotationMethod =
1262               getCompleteIPRotationMethod =
1263                   io.grpc.MethodDescriptor
1264                       .<com.google.container.v1.CompleteIPRotationRequest,
1265                           com.google.container.v1.Operation>
1266                           newBuilder()
1267                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1268                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CompleteIPRotation"))
1269                       .setSampledToLocalTracing(true)
1270                       .setRequestMarshaller(
1271                           io.grpc.protobuf.ProtoUtils.marshaller(
1272                               com.google.container.v1.CompleteIPRotationRequest
1273                                   .getDefaultInstance()))
1274                       .setResponseMarshaller(
1275                           io.grpc.protobuf.ProtoUtils.marshaller(
1276                               com.google.container.v1.Operation.getDefaultInstance()))
1277                       .setSchemaDescriptor(
1278                           new ClusterManagerMethodDescriptorSupplier("CompleteIPRotation"))
1279                       .build();
1280         }
1281       }
1282     }
1283     return getCompleteIPRotationMethod;
1284   }
1285 
1286   private static volatile io.grpc.MethodDescriptor<
1287           com.google.container.v1.SetNodePoolSizeRequest, com.google.container.v1.Operation>
1288       getSetNodePoolSizeMethod;
1289 
1290   @io.grpc.stub.annotations.RpcMethod(
1291       fullMethodName = SERVICE_NAME + '/' + "SetNodePoolSize",
1292       requestType = com.google.container.v1.SetNodePoolSizeRequest.class,
1293       responseType = com.google.container.v1.Operation.class,
1294       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
1295   public static io.grpc.MethodDescriptor<
1296           com.google.container.v1.SetNodePoolSizeRequest, com.google.container.v1.Operation>
getSetNodePoolSizeMethod()1297       getSetNodePoolSizeMethod() {
1298     io.grpc.MethodDescriptor<
1299             com.google.container.v1.SetNodePoolSizeRequest, com.google.container.v1.Operation>
1300         getSetNodePoolSizeMethod;
1301     if ((getSetNodePoolSizeMethod = ClusterManagerGrpc.getSetNodePoolSizeMethod) == null) {
1302       synchronized (ClusterManagerGrpc.class) {
1303         if ((getSetNodePoolSizeMethod = ClusterManagerGrpc.getSetNodePoolSizeMethod) == null) {
1304           ClusterManagerGrpc.getSetNodePoolSizeMethod =
1305               getSetNodePoolSizeMethod =
1306                   io.grpc.MethodDescriptor
1307                       .<com.google.container.v1.SetNodePoolSizeRequest,
1308                           com.google.container.v1.Operation>
1309                           newBuilder()
1310                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1311                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetNodePoolSize"))
1312                       .setSampledToLocalTracing(true)
1313                       .setRequestMarshaller(
1314                           io.grpc.protobuf.ProtoUtils.marshaller(
1315                               com.google.container.v1.SetNodePoolSizeRequest.getDefaultInstance()))
1316                       .setResponseMarshaller(
1317                           io.grpc.protobuf.ProtoUtils.marshaller(
1318                               com.google.container.v1.Operation.getDefaultInstance()))
1319                       .setSchemaDescriptor(
1320                           new ClusterManagerMethodDescriptorSupplier("SetNodePoolSize"))
1321                       .build();
1322         }
1323       }
1324     }
1325     return getSetNodePoolSizeMethod;
1326   }
1327 
1328   private static volatile io.grpc.MethodDescriptor<
1329           com.google.container.v1.SetNetworkPolicyRequest, com.google.container.v1.Operation>
1330       getSetNetworkPolicyMethod;
1331 
1332   @io.grpc.stub.annotations.RpcMethod(
1333       fullMethodName = SERVICE_NAME + '/' + "SetNetworkPolicy",
1334       requestType = com.google.container.v1.SetNetworkPolicyRequest.class,
1335       responseType = com.google.container.v1.Operation.class,
1336       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
1337   public static io.grpc.MethodDescriptor<
1338           com.google.container.v1.SetNetworkPolicyRequest, com.google.container.v1.Operation>
getSetNetworkPolicyMethod()1339       getSetNetworkPolicyMethod() {
1340     io.grpc.MethodDescriptor<
1341             com.google.container.v1.SetNetworkPolicyRequest, com.google.container.v1.Operation>
1342         getSetNetworkPolicyMethod;
1343     if ((getSetNetworkPolicyMethod = ClusterManagerGrpc.getSetNetworkPolicyMethod) == null) {
1344       synchronized (ClusterManagerGrpc.class) {
1345         if ((getSetNetworkPolicyMethod = ClusterManagerGrpc.getSetNetworkPolicyMethod) == null) {
1346           ClusterManagerGrpc.getSetNetworkPolicyMethod =
1347               getSetNetworkPolicyMethod =
1348                   io.grpc.MethodDescriptor
1349                       .<com.google.container.v1.SetNetworkPolicyRequest,
1350                           com.google.container.v1.Operation>
1351                           newBuilder()
1352                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1353                       .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetNetworkPolicy"))
1354                       .setSampledToLocalTracing(true)
1355                       .setRequestMarshaller(
1356                           io.grpc.protobuf.ProtoUtils.marshaller(
1357                               com.google.container.v1.SetNetworkPolicyRequest.getDefaultInstance()))
1358                       .setResponseMarshaller(
1359                           io.grpc.protobuf.ProtoUtils.marshaller(
1360                               com.google.container.v1.Operation.getDefaultInstance()))
1361                       .setSchemaDescriptor(
1362                           new ClusterManagerMethodDescriptorSupplier("SetNetworkPolicy"))
1363                       .build();
1364         }
1365       }
1366     }
1367     return getSetNetworkPolicyMethod;
1368   }
1369 
1370   private static volatile io.grpc.MethodDescriptor<
1371           com.google.container.v1.SetMaintenancePolicyRequest, com.google.container.v1.Operation>
1372       getSetMaintenancePolicyMethod;
1373 
1374   @io.grpc.stub.annotations.RpcMethod(
1375       fullMethodName = SERVICE_NAME + '/' + "SetMaintenancePolicy",
1376       requestType = com.google.container.v1.SetMaintenancePolicyRequest.class,
1377       responseType = com.google.container.v1.Operation.class,
1378       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
1379   public static io.grpc.MethodDescriptor<
1380           com.google.container.v1.SetMaintenancePolicyRequest, com.google.container.v1.Operation>
getSetMaintenancePolicyMethod()1381       getSetMaintenancePolicyMethod() {
1382     io.grpc.MethodDescriptor<
1383             com.google.container.v1.SetMaintenancePolicyRequest, com.google.container.v1.Operation>
1384         getSetMaintenancePolicyMethod;
1385     if ((getSetMaintenancePolicyMethod = ClusterManagerGrpc.getSetMaintenancePolicyMethod)
1386         == null) {
1387       synchronized (ClusterManagerGrpc.class) {
1388         if ((getSetMaintenancePolicyMethod = ClusterManagerGrpc.getSetMaintenancePolicyMethod)
1389             == null) {
1390           ClusterManagerGrpc.getSetMaintenancePolicyMethod =
1391               getSetMaintenancePolicyMethod =
1392                   io.grpc.MethodDescriptor
1393                       .<com.google.container.v1.SetMaintenancePolicyRequest,
1394                           com.google.container.v1.Operation>
1395                           newBuilder()
1396                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1397                       .setFullMethodName(
1398                           generateFullMethodName(SERVICE_NAME, "SetMaintenancePolicy"))
1399                       .setSampledToLocalTracing(true)
1400                       .setRequestMarshaller(
1401                           io.grpc.protobuf.ProtoUtils.marshaller(
1402                               com.google.container.v1.SetMaintenancePolicyRequest
1403                                   .getDefaultInstance()))
1404                       .setResponseMarshaller(
1405                           io.grpc.protobuf.ProtoUtils.marshaller(
1406                               com.google.container.v1.Operation.getDefaultInstance()))
1407                       .setSchemaDescriptor(
1408                           new ClusterManagerMethodDescriptorSupplier("SetMaintenancePolicy"))
1409                       .build();
1410         }
1411       }
1412     }
1413     return getSetMaintenancePolicyMethod;
1414   }
1415 
1416   private static volatile io.grpc.MethodDescriptor<
1417           com.google.container.v1.ListUsableSubnetworksRequest,
1418           com.google.container.v1.ListUsableSubnetworksResponse>
1419       getListUsableSubnetworksMethod;
1420 
1421   @io.grpc.stub.annotations.RpcMethod(
1422       fullMethodName = SERVICE_NAME + '/' + "ListUsableSubnetworks",
1423       requestType = com.google.container.v1.ListUsableSubnetworksRequest.class,
1424       responseType = com.google.container.v1.ListUsableSubnetworksResponse.class,
1425       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
1426   public static io.grpc.MethodDescriptor<
1427           com.google.container.v1.ListUsableSubnetworksRequest,
1428           com.google.container.v1.ListUsableSubnetworksResponse>
getListUsableSubnetworksMethod()1429       getListUsableSubnetworksMethod() {
1430     io.grpc.MethodDescriptor<
1431             com.google.container.v1.ListUsableSubnetworksRequest,
1432             com.google.container.v1.ListUsableSubnetworksResponse>
1433         getListUsableSubnetworksMethod;
1434     if ((getListUsableSubnetworksMethod = ClusterManagerGrpc.getListUsableSubnetworksMethod)
1435         == null) {
1436       synchronized (ClusterManagerGrpc.class) {
1437         if ((getListUsableSubnetworksMethod = ClusterManagerGrpc.getListUsableSubnetworksMethod)
1438             == null) {
1439           ClusterManagerGrpc.getListUsableSubnetworksMethod =
1440               getListUsableSubnetworksMethod =
1441                   io.grpc.MethodDescriptor
1442                       .<com.google.container.v1.ListUsableSubnetworksRequest,
1443                           com.google.container.v1.ListUsableSubnetworksResponse>
1444                           newBuilder()
1445                       .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
1446                       .setFullMethodName(
1447                           generateFullMethodName(SERVICE_NAME, "ListUsableSubnetworks"))
1448                       .setSampledToLocalTracing(true)
1449                       .setRequestMarshaller(
1450                           io.grpc.protobuf.ProtoUtils.marshaller(
1451                               com.google.container.v1.ListUsableSubnetworksRequest
1452                                   .getDefaultInstance()))
1453                       .setResponseMarshaller(
1454                           io.grpc.protobuf.ProtoUtils.marshaller(
1455                               com.google.container.v1.ListUsableSubnetworksResponse
1456                                   .getDefaultInstance()))
1457                       .setSchemaDescriptor(
1458                           new ClusterManagerMethodDescriptorSupplier("ListUsableSubnetworks"))
1459                       .build();
1460         }
1461       }
1462     }
1463     return getListUsableSubnetworksMethod;
1464   }
1465 
1466   /** Creates a new async stub that supports all call types for the service */
newStub(io.grpc.Channel channel)1467   public static ClusterManagerStub newStub(io.grpc.Channel channel) {
1468     io.grpc.stub.AbstractStub.StubFactory<ClusterManagerStub> factory =
1469         new io.grpc.stub.AbstractStub.StubFactory<ClusterManagerStub>() {
1470           @java.lang.Override
1471           public ClusterManagerStub newStub(
1472               io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
1473             return new ClusterManagerStub(channel, callOptions);
1474           }
1475         };
1476     return ClusterManagerStub.newStub(factory, channel);
1477   }
1478 
1479   /**
1480    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
1481    */
newBlockingStub(io.grpc.Channel channel)1482   public static ClusterManagerBlockingStub newBlockingStub(io.grpc.Channel channel) {
1483     io.grpc.stub.AbstractStub.StubFactory<ClusterManagerBlockingStub> factory =
1484         new io.grpc.stub.AbstractStub.StubFactory<ClusterManagerBlockingStub>() {
1485           @java.lang.Override
1486           public ClusterManagerBlockingStub newStub(
1487               io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
1488             return new ClusterManagerBlockingStub(channel, callOptions);
1489           }
1490         };
1491     return ClusterManagerBlockingStub.newStub(factory, channel);
1492   }
1493 
1494   /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
newFutureStub(io.grpc.Channel channel)1495   public static ClusterManagerFutureStub newFutureStub(io.grpc.Channel channel) {
1496     io.grpc.stub.AbstractStub.StubFactory<ClusterManagerFutureStub> factory =
1497         new io.grpc.stub.AbstractStub.StubFactory<ClusterManagerFutureStub>() {
1498           @java.lang.Override
1499           public ClusterManagerFutureStub newStub(
1500               io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
1501             return new ClusterManagerFutureStub(channel, callOptions);
1502           }
1503         };
1504     return ClusterManagerFutureStub.newStub(factory, channel);
1505   }
1506 
1507   /**
1508    *
1509    *
1510    * <pre>
1511    * Google Kubernetes Engine Cluster Manager v1
1512    * </pre>
1513    */
1514   public interface AsyncService {
1515 
1516     /**
1517      *
1518      *
1519      * <pre>
1520      * Lists all clusters owned by a project in either the specified zone or all
1521      * zones.
1522      * </pre>
1523      */
listClusters( com.google.container.v1.ListClustersRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.ListClustersResponse> responseObserver)1524     default void listClusters(
1525         com.google.container.v1.ListClustersRequest request,
1526         io.grpc.stub.StreamObserver<com.google.container.v1.ListClustersResponse>
1527             responseObserver) {
1528       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1529           getListClustersMethod(), responseObserver);
1530     }
1531 
1532     /**
1533      *
1534      *
1535      * <pre>
1536      * Gets the details of a specific cluster.
1537      * </pre>
1538      */
getCluster( com.google.container.v1.GetClusterRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Cluster> responseObserver)1539     default void getCluster(
1540         com.google.container.v1.GetClusterRequest request,
1541         io.grpc.stub.StreamObserver<com.google.container.v1.Cluster> responseObserver) {
1542       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetClusterMethod(), responseObserver);
1543     }
1544 
1545     /**
1546      *
1547      *
1548      * <pre>
1549      * Creates a cluster, consisting of the specified number and type of Google
1550      * Compute Engine instances.
1551      * By default, the cluster is created in the project's
1552      * [default
1553      * network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
1554      * One firewall is added for the cluster. After cluster creation,
1555      * the Kubelet creates routes for each node to allow the containers
1556      * on that node to communicate with all other instances in the
1557      * cluster.
1558      * Finally, an entry is added to the project's global metadata indicating
1559      * which CIDR range the cluster is using.
1560      * </pre>
1561      */
createCluster( com.google.container.v1.CreateClusterRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)1562     default void createCluster(
1563         com.google.container.v1.CreateClusterRequest request,
1564         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
1565       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1566           getCreateClusterMethod(), responseObserver);
1567     }
1568 
1569     /**
1570      *
1571      *
1572      * <pre>
1573      * Updates the settings of a specific cluster.
1574      * </pre>
1575      */
updateCluster( com.google.container.v1.UpdateClusterRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)1576     default void updateCluster(
1577         com.google.container.v1.UpdateClusterRequest request,
1578         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
1579       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1580           getUpdateClusterMethod(), responseObserver);
1581     }
1582 
1583     /**
1584      *
1585      *
1586      * <pre>
1587      * Updates the version and/or image type for the specified node pool.
1588      * </pre>
1589      */
updateNodePool( com.google.container.v1.UpdateNodePoolRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)1590     default void updateNodePool(
1591         com.google.container.v1.UpdateNodePoolRequest request,
1592         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
1593       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1594           getUpdateNodePoolMethod(), responseObserver);
1595     }
1596 
1597     /**
1598      *
1599      *
1600      * <pre>
1601      * Sets the autoscaling settings for the specified node pool.
1602      * </pre>
1603      */
setNodePoolAutoscaling( com.google.container.v1.SetNodePoolAutoscalingRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)1604     default void setNodePoolAutoscaling(
1605         com.google.container.v1.SetNodePoolAutoscalingRequest request,
1606         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
1607       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1608           getSetNodePoolAutoscalingMethod(), responseObserver);
1609     }
1610 
1611     /**
1612      *
1613      *
1614      * <pre>
1615      * Sets the logging service for a specific cluster.
1616      * </pre>
1617      */
setLoggingService( com.google.container.v1.SetLoggingServiceRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)1618     default void setLoggingService(
1619         com.google.container.v1.SetLoggingServiceRequest request,
1620         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
1621       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1622           getSetLoggingServiceMethod(), responseObserver);
1623     }
1624 
1625     /**
1626      *
1627      *
1628      * <pre>
1629      * Sets the monitoring service for a specific cluster.
1630      * </pre>
1631      */
setMonitoringService( com.google.container.v1.SetMonitoringServiceRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)1632     default void setMonitoringService(
1633         com.google.container.v1.SetMonitoringServiceRequest request,
1634         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
1635       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1636           getSetMonitoringServiceMethod(), responseObserver);
1637     }
1638 
1639     /**
1640      *
1641      *
1642      * <pre>
1643      * Sets the addons for a specific cluster.
1644      * </pre>
1645      */
setAddonsConfig( com.google.container.v1.SetAddonsConfigRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)1646     default void setAddonsConfig(
1647         com.google.container.v1.SetAddonsConfigRequest request,
1648         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
1649       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1650           getSetAddonsConfigMethod(), responseObserver);
1651     }
1652 
1653     /**
1654      *
1655      *
1656      * <pre>
1657      * Sets the locations for a specific cluster.
1658      * Deprecated. Use
1659      * [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/update)
1660      * instead.
1661      * </pre>
1662      */
1663     @java.lang.Deprecated
setLocations( com.google.container.v1.SetLocationsRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)1664     default void setLocations(
1665         com.google.container.v1.SetLocationsRequest request,
1666         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
1667       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1668           getSetLocationsMethod(), responseObserver);
1669     }
1670 
1671     /**
1672      *
1673      *
1674      * <pre>
1675      * Updates the master for a specific cluster.
1676      * </pre>
1677      */
updateMaster( com.google.container.v1.UpdateMasterRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)1678     default void updateMaster(
1679         com.google.container.v1.UpdateMasterRequest request,
1680         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
1681       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1682           getUpdateMasterMethod(), responseObserver);
1683     }
1684 
1685     /**
1686      *
1687      *
1688      * <pre>
1689      * Sets master auth materials. Currently supports changing the admin password
1690      * or a specific cluster, either via password generation or explicitly setting
1691      * the password.
1692      * </pre>
1693      */
setMasterAuth( com.google.container.v1.SetMasterAuthRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)1694     default void setMasterAuth(
1695         com.google.container.v1.SetMasterAuthRequest request,
1696         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
1697       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1698           getSetMasterAuthMethod(), responseObserver);
1699     }
1700 
1701     /**
1702      *
1703      *
1704      * <pre>
1705      * Deletes the cluster, including the Kubernetes endpoint and all worker
1706      * nodes.
1707      * Firewalls and routes that were configured during cluster creation
1708      * are also deleted.
1709      * Other Google Compute Engine resources that might be in use by the cluster,
1710      * such as load balancer resources, are not deleted if they weren't present
1711      * when the cluster was initially created.
1712      * </pre>
1713      */
deleteCluster( com.google.container.v1.DeleteClusterRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)1714     default void deleteCluster(
1715         com.google.container.v1.DeleteClusterRequest request,
1716         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
1717       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1718           getDeleteClusterMethod(), responseObserver);
1719     }
1720 
1721     /**
1722      *
1723      *
1724      * <pre>
1725      * Lists all operations in a project in a specific zone or all zones.
1726      * </pre>
1727      */
listOperations( com.google.container.v1.ListOperationsRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.ListOperationsResponse> responseObserver)1728     default void listOperations(
1729         com.google.container.v1.ListOperationsRequest request,
1730         io.grpc.stub.StreamObserver<com.google.container.v1.ListOperationsResponse>
1731             responseObserver) {
1732       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1733           getListOperationsMethod(), responseObserver);
1734     }
1735 
1736     /**
1737      *
1738      *
1739      * <pre>
1740      * Gets the specified operation.
1741      * </pre>
1742      */
getOperation( com.google.container.v1.GetOperationRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)1743     default void getOperation(
1744         com.google.container.v1.GetOperationRequest request,
1745         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
1746       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1747           getGetOperationMethod(), responseObserver);
1748     }
1749 
1750     /**
1751      *
1752      *
1753      * <pre>
1754      * Cancels the specified operation.
1755      * </pre>
1756      */
cancelOperation( com.google.container.v1.CancelOperationRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)1757     default void cancelOperation(
1758         com.google.container.v1.CancelOperationRequest request,
1759         io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) {
1760       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1761           getCancelOperationMethod(), responseObserver);
1762     }
1763 
1764     /**
1765      *
1766      *
1767      * <pre>
1768      * Returns configuration info about the Google Kubernetes Engine service.
1769      * </pre>
1770      */
getServerConfig( com.google.container.v1.GetServerConfigRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.ServerConfig> responseObserver)1771     default void getServerConfig(
1772         com.google.container.v1.GetServerConfigRequest request,
1773         io.grpc.stub.StreamObserver<com.google.container.v1.ServerConfig> responseObserver) {
1774       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1775           getGetServerConfigMethod(), responseObserver);
1776     }
1777 
1778     /**
1779      *
1780      *
1781      * <pre>
1782      * Gets the public component of the cluster signing keys in
1783      * JSON Web Key format.
1784      * This API is not yet intended for general use, and is not available for all
1785      * clusters.
1786      * </pre>
1787      */
getJSONWebKeys( com.google.container.v1.GetJSONWebKeysRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.GetJSONWebKeysResponse> responseObserver)1788     default void getJSONWebKeys(
1789         com.google.container.v1.GetJSONWebKeysRequest request,
1790         io.grpc.stub.StreamObserver<com.google.container.v1.GetJSONWebKeysResponse>
1791             responseObserver) {
1792       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1793           getGetJSONWebKeysMethod(), responseObserver);
1794     }
1795 
1796     /**
1797      *
1798      *
1799      * <pre>
1800      * Lists the node pools for a cluster.
1801      * </pre>
1802      */
listNodePools( com.google.container.v1.ListNodePoolsRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.ListNodePoolsResponse> responseObserver)1803     default void listNodePools(
1804         com.google.container.v1.ListNodePoolsRequest request,
1805         io.grpc.stub.StreamObserver<com.google.container.v1.ListNodePoolsResponse>
1806             responseObserver) {
1807       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1808           getListNodePoolsMethod(), responseObserver);
1809     }
1810 
1811     /**
1812      *
1813      *
1814      * <pre>
1815      * Retrieves the requested node pool.
1816      * </pre>
1817      */
getNodePool( com.google.container.v1.GetNodePoolRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.NodePool> responseObserver)1818     default void getNodePool(
1819         com.google.container.v1.GetNodePoolRequest request,
1820         io.grpc.stub.StreamObserver<com.google.container.v1.NodePool> responseObserver) {
1821       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1822           getGetNodePoolMethod(), responseObserver);
1823     }
1824 
1825     /**
1826      *
1827      *
1828      * <pre>
1829      * Creates a node pool for a cluster.
1830      * </pre>
1831      */
createNodePool( com.google.container.v1.CreateNodePoolRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)1832     default void createNodePool(
1833         com.google.container.v1.CreateNodePoolRequest request,
1834         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
1835       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1836           getCreateNodePoolMethod(), responseObserver);
1837     }
1838 
1839     /**
1840      *
1841      *
1842      * <pre>
1843      * Deletes a node pool from a cluster.
1844      * </pre>
1845      */
deleteNodePool( com.google.container.v1.DeleteNodePoolRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)1846     default void deleteNodePool(
1847         com.google.container.v1.DeleteNodePoolRequest request,
1848         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
1849       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1850           getDeleteNodePoolMethod(), responseObserver);
1851     }
1852 
1853     /**
1854      *
1855      *
1856      * <pre>
1857      * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
1858      * complete.
1859      * </pre>
1860      */
completeNodePoolUpgrade( com.google.container.v1.CompleteNodePoolUpgradeRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)1861     default void completeNodePoolUpgrade(
1862         com.google.container.v1.CompleteNodePoolUpgradeRequest request,
1863         io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) {
1864       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1865           getCompleteNodePoolUpgradeMethod(), responseObserver);
1866     }
1867 
1868     /**
1869      *
1870      *
1871      * <pre>
1872      * Rolls back a previously Aborted or Failed NodePool upgrade.
1873      * This makes no changes if the last upgrade successfully completed.
1874      * </pre>
1875      */
rollbackNodePoolUpgrade( com.google.container.v1.RollbackNodePoolUpgradeRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)1876     default void rollbackNodePoolUpgrade(
1877         com.google.container.v1.RollbackNodePoolUpgradeRequest request,
1878         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
1879       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1880           getRollbackNodePoolUpgradeMethod(), responseObserver);
1881     }
1882 
1883     /**
1884      *
1885      *
1886      * <pre>
1887      * Sets the NodeManagement options for a node pool.
1888      * </pre>
1889      */
setNodePoolManagement( com.google.container.v1.SetNodePoolManagementRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)1890     default void setNodePoolManagement(
1891         com.google.container.v1.SetNodePoolManagementRequest request,
1892         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
1893       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1894           getSetNodePoolManagementMethod(), responseObserver);
1895     }
1896 
1897     /**
1898      *
1899      *
1900      * <pre>
1901      * Sets labels on a cluster.
1902      * </pre>
1903      */
setLabels( com.google.container.v1.SetLabelsRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)1904     default void setLabels(
1905         com.google.container.v1.SetLabelsRequest request,
1906         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
1907       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetLabelsMethod(), responseObserver);
1908     }
1909 
1910     /**
1911      *
1912      *
1913      * <pre>
1914      * Enables or disables the ABAC authorization mechanism on a cluster.
1915      * </pre>
1916      */
setLegacyAbac( com.google.container.v1.SetLegacyAbacRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)1917     default void setLegacyAbac(
1918         com.google.container.v1.SetLegacyAbacRequest request,
1919         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
1920       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1921           getSetLegacyAbacMethod(), responseObserver);
1922     }
1923 
1924     /**
1925      *
1926      *
1927      * <pre>
1928      * Starts master IP rotation.
1929      * </pre>
1930      */
startIPRotation( com.google.container.v1.StartIPRotationRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)1931     default void startIPRotation(
1932         com.google.container.v1.StartIPRotationRequest request,
1933         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
1934       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1935           getStartIPRotationMethod(), responseObserver);
1936     }
1937 
1938     /**
1939      *
1940      *
1941      * <pre>
1942      * Completes master IP rotation.
1943      * </pre>
1944      */
completeIPRotation( com.google.container.v1.CompleteIPRotationRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)1945     default void completeIPRotation(
1946         com.google.container.v1.CompleteIPRotationRequest request,
1947         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
1948       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1949           getCompleteIPRotationMethod(), responseObserver);
1950     }
1951 
1952     /**
1953      *
1954      *
1955      * <pre>
1956      * Sets the size for a specific node pool. The new size will be used for all
1957      * replicas, including future replicas created by modifying
1958      * [NodePool.locations][google.container.v1.NodePool.locations].
1959      * </pre>
1960      */
setNodePoolSize( com.google.container.v1.SetNodePoolSizeRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)1961     default void setNodePoolSize(
1962         com.google.container.v1.SetNodePoolSizeRequest request,
1963         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
1964       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1965           getSetNodePoolSizeMethod(), responseObserver);
1966     }
1967 
1968     /**
1969      *
1970      *
1971      * <pre>
1972      * Enables or disables Network Policy for a cluster.
1973      * </pre>
1974      */
setNetworkPolicy( com.google.container.v1.SetNetworkPolicyRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)1975     default void setNetworkPolicy(
1976         com.google.container.v1.SetNetworkPolicyRequest request,
1977         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
1978       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1979           getSetNetworkPolicyMethod(), responseObserver);
1980     }
1981 
1982     /**
1983      *
1984      *
1985      * <pre>
1986      * Sets the maintenance policy for a cluster.
1987      * </pre>
1988      */
setMaintenancePolicy( com.google.container.v1.SetMaintenancePolicyRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)1989     default void setMaintenancePolicy(
1990         com.google.container.v1.SetMaintenancePolicyRequest request,
1991         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
1992       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
1993           getSetMaintenancePolicyMethod(), responseObserver);
1994     }
1995 
1996     /**
1997      *
1998      *
1999      * <pre>
2000      * Lists subnetworks that are usable for creating clusters in a project.
2001      * </pre>
2002      */
listUsableSubnetworks( com.google.container.v1.ListUsableSubnetworksRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.ListUsableSubnetworksResponse> responseObserver)2003     default void listUsableSubnetworks(
2004         com.google.container.v1.ListUsableSubnetworksRequest request,
2005         io.grpc.stub.StreamObserver<com.google.container.v1.ListUsableSubnetworksResponse>
2006             responseObserver) {
2007       io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
2008           getListUsableSubnetworksMethod(), responseObserver);
2009     }
2010   }
2011 
2012   /**
2013    * Base class for the server implementation of the service ClusterManager.
2014    *
2015    * <pre>
2016    * Google Kubernetes Engine Cluster Manager v1
2017    * </pre>
2018    */
2019   public abstract static class ClusterManagerImplBase
2020       implements io.grpc.BindableService, AsyncService {
2021 
2022     @java.lang.Override
bindService()2023     public final io.grpc.ServerServiceDefinition bindService() {
2024       return ClusterManagerGrpc.bindService(this);
2025     }
2026   }
2027 
2028   /**
2029    * A stub to allow clients to do asynchronous rpc calls to service ClusterManager.
2030    *
2031    * <pre>
2032    * Google Kubernetes Engine Cluster Manager v1
2033    * </pre>
2034    */
2035   public static final class ClusterManagerStub
2036       extends io.grpc.stub.AbstractAsyncStub<ClusterManagerStub> {
ClusterManagerStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions)2037     private ClusterManagerStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
2038       super(channel, callOptions);
2039     }
2040 
2041     @java.lang.Override
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)2042     protected ClusterManagerStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
2043       return new ClusterManagerStub(channel, callOptions);
2044     }
2045 
2046     /**
2047      *
2048      *
2049      * <pre>
2050      * Lists all clusters owned by a project in either the specified zone or all
2051      * zones.
2052      * </pre>
2053      */
listClusters( com.google.container.v1.ListClustersRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.ListClustersResponse> responseObserver)2054     public void listClusters(
2055         com.google.container.v1.ListClustersRequest request,
2056         io.grpc.stub.StreamObserver<com.google.container.v1.ListClustersResponse>
2057             responseObserver) {
2058       io.grpc.stub.ClientCalls.asyncUnaryCall(
2059           getChannel().newCall(getListClustersMethod(), getCallOptions()),
2060           request,
2061           responseObserver);
2062     }
2063 
2064     /**
2065      *
2066      *
2067      * <pre>
2068      * Gets the details of a specific cluster.
2069      * </pre>
2070      */
getCluster( com.google.container.v1.GetClusterRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Cluster> responseObserver)2071     public void getCluster(
2072         com.google.container.v1.GetClusterRequest request,
2073         io.grpc.stub.StreamObserver<com.google.container.v1.Cluster> responseObserver) {
2074       io.grpc.stub.ClientCalls.asyncUnaryCall(
2075           getChannel().newCall(getGetClusterMethod(), getCallOptions()), request, responseObserver);
2076     }
2077 
2078     /**
2079      *
2080      *
2081      * <pre>
2082      * Creates a cluster, consisting of the specified number and type of Google
2083      * Compute Engine instances.
2084      * By default, the cluster is created in the project's
2085      * [default
2086      * network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
2087      * One firewall is added for the cluster. After cluster creation,
2088      * the Kubelet creates routes for each node to allow the containers
2089      * on that node to communicate with all other instances in the
2090      * cluster.
2091      * Finally, an entry is added to the project's global metadata indicating
2092      * which CIDR range the cluster is using.
2093      * </pre>
2094      */
createCluster( com.google.container.v1.CreateClusterRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)2095     public void createCluster(
2096         com.google.container.v1.CreateClusterRequest request,
2097         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
2098       io.grpc.stub.ClientCalls.asyncUnaryCall(
2099           getChannel().newCall(getCreateClusterMethod(), getCallOptions()),
2100           request,
2101           responseObserver);
2102     }
2103 
2104     /**
2105      *
2106      *
2107      * <pre>
2108      * Updates the settings of a specific cluster.
2109      * </pre>
2110      */
updateCluster( com.google.container.v1.UpdateClusterRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)2111     public void updateCluster(
2112         com.google.container.v1.UpdateClusterRequest request,
2113         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
2114       io.grpc.stub.ClientCalls.asyncUnaryCall(
2115           getChannel().newCall(getUpdateClusterMethod(), getCallOptions()),
2116           request,
2117           responseObserver);
2118     }
2119 
2120     /**
2121      *
2122      *
2123      * <pre>
2124      * Updates the version and/or image type for the specified node pool.
2125      * </pre>
2126      */
updateNodePool( com.google.container.v1.UpdateNodePoolRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)2127     public void updateNodePool(
2128         com.google.container.v1.UpdateNodePoolRequest request,
2129         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
2130       io.grpc.stub.ClientCalls.asyncUnaryCall(
2131           getChannel().newCall(getUpdateNodePoolMethod(), getCallOptions()),
2132           request,
2133           responseObserver);
2134     }
2135 
2136     /**
2137      *
2138      *
2139      * <pre>
2140      * Sets the autoscaling settings for the specified node pool.
2141      * </pre>
2142      */
setNodePoolAutoscaling( com.google.container.v1.SetNodePoolAutoscalingRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)2143     public void setNodePoolAutoscaling(
2144         com.google.container.v1.SetNodePoolAutoscalingRequest request,
2145         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
2146       io.grpc.stub.ClientCalls.asyncUnaryCall(
2147           getChannel().newCall(getSetNodePoolAutoscalingMethod(), getCallOptions()),
2148           request,
2149           responseObserver);
2150     }
2151 
2152     /**
2153      *
2154      *
2155      * <pre>
2156      * Sets the logging service for a specific cluster.
2157      * </pre>
2158      */
setLoggingService( com.google.container.v1.SetLoggingServiceRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)2159     public void setLoggingService(
2160         com.google.container.v1.SetLoggingServiceRequest request,
2161         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
2162       io.grpc.stub.ClientCalls.asyncUnaryCall(
2163           getChannel().newCall(getSetLoggingServiceMethod(), getCallOptions()),
2164           request,
2165           responseObserver);
2166     }
2167 
2168     /**
2169      *
2170      *
2171      * <pre>
2172      * Sets the monitoring service for a specific cluster.
2173      * </pre>
2174      */
setMonitoringService( com.google.container.v1.SetMonitoringServiceRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)2175     public void setMonitoringService(
2176         com.google.container.v1.SetMonitoringServiceRequest request,
2177         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
2178       io.grpc.stub.ClientCalls.asyncUnaryCall(
2179           getChannel().newCall(getSetMonitoringServiceMethod(), getCallOptions()),
2180           request,
2181           responseObserver);
2182     }
2183 
2184     /**
2185      *
2186      *
2187      * <pre>
2188      * Sets the addons for a specific cluster.
2189      * </pre>
2190      */
setAddonsConfig( com.google.container.v1.SetAddonsConfigRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)2191     public void setAddonsConfig(
2192         com.google.container.v1.SetAddonsConfigRequest request,
2193         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
2194       io.grpc.stub.ClientCalls.asyncUnaryCall(
2195           getChannel().newCall(getSetAddonsConfigMethod(), getCallOptions()),
2196           request,
2197           responseObserver);
2198     }
2199 
2200     /**
2201      *
2202      *
2203      * <pre>
2204      * Sets the locations for a specific cluster.
2205      * Deprecated. Use
2206      * [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/update)
2207      * instead.
2208      * </pre>
2209      */
2210     @java.lang.Deprecated
setLocations( com.google.container.v1.SetLocationsRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)2211     public void setLocations(
2212         com.google.container.v1.SetLocationsRequest request,
2213         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
2214       io.grpc.stub.ClientCalls.asyncUnaryCall(
2215           getChannel().newCall(getSetLocationsMethod(), getCallOptions()),
2216           request,
2217           responseObserver);
2218     }
2219 
2220     /**
2221      *
2222      *
2223      * <pre>
2224      * Updates the master for a specific cluster.
2225      * </pre>
2226      */
updateMaster( com.google.container.v1.UpdateMasterRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)2227     public void updateMaster(
2228         com.google.container.v1.UpdateMasterRequest request,
2229         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
2230       io.grpc.stub.ClientCalls.asyncUnaryCall(
2231           getChannel().newCall(getUpdateMasterMethod(), getCallOptions()),
2232           request,
2233           responseObserver);
2234     }
2235 
2236     /**
2237      *
2238      *
2239      * <pre>
2240      * Sets master auth materials. Currently supports changing the admin password
2241      * or a specific cluster, either via password generation or explicitly setting
2242      * the password.
2243      * </pre>
2244      */
setMasterAuth( com.google.container.v1.SetMasterAuthRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)2245     public void setMasterAuth(
2246         com.google.container.v1.SetMasterAuthRequest request,
2247         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
2248       io.grpc.stub.ClientCalls.asyncUnaryCall(
2249           getChannel().newCall(getSetMasterAuthMethod(), getCallOptions()),
2250           request,
2251           responseObserver);
2252     }
2253 
2254     /**
2255      *
2256      *
2257      * <pre>
2258      * Deletes the cluster, including the Kubernetes endpoint and all worker
2259      * nodes.
2260      * Firewalls and routes that were configured during cluster creation
2261      * are also deleted.
2262      * Other Google Compute Engine resources that might be in use by the cluster,
2263      * such as load balancer resources, are not deleted if they weren't present
2264      * when the cluster was initially created.
2265      * </pre>
2266      */
deleteCluster( com.google.container.v1.DeleteClusterRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)2267     public void deleteCluster(
2268         com.google.container.v1.DeleteClusterRequest request,
2269         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
2270       io.grpc.stub.ClientCalls.asyncUnaryCall(
2271           getChannel().newCall(getDeleteClusterMethod(), getCallOptions()),
2272           request,
2273           responseObserver);
2274     }
2275 
2276     /**
2277      *
2278      *
2279      * <pre>
2280      * Lists all operations in a project in a specific zone or all zones.
2281      * </pre>
2282      */
listOperations( com.google.container.v1.ListOperationsRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.ListOperationsResponse> responseObserver)2283     public void listOperations(
2284         com.google.container.v1.ListOperationsRequest request,
2285         io.grpc.stub.StreamObserver<com.google.container.v1.ListOperationsResponse>
2286             responseObserver) {
2287       io.grpc.stub.ClientCalls.asyncUnaryCall(
2288           getChannel().newCall(getListOperationsMethod(), getCallOptions()),
2289           request,
2290           responseObserver);
2291     }
2292 
2293     /**
2294      *
2295      *
2296      * <pre>
2297      * Gets the specified operation.
2298      * </pre>
2299      */
getOperation( com.google.container.v1.GetOperationRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)2300     public void getOperation(
2301         com.google.container.v1.GetOperationRequest request,
2302         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
2303       io.grpc.stub.ClientCalls.asyncUnaryCall(
2304           getChannel().newCall(getGetOperationMethod(), getCallOptions()),
2305           request,
2306           responseObserver);
2307     }
2308 
2309     /**
2310      *
2311      *
2312      * <pre>
2313      * Cancels the specified operation.
2314      * </pre>
2315      */
cancelOperation( com.google.container.v1.CancelOperationRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)2316     public void cancelOperation(
2317         com.google.container.v1.CancelOperationRequest request,
2318         io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) {
2319       io.grpc.stub.ClientCalls.asyncUnaryCall(
2320           getChannel().newCall(getCancelOperationMethod(), getCallOptions()),
2321           request,
2322           responseObserver);
2323     }
2324 
2325     /**
2326      *
2327      *
2328      * <pre>
2329      * Returns configuration info about the Google Kubernetes Engine service.
2330      * </pre>
2331      */
getServerConfig( com.google.container.v1.GetServerConfigRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.ServerConfig> responseObserver)2332     public void getServerConfig(
2333         com.google.container.v1.GetServerConfigRequest request,
2334         io.grpc.stub.StreamObserver<com.google.container.v1.ServerConfig> responseObserver) {
2335       io.grpc.stub.ClientCalls.asyncUnaryCall(
2336           getChannel().newCall(getGetServerConfigMethod(), getCallOptions()),
2337           request,
2338           responseObserver);
2339     }
2340 
2341     /**
2342      *
2343      *
2344      * <pre>
2345      * Gets the public component of the cluster signing keys in
2346      * JSON Web Key format.
2347      * This API is not yet intended for general use, and is not available for all
2348      * clusters.
2349      * </pre>
2350      */
getJSONWebKeys( com.google.container.v1.GetJSONWebKeysRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.GetJSONWebKeysResponse> responseObserver)2351     public void getJSONWebKeys(
2352         com.google.container.v1.GetJSONWebKeysRequest request,
2353         io.grpc.stub.StreamObserver<com.google.container.v1.GetJSONWebKeysResponse>
2354             responseObserver) {
2355       io.grpc.stub.ClientCalls.asyncUnaryCall(
2356           getChannel().newCall(getGetJSONWebKeysMethod(), getCallOptions()),
2357           request,
2358           responseObserver);
2359     }
2360 
2361     /**
2362      *
2363      *
2364      * <pre>
2365      * Lists the node pools for a cluster.
2366      * </pre>
2367      */
listNodePools( com.google.container.v1.ListNodePoolsRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.ListNodePoolsResponse> responseObserver)2368     public void listNodePools(
2369         com.google.container.v1.ListNodePoolsRequest request,
2370         io.grpc.stub.StreamObserver<com.google.container.v1.ListNodePoolsResponse>
2371             responseObserver) {
2372       io.grpc.stub.ClientCalls.asyncUnaryCall(
2373           getChannel().newCall(getListNodePoolsMethod(), getCallOptions()),
2374           request,
2375           responseObserver);
2376     }
2377 
2378     /**
2379      *
2380      *
2381      * <pre>
2382      * Retrieves the requested node pool.
2383      * </pre>
2384      */
getNodePool( com.google.container.v1.GetNodePoolRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.NodePool> responseObserver)2385     public void getNodePool(
2386         com.google.container.v1.GetNodePoolRequest request,
2387         io.grpc.stub.StreamObserver<com.google.container.v1.NodePool> responseObserver) {
2388       io.grpc.stub.ClientCalls.asyncUnaryCall(
2389           getChannel().newCall(getGetNodePoolMethod(), getCallOptions()),
2390           request,
2391           responseObserver);
2392     }
2393 
2394     /**
2395      *
2396      *
2397      * <pre>
2398      * Creates a node pool for a cluster.
2399      * </pre>
2400      */
createNodePool( com.google.container.v1.CreateNodePoolRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)2401     public void createNodePool(
2402         com.google.container.v1.CreateNodePoolRequest request,
2403         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
2404       io.grpc.stub.ClientCalls.asyncUnaryCall(
2405           getChannel().newCall(getCreateNodePoolMethod(), getCallOptions()),
2406           request,
2407           responseObserver);
2408     }
2409 
2410     /**
2411      *
2412      *
2413      * <pre>
2414      * Deletes a node pool from a cluster.
2415      * </pre>
2416      */
deleteNodePool( com.google.container.v1.DeleteNodePoolRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)2417     public void deleteNodePool(
2418         com.google.container.v1.DeleteNodePoolRequest request,
2419         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
2420       io.grpc.stub.ClientCalls.asyncUnaryCall(
2421           getChannel().newCall(getDeleteNodePoolMethod(), getCallOptions()),
2422           request,
2423           responseObserver);
2424     }
2425 
2426     /**
2427      *
2428      *
2429      * <pre>
2430      * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
2431      * complete.
2432      * </pre>
2433      */
completeNodePoolUpgrade( com.google.container.v1.CompleteNodePoolUpgradeRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)2434     public void completeNodePoolUpgrade(
2435         com.google.container.v1.CompleteNodePoolUpgradeRequest request,
2436         io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) {
2437       io.grpc.stub.ClientCalls.asyncUnaryCall(
2438           getChannel().newCall(getCompleteNodePoolUpgradeMethod(), getCallOptions()),
2439           request,
2440           responseObserver);
2441     }
2442 
2443     /**
2444      *
2445      *
2446      * <pre>
2447      * Rolls back a previously Aborted or Failed NodePool upgrade.
2448      * This makes no changes if the last upgrade successfully completed.
2449      * </pre>
2450      */
rollbackNodePoolUpgrade( com.google.container.v1.RollbackNodePoolUpgradeRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)2451     public void rollbackNodePoolUpgrade(
2452         com.google.container.v1.RollbackNodePoolUpgradeRequest request,
2453         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
2454       io.grpc.stub.ClientCalls.asyncUnaryCall(
2455           getChannel().newCall(getRollbackNodePoolUpgradeMethod(), getCallOptions()),
2456           request,
2457           responseObserver);
2458     }
2459 
2460     /**
2461      *
2462      *
2463      * <pre>
2464      * Sets the NodeManagement options for a node pool.
2465      * </pre>
2466      */
setNodePoolManagement( com.google.container.v1.SetNodePoolManagementRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)2467     public void setNodePoolManagement(
2468         com.google.container.v1.SetNodePoolManagementRequest request,
2469         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
2470       io.grpc.stub.ClientCalls.asyncUnaryCall(
2471           getChannel().newCall(getSetNodePoolManagementMethod(), getCallOptions()),
2472           request,
2473           responseObserver);
2474     }
2475 
2476     /**
2477      *
2478      *
2479      * <pre>
2480      * Sets labels on a cluster.
2481      * </pre>
2482      */
setLabels( com.google.container.v1.SetLabelsRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)2483     public void setLabels(
2484         com.google.container.v1.SetLabelsRequest request,
2485         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
2486       io.grpc.stub.ClientCalls.asyncUnaryCall(
2487           getChannel().newCall(getSetLabelsMethod(), getCallOptions()), request, responseObserver);
2488     }
2489 
2490     /**
2491      *
2492      *
2493      * <pre>
2494      * Enables or disables the ABAC authorization mechanism on a cluster.
2495      * </pre>
2496      */
setLegacyAbac( com.google.container.v1.SetLegacyAbacRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)2497     public void setLegacyAbac(
2498         com.google.container.v1.SetLegacyAbacRequest request,
2499         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
2500       io.grpc.stub.ClientCalls.asyncUnaryCall(
2501           getChannel().newCall(getSetLegacyAbacMethod(), getCallOptions()),
2502           request,
2503           responseObserver);
2504     }
2505 
2506     /**
2507      *
2508      *
2509      * <pre>
2510      * Starts master IP rotation.
2511      * </pre>
2512      */
startIPRotation( com.google.container.v1.StartIPRotationRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)2513     public void startIPRotation(
2514         com.google.container.v1.StartIPRotationRequest request,
2515         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
2516       io.grpc.stub.ClientCalls.asyncUnaryCall(
2517           getChannel().newCall(getStartIPRotationMethod(), getCallOptions()),
2518           request,
2519           responseObserver);
2520     }
2521 
2522     /**
2523      *
2524      *
2525      * <pre>
2526      * Completes master IP rotation.
2527      * </pre>
2528      */
completeIPRotation( com.google.container.v1.CompleteIPRotationRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)2529     public void completeIPRotation(
2530         com.google.container.v1.CompleteIPRotationRequest request,
2531         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
2532       io.grpc.stub.ClientCalls.asyncUnaryCall(
2533           getChannel().newCall(getCompleteIPRotationMethod(), getCallOptions()),
2534           request,
2535           responseObserver);
2536     }
2537 
2538     /**
2539      *
2540      *
2541      * <pre>
2542      * Sets the size for a specific node pool. The new size will be used for all
2543      * replicas, including future replicas created by modifying
2544      * [NodePool.locations][google.container.v1.NodePool.locations].
2545      * </pre>
2546      */
setNodePoolSize( com.google.container.v1.SetNodePoolSizeRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)2547     public void setNodePoolSize(
2548         com.google.container.v1.SetNodePoolSizeRequest request,
2549         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
2550       io.grpc.stub.ClientCalls.asyncUnaryCall(
2551           getChannel().newCall(getSetNodePoolSizeMethod(), getCallOptions()),
2552           request,
2553           responseObserver);
2554     }
2555 
2556     /**
2557      *
2558      *
2559      * <pre>
2560      * Enables or disables Network Policy for a cluster.
2561      * </pre>
2562      */
setNetworkPolicy( com.google.container.v1.SetNetworkPolicyRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)2563     public void setNetworkPolicy(
2564         com.google.container.v1.SetNetworkPolicyRequest request,
2565         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
2566       io.grpc.stub.ClientCalls.asyncUnaryCall(
2567           getChannel().newCall(getSetNetworkPolicyMethod(), getCallOptions()),
2568           request,
2569           responseObserver);
2570     }
2571 
2572     /**
2573      *
2574      *
2575      * <pre>
2576      * Sets the maintenance policy for a cluster.
2577      * </pre>
2578      */
setMaintenancePolicy( com.google.container.v1.SetMaintenancePolicyRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver)2579     public void setMaintenancePolicy(
2580         com.google.container.v1.SetMaintenancePolicyRequest request,
2581         io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
2582       io.grpc.stub.ClientCalls.asyncUnaryCall(
2583           getChannel().newCall(getSetMaintenancePolicyMethod(), getCallOptions()),
2584           request,
2585           responseObserver);
2586     }
2587 
2588     /**
2589      *
2590      *
2591      * <pre>
2592      * Lists subnetworks that are usable for creating clusters in a project.
2593      * </pre>
2594      */
listUsableSubnetworks( com.google.container.v1.ListUsableSubnetworksRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.ListUsableSubnetworksResponse> responseObserver)2595     public void listUsableSubnetworks(
2596         com.google.container.v1.ListUsableSubnetworksRequest request,
2597         io.grpc.stub.StreamObserver<com.google.container.v1.ListUsableSubnetworksResponse>
2598             responseObserver) {
2599       io.grpc.stub.ClientCalls.asyncUnaryCall(
2600           getChannel().newCall(getListUsableSubnetworksMethod(), getCallOptions()),
2601           request,
2602           responseObserver);
2603     }
2604   }
2605 
2606   /**
2607    * A stub to allow clients to do synchronous rpc calls to service ClusterManager.
2608    *
2609    * <pre>
2610    * Google Kubernetes Engine Cluster Manager v1
2611    * </pre>
2612    */
2613   public static final class ClusterManagerBlockingStub
2614       extends io.grpc.stub.AbstractBlockingStub<ClusterManagerBlockingStub> {
ClusterManagerBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions)2615     private ClusterManagerBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
2616       super(channel, callOptions);
2617     }
2618 
2619     @java.lang.Override
build( io.grpc.Channel channel, io.grpc.CallOptions callOptions)2620     protected ClusterManagerBlockingStub build(
2621         io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
2622       return new ClusterManagerBlockingStub(channel, callOptions);
2623     }
2624 
2625     /**
2626      *
2627      *
2628      * <pre>
2629      * Lists all clusters owned by a project in either the specified zone or all
2630      * zones.
2631      * </pre>
2632      */
listClusters( com.google.container.v1.ListClustersRequest request)2633     public com.google.container.v1.ListClustersResponse listClusters(
2634         com.google.container.v1.ListClustersRequest request) {
2635       return io.grpc.stub.ClientCalls.blockingUnaryCall(
2636           getChannel(), getListClustersMethod(), getCallOptions(), request);
2637     }
2638 
2639     /**
2640      *
2641      *
2642      * <pre>
2643      * Gets the details of a specific cluster.
2644      * </pre>
2645      */
getCluster( com.google.container.v1.GetClusterRequest request)2646     public com.google.container.v1.Cluster getCluster(
2647         com.google.container.v1.GetClusterRequest request) {
2648       return io.grpc.stub.ClientCalls.blockingUnaryCall(
2649           getChannel(), getGetClusterMethod(), getCallOptions(), request);
2650     }
2651 
2652     /**
2653      *
2654      *
2655      * <pre>
2656      * Creates a cluster, consisting of the specified number and type of Google
2657      * Compute Engine instances.
2658      * By default, the cluster is created in the project's
2659      * [default
2660      * network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
2661      * One firewall is added for the cluster. After cluster creation,
2662      * the Kubelet creates routes for each node to allow the containers
2663      * on that node to communicate with all other instances in the
2664      * cluster.
2665      * Finally, an entry is added to the project's global metadata indicating
2666      * which CIDR range the cluster is using.
2667      * </pre>
2668      */
createCluster( com.google.container.v1.CreateClusterRequest request)2669     public com.google.container.v1.Operation createCluster(
2670         com.google.container.v1.CreateClusterRequest request) {
2671       return io.grpc.stub.ClientCalls.blockingUnaryCall(
2672           getChannel(), getCreateClusterMethod(), getCallOptions(), request);
2673     }
2674 
2675     /**
2676      *
2677      *
2678      * <pre>
2679      * Updates the settings of a specific cluster.
2680      * </pre>
2681      */
updateCluster( com.google.container.v1.UpdateClusterRequest request)2682     public com.google.container.v1.Operation updateCluster(
2683         com.google.container.v1.UpdateClusterRequest request) {
2684       return io.grpc.stub.ClientCalls.blockingUnaryCall(
2685           getChannel(), getUpdateClusterMethod(), getCallOptions(), request);
2686     }
2687 
2688     /**
2689      *
2690      *
2691      * <pre>
2692      * Updates the version and/or image type for the specified node pool.
2693      * </pre>
2694      */
updateNodePool( com.google.container.v1.UpdateNodePoolRequest request)2695     public com.google.container.v1.Operation updateNodePool(
2696         com.google.container.v1.UpdateNodePoolRequest request) {
2697       return io.grpc.stub.ClientCalls.blockingUnaryCall(
2698           getChannel(), getUpdateNodePoolMethod(), getCallOptions(), request);
2699     }
2700 
2701     /**
2702      *
2703      *
2704      * <pre>
2705      * Sets the autoscaling settings for the specified node pool.
2706      * </pre>
2707      */
setNodePoolAutoscaling( com.google.container.v1.SetNodePoolAutoscalingRequest request)2708     public com.google.container.v1.Operation setNodePoolAutoscaling(
2709         com.google.container.v1.SetNodePoolAutoscalingRequest request) {
2710       return io.grpc.stub.ClientCalls.blockingUnaryCall(
2711           getChannel(), getSetNodePoolAutoscalingMethod(), getCallOptions(), request);
2712     }
2713 
2714     /**
2715      *
2716      *
2717      * <pre>
2718      * Sets the logging service for a specific cluster.
2719      * </pre>
2720      */
setLoggingService( com.google.container.v1.SetLoggingServiceRequest request)2721     public com.google.container.v1.Operation setLoggingService(
2722         com.google.container.v1.SetLoggingServiceRequest request) {
2723       return io.grpc.stub.ClientCalls.blockingUnaryCall(
2724           getChannel(), getSetLoggingServiceMethod(), getCallOptions(), request);
2725     }
2726 
2727     /**
2728      *
2729      *
2730      * <pre>
2731      * Sets the monitoring service for a specific cluster.
2732      * </pre>
2733      */
setMonitoringService( com.google.container.v1.SetMonitoringServiceRequest request)2734     public com.google.container.v1.Operation setMonitoringService(
2735         com.google.container.v1.SetMonitoringServiceRequest request) {
2736       return io.grpc.stub.ClientCalls.blockingUnaryCall(
2737           getChannel(), getSetMonitoringServiceMethod(), getCallOptions(), request);
2738     }
2739 
2740     /**
2741      *
2742      *
2743      * <pre>
2744      * Sets the addons for a specific cluster.
2745      * </pre>
2746      */
setAddonsConfig( com.google.container.v1.SetAddonsConfigRequest request)2747     public com.google.container.v1.Operation setAddonsConfig(
2748         com.google.container.v1.SetAddonsConfigRequest request) {
2749       return io.grpc.stub.ClientCalls.blockingUnaryCall(
2750           getChannel(), getSetAddonsConfigMethod(), getCallOptions(), request);
2751     }
2752 
2753     /**
2754      *
2755      *
2756      * <pre>
2757      * Sets the locations for a specific cluster.
2758      * Deprecated. Use
2759      * [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/update)
2760      * instead.
2761      * </pre>
2762      */
2763     @java.lang.Deprecated
setLocations( com.google.container.v1.SetLocationsRequest request)2764     public com.google.container.v1.Operation setLocations(
2765         com.google.container.v1.SetLocationsRequest request) {
2766       return io.grpc.stub.ClientCalls.blockingUnaryCall(
2767           getChannel(), getSetLocationsMethod(), getCallOptions(), request);
2768     }
2769 
2770     /**
2771      *
2772      *
2773      * <pre>
2774      * Updates the master for a specific cluster.
2775      * </pre>
2776      */
updateMaster( com.google.container.v1.UpdateMasterRequest request)2777     public com.google.container.v1.Operation updateMaster(
2778         com.google.container.v1.UpdateMasterRequest request) {
2779       return io.grpc.stub.ClientCalls.blockingUnaryCall(
2780           getChannel(), getUpdateMasterMethod(), getCallOptions(), request);
2781     }
2782 
2783     /**
2784      *
2785      *
2786      * <pre>
2787      * Sets master auth materials. Currently supports changing the admin password
2788      * or a specific cluster, either via password generation or explicitly setting
2789      * the password.
2790      * </pre>
2791      */
setMasterAuth( com.google.container.v1.SetMasterAuthRequest request)2792     public com.google.container.v1.Operation setMasterAuth(
2793         com.google.container.v1.SetMasterAuthRequest request) {
2794       return io.grpc.stub.ClientCalls.blockingUnaryCall(
2795           getChannel(), getSetMasterAuthMethod(), getCallOptions(), request);
2796     }
2797 
2798     /**
2799      *
2800      *
2801      * <pre>
2802      * Deletes the cluster, including the Kubernetes endpoint and all worker
2803      * nodes.
2804      * Firewalls and routes that were configured during cluster creation
2805      * are also deleted.
2806      * Other Google Compute Engine resources that might be in use by the cluster,
2807      * such as load balancer resources, are not deleted if they weren't present
2808      * when the cluster was initially created.
2809      * </pre>
2810      */
deleteCluster( com.google.container.v1.DeleteClusterRequest request)2811     public com.google.container.v1.Operation deleteCluster(
2812         com.google.container.v1.DeleteClusterRequest request) {
2813       return io.grpc.stub.ClientCalls.blockingUnaryCall(
2814           getChannel(), getDeleteClusterMethod(), getCallOptions(), request);
2815     }
2816 
2817     /**
2818      *
2819      *
2820      * <pre>
2821      * Lists all operations in a project in a specific zone or all zones.
2822      * </pre>
2823      */
listOperations( com.google.container.v1.ListOperationsRequest request)2824     public com.google.container.v1.ListOperationsResponse listOperations(
2825         com.google.container.v1.ListOperationsRequest request) {
2826       return io.grpc.stub.ClientCalls.blockingUnaryCall(
2827           getChannel(), getListOperationsMethod(), getCallOptions(), request);
2828     }
2829 
2830     /**
2831      *
2832      *
2833      * <pre>
2834      * Gets the specified operation.
2835      * </pre>
2836      */
getOperation( com.google.container.v1.GetOperationRequest request)2837     public com.google.container.v1.Operation getOperation(
2838         com.google.container.v1.GetOperationRequest request) {
2839       return io.grpc.stub.ClientCalls.blockingUnaryCall(
2840           getChannel(), getGetOperationMethod(), getCallOptions(), request);
2841     }
2842 
2843     /**
2844      *
2845      *
2846      * <pre>
2847      * Cancels the specified operation.
2848      * </pre>
2849      */
cancelOperation( com.google.container.v1.CancelOperationRequest request)2850     public com.google.protobuf.Empty cancelOperation(
2851         com.google.container.v1.CancelOperationRequest request) {
2852       return io.grpc.stub.ClientCalls.blockingUnaryCall(
2853           getChannel(), getCancelOperationMethod(), getCallOptions(), request);
2854     }
2855 
2856     /**
2857      *
2858      *
2859      * <pre>
2860      * Returns configuration info about the Google Kubernetes Engine service.
2861      * </pre>
2862      */
getServerConfig( com.google.container.v1.GetServerConfigRequest request)2863     public com.google.container.v1.ServerConfig getServerConfig(
2864         com.google.container.v1.GetServerConfigRequest request) {
2865       return io.grpc.stub.ClientCalls.blockingUnaryCall(
2866           getChannel(), getGetServerConfigMethod(), getCallOptions(), request);
2867     }
2868 
2869     /**
2870      *
2871      *
2872      * <pre>
2873      * Gets the public component of the cluster signing keys in
2874      * JSON Web Key format.
2875      * This API is not yet intended for general use, and is not available for all
2876      * clusters.
2877      * </pre>
2878      */
getJSONWebKeys( com.google.container.v1.GetJSONWebKeysRequest request)2879     public com.google.container.v1.GetJSONWebKeysResponse getJSONWebKeys(
2880         com.google.container.v1.GetJSONWebKeysRequest request) {
2881       return io.grpc.stub.ClientCalls.blockingUnaryCall(
2882           getChannel(), getGetJSONWebKeysMethod(), getCallOptions(), request);
2883     }
2884 
2885     /**
2886      *
2887      *
2888      * <pre>
2889      * Lists the node pools for a cluster.
2890      * </pre>
2891      */
listNodePools( com.google.container.v1.ListNodePoolsRequest request)2892     public com.google.container.v1.ListNodePoolsResponse listNodePools(
2893         com.google.container.v1.ListNodePoolsRequest request) {
2894       return io.grpc.stub.ClientCalls.blockingUnaryCall(
2895           getChannel(), getListNodePoolsMethod(), getCallOptions(), request);
2896     }
2897 
2898     /**
2899      *
2900      *
2901      * <pre>
2902      * Retrieves the requested node pool.
2903      * </pre>
2904      */
getNodePool( com.google.container.v1.GetNodePoolRequest request)2905     public com.google.container.v1.NodePool getNodePool(
2906         com.google.container.v1.GetNodePoolRequest request) {
2907       return io.grpc.stub.ClientCalls.blockingUnaryCall(
2908           getChannel(), getGetNodePoolMethod(), getCallOptions(), request);
2909     }
2910 
2911     /**
2912      *
2913      *
2914      * <pre>
2915      * Creates a node pool for a cluster.
2916      * </pre>
2917      */
createNodePool( com.google.container.v1.CreateNodePoolRequest request)2918     public com.google.container.v1.Operation createNodePool(
2919         com.google.container.v1.CreateNodePoolRequest request) {
2920       return io.grpc.stub.ClientCalls.blockingUnaryCall(
2921           getChannel(), getCreateNodePoolMethod(), getCallOptions(), request);
2922     }
2923 
2924     /**
2925      *
2926      *
2927      * <pre>
2928      * Deletes a node pool from a cluster.
2929      * </pre>
2930      */
deleteNodePool( com.google.container.v1.DeleteNodePoolRequest request)2931     public com.google.container.v1.Operation deleteNodePool(
2932         com.google.container.v1.DeleteNodePoolRequest request) {
2933       return io.grpc.stub.ClientCalls.blockingUnaryCall(
2934           getChannel(), getDeleteNodePoolMethod(), getCallOptions(), request);
2935     }
2936 
2937     /**
2938      *
2939      *
2940      * <pre>
2941      * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
2942      * complete.
2943      * </pre>
2944      */
completeNodePoolUpgrade( com.google.container.v1.CompleteNodePoolUpgradeRequest request)2945     public com.google.protobuf.Empty completeNodePoolUpgrade(
2946         com.google.container.v1.CompleteNodePoolUpgradeRequest request) {
2947       return io.grpc.stub.ClientCalls.blockingUnaryCall(
2948           getChannel(), getCompleteNodePoolUpgradeMethod(), getCallOptions(), request);
2949     }
2950 
2951     /**
2952      *
2953      *
2954      * <pre>
2955      * Rolls back a previously Aborted or Failed NodePool upgrade.
2956      * This makes no changes if the last upgrade successfully completed.
2957      * </pre>
2958      */
rollbackNodePoolUpgrade( com.google.container.v1.RollbackNodePoolUpgradeRequest request)2959     public com.google.container.v1.Operation rollbackNodePoolUpgrade(
2960         com.google.container.v1.RollbackNodePoolUpgradeRequest request) {
2961       return io.grpc.stub.ClientCalls.blockingUnaryCall(
2962           getChannel(), getRollbackNodePoolUpgradeMethod(), getCallOptions(), request);
2963     }
2964 
2965     /**
2966      *
2967      *
2968      * <pre>
2969      * Sets the NodeManagement options for a node pool.
2970      * </pre>
2971      */
setNodePoolManagement( com.google.container.v1.SetNodePoolManagementRequest request)2972     public com.google.container.v1.Operation setNodePoolManagement(
2973         com.google.container.v1.SetNodePoolManagementRequest request) {
2974       return io.grpc.stub.ClientCalls.blockingUnaryCall(
2975           getChannel(), getSetNodePoolManagementMethod(), getCallOptions(), request);
2976     }
2977 
2978     /**
2979      *
2980      *
2981      * <pre>
2982      * Sets labels on a cluster.
2983      * </pre>
2984      */
setLabels( com.google.container.v1.SetLabelsRequest request)2985     public com.google.container.v1.Operation setLabels(
2986         com.google.container.v1.SetLabelsRequest request) {
2987       return io.grpc.stub.ClientCalls.blockingUnaryCall(
2988           getChannel(), getSetLabelsMethod(), getCallOptions(), request);
2989     }
2990 
2991     /**
2992      *
2993      *
2994      * <pre>
2995      * Enables or disables the ABAC authorization mechanism on a cluster.
2996      * </pre>
2997      */
setLegacyAbac( com.google.container.v1.SetLegacyAbacRequest request)2998     public com.google.container.v1.Operation setLegacyAbac(
2999         com.google.container.v1.SetLegacyAbacRequest request) {
3000       return io.grpc.stub.ClientCalls.blockingUnaryCall(
3001           getChannel(), getSetLegacyAbacMethod(), getCallOptions(), request);
3002     }
3003 
3004     /**
3005      *
3006      *
3007      * <pre>
3008      * Starts master IP rotation.
3009      * </pre>
3010      */
startIPRotation( com.google.container.v1.StartIPRotationRequest request)3011     public com.google.container.v1.Operation startIPRotation(
3012         com.google.container.v1.StartIPRotationRequest request) {
3013       return io.grpc.stub.ClientCalls.blockingUnaryCall(
3014           getChannel(), getStartIPRotationMethod(), getCallOptions(), request);
3015     }
3016 
3017     /**
3018      *
3019      *
3020      * <pre>
3021      * Completes master IP rotation.
3022      * </pre>
3023      */
completeIPRotation( com.google.container.v1.CompleteIPRotationRequest request)3024     public com.google.container.v1.Operation completeIPRotation(
3025         com.google.container.v1.CompleteIPRotationRequest request) {
3026       return io.grpc.stub.ClientCalls.blockingUnaryCall(
3027           getChannel(), getCompleteIPRotationMethod(), getCallOptions(), request);
3028     }
3029 
3030     /**
3031      *
3032      *
3033      * <pre>
3034      * Sets the size for a specific node pool. The new size will be used for all
3035      * replicas, including future replicas created by modifying
3036      * [NodePool.locations][google.container.v1.NodePool.locations].
3037      * </pre>
3038      */
setNodePoolSize( com.google.container.v1.SetNodePoolSizeRequest request)3039     public com.google.container.v1.Operation setNodePoolSize(
3040         com.google.container.v1.SetNodePoolSizeRequest request) {
3041       return io.grpc.stub.ClientCalls.blockingUnaryCall(
3042           getChannel(), getSetNodePoolSizeMethod(), getCallOptions(), request);
3043     }
3044 
3045     /**
3046      *
3047      *
3048      * <pre>
3049      * Enables or disables Network Policy for a cluster.
3050      * </pre>
3051      */
setNetworkPolicy( com.google.container.v1.SetNetworkPolicyRequest request)3052     public com.google.container.v1.Operation setNetworkPolicy(
3053         com.google.container.v1.SetNetworkPolicyRequest request) {
3054       return io.grpc.stub.ClientCalls.blockingUnaryCall(
3055           getChannel(), getSetNetworkPolicyMethod(), getCallOptions(), request);
3056     }
3057 
3058     /**
3059      *
3060      *
3061      * <pre>
3062      * Sets the maintenance policy for a cluster.
3063      * </pre>
3064      */
setMaintenancePolicy( com.google.container.v1.SetMaintenancePolicyRequest request)3065     public com.google.container.v1.Operation setMaintenancePolicy(
3066         com.google.container.v1.SetMaintenancePolicyRequest request) {
3067       return io.grpc.stub.ClientCalls.blockingUnaryCall(
3068           getChannel(), getSetMaintenancePolicyMethod(), getCallOptions(), request);
3069     }
3070 
3071     /**
3072      *
3073      *
3074      * <pre>
3075      * Lists subnetworks that are usable for creating clusters in a project.
3076      * </pre>
3077      */
listUsableSubnetworks( com.google.container.v1.ListUsableSubnetworksRequest request)3078     public com.google.container.v1.ListUsableSubnetworksResponse listUsableSubnetworks(
3079         com.google.container.v1.ListUsableSubnetworksRequest request) {
3080       return io.grpc.stub.ClientCalls.blockingUnaryCall(
3081           getChannel(), getListUsableSubnetworksMethod(), getCallOptions(), request);
3082     }
3083   }
3084 
3085   /**
3086    * A stub to allow clients to do ListenableFuture-style rpc calls to service ClusterManager.
3087    *
3088    * <pre>
3089    * Google Kubernetes Engine Cluster Manager v1
3090    * </pre>
3091    */
3092   public static final class ClusterManagerFutureStub
3093       extends io.grpc.stub.AbstractFutureStub<ClusterManagerFutureStub> {
ClusterManagerFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions)3094     private ClusterManagerFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
3095       super(channel, callOptions);
3096     }
3097 
3098     @java.lang.Override
build( io.grpc.Channel channel, io.grpc.CallOptions callOptions)3099     protected ClusterManagerFutureStub build(
3100         io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
3101       return new ClusterManagerFutureStub(channel, callOptions);
3102     }
3103 
3104     /**
3105      *
3106      *
3107      * <pre>
3108      * Lists all clusters owned by a project in either the specified zone or all
3109      * zones.
3110      * </pre>
3111      */
3112     public com.google.common.util.concurrent.ListenableFuture<
3113             com.google.container.v1.ListClustersResponse>
listClusters(com.google.container.v1.ListClustersRequest request)3114         listClusters(com.google.container.v1.ListClustersRequest request) {
3115       return io.grpc.stub.ClientCalls.futureUnaryCall(
3116           getChannel().newCall(getListClustersMethod(), getCallOptions()), request);
3117     }
3118 
3119     /**
3120      *
3121      *
3122      * <pre>
3123      * Gets the details of a specific cluster.
3124      * </pre>
3125      */
3126     public com.google.common.util.concurrent.ListenableFuture<com.google.container.v1.Cluster>
getCluster(com.google.container.v1.GetClusterRequest request)3127         getCluster(com.google.container.v1.GetClusterRequest request) {
3128       return io.grpc.stub.ClientCalls.futureUnaryCall(
3129           getChannel().newCall(getGetClusterMethod(), getCallOptions()), request);
3130     }
3131 
3132     /**
3133      *
3134      *
3135      * <pre>
3136      * Creates a cluster, consisting of the specified number and type of Google
3137      * Compute Engine instances.
3138      * By default, the cluster is created in the project's
3139      * [default
3140      * network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
3141      * One firewall is added for the cluster. After cluster creation,
3142      * the Kubelet creates routes for each node to allow the containers
3143      * on that node to communicate with all other instances in the
3144      * cluster.
3145      * Finally, an entry is added to the project's global metadata indicating
3146      * which CIDR range the cluster is using.
3147      * </pre>
3148      */
3149     public com.google.common.util.concurrent.ListenableFuture<com.google.container.v1.Operation>
createCluster(com.google.container.v1.CreateClusterRequest request)3150         createCluster(com.google.container.v1.CreateClusterRequest request) {
3151       return io.grpc.stub.ClientCalls.futureUnaryCall(
3152           getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request);
3153     }
3154 
3155     /**
3156      *
3157      *
3158      * <pre>
3159      * Updates the settings of a specific cluster.
3160      * </pre>
3161      */
3162     public com.google.common.util.concurrent.ListenableFuture<com.google.container.v1.Operation>
updateCluster(com.google.container.v1.UpdateClusterRequest request)3163         updateCluster(com.google.container.v1.UpdateClusterRequest request) {
3164       return io.grpc.stub.ClientCalls.futureUnaryCall(
3165           getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request);
3166     }
3167 
3168     /**
3169      *
3170      *
3171      * <pre>
3172      * Updates the version and/or image type for the specified node pool.
3173      * </pre>
3174      */
3175     public com.google.common.util.concurrent.ListenableFuture<com.google.container.v1.Operation>
updateNodePool(com.google.container.v1.UpdateNodePoolRequest request)3176         updateNodePool(com.google.container.v1.UpdateNodePoolRequest request) {
3177       return io.grpc.stub.ClientCalls.futureUnaryCall(
3178           getChannel().newCall(getUpdateNodePoolMethod(), getCallOptions()), request);
3179     }
3180 
3181     /**
3182      *
3183      *
3184      * <pre>
3185      * Sets the autoscaling settings for the specified node pool.
3186      * </pre>
3187      */
3188     public com.google.common.util.concurrent.ListenableFuture<com.google.container.v1.Operation>
setNodePoolAutoscaling(com.google.container.v1.SetNodePoolAutoscalingRequest request)3189         setNodePoolAutoscaling(com.google.container.v1.SetNodePoolAutoscalingRequest request) {
3190       return io.grpc.stub.ClientCalls.futureUnaryCall(
3191           getChannel().newCall(getSetNodePoolAutoscalingMethod(), getCallOptions()), request);
3192     }
3193 
3194     /**
3195      *
3196      *
3197      * <pre>
3198      * Sets the logging service for a specific cluster.
3199      * </pre>
3200      */
3201     public com.google.common.util.concurrent.ListenableFuture<com.google.container.v1.Operation>
setLoggingService(com.google.container.v1.SetLoggingServiceRequest request)3202         setLoggingService(com.google.container.v1.SetLoggingServiceRequest request) {
3203       return io.grpc.stub.ClientCalls.futureUnaryCall(
3204           getChannel().newCall(getSetLoggingServiceMethod(), getCallOptions()), request);
3205     }
3206 
3207     /**
3208      *
3209      *
3210      * <pre>
3211      * Sets the monitoring service for a specific cluster.
3212      * </pre>
3213      */
3214     public com.google.common.util.concurrent.ListenableFuture<com.google.container.v1.Operation>
setMonitoringService(com.google.container.v1.SetMonitoringServiceRequest request)3215         setMonitoringService(com.google.container.v1.SetMonitoringServiceRequest request) {
3216       return io.grpc.stub.ClientCalls.futureUnaryCall(
3217           getChannel().newCall(getSetMonitoringServiceMethod(), getCallOptions()), request);
3218     }
3219 
3220     /**
3221      *
3222      *
3223      * <pre>
3224      * Sets the addons for a specific cluster.
3225      * </pre>
3226      */
3227     public com.google.common.util.concurrent.ListenableFuture<com.google.container.v1.Operation>
setAddonsConfig(com.google.container.v1.SetAddonsConfigRequest request)3228         setAddonsConfig(com.google.container.v1.SetAddonsConfigRequest request) {
3229       return io.grpc.stub.ClientCalls.futureUnaryCall(
3230           getChannel().newCall(getSetAddonsConfigMethod(), getCallOptions()), request);
3231     }
3232 
3233     /**
3234      *
3235      *
3236      * <pre>
3237      * Sets the locations for a specific cluster.
3238      * Deprecated. Use
3239      * [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/update)
3240      * instead.
3241      * </pre>
3242      */
3243     @java.lang.Deprecated
3244     public com.google.common.util.concurrent.ListenableFuture<com.google.container.v1.Operation>
setLocations(com.google.container.v1.SetLocationsRequest request)3245         setLocations(com.google.container.v1.SetLocationsRequest request) {
3246       return io.grpc.stub.ClientCalls.futureUnaryCall(
3247           getChannel().newCall(getSetLocationsMethod(), getCallOptions()), request);
3248     }
3249 
3250     /**
3251      *
3252      *
3253      * <pre>
3254      * Updates the master for a specific cluster.
3255      * </pre>
3256      */
3257     public com.google.common.util.concurrent.ListenableFuture<com.google.container.v1.Operation>
updateMaster(com.google.container.v1.UpdateMasterRequest request)3258         updateMaster(com.google.container.v1.UpdateMasterRequest request) {
3259       return io.grpc.stub.ClientCalls.futureUnaryCall(
3260           getChannel().newCall(getUpdateMasterMethod(), getCallOptions()), request);
3261     }
3262 
3263     /**
3264      *
3265      *
3266      * <pre>
3267      * Sets master auth materials. Currently supports changing the admin password
3268      * or a specific cluster, either via password generation or explicitly setting
3269      * the password.
3270      * </pre>
3271      */
3272     public com.google.common.util.concurrent.ListenableFuture<com.google.container.v1.Operation>
setMasterAuth(com.google.container.v1.SetMasterAuthRequest request)3273         setMasterAuth(com.google.container.v1.SetMasterAuthRequest request) {
3274       return io.grpc.stub.ClientCalls.futureUnaryCall(
3275           getChannel().newCall(getSetMasterAuthMethod(), getCallOptions()), request);
3276     }
3277 
3278     /**
3279      *
3280      *
3281      * <pre>
3282      * Deletes the cluster, including the Kubernetes endpoint and all worker
3283      * nodes.
3284      * Firewalls and routes that were configured during cluster creation
3285      * are also deleted.
3286      * Other Google Compute Engine resources that might be in use by the cluster,
3287      * such as load balancer resources, are not deleted if they weren't present
3288      * when the cluster was initially created.
3289      * </pre>
3290      */
3291     public com.google.common.util.concurrent.ListenableFuture<com.google.container.v1.Operation>
deleteCluster(com.google.container.v1.DeleteClusterRequest request)3292         deleteCluster(com.google.container.v1.DeleteClusterRequest request) {
3293       return io.grpc.stub.ClientCalls.futureUnaryCall(
3294           getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request);
3295     }
3296 
3297     /**
3298      *
3299      *
3300      * <pre>
3301      * Lists all operations in a project in a specific zone or all zones.
3302      * </pre>
3303      */
3304     public com.google.common.util.concurrent.ListenableFuture<
3305             com.google.container.v1.ListOperationsResponse>
listOperations(com.google.container.v1.ListOperationsRequest request)3306         listOperations(com.google.container.v1.ListOperationsRequest request) {
3307       return io.grpc.stub.ClientCalls.futureUnaryCall(
3308           getChannel().newCall(getListOperationsMethod(), getCallOptions()), request);
3309     }
3310 
3311     /**
3312      *
3313      *
3314      * <pre>
3315      * Gets the specified operation.
3316      * </pre>
3317      */
3318     public com.google.common.util.concurrent.ListenableFuture<com.google.container.v1.Operation>
getOperation(com.google.container.v1.GetOperationRequest request)3319         getOperation(com.google.container.v1.GetOperationRequest request) {
3320       return io.grpc.stub.ClientCalls.futureUnaryCall(
3321           getChannel().newCall(getGetOperationMethod(), getCallOptions()), request);
3322     }
3323 
3324     /**
3325      *
3326      *
3327      * <pre>
3328      * Cancels the specified operation.
3329      * </pre>
3330      */
3331     public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
cancelOperation(com.google.container.v1.CancelOperationRequest request)3332         cancelOperation(com.google.container.v1.CancelOperationRequest request) {
3333       return io.grpc.stub.ClientCalls.futureUnaryCall(
3334           getChannel().newCall(getCancelOperationMethod(), getCallOptions()), request);
3335     }
3336 
3337     /**
3338      *
3339      *
3340      * <pre>
3341      * Returns configuration info about the Google Kubernetes Engine service.
3342      * </pre>
3343      */
3344     public com.google.common.util.concurrent.ListenableFuture<com.google.container.v1.ServerConfig>
getServerConfig(com.google.container.v1.GetServerConfigRequest request)3345         getServerConfig(com.google.container.v1.GetServerConfigRequest request) {
3346       return io.grpc.stub.ClientCalls.futureUnaryCall(
3347           getChannel().newCall(getGetServerConfigMethod(), getCallOptions()), request);
3348     }
3349 
3350     /**
3351      *
3352      *
3353      * <pre>
3354      * Gets the public component of the cluster signing keys in
3355      * JSON Web Key format.
3356      * This API is not yet intended for general use, and is not available for all
3357      * clusters.
3358      * </pre>
3359      */
3360     public com.google.common.util.concurrent.ListenableFuture<
3361             com.google.container.v1.GetJSONWebKeysResponse>
getJSONWebKeys(com.google.container.v1.GetJSONWebKeysRequest request)3362         getJSONWebKeys(com.google.container.v1.GetJSONWebKeysRequest request) {
3363       return io.grpc.stub.ClientCalls.futureUnaryCall(
3364           getChannel().newCall(getGetJSONWebKeysMethod(), getCallOptions()), request);
3365     }
3366 
3367     /**
3368      *
3369      *
3370      * <pre>
3371      * Lists the node pools for a cluster.
3372      * </pre>
3373      */
3374     public com.google.common.util.concurrent.ListenableFuture<
3375             com.google.container.v1.ListNodePoolsResponse>
listNodePools(com.google.container.v1.ListNodePoolsRequest request)3376         listNodePools(com.google.container.v1.ListNodePoolsRequest request) {
3377       return io.grpc.stub.ClientCalls.futureUnaryCall(
3378           getChannel().newCall(getListNodePoolsMethod(), getCallOptions()), request);
3379     }
3380 
3381     /**
3382      *
3383      *
3384      * <pre>
3385      * Retrieves the requested node pool.
3386      * </pre>
3387      */
3388     public com.google.common.util.concurrent.ListenableFuture<com.google.container.v1.NodePool>
getNodePool(com.google.container.v1.GetNodePoolRequest request)3389         getNodePool(com.google.container.v1.GetNodePoolRequest request) {
3390       return io.grpc.stub.ClientCalls.futureUnaryCall(
3391           getChannel().newCall(getGetNodePoolMethod(), getCallOptions()), request);
3392     }
3393 
3394     /**
3395      *
3396      *
3397      * <pre>
3398      * Creates a node pool for a cluster.
3399      * </pre>
3400      */
3401     public com.google.common.util.concurrent.ListenableFuture<com.google.container.v1.Operation>
createNodePool(com.google.container.v1.CreateNodePoolRequest request)3402         createNodePool(com.google.container.v1.CreateNodePoolRequest request) {
3403       return io.grpc.stub.ClientCalls.futureUnaryCall(
3404           getChannel().newCall(getCreateNodePoolMethod(), getCallOptions()), request);
3405     }
3406 
3407     /**
3408      *
3409      *
3410      * <pre>
3411      * Deletes a node pool from a cluster.
3412      * </pre>
3413      */
3414     public com.google.common.util.concurrent.ListenableFuture<com.google.container.v1.Operation>
deleteNodePool(com.google.container.v1.DeleteNodePoolRequest request)3415         deleteNodePool(com.google.container.v1.DeleteNodePoolRequest request) {
3416       return io.grpc.stub.ClientCalls.futureUnaryCall(
3417           getChannel().newCall(getDeleteNodePoolMethod(), getCallOptions()), request);
3418     }
3419 
3420     /**
3421      *
3422      *
3423      * <pre>
3424      * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
3425      * complete.
3426      * </pre>
3427      */
3428     public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
completeNodePoolUpgrade(com.google.container.v1.CompleteNodePoolUpgradeRequest request)3429         completeNodePoolUpgrade(com.google.container.v1.CompleteNodePoolUpgradeRequest request) {
3430       return io.grpc.stub.ClientCalls.futureUnaryCall(
3431           getChannel().newCall(getCompleteNodePoolUpgradeMethod(), getCallOptions()), request);
3432     }
3433 
3434     /**
3435      *
3436      *
3437      * <pre>
3438      * Rolls back a previously Aborted or Failed NodePool upgrade.
3439      * This makes no changes if the last upgrade successfully completed.
3440      * </pre>
3441      */
3442     public com.google.common.util.concurrent.ListenableFuture<com.google.container.v1.Operation>
rollbackNodePoolUpgrade(com.google.container.v1.RollbackNodePoolUpgradeRequest request)3443         rollbackNodePoolUpgrade(com.google.container.v1.RollbackNodePoolUpgradeRequest request) {
3444       return io.grpc.stub.ClientCalls.futureUnaryCall(
3445           getChannel().newCall(getRollbackNodePoolUpgradeMethod(), getCallOptions()), request);
3446     }
3447 
3448     /**
3449      *
3450      *
3451      * <pre>
3452      * Sets the NodeManagement options for a node pool.
3453      * </pre>
3454      */
3455     public com.google.common.util.concurrent.ListenableFuture<com.google.container.v1.Operation>
setNodePoolManagement(com.google.container.v1.SetNodePoolManagementRequest request)3456         setNodePoolManagement(com.google.container.v1.SetNodePoolManagementRequest request) {
3457       return io.grpc.stub.ClientCalls.futureUnaryCall(
3458           getChannel().newCall(getSetNodePoolManagementMethod(), getCallOptions()), request);
3459     }
3460 
3461     /**
3462      *
3463      *
3464      * <pre>
3465      * Sets labels on a cluster.
3466      * </pre>
3467      */
3468     public com.google.common.util.concurrent.ListenableFuture<com.google.container.v1.Operation>
setLabels(com.google.container.v1.SetLabelsRequest request)3469         setLabels(com.google.container.v1.SetLabelsRequest request) {
3470       return io.grpc.stub.ClientCalls.futureUnaryCall(
3471           getChannel().newCall(getSetLabelsMethod(), getCallOptions()), request);
3472     }
3473 
3474     /**
3475      *
3476      *
3477      * <pre>
3478      * Enables or disables the ABAC authorization mechanism on a cluster.
3479      * </pre>
3480      */
3481     public com.google.common.util.concurrent.ListenableFuture<com.google.container.v1.Operation>
setLegacyAbac(com.google.container.v1.SetLegacyAbacRequest request)3482         setLegacyAbac(com.google.container.v1.SetLegacyAbacRequest request) {
3483       return io.grpc.stub.ClientCalls.futureUnaryCall(
3484           getChannel().newCall(getSetLegacyAbacMethod(), getCallOptions()), request);
3485     }
3486 
3487     /**
3488      *
3489      *
3490      * <pre>
3491      * Starts master IP rotation.
3492      * </pre>
3493      */
3494     public com.google.common.util.concurrent.ListenableFuture<com.google.container.v1.Operation>
startIPRotation(com.google.container.v1.StartIPRotationRequest request)3495         startIPRotation(com.google.container.v1.StartIPRotationRequest request) {
3496       return io.grpc.stub.ClientCalls.futureUnaryCall(
3497           getChannel().newCall(getStartIPRotationMethod(), getCallOptions()), request);
3498     }
3499 
3500     /**
3501      *
3502      *
3503      * <pre>
3504      * Completes master IP rotation.
3505      * </pre>
3506      */
3507     public com.google.common.util.concurrent.ListenableFuture<com.google.container.v1.Operation>
completeIPRotation(com.google.container.v1.CompleteIPRotationRequest request)3508         completeIPRotation(com.google.container.v1.CompleteIPRotationRequest request) {
3509       return io.grpc.stub.ClientCalls.futureUnaryCall(
3510           getChannel().newCall(getCompleteIPRotationMethod(), getCallOptions()), request);
3511     }
3512 
3513     /**
3514      *
3515      *
3516      * <pre>
3517      * Sets the size for a specific node pool. The new size will be used for all
3518      * replicas, including future replicas created by modifying
3519      * [NodePool.locations][google.container.v1.NodePool.locations].
3520      * </pre>
3521      */
3522     public com.google.common.util.concurrent.ListenableFuture<com.google.container.v1.Operation>
setNodePoolSize(com.google.container.v1.SetNodePoolSizeRequest request)3523         setNodePoolSize(com.google.container.v1.SetNodePoolSizeRequest request) {
3524       return io.grpc.stub.ClientCalls.futureUnaryCall(
3525           getChannel().newCall(getSetNodePoolSizeMethod(), getCallOptions()), request);
3526     }
3527 
3528     /**
3529      *
3530      *
3531      * <pre>
3532      * Enables or disables Network Policy for a cluster.
3533      * </pre>
3534      */
3535     public com.google.common.util.concurrent.ListenableFuture<com.google.container.v1.Operation>
setNetworkPolicy(com.google.container.v1.SetNetworkPolicyRequest request)3536         setNetworkPolicy(com.google.container.v1.SetNetworkPolicyRequest request) {
3537       return io.grpc.stub.ClientCalls.futureUnaryCall(
3538           getChannel().newCall(getSetNetworkPolicyMethod(), getCallOptions()), request);
3539     }
3540 
3541     /**
3542      *
3543      *
3544      * <pre>
3545      * Sets the maintenance policy for a cluster.
3546      * </pre>
3547      */
3548     public com.google.common.util.concurrent.ListenableFuture<com.google.container.v1.Operation>
setMaintenancePolicy(com.google.container.v1.SetMaintenancePolicyRequest request)3549         setMaintenancePolicy(com.google.container.v1.SetMaintenancePolicyRequest request) {
3550       return io.grpc.stub.ClientCalls.futureUnaryCall(
3551           getChannel().newCall(getSetMaintenancePolicyMethod(), getCallOptions()), request);
3552     }
3553 
3554     /**
3555      *
3556      *
3557      * <pre>
3558      * Lists subnetworks that are usable for creating clusters in a project.
3559      * </pre>
3560      */
3561     public com.google.common.util.concurrent.ListenableFuture<
3562             com.google.container.v1.ListUsableSubnetworksResponse>
listUsableSubnetworks(com.google.container.v1.ListUsableSubnetworksRequest request)3563         listUsableSubnetworks(com.google.container.v1.ListUsableSubnetworksRequest request) {
3564       return io.grpc.stub.ClientCalls.futureUnaryCall(
3565           getChannel().newCall(getListUsableSubnetworksMethod(), getCallOptions()), request);
3566     }
3567   }
3568 
3569   private static final int METHODID_LIST_CLUSTERS = 0;
3570   private static final int METHODID_GET_CLUSTER = 1;
3571   private static final int METHODID_CREATE_CLUSTER = 2;
3572   private static final int METHODID_UPDATE_CLUSTER = 3;
3573   private static final int METHODID_UPDATE_NODE_POOL = 4;
3574   private static final int METHODID_SET_NODE_POOL_AUTOSCALING = 5;
3575   private static final int METHODID_SET_LOGGING_SERVICE = 6;
3576   private static final int METHODID_SET_MONITORING_SERVICE = 7;
3577   private static final int METHODID_SET_ADDONS_CONFIG = 8;
3578   private static final int METHODID_SET_LOCATIONS = 9;
3579   private static final int METHODID_UPDATE_MASTER = 10;
3580   private static final int METHODID_SET_MASTER_AUTH = 11;
3581   private static final int METHODID_DELETE_CLUSTER = 12;
3582   private static final int METHODID_LIST_OPERATIONS = 13;
3583   private static final int METHODID_GET_OPERATION = 14;
3584   private static final int METHODID_CANCEL_OPERATION = 15;
3585   private static final int METHODID_GET_SERVER_CONFIG = 16;
3586   private static final int METHODID_GET_JSONWEB_KEYS = 17;
3587   private static final int METHODID_LIST_NODE_POOLS = 18;
3588   private static final int METHODID_GET_NODE_POOL = 19;
3589   private static final int METHODID_CREATE_NODE_POOL = 20;
3590   private static final int METHODID_DELETE_NODE_POOL = 21;
3591   private static final int METHODID_COMPLETE_NODE_POOL_UPGRADE = 22;
3592   private static final int METHODID_ROLLBACK_NODE_POOL_UPGRADE = 23;
3593   private static final int METHODID_SET_NODE_POOL_MANAGEMENT = 24;
3594   private static final int METHODID_SET_LABELS = 25;
3595   private static final int METHODID_SET_LEGACY_ABAC = 26;
3596   private static final int METHODID_START_IPROTATION = 27;
3597   private static final int METHODID_COMPLETE_IPROTATION = 28;
3598   private static final int METHODID_SET_NODE_POOL_SIZE = 29;
3599   private static final int METHODID_SET_NETWORK_POLICY = 30;
3600   private static final int METHODID_SET_MAINTENANCE_POLICY = 31;
3601   private static final int METHODID_LIST_USABLE_SUBNETWORKS = 32;
3602 
3603   private static final class MethodHandlers<Req, Resp>
3604       implements io.grpc.stub.ServerCalls.UnaryMethod<Req, Resp>,
3605           io.grpc.stub.ServerCalls.ServerStreamingMethod<Req, Resp>,
3606           io.grpc.stub.ServerCalls.ClientStreamingMethod<Req, Resp>,
3607           io.grpc.stub.ServerCalls.BidiStreamingMethod<Req, Resp> {
3608     private final AsyncService serviceImpl;
3609     private final int methodId;
3610 
MethodHandlers(AsyncService serviceImpl, int methodId)3611     MethodHandlers(AsyncService serviceImpl, int methodId) {
3612       this.serviceImpl = serviceImpl;
3613       this.methodId = methodId;
3614     }
3615 
3616     @java.lang.Override
3617     @java.lang.SuppressWarnings("unchecked")
invoke(Req request, io.grpc.stub.StreamObserver<Resp> responseObserver)3618     public void invoke(Req request, io.grpc.stub.StreamObserver<Resp> responseObserver) {
3619       switch (methodId) {
3620         case METHODID_LIST_CLUSTERS:
3621           serviceImpl.listClusters(
3622               (com.google.container.v1.ListClustersRequest) request,
3623               (io.grpc.stub.StreamObserver<com.google.container.v1.ListClustersResponse>)
3624                   responseObserver);
3625           break;
3626         case METHODID_GET_CLUSTER:
3627           serviceImpl.getCluster(
3628               (com.google.container.v1.GetClusterRequest) request,
3629               (io.grpc.stub.StreamObserver<com.google.container.v1.Cluster>) responseObserver);
3630           break;
3631         case METHODID_CREATE_CLUSTER:
3632           serviceImpl.createCluster(
3633               (com.google.container.v1.CreateClusterRequest) request,
3634               (io.grpc.stub.StreamObserver<com.google.container.v1.Operation>) responseObserver);
3635           break;
3636         case METHODID_UPDATE_CLUSTER:
3637           serviceImpl.updateCluster(
3638               (com.google.container.v1.UpdateClusterRequest) request,
3639               (io.grpc.stub.StreamObserver<com.google.container.v1.Operation>) responseObserver);
3640           break;
3641         case METHODID_UPDATE_NODE_POOL:
3642           serviceImpl.updateNodePool(
3643               (com.google.container.v1.UpdateNodePoolRequest) request,
3644               (io.grpc.stub.StreamObserver<com.google.container.v1.Operation>) responseObserver);
3645           break;
3646         case METHODID_SET_NODE_POOL_AUTOSCALING:
3647           serviceImpl.setNodePoolAutoscaling(
3648               (com.google.container.v1.SetNodePoolAutoscalingRequest) request,
3649               (io.grpc.stub.StreamObserver<com.google.container.v1.Operation>) responseObserver);
3650           break;
3651         case METHODID_SET_LOGGING_SERVICE:
3652           serviceImpl.setLoggingService(
3653               (com.google.container.v1.SetLoggingServiceRequest) request,
3654               (io.grpc.stub.StreamObserver<com.google.container.v1.Operation>) responseObserver);
3655           break;
3656         case METHODID_SET_MONITORING_SERVICE:
3657           serviceImpl.setMonitoringService(
3658               (com.google.container.v1.SetMonitoringServiceRequest) request,
3659               (io.grpc.stub.StreamObserver<com.google.container.v1.Operation>) responseObserver);
3660           break;
3661         case METHODID_SET_ADDONS_CONFIG:
3662           serviceImpl.setAddonsConfig(
3663               (com.google.container.v1.SetAddonsConfigRequest) request,
3664               (io.grpc.stub.StreamObserver<com.google.container.v1.Operation>) responseObserver);
3665           break;
3666         case METHODID_SET_LOCATIONS:
3667           serviceImpl.setLocations(
3668               (com.google.container.v1.SetLocationsRequest) request,
3669               (io.grpc.stub.StreamObserver<com.google.container.v1.Operation>) responseObserver);
3670           break;
3671         case METHODID_UPDATE_MASTER:
3672           serviceImpl.updateMaster(
3673               (com.google.container.v1.UpdateMasterRequest) request,
3674               (io.grpc.stub.StreamObserver<com.google.container.v1.Operation>) responseObserver);
3675           break;
3676         case METHODID_SET_MASTER_AUTH:
3677           serviceImpl.setMasterAuth(
3678               (com.google.container.v1.SetMasterAuthRequest) request,
3679               (io.grpc.stub.StreamObserver<com.google.container.v1.Operation>) responseObserver);
3680           break;
3681         case METHODID_DELETE_CLUSTER:
3682           serviceImpl.deleteCluster(
3683               (com.google.container.v1.DeleteClusterRequest) request,
3684               (io.grpc.stub.StreamObserver<com.google.container.v1.Operation>) responseObserver);
3685           break;
3686         case METHODID_LIST_OPERATIONS:
3687           serviceImpl.listOperations(
3688               (com.google.container.v1.ListOperationsRequest) request,
3689               (io.grpc.stub.StreamObserver<com.google.container.v1.ListOperationsResponse>)
3690                   responseObserver);
3691           break;
3692         case METHODID_GET_OPERATION:
3693           serviceImpl.getOperation(
3694               (com.google.container.v1.GetOperationRequest) request,
3695               (io.grpc.stub.StreamObserver<com.google.container.v1.Operation>) responseObserver);
3696           break;
3697         case METHODID_CANCEL_OPERATION:
3698           serviceImpl.cancelOperation(
3699               (com.google.container.v1.CancelOperationRequest) request,
3700               (io.grpc.stub.StreamObserver<com.google.protobuf.Empty>) responseObserver);
3701           break;
3702         case METHODID_GET_SERVER_CONFIG:
3703           serviceImpl.getServerConfig(
3704               (com.google.container.v1.GetServerConfigRequest) request,
3705               (io.grpc.stub.StreamObserver<com.google.container.v1.ServerConfig>) responseObserver);
3706           break;
3707         case METHODID_GET_JSONWEB_KEYS:
3708           serviceImpl.getJSONWebKeys(
3709               (com.google.container.v1.GetJSONWebKeysRequest) request,
3710               (io.grpc.stub.StreamObserver<com.google.container.v1.GetJSONWebKeysResponse>)
3711                   responseObserver);
3712           break;
3713         case METHODID_LIST_NODE_POOLS:
3714           serviceImpl.listNodePools(
3715               (com.google.container.v1.ListNodePoolsRequest) request,
3716               (io.grpc.stub.StreamObserver<com.google.container.v1.ListNodePoolsResponse>)
3717                   responseObserver);
3718           break;
3719         case METHODID_GET_NODE_POOL:
3720           serviceImpl.getNodePool(
3721               (com.google.container.v1.GetNodePoolRequest) request,
3722               (io.grpc.stub.StreamObserver<com.google.container.v1.NodePool>) responseObserver);
3723           break;
3724         case METHODID_CREATE_NODE_POOL:
3725           serviceImpl.createNodePool(
3726               (com.google.container.v1.CreateNodePoolRequest) request,
3727               (io.grpc.stub.StreamObserver<com.google.container.v1.Operation>) responseObserver);
3728           break;
3729         case METHODID_DELETE_NODE_POOL:
3730           serviceImpl.deleteNodePool(
3731               (com.google.container.v1.DeleteNodePoolRequest) request,
3732               (io.grpc.stub.StreamObserver<com.google.container.v1.Operation>) responseObserver);
3733           break;
3734         case METHODID_COMPLETE_NODE_POOL_UPGRADE:
3735           serviceImpl.completeNodePoolUpgrade(
3736               (com.google.container.v1.CompleteNodePoolUpgradeRequest) request,
3737               (io.grpc.stub.StreamObserver<com.google.protobuf.Empty>) responseObserver);
3738           break;
3739         case METHODID_ROLLBACK_NODE_POOL_UPGRADE:
3740           serviceImpl.rollbackNodePoolUpgrade(
3741               (com.google.container.v1.RollbackNodePoolUpgradeRequest) request,
3742               (io.grpc.stub.StreamObserver<com.google.container.v1.Operation>) responseObserver);
3743           break;
3744         case METHODID_SET_NODE_POOL_MANAGEMENT:
3745           serviceImpl.setNodePoolManagement(
3746               (com.google.container.v1.SetNodePoolManagementRequest) request,
3747               (io.grpc.stub.StreamObserver<com.google.container.v1.Operation>) responseObserver);
3748           break;
3749         case METHODID_SET_LABELS:
3750           serviceImpl.setLabels(
3751               (com.google.container.v1.SetLabelsRequest) request,
3752               (io.grpc.stub.StreamObserver<com.google.container.v1.Operation>) responseObserver);
3753           break;
3754         case METHODID_SET_LEGACY_ABAC:
3755           serviceImpl.setLegacyAbac(
3756               (com.google.container.v1.SetLegacyAbacRequest) request,
3757               (io.grpc.stub.StreamObserver<com.google.container.v1.Operation>) responseObserver);
3758           break;
3759         case METHODID_START_IPROTATION:
3760           serviceImpl.startIPRotation(
3761               (com.google.container.v1.StartIPRotationRequest) request,
3762               (io.grpc.stub.StreamObserver<com.google.container.v1.Operation>) responseObserver);
3763           break;
3764         case METHODID_COMPLETE_IPROTATION:
3765           serviceImpl.completeIPRotation(
3766               (com.google.container.v1.CompleteIPRotationRequest) request,
3767               (io.grpc.stub.StreamObserver<com.google.container.v1.Operation>) responseObserver);
3768           break;
3769         case METHODID_SET_NODE_POOL_SIZE:
3770           serviceImpl.setNodePoolSize(
3771               (com.google.container.v1.SetNodePoolSizeRequest) request,
3772               (io.grpc.stub.StreamObserver<com.google.container.v1.Operation>) responseObserver);
3773           break;
3774         case METHODID_SET_NETWORK_POLICY:
3775           serviceImpl.setNetworkPolicy(
3776               (com.google.container.v1.SetNetworkPolicyRequest) request,
3777               (io.grpc.stub.StreamObserver<com.google.container.v1.Operation>) responseObserver);
3778           break;
3779         case METHODID_SET_MAINTENANCE_POLICY:
3780           serviceImpl.setMaintenancePolicy(
3781               (com.google.container.v1.SetMaintenancePolicyRequest) request,
3782               (io.grpc.stub.StreamObserver<com.google.container.v1.Operation>) responseObserver);
3783           break;
3784         case METHODID_LIST_USABLE_SUBNETWORKS:
3785           serviceImpl.listUsableSubnetworks(
3786               (com.google.container.v1.ListUsableSubnetworksRequest) request,
3787               (io.grpc.stub.StreamObserver<com.google.container.v1.ListUsableSubnetworksResponse>)
3788                   responseObserver);
3789           break;
3790         default:
3791           throw new AssertionError();
3792       }
3793     }
3794 
3795     @java.lang.Override
3796     @java.lang.SuppressWarnings("unchecked")
invoke( io.grpc.stub.StreamObserver<Resp> responseObserver)3797     public io.grpc.stub.StreamObserver<Req> invoke(
3798         io.grpc.stub.StreamObserver<Resp> responseObserver) {
3799       switch (methodId) {
3800         default:
3801           throw new AssertionError();
3802       }
3803     }
3804   }
3805 
bindService(AsyncService service)3806   public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) {
3807     return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
3808         .addMethod(
3809             getListClustersMethod(),
3810             io.grpc.stub.ServerCalls.asyncUnaryCall(
3811                 new MethodHandlers<
3812                     com.google.container.v1.ListClustersRequest,
3813                     com.google.container.v1.ListClustersResponse>(service, METHODID_LIST_CLUSTERS)))
3814         .addMethod(
3815             getGetClusterMethod(),
3816             io.grpc.stub.ServerCalls.asyncUnaryCall(
3817                 new MethodHandlers<
3818                     com.google.container.v1.GetClusterRequest, com.google.container.v1.Cluster>(
3819                     service, METHODID_GET_CLUSTER)))
3820         .addMethod(
3821             getCreateClusterMethod(),
3822             io.grpc.stub.ServerCalls.asyncUnaryCall(
3823                 new MethodHandlers<
3824                     com.google.container.v1.CreateClusterRequest,
3825                     com.google.container.v1.Operation>(service, METHODID_CREATE_CLUSTER)))
3826         .addMethod(
3827             getUpdateClusterMethod(),
3828             io.grpc.stub.ServerCalls.asyncUnaryCall(
3829                 new MethodHandlers<
3830                     com.google.container.v1.UpdateClusterRequest,
3831                     com.google.container.v1.Operation>(service, METHODID_UPDATE_CLUSTER)))
3832         .addMethod(
3833             getUpdateNodePoolMethod(),
3834             io.grpc.stub.ServerCalls.asyncUnaryCall(
3835                 new MethodHandlers<
3836                     com.google.container.v1.UpdateNodePoolRequest,
3837                     com.google.container.v1.Operation>(service, METHODID_UPDATE_NODE_POOL)))
3838         .addMethod(
3839             getSetNodePoolAutoscalingMethod(),
3840             io.grpc.stub.ServerCalls.asyncUnaryCall(
3841                 new MethodHandlers<
3842                     com.google.container.v1.SetNodePoolAutoscalingRequest,
3843                     com.google.container.v1.Operation>(
3844                     service, METHODID_SET_NODE_POOL_AUTOSCALING)))
3845         .addMethod(
3846             getSetLoggingServiceMethod(),
3847             io.grpc.stub.ServerCalls.asyncUnaryCall(
3848                 new MethodHandlers<
3849                     com.google.container.v1.SetLoggingServiceRequest,
3850                     com.google.container.v1.Operation>(service, METHODID_SET_LOGGING_SERVICE)))
3851         .addMethod(
3852             getSetMonitoringServiceMethod(),
3853             io.grpc.stub.ServerCalls.asyncUnaryCall(
3854                 new MethodHandlers<
3855                     com.google.container.v1.SetMonitoringServiceRequest,
3856                     com.google.container.v1.Operation>(service, METHODID_SET_MONITORING_SERVICE)))
3857         .addMethod(
3858             getSetAddonsConfigMethod(),
3859             io.grpc.stub.ServerCalls.asyncUnaryCall(
3860                 new MethodHandlers<
3861                     com.google.container.v1.SetAddonsConfigRequest,
3862                     com.google.container.v1.Operation>(service, METHODID_SET_ADDONS_CONFIG)))
3863         .addMethod(
3864             getSetLocationsMethod(),
3865             io.grpc.stub.ServerCalls.asyncUnaryCall(
3866                 new MethodHandlers<
3867                     com.google.container.v1.SetLocationsRequest, com.google.container.v1.Operation>(
3868                     service, METHODID_SET_LOCATIONS)))
3869         .addMethod(
3870             getUpdateMasterMethod(),
3871             io.grpc.stub.ServerCalls.asyncUnaryCall(
3872                 new MethodHandlers<
3873                     com.google.container.v1.UpdateMasterRequest, com.google.container.v1.Operation>(
3874                     service, METHODID_UPDATE_MASTER)))
3875         .addMethod(
3876             getSetMasterAuthMethod(),
3877             io.grpc.stub.ServerCalls.asyncUnaryCall(
3878                 new MethodHandlers<
3879                     com.google.container.v1.SetMasterAuthRequest,
3880                     com.google.container.v1.Operation>(service, METHODID_SET_MASTER_AUTH)))
3881         .addMethod(
3882             getDeleteClusterMethod(),
3883             io.grpc.stub.ServerCalls.asyncUnaryCall(
3884                 new MethodHandlers<
3885                     com.google.container.v1.DeleteClusterRequest,
3886                     com.google.container.v1.Operation>(service, METHODID_DELETE_CLUSTER)))
3887         .addMethod(
3888             getListOperationsMethod(),
3889             io.grpc.stub.ServerCalls.asyncUnaryCall(
3890                 new MethodHandlers<
3891                     com.google.container.v1.ListOperationsRequest,
3892                     com.google.container.v1.ListOperationsResponse>(
3893                     service, METHODID_LIST_OPERATIONS)))
3894         .addMethod(
3895             getGetOperationMethod(),
3896             io.grpc.stub.ServerCalls.asyncUnaryCall(
3897                 new MethodHandlers<
3898                     com.google.container.v1.GetOperationRequest, com.google.container.v1.Operation>(
3899                     service, METHODID_GET_OPERATION)))
3900         .addMethod(
3901             getCancelOperationMethod(),
3902             io.grpc.stub.ServerCalls.asyncUnaryCall(
3903                 new MethodHandlers<
3904                     com.google.container.v1.CancelOperationRequest, com.google.protobuf.Empty>(
3905                     service, METHODID_CANCEL_OPERATION)))
3906         .addMethod(
3907             getGetServerConfigMethod(),
3908             io.grpc.stub.ServerCalls.asyncUnaryCall(
3909                 new MethodHandlers<
3910                     com.google.container.v1.GetServerConfigRequest,
3911                     com.google.container.v1.ServerConfig>(service, METHODID_GET_SERVER_CONFIG)))
3912         .addMethod(
3913             getGetJSONWebKeysMethod(),
3914             io.grpc.stub.ServerCalls.asyncUnaryCall(
3915                 new MethodHandlers<
3916                     com.google.container.v1.GetJSONWebKeysRequest,
3917                     com.google.container.v1.GetJSONWebKeysResponse>(
3918                     service, METHODID_GET_JSONWEB_KEYS)))
3919         .addMethod(
3920             getListNodePoolsMethod(),
3921             io.grpc.stub.ServerCalls.asyncUnaryCall(
3922                 new MethodHandlers<
3923                     com.google.container.v1.ListNodePoolsRequest,
3924                     com.google.container.v1.ListNodePoolsResponse>(
3925                     service, METHODID_LIST_NODE_POOLS)))
3926         .addMethod(
3927             getGetNodePoolMethod(),
3928             io.grpc.stub.ServerCalls.asyncUnaryCall(
3929                 new MethodHandlers<
3930                     com.google.container.v1.GetNodePoolRequest, com.google.container.v1.NodePool>(
3931                     service, METHODID_GET_NODE_POOL)))
3932         .addMethod(
3933             getCreateNodePoolMethod(),
3934             io.grpc.stub.ServerCalls.asyncUnaryCall(
3935                 new MethodHandlers<
3936                     com.google.container.v1.CreateNodePoolRequest,
3937                     com.google.container.v1.Operation>(service, METHODID_CREATE_NODE_POOL)))
3938         .addMethod(
3939             getDeleteNodePoolMethod(),
3940             io.grpc.stub.ServerCalls.asyncUnaryCall(
3941                 new MethodHandlers<
3942                     com.google.container.v1.DeleteNodePoolRequest,
3943                     com.google.container.v1.Operation>(service, METHODID_DELETE_NODE_POOL)))
3944         .addMethod(
3945             getCompleteNodePoolUpgradeMethod(),
3946             io.grpc.stub.ServerCalls.asyncUnaryCall(
3947                 new MethodHandlers<
3948                     com.google.container.v1.CompleteNodePoolUpgradeRequest,
3949                     com.google.protobuf.Empty>(service, METHODID_COMPLETE_NODE_POOL_UPGRADE)))
3950         .addMethod(
3951             getRollbackNodePoolUpgradeMethod(),
3952             io.grpc.stub.ServerCalls.asyncUnaryCall(
3953                 new MethodHandlers<
3954                     com.google.container.v1.RollbackNodePoolUpgradeRequest,
3955                     com.google.container.v1.Operation>(
3956                     service, METHODID_ROLLBACK_NODE_POOL_UPGRADE)))
3957         .addMethod(
3958             getSetNodePoolManagementMethod(),
3959             io.grpc.stub.ServerCalls.asyncUnaryCall(
3960                 new MethodHandlers<
3961                     com.google.container.v1.SetNodePoolManagementRequest,
3962                     com.google.container.v1.Operation>(service, METHODID_SET_NODE_POOL_MANAGEMENT)))
3963         .addMethod(
3964             getSetLabelsMethod(),
3965             io.grpc.stub.ServerCalls.asyncUnaryCall(
3966                 new MethodHandlers<
3967                     com.google.container.v1.SetLabelsRequest, com.google.container.v1.Operation>(
3968                     service, METHODID_SET_LABELS)))
3969         .addMethod(
3970             getSetLegacyAbacMethod(),
3971             io.grpc.stub.ServerCalls.asyncUnaryCall(
3972                 new MethodHandlers<
3973                     com.google.container.v1.SetLegacyAbacRequest,
3974                     com.google.container.v1.Operation>(service, METHODID_SET_LEGACY_ABAC)))
3975         .addMethod(
3976             getStartIPRotationMethod(),
3977             io.grpc.stub.ServerCalls.asyncUnaryCall(
3978                 new MethodHandlers<
3979                     com.google.container.v1.StartIPRotationRequest,
3980                     com.google.container.v1.Operation>(service, METHODID_START_IPROTATION)))
3981         .addMethod(
3982             getCompleteIPRotationMethod(),
3983             io.grpc.stub.ServerCalls.asyncUnaryCall(
3984                 new MethodHandlers<
3985                     com.google.container.v1.CompleteIPRotationRequest,
3986                     com.google.container.v1.Operation>(service, METHODID_COMPLETE_IPROTATION)))
3987         .addMethod(
3988             getSetNodePoolSizeMethod(),
3989             io.grpc.stub.ServerCalls.asyncUnaryCall(
3990                 new MethodHandlers<
3991                     com.google.container.v1.SetNodePoolSizeRequest,
3992                     com.google.container.v1.Operation>(service, METHODID_SET_NODE_POOL_SIZE)))
3993         .addMethod(
3994             getSetNetworkPolicyMethod(),
3995             io.grpc.stub.ServerCalls.asyncUnaryCall(
3996                 new MethodHandlers<
3997                     com.google.container.v1.SetNetworkPolicyRequest,
3998                     com.google.container.v1.Operation>(service, METHODID_SET_NETWORK_POLICY)))
3999         .addMethod(
4000             getSetMaintenancePolicyMethod(),
4001             io.grpc.stub.ServerCalls.asyncUnaryCall(
4002                 new MethodHandlers<
4003                     com.google.container.v1.SetMaintenancePolicyRequest,
4004                     com.google.container.v1.Operation>(service, METHODID_SET_MAINTENANCE_POLICY)))
4005         .addMethod(
4006             getListUsableSubnetworksMethod(),
4007             io.grpc.stub.ServerCalls.asyncUnaryCall(
4008                 new MethodHandlers<
4009                     com.google.container.v1.ListUsableSubnetworksRequest,
4010                     com.google.container.v1.ListUsableSubnetworksResponse>(
4011                     service, METHODID_LIST_USABLE_SUBNETWORKS)))
4012         .build();
4013   }
4014 
4015   private abstract static class ClusterManagerBaseDescriptorSupplier
4016       implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
4017           io.grpc.protobuf.ProtoServiceDescriptorSupplier {
ClusterManagerBaseDescriptorSupplier()4018     ClusterManagerBaseDescriptorSupplier() {}
4019 
4020     @java.lang.Override
getFileDescriptor()4021     public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
4022       return com.google.container.v1.ClusterServiceProto.getDescriptor();
4023     }
4024 
4025     @java.lang.Override
getServiceDescriptor()4026     public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() {
4027       return getFileDescriptor().findServiceByName("ClusterManager");
4028     }
4029   }
4030 
4031   private static final class ClusterManagerFileDescriptorSupplier
4032       extends ClusterManagerBaseDescriptorSupplier {
ClusterManagerFileDescriptorSupplier()4033     ClusterManagerFileDescriptorSupplier() {}
4034   }
4035 
4036   private static final class ClusterManagerMethodDescriptorSupplier
4037       extends ClusterManagerBaseDescriptorSupplier
4038       implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
4039     private final String methodName;
4040 
ClusterManagerMethodDescriptorSupplier(String methodName)4041     ClusterManagerMethodDescriptorSupplier(String methodName) {
4042       this.methodName = methodName;
4043     }
4044 
4045     @java.lang.Override
getMethodDescriptor()4046     public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() {
4047       return getServiceDescriptor().findMethodByName(methodName);
4048     }
4049   }
4050 
4051   private static volatile io.grpc.ServiceDescriptor serviceDescriptor;
4052 
getServiceDescriptor()4053   public static io.grpc.ServiceDescriptor getServiceDescriptor() {
4054     io.grpc.ServiceDescriptor result = serviceDescriptor;
4055     if (result == null) {
4056       synchronized (ClusterManagerGrpc.class) {
4057         result = serviceDescriptor;
4058         if (result == null) {
4059           serviceDescriptor =
4060               result =
4061                   io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
4062                       .setSchemaDescriptor(new ClusterManagerFileDescriptorSupplier())
4063                       .addMethod(getListClustersMethod())
4064                       .addMethod(getGetClusterMethod())
4065                       .addMethod(getCreateClusterMethod())
4066                       .addMethod(getUpdateClusterMethod())
4067                       .addMethod(getUpdateNodePoolMethod())
4068                       .addMethod(getSetNodePoolAutoscalingMethod())
4069                       .addMethod(getSetLoggingServiceMethod())
4070                       .addMethod(getSetMonitoringServiceMethod())
4071                       .addMethod(getSetAddonsConfigMethod())
4072                       .addMethod(getSetLocationsMethod())
4073                       .addMethod(getUpdateMasterMethod())
4074                       .addMethod(getSetMasterAuthMethod())
4075                       .addMethod(getDeleteClusterMethod())
4076                       .addMethod(getListOperationsMethod())
4077                       .addMethod(getGetOperationMethod())
4078                       .addMethod(getCancelOperationMethod())
4079                       .addMethod(getGetServerConfigMethod())
4080                       .addMethod(getGetJSONWebKeysMethod())
4081                       .addMethod(getListNodePoolsMethod())
4082                       .addMethod(getGetNodePoolMethod())
4083                       .addMethod(getCreateNodePoolMethod())
4084                       .addMethod(getDeleteNodePoolMethod())
4085                       .addMethod(getCompleteNodePoolUpgradeMethod())
4086                       .addMethod(getRollbackNodePoolUpgradeMethod())
4087                       .addMethod(getSetNodePoolManagementMethod())
4088                       .addMethod(getSetLabelsMethod())
4089                       .addMethod(getSetLegacyAbacMethod())
4090                       .addMethod(getStartIPRotationMethod())
4091                       .addMethod(getCompleteIPRotationMethod())
4092                       .addMethod(getSetNodePoolSizeMethod())
4093                       .addMethod(getSetNetworkPolicyMethod())
4094                       .addMethod(getSetMaintenancePolicyMethod())
4095                       .addMethod(getListUsableSubnetworksMethod())
4096                       .build();
4097         }
4098       }
4099     }
4100     return result;
4101   }
4102 }
4103