• 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.SecurityPoliciesClient.AggregatedListPagedResponse;
20 import static com.google.cloud.compute.v1.SecurityPoliciesClient.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.AddRuleSecurityPolicyRequest;
26 import com.google.cloud.compute.v1.AggregatedListSecurityPoliciesRequest;
27 import com.google.cloud.compute.v1.DeleteSecurityPolicyRequest;
28 import com.google.cloud.compute.v1.GetRuleSecurityPolicyRequest;
29 import com.google.cloud.compute.v1.GetSecurityPolicyRequest;
30 import com.google.cloud.compute.v1.InsertSecurityPolicyRequest;
31 import com.google.cloud.compute.v1.ListPreconfiguredExpressionSetsSecurityPoliciesRequest;
32 import com.google.cloud.compute.v1.ListSecurityPoliciesRequest;
33 import com.google.cloud.compute.v1.Operation;
34 import com.google.cloud.compute.v1.PatchRuleSecurityPolicyRequest;
35 import com.google.cloud.compute.v1.PatchSecurityPolicyRequest;
36 import com.google.cloud.compute.v1.RemoveRuleSecurityPolicyRequest;
37 import com.google.cloud.compute.v1.SecurityPoliciesAggregatedList;
38 import com.google.cloud.compute.v1.SecurityPoliciesListPreconfiguredExpressionSetsResponse;
39 import com.google.cloud.compute.v1.SecurityPolicy;
40 import com.google.cloud.compute.v1.SecurityPolicyList;
41 import com.google.cloud.compute.v1.SecurityPolicyRule;
42 import com.google.cloud.compute.v1.SetLabelsSecurityPolicyRequest;
43 import javax.annotation.Generated;
44 
45 // AUTO-GENERATED DOCUMENTATION AND CLASS.
46 /**
47  * Base stub class for the SecurityPolicies 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 SecurityPoliciesStub implements BackgroundResource {
53 
54   public OperationCallable<AddRuleSecurityPolicyRequest, Operation, Operation>
addRuleOperationCallable()55       addRuleOperationCallable() {
56     throw new UnsupportedOperationException("Not implemented: addRuleOperationCallable()");
57   }
58 
addRuleCallable()59   public UnaryCallable<AddRuleSecurityPolicyRequest, Operation> addRuleCallable() {
60     throw new UnsupportedOperationException("Not implemented: addRuleCallable()");
61   }
62 
63   public UnaryCallable<AggregatedListSecurityPoliciesRequest, AggregatedListPagedResponse>
aggregatedListPagedCallable()64       aggregatedListPagedCallable() {
65     throw new UnsupportedOperationException("Not implemented: aggregatedListPagedCallable()");
66   }
67 
68   public UnaryCallable<AggregatedListSecurityPoliciesRequest, SecurityPoliciesAggregatedList>
aggregatedListCallable()69       aggregatedListCallable() {
70     throw new UnsupportedOperationException("Not implemented: aggregatedListCallable()");
71   }
72 
73   public OperationCallable<DeleteSecurityPolicyRequest, Operation, Operation>
deleteOperationCallable()74       deleteOperationCallable() {
75     throw new UnsupportedOperationException("Not implemented: deleteOperationCallable()");
76   }
77 
deleteCallable()78   public UnaryCallable<DeleteSecurityPolicyRequest, Operation> deleteCallable() {
79     throw new UnsupportedOperationException("Not implemented: deleteCallable()");
80   }
81 
getCallable()82   public UnaryCallable<GetSecurityPolicyRequest, SecurityPolicy> getCallable() {
83     throw new UnsupportedOperationException("Not implemented: getCallable()");
84   }
85 
getRuleCallable()86   public UnaryCallable<GetRuleSecurityPolicyRequest, SecurityPolicyRule> getRuleCallable() {
87     throw new UnsupportedOperationException("Not implemented: getRuleCallable()");
88   }
89 
90   public OperationCallable<InsertSecurityPolicyRequest, Operation, Operation>
insertOperationCallable()91       insertOperationCallable() {
92     throw new UnsupportedOperationException("Not implemented: insertOperationCallable()");
93   }
94 
insertCallable()95   public UnaryCallable<InsertSecurityPolicyRequest, Operation> insertCallable() {
96     throw new UnsupportedOperationException("Not implemented: insertCallable()");
97   }
98 
listPagedCallable()99   public UnaryCallable<ListSecurityPoliciesRequest, ListPagedResponse> listPagedCallable() {
100     throw new UnsupportedOperationException("Not implemented: listPagedCallable()");
101   }
102 
listCallable()103   public UnaryCallable<ListSecurityPoliciesRequest, SecurityPolicyList> listCallable() {
104     throw new UnsupportedOperationException("Not implemented: listCallable()");
105   }
106 
107   public UnaryCallable<
108           ListPreconfiguredExpressionSetsSecurityPoliciesRequest,
109           SecurityPoliciesListPreconfiguredExpressionSetsResponse>
listPreconfiguredExpressionSetsCallable()110       listPreconfiguredExpressionSetsCallable() {
111     throw new UnsupportedOperationException(
112         "Not implemented: listPreconfiguredExpressionSetsCallable()");
113   }
114 
115   public OperationCallable<PatchSecurityPolicyRequest, Operation, Operation>
patchOperationCallable()116       patchOperationCallable() {
117     throw new UnsupportedOperationException("Not implemented: patchOperationCallable()");
118   }
119 
patchCallable()120   public UnaryCallable<PatchSecurityPolicyRequest, Operation> patchCallable() {
121     throw new UnsupportedOperationException("Not implemented: patchCallable()");
122   }
123 
124   public OperationCallable<PatchRuleSecurityPolicyRequest, Operation, Operation>
patchRuleOperationCallable()125       patchRuleOperationCallable() {
126     throw new UnsupportedOperationException("Not implemented: patchRuleOperationCallable()");
127   }
128 
patchRuleCallable()129   public UnaryCallable<PatchRuleSecurityPolicyRequest, Operation> patchRuleCallable() {
130     throw new UnsupportedOperationException("Not implemented: patchRuleCallable()");
131   }
132 
133   public OperationCallable<RemoveRuleSecurityPolicyRequest, Operation, Operation>
removeRuleOperationCallable()134       removeRuleOperationCallable() {
135     throw new UnsupportedOperationException("Not implemented: removeRuleOperationCallable()");
136   }
137 
removeRuleCallable()138   public UnaryCallable<RemoveRuleSecurityPolicyRequest, Operation> removeRuleCallable() {
139     throw new UnsupportedOperationException("Not implemented: removeRuleCallable()");
140   }
141 
142   public OperationCallable<SetLabelsSecurityPolicyRequest, Operation, Operation>
setLabelsOperationCallable()143       setLabelsOperationCallable() {
144     throw new UnsupportedOperationException("Not implemented: setLabelsOperationCallable()");
145   }
146 
setLabelsCallable()147   public UnaryCallable<SetLabelsSecurityPolicyRequest, Operation> setLabelsCallable() {
148     throw new UnsupportedOperationException("Not implemented: setLabelsCallable()");
149   }
150 
151   @Override
close()152   public abstract void close();
153 }
154