• 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.RoutesClient.ListPagedResponse;
20 
21 import com.google.api.gax.core.BackgroundResource;
22 import com.google.api.gax.rpc.OperationCallable;
23 import com.google.api.gax.rpc.UnaryCallable;
24 import com.google.cloud.compute.v1.DeleteRouteRequest;
25 import com.google.cloud.compute.v1.GetRouteRequest;
26 import com.google.cloud.compute.v1.InsertRouteRequest;
27 import com.google.cloud.compute.v1.ListRoutesRequest;
28 import com.google.cloud.compute.v1.Operation;
29 import com.google.cloud.compute.v1.Route;
30 import com.google.cloud.compute.v1.RouteList;
31 import javax.annotation.Generated;
32 
33 // AUTO-GENERATED DOCUMENTATION AND CLASS.
34 /**
35  * Base stub class for the Routes service API.
36  *
37  * <p>This class is for advanced usage and reflects the underlying API directly.
38  */
39 @Generated("by gapic-generator-java")
40 public abstract class RoutesStub implements BackgroundResource {
41 
deleteOperationCallable()42   public OperationCallable<DeleteRouteRequest, Operation, Operation> deleteOperationCallable() {
43     throw new UnsupportedOperationException("Not implemented: deleteOperationCallable()");
44   }
45 
deleteCallable()46   public UnaryCallable<DeleteRouteRequest, Operation> deleteCallable() {
47     throw new UnsupportedOperationException("Not implemented: deleteCallable()");
48   }
49 
getCallable()50   public UnaryCallable<GetRouteRequest, Route> getCallable() {
51     throw new UnsupportedOperationException("Not implemented: getCallable()");
52   }
53 
insertOperationCallable()54   public OperationCallable<InsertRouteRequest, Operation, Operation> insertOperationCallable() {
55     throw new UnsupportedOperationException("Not implemented: insertOperationCallable()");
56   }
57 
insertCallable()58   public UnaryCallable<InsertRouteRequest, Operation> insertCallable() {
59     throw new UnsupportedOperationException("Not implemented: insertCallable()");
60   }
61 
listPagedCallable()62   public UnaryCallable<ListRoutesRequest, ListPagedResponse> listPagedCallable() {
63     throw new UnsupportedOperationException("Not implemented: listPagedCallable()");
64   }
65 
listCallable()66   public UnaryCallable<ListRoutesRequest, RouteList> listCallable() {
67     throw new UnsupportedOperationException("Not implemented: listCallable()");
68   }
69 
70   @Override
close()71   public abstract void close();
72 }
73