• 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.NetworksClient.ListPagedResponse;
20 import static com.google.cloud.compute.v1.NetworksClient.ListPeeringRoutesPagedResponse;
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.AddPeeringNetworkRequest;
26 import com.google.cloud.compute.v1.DeleteNetworkRequest;
27 import com.google.cloud.compute.v1.ExchangedPeeringRoutesList;
28 import com.google.cloud.compute.v1.GetEffectiveFirewallsNetworkRequest;
29 import com.google.cloud.compute.v1.GetNetworkRequest;
30 import com.google.cloud.compute.v1.InsertNetworkRequest;
31 import com.google.cloud.compute.v1.ListNetworksRequest;
32 import com.google.cloud.compute.v1.ListPeeringRoutesNetworksRequest;
33 import com.google.cloud.compute.v1.Network;
34 import com.google.cloud.compute.v1.NetworkList;
35 import com.google.cloud.compute.v1.NetworksGetEffectiveFirewallsResponse;
36 import com.google.cloud.compute.v1.Operation;
37 import com.google.cloud.compute.v1.PatchNetworkRequest;
38 import com.google.cloud.compute.v1.RemovePeeringNetworkRequest;
39 import com.google.cloud.compute.v1.SwitchToCustomModeNetworkRequest;
40 import com.google.cloud.compute.v1.UpdatePeeringNetworkRequest;
41 import javax.annotation.Generated;
42 
43 // AUTO-GENERATED DOCUMENTATION AND CLASS.
44 /**
45  * Base stub class for the Networks 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 NetworksStub implements BackgroundResource {
51 
52   public OperationCallable<AddPeeringNetworkRequest, Operation, Operation>
addPeeringOperationCallable()53       addPeeringOperationCallable() {
54     throw new UnsupportedOperationException("Not implemented: addPeeringOperationCallable()");
55   }
56 
addPeeringCallable()57   public UnaryCallable<AddPeeringNetworkRequest, Operation> addPeeringCallable() {
58     throw new UnsupportedOperationException("Not implemented: addPeeringCallable()");
59   }
60 
deleteOperationCallable()61   public OperationCallable<DeleteNetworkRequest, Operation, Operation> deleteOperationCallable() {
62     throw new UnsupportedOperationException("Not implemented: deleteOperationCallable()");
63   }
64 
deleteCallable()65   public UnaryCallable<DeleteNetworkRequest, Operation> deleteCallable() {
66     throw new UnsupportedOperationException("Not implemented: deleteCallable()");
67   }
68 
getCallable()69   public UnaryCallable<GetNetworkRequest, Network> getCallable() {
70     throw new UnsupportedOperationException("Not implemented: getCallable()");
71   }
72 
73   public UnaryCallable<GetEffectiveFirewallsNetworkRequest, NetworksGetEffectiveFirewallsResponse>
getEffectiveFirewallsCallable()74       getEffectiveFirewallsCallable() {
75     throw new UnsupportedOperationException("Not implemented: getEffectiveFirewallsCallable()");
76   }
77 
insertOperationCallable()78   public OperationCallable<InsertNetworkRequest, Operation, Operation> insertOperationCallable() {
79     throw new UnsupportedOperationException("Not implemented: insertOperationCallable()");
80   }
81 
insertCallable()82   public UnaryCallable<InsertNetworkRequest, Operation> insertCallable() {
83     throw new UnsupportedOperationException("Not implemented: insertCallable()");
84   }
85 
listPagedCallable()86   public UnaryCallable<ListNetworksRequest, ListPagedResponse> listPagedCallable() {
87     throw new UnsupportedOperationException("Not implemented: listPagedCallable()");
88   }
89 
listCallable()90   public UnaryCallable<ListNetworksRequest, NetworkList> listCallable() {
91     throw new UnsupportedOperationException("Not implemented: listCallable()");
92   }
93 
94   public UnaryCallable<ListPeeringRoutesNetworksRequest, ListPeeringRoutesPagedResponse>
listPeeringRoutesPagedCallable()95       listPeeringRoutesPagedCallable() {
96     throw new UnsupportedOperationException("Not implemented: listPeeringRoutesPagedCallable()");
97   }
98 
99   public UnaryCallable<ListPeeringRoutesNetworksRequest, ExchangedPeeringRoutesList>
listPeeringRoutesCallable()100       listPeeringRoutesCallable() {
101     throw new UnsupportedOperationException("Not implemented: listPeeringRoutesCallable()");
102   }
103 
patchOperationCallable()104   public OperationCallable<PatchNetworkRequest, Operation, Operation> patchOperationCallable() {
105     throw new UnsupportedOperationException("Not implemented: patchOperationCallable()");
106   }
107 
patchCallable()108   public UnaryCallable<PatchNetworkRequest, Operation> patchCallable() {
109     throw new UnsupportedOperationException("Not implemented: patchCallable()");
110   }
111 
112   public OperationCallable<RemovePeeringNetworkRequest, Operation, Operation>
removePeeringOperationCallable()113       removePeeringOperationCallable() {
114     throw new UnsupportedOperationException("Not implemented: removePeeringOperationCallable()");
115   }
116 
removePeeringCallable()117   public UnaryCallable<RemovePeeringNetworkRequest, Operation> removePeeringCallable() {
118     throw new UnsupportedOperationException("Not implemented: removePeeringCallable()");
119   }
120 
121   public OperationCallable<SwitchToCustomModeNetworkRequest, Operation, Operation>
switchToCustomModeOperationCallable()122       switchToCustomModeOperationCallable() {
123     throw new UnsupportedOperationException(
124         "Not implemented: switchToCustomModeOperationCallable()");
125   }
126 
switchToCustomModeCallable()127   public UnaryCallable<SwitchToCustomModeNetworkRequest, Operation> switchToCustomModeCallable() {
128     throw new UnsupportedOperationException("Not implemented: switchToCustomModeCallable()");
129   }
130 
131   public OperationCallable<UpdatePeeringNetworkRequest, Operation, Operation>
updatePeeringOperationCallable()132       updatePeeringOperationCallable() {
133     throw new UnsupportedOperationException("Not implemented: updatePeeringOperationCallable()");
134   }
135 
updatePeeringCallable()136   public UnaryCallable<UpdatePeeringNetworkRequest, Operation> updatePeeringCallable() {
137     throw new UnsupportedOperationException("Not implemented: updatePeeringCallable()");
138   }
139 
140   @Override
close()141   public abstract void close();
142 }
143