• 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.RoutersClient.AggregatedListPagedResponse;
20 import static com.google.cloud.compute.v1.RoutersClient.GetNatMappingInfoPagedResponse;
21 import static com.google.cloud.compute.v1.RoutersClient.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.AggregatedListRoutersRequest;
27 import com.google.cloud.compute.v1.DeleteRouterRequest;
28 import com.google.cloud.compute.v1.GetNatMappingInfoRoutersRequest;
29 import com.google.cloud.compute.v1.GetRouterRequest;
30 import com.google.cloud.compute.v1.GetRouterStatusRouterRequest;
31 import com.google.cloud.compute.v1.InsertRouterRequest;
32 import com.google.cloud.compute.v1.ListRoutersRequest;
33 import com.google.cloud.compute.v1.Operation;
34 import com.google.cloud.compute.v1.PatchRouterRequest;
35 import com.google.cloud.compute.v1.PreviewRouterRequest;
36 import com.google.cloud.compute.v1.Router;
37 import com.google.cloud.compute.v1.RouterAggregatedList;
38 import com.google.cloud.compute.v1.RouterList;
39 import com.google.cloud.compute.v1.RouterStatusResponse;
40 import com.google.cloud.compute.v1.RoutersPreviewResponse;
41 import com.google.cloud.compute.v1.UpdateRouterRequest;
42 import com.google.cloud.compute.v1.VmEndpointNatMappingsList;
43 import javax.annotation.Generated;
44 
45 // AUTO-GENERATED DOCUMENTATION AND CLASS.
46 /**
47  * Base stub class for the Routers service API.
48  *
49  * <p>This class is for advanced usage and reflects the underlying API directly.
50  */
51 @Generated("by gapic-generator-java")
52 public abstract class RoutersStub implements BackgroundResource {
53 
54   public UnaryCallable<AggregatedListRoutersRequest, AggregatedListPagedResponse>
aggregatedListPagedCallable()55       aggregatedListPagedCallable() {
56     throw new UnsupportedOperationException("Not implemented: aggregatedListPagedCallable()");
57   }
58 
59   public UnaryCallable<AggregatedListRoutersRequest, RouterAggregatedList>
aggregatedListCallable()60       aggregatedListCallable() {
61     throw new UnsupportedOperationException("Not implemented: aggregatedListCallable()");
62   }
63 
deleteOperationCallable()64   public OperationCallable<DeleteRouterRequest, Operation, Operation> deleteOperationCallable() {
65     throw new UnsupportedOperationException("Not implemented: deleteOperationCallable()");
66   }
67 
deleteCallable()68   public UnaryCallable<DeleteRouterRequest, Operation> deleteCallable() {
69     throw new UnsupportedOperationException("Not implemented: deleteCallable()");
70   }
71 
getCallable()72   public UnaryCallable<GetRouterRequest, Router> getCallable() {
73     throw new UnsupportedOperationException("Not implemented: getCallable()");
74   }
75 
76   public UnaryCallable<GetNatMappingInfoRoutersRequest, GetNatMappingInfoPagedResponse>
getNatMappingInfoPagedCallable()77       getNatMappingInfoPagedCallable() {
78     throw new UnsupportedOperationException("Not implemented: getNatMappingInfoPagedCallable()");
79   }
80 
81   public UnaryCallable<GetNatMappingInfoRoutersRequest, VmEndpointNatMappingsList>
getNatMappingInfoCallable()82       getNatMappingInfoCallable() {
83     throw new UnsupportedOperationException("Not implemented: getNatMappingInfoCallable()");
84   }
85 
86   public UnaryCallable<GetRouterStatusRouterRequest, RouterStatusResponse>
getRouterStatusCallable()87       getRouterStatusCallable() {
88     throw new UnsupportedOperationException("Not implemented: getRouterStatusCallable()");
89   }
90 
insertOperationCallable()91   public OperationCallable<InsertRouterRequest, Operation, Operation> insertOperationCallable() {
92     throw new UnsupportedOperationException("Not implemented: insertOperationCallable()");
93   }
94 
insertCallable()95   public UnaryCallable<InsertRouterRequest, Operation> insertCallable() {
96     throw new UnsupportedOperationException("Not implemented: insertCallable()");
97   }
98 
listPagedCallable()99   public UnaryCallable<ListRoutersRequest, ListPagedResponse> listPagedCallable() {
100     throw new UnsupportedOperationException("Not implemented: listPagedCallable()");
101   }
102 
listCallable()103   public UnaryCallable<ListRoutersRequest, RouterList> listCallable() {
104     throw new UnsupportedOperationException("Not implemented: listCallable()");
105   }
106 
patchOperationCallable()107   public OperationCallable<PatchRouterRequest, Operation, Operation> patchOperationCallable() {
108     throw new UnsupportedOperationException("Not implemented: patchOperationCallable()");
109   }
110 
patchCallable()111   public UnaryCallable<PatchRouterRequest, Operation> patchCallable() {
112     throw new UnsupportedOperationException("Not implemented: patchCallable()");
113   }
114 
previewCallable()115   public UnaryCallable<PreviewRouterRequest, RoutersPreviewResponse> previewCallable() {
116     throw new UnsupportedOperationException("Not implemented: previewCallable()");
117   }
118 
updateOperationCallable()119   public OperationCallable<UpdateRouterRequest, Operation, Operation> updateOperationCallable() {
120     throw new UnsupportedOperationException("Not implemented: updateOperationCallable()");
121   }
122 
updateCallable()123   public UnaryCallable<UpdateRouterRequest, Operation> updateCallable() {
124     throw new UnsupportedOperationException("Not implemented: updateCallable()");
125   }
126 
127   @Override
close()128   public abstract void close();
129 }
130