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.ForwardingRulesClient.AggregatedListPagedResponse; 20 import static com.google.cloud.compute.v1.ForwardingRulesClient.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.AggregatedListForwardingRulesRequest; 26 import com.google.cloud.compute.v1.DeleteForwardingRuleRequest; 27 import com.google.cloud.compute.v1.ForwardingRule; 28 import com.google.cloud.compute.v1.ForwardingRuleAggregatedList; 29 import com.google.cloud.compute.v1.ForwardingRuleList; 30 import com.google.cloud.compute.v1.GetForwardingRuleRequest; 31 import com.google.cloud.compute.v1.InsertForwardingRuleRequest; 32 import com.google.cloud.compute.v1.ListForwardingRulesRequest; 33 import com.google.cloud.compute.v1.Operation; 34 import com.google.cloud.compute.v1.PatchForwardingRuleRequest; 35 import com.google.cloud.compute.v1.SetLabelsForwardingRuleRequest; 36 import com.google.cloud.compute.v1.SetTargetForwardingRuleRequest; 37 import javax.annotation.Generated; 38 39 // AUTO-GENERATED DOCUMENTATION AND CLASS. 40 /** 41 * Base stub class for the ForwardingRules service API. 42 * 43 * <p>This class is for advanced usage and reflects the underlying API directly. 44 */ 45 @Generated("by gapic-generator-java") 46 public abstract class ForwardingRulesStub implements BackgroundResource { 47 48 public UnaryCallable<AggregatedListForwardingRulesRequest, AggregatedListPagedResponse> aggregatedListPagedCallable()49 aggregatedListPagedCallable() { 50 throw new UnsupportedOperationException("Not implemented: aggregatedListPagedCallable()"); 51 } 52 53 public UnaryCallable<AggregatedListForwardingRulesRequest, ForwardingRuleAggregatedList> aggregatedListCallable()54 aggregatedListCallable() { 55 throw new UnsupportedOperationException("Not implemented: aggregatedListCallable()"); 56 } 57 58 public OperationCallable<DeleteForwardingRuleRequest, Operation, Operation> deleteOperationCallable()59 deleteOperationCallable() { 60 throw new UnsupportedOperationException("Not implemented: deleteOperationCallable()"); 61 } 62 deleteCallable()63 public UnaryCallable<DeleteForwardingRuleRequest, Operation> deleteCallable() { 64 throw new UnsupportedOperationException("Not implemented: deleteCallable()"); 65 } 66 getCallable()67 public UnaryCallable<GetForwardingRuleRequest, ForwardingRule> getCallable() { 68 throw new UnsupportedOperationException("Not implemented: getCallable()"); 69 } 70 71 public OperationCallable<InsertForwardingRuleRequest, Operation, Operation> insertOperationCallable()72 insertOperationCallable() { 73 throw new UnsupportedOperationException("Not implemented: insertOperationCallable()"); 74 } 75 insertCallable()76 public UnaryCallable<InsertForwardingRuleRequest, Operation> insertCallable() { 77 throw new UnsupportedOperationException("Not implemented: insertCallable()"); 78 } 79 listPagedCallable()80 public UnaryCallable<ListForwardingRulesRequest, ListPagedResponse> listPagedCallable() { 81 throw new UnsupportedOperationException("Not implemented: listPagedCallable()"); 82 } 83 listCallable()84 public UnaryCallable<ListForwardingRulesRequest, ForwardingRuleList> listCallable() { 85 throw new UnsupportedOperationException("Not implemented: listCallable()"); 86 } 87 88 public OperationCallable<PatchForwardingRuleRequest, Operation, Operation> patchOperationCallable()89 patchOperationCallable() { 90 throw new UnsupportedOperationException("Not implemented: patchOperationCallable()"); 91 } 92 patchCallable()93 public UnaryCallable<PatchForwardingRuleRequest, Operation> patchCallable() { 94 throw new UnsupportedOperationException("Not implemented: patchCallable()"); 95 } 96 97 public OperationCallable<SetLabelsForwardingRuleRequest, Operation, Operation> setLabelsOperationCallable()98 setLabelsOperationCallable() { 99 throw new UnsupportedOperationException("Not implemented: setLabelsOperationCallable()"); 100 } 101 setLabelsCallable()102 public UnaryCallable<SetLabelsForwardingRuleRequest, Operation> setLabelsCallable() { 103 throw new UnsupportedOperationException("Not implemented: setLabelsCallable()"); 104 } 105 106 public OperationCallable<SetTargetForwardingRuleRequest, Operation, Operation> setTargetOperationCallable()107 setTargetOperationCallable() { 108 throw new UnsupportedOperationException("Not implemented: setTargetOperationCallable()"); 109 } 110 setTargetCallable()111 public UnaryCallable<SetTargetForwardingRuleRequest, Operation> setTargetCallable() { 112 throw new UnsupportedOperationException("Not implemented: setTargetCallable()"); 113 } 114 115 @Override close()116 public abstract void close(); 117 } 118