• 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.TargetPoolsClient.AggregatedListPagedResponse;
20 import static com.google.cloud.compute.v1.TargetPoolsClient.ListPagedResponse;
21 
22 import com.google.api.gax.core.BackgroundResource;
23 import com.google.api.gax.rpc.OperationCallable;
24 import com.google.api.gax.rpc.UnaryCallable;
25 import com.google.cloud.compute.v1.AddHealthCheckTargetPoolRequest;
26 import com.google.cloud.compute.v1.AddInstanceTargetPoolRequest;
27 import com.google.cloud.compute.v1.AggregatedListTargetPoolsRequest;
28 import com.google.cloud.compute.v1.DeleteTargetPoolRequest;
29 import com.google.cloud.compute.v1.GetHealthTargetPoolRequest;
30 import com.google.cloud.compute.v1.GetTargetPoolRequest;
31 import com.google.cloud.compute.v1.InsertTargetPoolRequest;
32 import com.google.cloud.compute.v1.ListTargetPoolsRequest;
33 import com.google.cloud.compute.v1.Operation;
34 import com.google.cloud.compute.v1.RemoveHealthCheckTargetPoolRequest;
35 import com.google.cloud.compute.v1.RemoveInstanceTargetPoolRequest;
36 import com.google.cloud.compute.v1.SetBackupTargetPoolRequest;
37 import com.google.cloud.compute.v1.TargetPool;
38 import com.google.cloud.compute.v1.TargetPoolAggregatedList;
39 import com.google.cloud.compute.v1.TargetPoolInstanceHealth;
40 import com.google.cloud.compute.v1.TargetPoolList;
41 import javax.annotation.Generated;
42 
43 // AUTO-GENERATED DOCUMENTATION AND CLASS.
44 /**
45  * Base stub class for the TargetPools service API.
46  *
47  * <p>This class is for advanced usage and reflects the underlying API directly.
48  */
49 @Generated("by gapic-generator-java")
50 public abstract class TargetPoolsStub implements BackgroundResource {
51 
52   public OperationCallable<AddHealthCheckTargetPoolRequest, Operation, Operation>
addHealthCheckOperationCallable()53       addHealthCheckOperationCallable() {
54     throw new UnsupportedOperationException("Not implemented: addHealthCheckOperationCallable()");
55   }
56 
addHealthCheckCallable()57   public UnaryCallable<AddHealthCheckTargetPoolRequest, Operation> addHealthCheckCallable() {
58     throw new UnsupportedOperationException("Not implemented: addHealthCheckCallable()");
59   }
60 
61   public OperationCallable<AddInstanceTargetPoolRequest, Operation, Operation>
addInstanceOperationCallable()62       addInstanceOperationCallable() {
63     throw new UnsupportedOperationException("Not implemented: addInstanceOperationCallable()");
64   }
65 
addInstanceCallable()66   public UnaryCallable<AddInstanceTargetPoolRequest, Operation> addInstanceCallable() {
67     throw new UnsupportedOperationException("Not implemented: addInstanceCallable()");
68   }
69 
70   public UnaryCallable<AggregatedListTargetPoolsRequest, AggregatedListPagedResponse>
aggregatedListPagedCallable()71       aggregatedListPagedCallable() {
72     throw new UnsupportedOperationException("Not implemented: aggregatedListPagedCallable()");
73   }
74 
75   public UnaryCallable<AggregatedListTargetPoolsRequest, TargetPoolAggregatedList>
aggregatedListCallable()76       aggregatedListCallable() {
77     throw new UnsupportedOperationException("Not implemented: aggregatedListCallable()");
78   }
79 
80   public OperationCallable<DeleteTargetPoolRequest, Operation, Operation>
deleteOperationCallable()81       deleteOperationCallable() {
82     throw new UnsupportedOperationException("Not implemented: deleteOperationCallable()");
83   }
84 
deleteCallable()85   public UnaryCallable<DeleteTargetPoolRequest, Operation> deleteCallable() {
86     throw new UnsupportedOperationException("Not implemented: deleteCallable()");
87   }
88 
getCallable()89   public UnaryCallable<GetTargetPoolRequest, TargetPool> getCallable() {
90     throw new UnsupportedOperationException("Not implemented: getCallable()");
91   }
92 
getHealthCallable()93   public UnaryCallable<GetHealthTargetPoolRequest, TargetPoolInstanceHealth> getHealthCallable() {
94     throw new UnsupportedOperationException("Not implemented: getHealthCallable()");
95   }
96 
97   public OperationCallable<InsertTargetPoolRequest, Operation, Operation>
insertOperationCallable()98       insertOperationCallable() {
99     throw new UnsupportedOperationException("Not implemented: insertOperationCallable()");
100   }
101 
insertCallable()102   public UnaryCallable<InsertTargetPoolRequest, Operation> insertCallable() {
103     throw new UnsupportedOperationException("Not implemented: insertCallable()");
104   }
105 
listPagedCallable()106   public UnaryCallable<ListTargetPoolsRequest, ListPagedResponse> listPagedCallable() {
107     throw new UnsupportedOperationException("Not implemented: listPagedCallable()");
108   }
109 
listCallable()110   public UnaryCallable<ListTargetPoolsRequest, TargetPoolList> listCallable() {
111     throw new UnsupportedOperationException("Not implemented: listCallable()");
112   }
113 
114   public OperationCallable<RemoveHealthCheckTargetPoolRequest, Operation, Operation>
removeHealthCheckOperationCallable()115       removeHealthCheckOperationCallable() {
116     throw new UnsupportedOperationException(
117         "Not implemented: removeHealthCheckOperationCallable()");
118   }
119 
removeHealthCheckCallable()120   public UnaryCallable<RemoveHealthCheckTargetPoolRequest, Operation> removeHealthCheckCallable() {
121     throw new UnsupportedOperationException("Not implemented: removeHealthCheckCallable()");
122   }
123 
124   public OperationCallable<RemoveInstanceTargetPoolRequest, Operation, Operation>
removeInstanceOperationCallable()125       removeInstanceOperationCallable() {
126     throw new UnsupportedOperationException("Not implemented: removeInstanceOperationCallable()");
127   }
128 
removeInstanceCallable()129   public UnaryCallable<RemoveInstanceTargetPoolRequest, Operation> removeInstanceCallable() {
130     throw new UnsupportedOperationException("Not implemented: removeInstanceCallable()");
131   }
132 
133   public OperationCallable<SetBackupTargetPoolRequest, Operation, Operation>
setBackupOperationCallable()134       setBackupOperationCallable() {
135     throw new UnsupportedOperationException("Not implemented: setBackupOperationCallable()");
136   }
137 
setBackupCallable()138   public UnaryCallable<SetBackupTargetPoolRequest, Operation> setBackupCallable() {
139     throw new UnsupportedOperationException("Not implemented: setBackupCallable()");
140   }
141 
142   @Override
close()143   public abstract void close();
144 }
145