• 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.ReservationsClient.AggregatedListPagedResponse;
20 import static com.google.cloud.compute.v1.ReservationsClient.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.AggregatedListReservationsRequest;
26 import com.google.cloud.compute.v1.DeleteReservationRequest;
27 import com.google.cloud.compute.v1.GetIamPolicyReservationRequest;
28 import com.google.cloud.compute.v1.GetReservationRequest;
29 import com.google.cloud.compute.v1.InsertReservationRequest;
30 import com.google.cloud.compute.v1.ListReservationsRequest;
31 import com.google.cloud.compute.v1.Operation;
32 import com.google.cloud.compute.v1.Policy;
33 import com.google.cloud.compute.v1.Reservation;
34 import com.google.cloud.compute.v1.ReservationAggregatedList;
35 import com.google.cloud.compute.v1.ReservationList;
36 import com.google.cloud.compute.v1.ResizeReservationRequest;
37 import com.google.cloud.compute.v1.SetIamPolicyReservationRequest;
38 import com.google.cloud.compute.v1.TestIamPermissionsReservationRequest;
39 import com.google.cloud.compute.v1.TestPermissionsResponse;
40 import com.google.cloud.compute.v1.UpdateReservationRequest;
41 import javax.annotation.Generated;
42 
43 // AUTO-GENERATED DOCUMENTATION AND CLASS.
44 /**
45  * Base stub class for the Reservations 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 ReservationsStub implements BackgroundResource {
51 
52   public UnaryCallable<AggregatedListReservationsRequest, AggregatedListPagedResponse>
aggregatedListPagedCallable()53       aggregatedListPagedCallable() {
54     throw new UnsupportedOperationException("Not implemented: aggregatedListPagedCallable()");
55   }
56 
57   public UnaryCallable<AggregatedListReservationsRequest, ReservationAggregatedList>
aggregatedListCallable()58       aggregatedListCallable() {
59     throw new UnsupportedOperationException("Not implemented: aggregatedListCallable()");
60   }
61 
62   public OperationCallable<DeleteReservationRequest, Operation, Operation>
deleteOperationCallable()63       deleteOperationCallable() {
64     throw new UnsupportedOperationException("Not implemented: deleteOperationCallable()");
65   }
66 
deleteCallable()67   public UnaryCallable<DeleteReservationRequest, Operation> deleteCallable() {
68     throw new UnsupportedOperationException("Not implemented: deleteCallable()");
69   }
70 
getCallable()71   public UnaryCallable<GetReservationRequest, Reservation> getCallable() {
72     throw new UnsupportedOperationException("Not implemented: getCallable()");
73   }
74 
getIamPolicyCallable()75   public UnaryCallable<GetIamPolicyReservationRequest, Policy> getIamPolicyCallable() {
76     throw new UnsupportedOperationException("Not implemented: getIamPolicyCallable()");
77   }
78 
79   public OperationCallable<InsertReservationRequest, Operation, Operation>
insertOperationCallable()80       insertOperationCallable() {
81     throw new UnsupportedOperationException("Not implemented: insertOperationCallable()");
82   }
83 
insertCallable()84   public UnaryCallable<InsertReservationRequest, Operation> insertCallable() {
85     throw new UnsupportedOperationException("Not implemented: insertCallable()");
86   }
87 
listPagedCallable()88   public UnaryCallable<ListReservationsRequest, ListPagedResponse> listPagedCallable() {
89     throw new UnsupportedOperationException("Not implemented: listPagedCallable()");
90   }
91 
listCallable()92   public UnaryCallable<ListReservationsRequest, ReservationList> listCallable() {
93     throw new UnsupportedOperationException("Not implemented: listCallable()");
94   }
95 
96   public OperationCallable<ResizeReservationRequest, Operation, Operation>
resizeOperationCallable()97       resizeOperationCallable() {
98     throw new UnsupportedOperationException("Not implemented: resizeOperationCallable()");
99   }
100 
resizeCallable()101   public UnaryCallable<ResizeReservationRequest, Operation> resizeCallable() {
102     throw new UnsupportedOperationException("Not implemented: resizeCallable()");
103   }
104 
setIamPolicyCallable()105   public UnaryCallable<SetIamPolicyReservationRequest, Policy> setIamPolicyCallable() {
106     throw new UnsupportedOperationException("Not implemented: setIamPolicyCallable()");
107   }
108 
109   public UnaryCallable<TestIamPermissionsReservationRequest, TestPermissionsResponse>
testIamPermissionsCallable()110       testIamPermissionsCallable() {
111     throw new UnsupportedOperationException("Not implemented: testIamPermissionsCallable()");
112   }
113 
114   public OperationCallable<UpdateReservationRequest, Operation, Operation>
updateOperationCallable()115       updateOperationCallable() {
116     throw new UnsupportedOperationException("Not implemented: updateOperationCallable()");
117   }
118 
updateCallable()119   public UnaryCallable<UpdateReservationRequest, Operation> updateCallable() {
120     throw new UnsupportedOperationException("Not implemented: updateCallable()");
121   }
122 
123   @Override
close()124   public abstract void close();
125 }
126