• 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.orgpolicy.v2.stub;
18 
19 import static com.google.cloud.orgpolicy.v2.OrgPolicyClient.ListConstraintsPagedResponse;
20 import static com.google.cloud.orgpolicy.v2.OrgPolicyClient.ListPoliciesPagedResponse;
21 
22 import com.google.api.gax.core.BackgroundResource;
23 import com.google.api.gax.rpc.UnaryCallable;
24 import com.google.cloud.orgpolicy.v2.CreatePolicyRequest;
25 import com.google.cloud.orgpolicy.v2.DeletePolicyRequest;
26 import com.google.cloud.orgpolicy.v2.GetEffectivePolicyRequest;
27 import com.google.cloud.orgpolicy.v2.GetPolicyRequest;
28 import com.google.cloud.orgpolicy.v2.ListConstraintsRequest;
29 import com.google.cloud.orgpolicy.v2.ListConstraintsResponse;
30 import com.google.cloud.orgpolicy.v2.ListPoliciesRequest;
31 import com.google.cloud.orgpolicy.v2.ListPoliciesResponse;
32 import com.google.cloud.orgpolicy.v2.Policy;
33 import com.google.cloud.orgpolicy.v2.UpdatePolicyRequest;
34 import com.google.protobuf.Empty;
35 import javax.annotation.Generated;
36 
37 // AUTO-GENERATED DOCUMENTATION AND CLASS.
38 /**
39  * Base stub class for the OrgPolicy service API.
40  *
41  * <p>This class is for advanced usage and reflects the underlying API directly.
42  */
43 @Generated("by gapic-generator-java")
44 public abstract class OrgPolicyStub implements BackgroundResource {
45 
46   public UnaryCallable<ListConstraintsRequest, ListConstraintsPagedResponse>
listConstraintsPagedCallable()47       listConstraintsPagedCallable() {
48     throw new UnsupportedOperationException("Not implemented: listConstraintsPagedCallable()");
49   }
50 
listConstraintsCallable()51   public UnaryCallable<ListConstraintsRequest, ListConstraintsResponse> listConstraintsCallable() {
52     throw new UnsupportedOperationException("Not implemented: listConstraintsCallable()");
53   }
54 
listPoliciesPagedCallable()55   public UnaryCallable<ListPoliciesRequest, ListPoliciesPagedResponse> listPoliciesPagedCallable() {
56     throw new UnsupportedOperationException("Not implemented: listPoliciesPagedCallable()");
57   }
58 
listPoliciesCallable()59   public UnaryCallable<ListPoliciesRequest, ListPoliciesResponse> listPoliciesCallable() {
60     throw new UnsupportedOperationException("Not implemented: listPoliciesCallable()");
61   }
62 
getPolicyCallable()63   public UnaryCallable<GetPolicyRequest, Policy> getPolicyCallable() {
64     throw new UnsupportedOperationException("Not implemented: getPolicyCallable()");
65   }
66 
getEffectivePolicyCallable()67   public UnaryCallable<GetEffectivePolicyRequest, Policy> getEffectivePolicyCallable() {
68     throw new UnsupportedOperationException("Not implemented: getEffectivePolicyCallable()");
69   }
70 
createPolicyCallable()71   public UnaryCallable<CreatePolicyRequest, Policy> createPolicyCallable() {
72     throw new UnsupportedOperationException("Not implemented: createPolicyCallable()");
73   }
74 
updatePolicyCallable()75   public UnaryCallable<UpdatePolicyRequest, Policy> updatePolicyCallable() {
76     throw new UnsupportedOperationException("Not implemented: updatePolicyCallable()");
77   }
78 
deletePolicyCallable()79   public UnaryCallable<DeletePolicyRequest, Empty> deletePolicyCallable() {
80     throw new UnsupportedOperationException("Not implemented: deletePolicyCallable()");
81   }
82 
83   @Override
close()84   public abstract void close();
85 }
86