• 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.InstanceGroupsClient.AggregatedListPagedResponse;
20 import static com.google.cloud.compute.v1.InstanceGroupsClient.ListInstancesPagedResponse;
21 import static com.google.cloud.compute.v1.InstanceGroupsClient.ListPagedResponse;
22 
23 import com.google.api.gax.core.BackgroundResource;
24 import com.google.api.gax.rpc.OperationCallable;
25 import com.google.api.gax.rpc.UnaryCallable;
26 import com.google.cloud.compute.v1.AddInstancesInstanceGroupRequest;
27 import com.google.cloud.compute.v1.AggregatedListInstanceGroupsRequest;
28 import com.google.cloud.compute.v1.DeleteInstanceGroupRequest;
29 import com.google.cloud.compute.v1.GetInstanceGroupRequest;
30 import com.google.cloud.compute.v1.InsertInstanceGroupRequest;
31 import com.google.cloud.compute.v1.InstanceGroup;
32 import com.google.cloud.compute.v1.InstanceGroupAggregatedList;
33 import com.google.cloud.compute.v1.InstanceGroupList;
34 import com.google.cloud.compute.v1.InstanceGroupsListInstances;
35 import com.google.cloud.compute.v1.ListInstanceGroupsRequest;
36 import com.google.cloud.compute.v1.ListInstancesInstanceGroupsRequest;
37 import com.google.cloud.compute.v1.Operation;
38 import com.google.cloud.compute.v1.RemoveInstancesInstanceGroupRequest;
39 import com.google.cloud.compute.v1.SetNamedPortsInstanceGroupRequest;
40 import javax.annotation.Generated;
41 
42 // AUTO-GENERATED DOCUMENTATION AND CLASS.
43 /**
44  * Base stub class for the InstanceGroups service API.
45  *
46  * <p>This class is for advanced usage and reflects the underlying API directly.
47  */
48 @Generated("by gapic-generator-java")
49 public abstract class InstanceGroupsStub implements BackgroundResource {
50 
51   public OperationCallable<AddInstancesInstanceGroupRequest, Operation, Operation>
addInstancesOperationCallable()52       addInstancesOperationCallable() {
53     throw new UnsupportedOperationException("Not implemented: addInstancesOperationCallable()");
54   }
55 
addInstancesCallable()56   public UnaryCallable<AddInstancesInstanceGroupRequest, Operation> addInstancesCallable() {
57     throw new UnsupportedOperationException("Not implemented: addInstancesCallable()");
58   }
59 
60   public UnaryCallable<AggregatedListInstanceGroupsRequest, AggregatedListPagedResponse>
aggregatedListPagedCallable()61       aggregatedListPagedCallable() {
62     throw new UnsupportedOperationException("Not implemented: aggregatedListPagedCallable()");
63   }
64 
65   public UnaryCallable<AggregatedListInstanceGroupsRequest, InstanceGroupAggregatedList>
aggregatedListCallable()66       aggregatedListCallable() {
67     throw new UnsupportedOperationException("Not implemented: aggregatedListCallable()");
68   }
69 
70   public OperationCallable<DeleteInstanceGroupRequest, Operation, Operation>
deleteOperationCallable()71       deleteOperationCallable() {
72     throw new UnsupportedOperationException("Not implemented: deleteOperationCallable()");
73   }
74 
deleteCallable()75   public UnaryCallable<DeleteInstanceGroupRequest, Operation> deleteCallable() {
76     throw new UnsupportedOperationException("Not implemented: deleteCallable()");
77   }
78 
getCallable()79   public UnaryCallable<GetInstanceGroupRequest, InstanceGroup> getCallable() {
80     throw new UnsupportedOperationException("Not implemented: getCallable()");
81   }
82 
83   public OperationCallable<InsertInstanceGroupRequest, Operation, Operation>
insertOperationCallable()84       insertOperationCallable() {
85     throw new UnsupportedOperationException("Not implemented: insertOperationCallable()");
86   }
87 
insertCallable()88   public UnaryCallable<InsertInstanceGroupRequest, Operation> insertCallable() {
89     throw new UnsupportedOperationException("Not implemented: insertCallable()");
90   }
91 
listPagedCallable()92   public UnaryCallable<ListInstanceGroupsRequest, ListPagedResponse> listPagedCallable() {
93     throw new UnsupportedOperationException("Not implemented: listPagedCallable()");
94   }
95 
listCallable()96   public UnaryCallable<ListInstanceGroupsRequest, InstanceGroupList> listCallable() {
97     throw new UnsupportedOperationException("Not implemented: listCallable()");
98   }
99 
100   public UnaryCallable<ListInstancesInstanceGroupsRequest, ListInstancesPagedResponse>
listInstancesPagedCallable()101       listInstancesPagedCallable() {
102     throw new UnsupportedOperationException("Not implemented: listInstancesPagedCallable()");
103   }
104 
105   public UnaryCallable<ListInstancesInstanceGroupsRequest, InstanceGroupsListInstances>
listInstancesCallable()106       listInstancesCallable() {
107     throw new UnsupportedOperationException("Not implemented: listInstancesCallable()");
108   }
109 
110   public OperationCallable<RemoveInstancesInstanceGroupRequest, Operation, Operation>
removeInstancesOperationCallable()111       removeInstancesOperationCallable() {
112     throw new UnsupportedOperationException("Not implemented: removeInstancesOperationCallable()");
113   }
114 
removeInstancesCallable()115   public UnaryCallable<RemoveInstancesInstanceGroupRequest, Operation> removeInstancesCallable() {
116     throw new UnsupportedOperationException("Not implemented: removeInstancesCallable()");
117   }
118 
119   public OperationCallable<SetNamedPortsInstanceGroupRequest, Operation, Operation>
setNamedPortsOperationCallable()120       setNamedPortsOperationCallable() {
121     throw new UnsupportedOperationException("Not implemented: setNamedPortsOperationCallable()");
122   }
123 
setNamedPortsCallable()124   public UnaryCallable<SetNamedPortsInstanceGroupRequest, Operation> setNamedPortsCallable() {
125     throw new UnsupportedOperationException("Not implemented: setNamedPortsCallable()");
126   }
127 
128   @Override
close()129   public abstract void close();
130 }
131