• 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.ResourcePoliciesClient.AggregatedListPagedResponse;
20 import static com.google.cloud.compute.v1.ResourcePoliciesClient.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.AggregatedListResourcePoliciesRequest;
26 import com.google.cloud.compute.v1.DeleteResourcePolicyRequest;
27 import com.google.cloud.compute.v1.GetIamPolicyResourcePolicyRequest;
28 import com.google.cloud.compute.v1.GetResourcePolicyRequest;
29 import com.google.cloud.compute.v1.InsertResourcePolicyRequest;
30 import com.google.cloud.compute.v1.ListResourcePoliciesRequest;
31 import com.google.cloud.compute.v1.Operation;
32 import com.google.cloud.compute.v1.Policy;
33 import com.google.cloud.compute.v1.ResourcePolicy;
34 import com.google.cloud.compute.v1.ResourcePolicyAggregatedList;
35 import com.google.cloud.compute.v1.ResourcePolicyList;
36 import com.google.cloud.compute.v1.SetIamPolicyResourcePolicyRequest;
37 import com.google.cloud.compute.v1.TestIamPermissionsResourcePolicyRequest;
38 import com.google.cloud.compute.v1.TestPermissionsResponse;
39 import javax.annotation.Generated;
40 
41 // AUTO-GENERATED DOCUMENTATION AND CLASS.
42 /**
43  * Base stub class for the ResourcePolicies service API.
44  *
45  * <p>This class is for advanced usage and reflects the underlying API directly.
46  */
47 @Generated("by gapic-generator-java")
48 public abstract class ResourcePoliciesStub implements BackgroundResource {
49 
50   public UnaryCallable<AggregatedListResourcePoliciesRequest, AggregatedListPagedResponse>
aggregatedListPagedCallable()51       aggregatedListPagedCallable() {
52     throw new UnsupportedOperationException("Not implemented: aggregatedListPagedCallable()");
53   }
54 
55   public UnaryCallable<AggregatedListResourcePoliciesRequest, ResourcePolicyAggregatedList>
aggregatedListCallable()56       aggregatedListCallable() {
57     throw new UnsupportedOperationException("Not implemented: aggregatedListCallable()");
58   }
59 
60   public OperationCallable<DeleteResourcePolicyRequest, Operation, Operation>
deleteOperationCallable()61       deleteOperationCallable() {
62     throw new UnsupportedOperationException("Not implemented: deleteOperationCallable()");
63   }
64 
deleteCallable()65   public UnaryCallable<DeleteResourcePolicyRequest, Operation> deleteCallable() {
66     throw new UnsupportedOperationException("Not implemented: deleteCallable()");
67   }
68 
getCallable()69   public UnaryCallable<GetResourcePolicyRequest, ResourcePolicy> getCallable() {
70     throw new UnsupportedOperationException("Not implemented: getCallable()");
71   }
72 
getIamPolicyCallable()73   public UnaryCallable<GetIamPolicyResourcePolicyRequest, Policy> getIamPolicyCallable() {
74     throw new UnsupportedOperationException("Not implemented: getIamPolicyCallable()");
75   }
76 
77   public OperationCallable<InsertResourcePolicyRequest, Operation, Operation>
insertOperationCallable()78       insertOperationCallable() {
79     throw new UnsupportedOperationException("Not implemented: insertOperationCallable()");
80   }
81 
insertCallable()82   public UnaryCallable<InsertResourcePolicyRequest, Operation> insertCallable() {
83     throw new UnsupportedOperationException("Not implemented: insertCallable()");
84   }
85 
listPagedCallable()86   public UnaryCallable<ListResourcePoliciesRequest, ListPagedResponse> listPagedCallable() {
87     throw new UnsupportedOperationException("Not implemented: listPagedCallable()");
88   }
89 
listCallable()90   public UnaryCallable<ListResourcePoliciesRequest, ResourcePolicyList> listCallable() {
91     throw new UnsupportedOperationException("Not implemented: listCallable()");
92   }
93 
setIamPolicyCallable()94   public UnaryCallable<SetIamPolicyResourcePolicyRequest, Policy> setIamPolicyCallable() {
95     throw new UnsupportedOperationException("Not implemented: setIamPolicyCallable()");
96   }
97 
98   public UnaryCallable<TestIamPermissionsResourcePolicyRequest, TestPermissionsResponse>
testIamPermissionsCallable()99       testIamPermissionsCallable() {
100     throw new UnsupportedOperationException("Not implemented: testIamPermissionsCallable()");
101   }
102 
103   @Override
close()104   public abstract void close();
105 }
106