• 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.NodeGroupsClient.AggregatedListPagedResponse;
20 import static com.google.cloud.compute.v1.NodeGroupsClient.ListNodesPagedResponse;
21 import static com.google.cloud.compute.v1.NodeGroupsClient.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.AddNodesNodeGroupRequest;
27 import com.google.cloud.compute.v1.AggregatedListNodeGroupsRequest;
28 import com.google.cloud.compute.v1.DeleteNodeGroupRequest;
29 import com.google.cloud.compute.v1.DeleteNodesNodeGroupRequest;
30 import com.google.cloud.compute.v1.GetIamPolicyNodeGroupRequest;
31 import com.google.cloud.compute.v1.GetNodeGroupRequest;
32 import com.google.cloud.compute.v1.InsertNodeGroupRequest;
33 import com.google.cloud.compute.v1.ListNodeGroupsRequest;
34 import com.google.cloud.compute.v1.ListNodesNodeGroupsRequest;
35 import com.google.cloud.compute.v1.NodeGroup;
36 import com.google.cloud.compute.v1.NodeGroupAggregatedList;
37 import com.google.cloud.compute.v1.NodeGroupList;
38 import com.google.cloud.compute.v1.NodeGroupsListNodes;
39 import com.google.cloud.compute.v1.Operation;
40 import com.google.cloud.compute.v1.PatchNodeGroupRequest;
41 import com.google.cloud.compute.v1.Policy;
42 import com.google.cloud.compute.v1.SetIamPolicyNodeGroupRequest;
43 import com.google.cloud.compute.v1.SetNodeTemplateNodeGroupRequest;
44 import com.google.cloud.compute.v1.SimulateMaintenanceEventNodeGroupRequest;
45 import com.google.cloud.compute.v1.TestIamPermissionsNodeGroupRequest;
46 import com.google.cloud.compute.v1.TestPermissionsResponse;
47 import javax.annotation.Generated;
48 
49 // AUTO-GENERATED DOCUMENTATION AND CLASS.
50 /**
51  * Base stub class for the NodeGroups service API.
52  *
53  * <p>This class is for advanced usage and reflects the underlying API directly.
54  */
55 @Generated("by gapic-generator-java")
56 public abstract class NodeGroupsStub implements BackgroundResource {
57 
58   public OperationCallable<AddNodesNodeGroupRequest, Operation, Operation>
addNodesOperationCallable()59       addNodesOperationCallable() {
60     throw new UnsupportedOperationException("Not implemented: addNodesOperationCallable()");
61   }
62 
addNodesCallable()63   public UnaryCallable<AddNodesNodeGroupRequest, Operation> addNodesCallable() {
64     throw new UnsupportedOperationException("Not implemented: addNodesCallable()");
65   }
66 
67   public UnaryCallable<AggregatedListNodeGroupsRequest, AggregatedListPagedResponse>
aggregatedListPagedCallable()68       aggregatedListPagedCallable() {
69     throw new UnsupportedOperationException("Not implemented: aggregatedListPagedCallable()");
70   }
71 
72   public UnaryCallable<AggregatedListNodeGroupsRequest, NodeGroupAggregatedList>
aggregatedListCallable()73       aggregatedListCallable() {
74     throw new UnsupportedOperationException("Not implemented: aggregatedListCallable()");
75   }
76 
deleteOperationCallable()77   public OperationCallable<DeleteNodeGroupRequest, Operation, Operation> deleteOperationCallable() {
78     throw new UnsupportedOperationException("Not implemented: deleteOperationCallable()");
79   }
80 
deleteCallable()81   public UnaryCallable<DeleteNodeGroupRequest, Operation> deleteCallable() {
82     throw new UnsupportedOperationException("Not implemented: deleteCallable()");
83   }
84 
85   public OperationCallable<DeleteNodesNodeGroupRequest, Operation, Operation>
deleteNodesOperationCallable()86       deleteNodesOperationCallable() {
87     throw new UnsupportedOperationException("Not implemented: deleteNodesOperationCallable()");
88   }
89 
deleteNodesCallable()90   public UnaryCallable<DeleteNodesNodeGroupRequest, Operation> deleteNodesCallable() {
91     throw new UnsupportedOperationException("Not implemented: deleteNodesCallable()");
92   }
93 
getCallable()94   public UnaryCallable<GetNodeGroupRequest, NodeGroup> getCallable() {
95     throw new UnsupportedOperationException("Not implemented: getCallable()");
96   }
97 
getIamPolicyCallable()98   public UnaryCallable<GetIamPolicyNodeGroupRequest, Policy> getIamPolicyCallable() {
99     throw new UnsupportedOperationException("Not implemented: getIamPolicyCallable()");
100   }
101 
insertOperationCallable()102   public OperationCallable<InsertNodeGroupRequest, Operation, Operation> insertOperationCallable() {
103     throw new UnsupportedOperationException("Not implemented: insertOperationCallable()");
104   }
105 
insertCallable()106   public UnaryCallable<InsertNodeGroupRequest, Operation> insertCallable() {
107     throw new UnsupportedOperationException("Not implemented: insertCallable()");
108   }
109 
listPagedCallable()110   public UnaryCallable<ListNodeGroupsRequest, ListPagedResponse> listPagedCallable() {
111     throw new UnsupportedOperationException("Not implemented: listPagedCallable()");
112   }
113 
listCallable()114   public UnaryCallable<ListNodeGroupsRequest, NodeGroupList> listCallable() {
115     throw new UnsupportedOperationException("Not implemented: listCallable()");
116   }
117 
118   public UnaryCallable<ListNodesNodeGroupsRequest, ListNodesPagedResponse>
listNodesPagedCallable()119       listNodesPagedCallable() {
120     throw new UnsupportedOperationException("Not implemented: listNodesPagedCallable()");
121   }
122 
listNodesCallable()123   public UnaryCallable<ListNodesNodeGroupsRequest, NodeGroupsListNodes> listNodesCallable() {
124     throw new UnsupportedOperationException("Not implemented: listNodesCallable()");
125   }
126 
patchOperationCallable()127   public OperationCallable<PatchNodeGroupRequest, Operation, Operation> patchOperationCallable() {
128     throw new UnsupportedOperationException("Not implemented: patchOperationCallable()");
129   }
130 
patchCallable()131   public UnaryCallable<PatchNodeGroupRequest, Operation> patchCallable() {
132     throw new UnsupportedOperationException("Not implemented: patchCallable()");
133   }
134 
setIamPolicyCallable()135   public UnaryCallable<SetIamPolicyNodeGroupRequest, Policy> setIamPolicyCallable() {
136     throw new UnsupportedOperationException("Not implemented: setIamPolicyCallable()");
137   }
138 
139   public OperationCallable<SetNodeTemplateNodeGroupRequest, Operation, Operation>
setNodeTemplateOperationCallable()140       setNodeTemplateOperationCallable() {
141     throw new UnsupportedOperationException("Not implemented: setNodeTemplateOperationCallable()");
142   }
143 
setNodeTemplateCallable()144   public UnaryCallable<SetNodeTemplateNodeGroupRequest, Operation> setNodeTemplateCallable() {
145     throw new UnsupportedOperationException("Not implemented: setNodeTemplateCallable()");
146   }
147 
148   public OperationCallable<SimulateMaintenanceEventNodeGroupRequest, Operation, Operation>
simulateMaintenanceEventOperationCallable()149       simulateMaintenanceEventOperationCallable() {
150     throw new UnsupportedOperationException(
151         "Not implemented: simulateMaintenanceEventOperationCallable()");
152   }
153 
154   public UnaryCallable<SimulateMaintenanceEventNodeGroupRequest, Operation>
simulateMaintenanceEventCallable()155       simulateMaintenanceEventCallable() {
156     throw new UnsupportedOperationException("Not implemented: simulateMaintenanceEventCallable()");
157   }
158 
159   public UnaryCallable<TestIamPermissionsNodeGroupRequest, TestPermissionsResponse>
testIamPermissionsCallable()160       testIamPermissionsCallable() {
161     throw new UnsupportedOperationException("Not implemented: testIamPermissionsCallable()");
162   }
163 
164   @Override
close()165   public abstract void close();
166 }
167