• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2022 Google LLC
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 package com.google.cloud.compute.v1.stub;
18 
19 import static com.google.cloud.compute.v1.InstanceGroupManagersClient.AggregatedListPagedResponse;
20 import static com.google.cloud.compute.v1.InstanceGroupManagersClient.ListErrorsPagedResponse;
21 import static com.google.cloud.compute.v1.InstanceGroupManagersClient.ListManagedInstancesPagedResponse;
22 import static com.google.cloud.compute.v1.InstanceGroupManagersClient.ListPagedResponse;
23 import static com.google.cloud.compute.v1.InstanceGroupManagersClient.ListPerInstanceConfigsPagedResponse;
24 
25 import com.google.api.gax.core.BackgroundResource;
26 import com.google.api.gax.rpc.OperationCallable;
27 import com.google.api.gax.rpc.UnaryCallable;
28 import com.google.cloud.compute.v1.AbandonInstancesInstanceGroupManagerRequest;
29 import com.google.cloud.compute.v1.AggregatedListInstanceGroupManagersRequest;
30 import com.google.cloud.compute.v1.ApplyUpdatesToInstancesInstanceGroupManagerRequest;
31 import com.google.cloud.compute.v1.CreateInstancesInstanceGroupManagerRequest;
32 import com.google.cloud.compute.v1.DeleteInstanceGroupManagerRequest;
33 import com.google.cloud.compute.v1.DeleteInstancesInstanceGroupManagerRequest;
34 import com.google.cloud.compute.v1.DeletePerInstanceConfigsInstanceGroupManagerRequest;
35 import com.google.cloud.compute.v1.GetInstanceGroupManagerRequest;
36 import com.google.cloud.compute.v1.InsertInstanceGroupManagerRequest;
37 import com.google.cloud.compute.v1.InstanceGroupManager;
38 import com.google.cloud.compute.v1.InstanceGroupManagerAggregatedList;
39 import com.google.cloud.compute.v1.InstanceGroupManagerList;
40 import com.google.cloud.compute.v1.InstanceGroupManagersListErrorsResponse;
41 import com.google.cloud.compute.v1.InstanceGroupManagersListManagedInstancesResponse;
42 import com.google.cloud.compute.v1.InstanceGroupManagersListPerInstanceConfigsResp;
43 import com.google.cloud.compute.v1.ListErrorsInstanceGroupManagersRequest;
44 import com.google.cloud.compute.v1.ListInstanceGroupManagersRequest;
45 import com.google.cloud.compute.v1.ListManagedInstancesInstanceGroupManagersRequest;
46 import com.google.cloud.compute.v1.ListPerInstanceConfigsInstanceGroupManagersRequest;
47 import com.google.cloud.compute.v1.Operation;
48 import com.google.cloud.compute.v1.PatchInstanceGroupManagerRequest;
49 import com.google.cloud.compute.v1.PatchPerInstanceConfigsInstanceGroupManagerRequest;
50 import com.google.cloud.compute.v1.RecreateInstancesInstanceGroupManagerRequest;
51 import com.google.cloud.compute.v1.ResizeInstanceGroupManagerRequest;
52 import com.google.cloud.compute.v1.SetInstanceTemplateInstanceGroupManagerRequest;
53 import com.google.cloud.compute.v1.SetTargetPoolsInstanceGroupManagerRequest;
54 import com.google.cloud.compute.v1.UpdatePerInstanceConfigsInstanceGroupManagerRequest;
55 import javax.annotation.Generated;
56 
57 // AUTO-GENERATED DOCUMENTATION AND CLASS.
58 /**
59  * Base stub class for the InstanceGroupManagers service API.
60  *
61  * <p>This class is for advanced usage and reflects the underlying API directly.
62  */
63 @Generated("by gapic-generator-java")
64 public abstract class InstanceGroupManagersStub implements BackgroundResource {
65 
66   public OperationCallable<AbandonInstancesInstanceGroupManagerRequest, Operation, Operation>
abandonInstancesOperationCallable()67       abandonInstancesOperationCallable() {
68     throw new UnsupportedOperationException("Not implemented: abandonInstancesOperationCallable()");
69   }
70 
71   public UnaryCallable<AbandonInstancesInstanceGroupManagerRequest, Operation>
abandonInstancesCallable()72       abandonInstancesCallable() {
73     throw new UnsupportedOperationException("Not implemented: abandonInstancesCallable()");
74   }
75 
76   public UnaryCallable<AggregatedListInstanceGroupManagersRequest, AggregatedListPagedResponse>
aggregatedListPagedCallable()77       aggregatedListPagedCallable() {
78     throw new UnsupportedOperationException("Not implemented: aggregatedListPagedCallable()");
79   }
80 
81   public UnaryCallable<
82           AggregatedListInstanceGroupManagersRequest, InstanceGroupManagerAggregatedList>
aggregatedListCallable()83       aggregatedListCallable() {
84     throw new UnsupportedOperationException("Not implemented: aggregatedListCallable()");
85   }
86 
87   public OperationCallable<ApplyUpdatesToInstancesInstanceGroupManagerRequest, Operation, Operation>
applyUpdatesToInstancesOperationCallable()88       applyUpdatesToInstancesOperationCallable() {
89     throw new UnsupportedOperationException(
90         "Not implemented: applyUpdatesToInstancesOperationCallable()");
91   }
92 
93   public UnaryCallable<ApplyUpdatesToInstancesInstanceGroupManagerRequest, Operation>
applyUpdatesToInstancesCallable()94       applyUpdatesToInstancesCallable() {
95     throw new UnsupportedOperationException("Not implemented: applyUpdatesToInstancesCallable()");
96   }
97 
98   public OperationCallable<CreateInstancesInstanceGroupManagerRequest, Operation, Operation>
createInstancesOperationCallable()99       createInstancesOperationCallable() {
100     throw new UnsupportedOperationException("Not implemented: createInstancesOperationCallable()");
101   }
102 
103   public UnaryCallable<CreateInstancesInstanceGroupManagerRequest, Operation>
createInstancesCallable()104       createInstancesCallable() {
105     throw new UnsupportedOperationException("Not implemented: createInstancesCallable()");
106   }
107 
108   public OperationCallable<DeleteInstanceGroupManagerRequest, Operation, Operation>
deleteOperationCallable()109       deleteOperationCallable() {
110     throw new UnsupportedOperationException("Not implemented: deleteOperationCallable()");
111   }
112 
deleteCallable()113   public UnaryCallable<DeleteInstanceGroupManagerRequest, Operation> deleteCallable() {
114     throw new UnsupportedOperationException("Not implemented: deleteCallable()");
115   }
116 
117   public OperationCallable<DeleteInstancesInstanceGroupManagerRequest, Operation, Operation>
deleteInstancesOperationCallable()118       deleteInstancesOperationCallable() {
119     throw new UnsupportedOperationException("Not implemented: deleteInstancesOperationCallable()");
120   }
121 
122   public UnaryCallable<DeleteInstancesInstanceGroupManagerRequest, Operation>
deleteInstancesCallable()123       deleteInstancesCallable() {
124     throw new UnsupportedOperationException("Not implemented: deleteInstancesCallable()");
125   }
126 
127   public OperationCallable<
128           DeletePerInstanceConfigsInstanceGroupManagerRequest, Operation, Operation>
deletePerInstanceConfigsOperationCallable()129       deletePerInstanceConfigsOperationCallable() {
130     throw new UnsupportedOperationException(
131         "Not implemented: deletePerInstanceConfigsOperationCallable()");
132   }
133 
134   public UnaryCallable<DeletePerInstanceConfigsInstanceGroupManagerRequest, Operation>
deletePerInstanceConfigsCallable()135       deletePerInstanceConfigsCallable() {
136     throw new UnsupportedOperationException("Not implemented: deletePerInstanceConfigsCallable()");
137   }
138 
getCallable()139   public UnaryCallable<GetInstanceGroupManagerRequest, InstanceGroupManager> getCallable() {
140     throw new UnsupportedOperationException("Not implemented: getCallable()");
141   }
142 
143   public OperationCallable<InsertInstanceGroupManagerRequest, Operation, Operation>
insertOperationCallable()144       insertOperationCallable() {
145     throw new UnsupportedOperationException("Not implemented: insertOperationCallable()");
146   }
147 
insertCallable()148   public UnaryCallable<InsertInstanceGroupManagerRequest, Operation> insertCallable() {
149     throw new UnsupportedOperationException("Not implemented: insertCallable()");
150   }
151 
listPagedCallable()152   public UnaryCallable<ListInstanceGroupManagersRequest, ListPagedResponse> listPagedCallable() {
153     throw new UnsupportedOperationException("Not implemented: listPagedCallable()");
154   }
155 
listCallable()156   public UnaryCallable<ListInstanceGroupManagersRequest, InstanceGroupManagerList> listCallable() {
157     throw new UnsupportedOperationException("Not implemented: listCallable()");
158   }
159 
160   public UnaryCallable<ListErrorsInstanceGroupManagersRequest, ListErrorsPagedResponse>
listErrorsPagedCallable()161       listErrorsPagedCallable() {
162     throw new UnsupportedOperationException("Not implemented: listErrorsPagedCallable()");
163   }
164 
165   public UnaryCallable<
166           ListErrorsInstanceGroupManagersRequest, InstanceGroupManagersListErrorsResponse>
listErrorsCallable()167       listErrorsCallable() {
168     throw new UnsupportedOperationException("Not implemented: listErrorsCallable()");
169   }
170 
171   public UnaryCallable<
172           ListManagedInstancesInstanceGroupManagersRequest, ListManagedInstancesPagedResponse>
listManagedInstancesPagedCallable()173       listManagedInstancesPagedCallable() {
174     throw new UnsupportedOperationException("Not implemented: listManagedInstancesPagedCallable()");
175   }
176 
177   public UnaryCallable<
178           ListManagedInstancesInstanceGroupManagersRequest,
179           InstanceGroupManagersListManagedInstancesResponse>
listManagedInstancesCallable()180       listManagedInstancesCallable() {
181     throw new UnsupportedOperationException("Not implemented: listManagedInstancesCallable()");
182   }
183 
184   public UnaryCallable<
185           ListPerInstanceConfigsInstanceGroupManagersRequest, ListPerInstanceConfigsPagedResponse>
listPerInstanceConfigsPagedCallable()186       listPerInstanceConfigsPagedCallable() {
187     throw new UnsupportedOperationException(
188         "Not implemented: listPerInstanceConfigsPagedCallable()");
189   }
190 
191   public UnaryCallable<
192           ListPerInstanceConfigsInstanceGroupManagersRequest,
193           InstanceGroupManagersListPerInstanceConfigsResp>
listPerInstanceConfigsCallable()194       listPerInstanceConfigsCallable() {
195     throw new UnsupportedOperationException("Not implemented: listPerInstanceConfigsCallable()");
196   }
197 
198   public OperationCallable<PatchInstanceGroupManagerRequest, Operation, Operation>
patchOperationCallable()199       patchOperationCallable() {
200     throw new UnsupportedOperationException("Not implemented: patchOperationCallable()");
201   }
202 
patchCallable()203   public UnaryCallable<PatchInstanceGroupManagerRequest, Operation> patchCallable() {
204     throw new UnsupportedOperationException("Not implemented: patchCallable()");
205   }
206 
207   public OperationCallable<PatchPerInstanceConfigsInstanceGroupManagerRequest, Operation, Operation>
patchPerInstanceConfigsOperationCallable()208       patchPerInstanceConfigsOperationCallable() {
209     throw new UnsupportedOperationException(
210         "Not implemented: patchPerInstanceConfigsOperationCallable()");
211   }
212 
213   public UnaryCallable<PatchPerInstanceConfigsInstanceGroupManagerRequest, Operation>
patchPerInstanceConfigsCallable()214       patchPerInstanceConfigsCallable() {
215     throw new UnsupportedOperationException("Not implemented: patchPerInstanceConfigsCallable()");
216   }
217 
218   public OperationCallable<RecreateInstancesInstanceGroupManagerRequest, Operation, Operation>
recreateInstancesOperationCallable()219       recreateInstancesOperationCallable() {
220     throw new UnsupportedOperationException(
221         "Not implemented: recreateInstancesOperationCallable()");
222   }
223 
224   public UnaryCallable<RecreateInstancesInstanceGroupManagerRequest, Operation>
recreateInstancesCallable()225       recreateInstancesCallable() {
226     throw new UnsupportedOperationException("Not implemented: recreateInstancesCallable()");
227   }
228 
229   public OperationCallable<ResizeInstanceGroupManagerRequest, Operation, Operation>
resizeOperationCallable()230       resizeOperationCallable() {
231     throw new UnsupportedOperationException("Not implemented: resizeOperationCallable()");
232   }
233 
resizeCallable()234   public UnaryCallable<ResizeInstanceGroupManagerRequest, Operation> resizeCallable() {
235     throw new UnsupportedOperationException("Not implemented: resizeCallable()");
236   }
237 
238   public OperationCallable<SetInstanceTemplateInstanceGroupManagerRequest, Operation, Operation>
setInstanceTemplateOperationCallable()239       setInstanceTemplateOperationCallable() {
240     throw new UnsupportedOperationException(
241         "Not implemented: setInstanceTemplateOperationCallable()");
242   }
243 
244   public UnaryCallable<SetInstanceTemplateInstanceGroupManagerRequest, Operation>
setInstanceTemplateCallable()245       setInstanceTemplateCallable() {
246     throw new UnsupportedOperationException("Not implemented: setInstanceTemplateCallable()");
247   }
248 
249   public OperationCallable<SetTargetPoolsInstanceGroupManagerRequest, Operation, Operation>
setTargetPoolsOperationCallable()250       setTargetPoolsOperationCallable() {
251     throw new UnsupportedOperationException("Not implemented: setTargetPoolsOperationCallable()");
252   }
253 
254   public UnaryCallable<SetTargetPoolsInstanceGroupManagerRequest, Operation>
setTargetPoolsCallable()255       setTargetPoolsCallable() {
256     throw new UnsupportedOperationException("Not implemented: setTargetPoolsCallable()");
257   }
258 
259   public OperationCallable<
260           UpdatePerInstanceConfigsInstanceGroupManagerRequest, Operation, Operation>
updatePerInstanceConfigsOperationCallable()261       updatePerInstanceConfigsOperationCallable() {
262     throw new UnsupportedOperationException(
263         "Not implemented: updatePerInstanceConfigsOperationCallable()");
264   }
265 
266   public UnaryCallable<UpdatePerInstanceConfigsInstanceGroupManagerRequest, Operation>
updatePerInstanceConfigsCallable()267       updatePerInstanceConfigsCallable() {
268     throw new UnsupportedOperationException("Not implemented: updatePerInstanceConfigsCallable()");
269   }
270 
271   @Override
close()272   public abstract void close();
273 }
274