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.GlobalForwardingRulesClient.ListPagedResponse; 20 21 import com.google.api.gax.core.BackgroundResource; 22 import com.google.api.gax.rpc.OperationCallable; 23 import com.google.api.gax.rpc.UnaryCallable; 24 import com.google.cloud.compute.v1.DeleteGlobalForwardingRuleRequest; 25 import com.google.cloud.compute.v1.ForwardingRule; 26 import com.google.cloud.compute.v1.ForwardingRuleList; 27 import com.google.cloud.compute.v1.GetGlobalForwardingRuleRequest; 28 import com.google.cloud.compute.v1.InsertGlobalForwardingRuleRequest; 29 import com.google.cloud.compute.v1.ListGlobalForwardingRulesRequest; 30 import com.google.cloud.compute.v1.Operation; 31 import com.google.cloud.compute.v1.PatchGlobalForwardingRuleRequest; 32 import com.google.cloud.compute.v1.SetLabelsGlobalForwardingRuleRequest; 33 import com.google.cloud.compute.v1.SetTargetGlobalForwardingRuleRequest; 34 import javax.annotation.Generated; 35 36 // AUTO-GENERATED DOCUMENTATION AND CLASS. 37 /** 38 * Base stub class for the GlobalForwardingRules service API. 39 * 40 * <p>This class is for advanced usage and reflects the underlying API directly. 41 */ 42 @Generated("by gapic-generator-java") 43 public abstract class GlobalForwardingRulesStub implements BackgroundResource { 44 45 public OperationCallable<DeleteGlobalForwardingRuleRequest, Operation, Operation> deleteOperationCallable()46 deleteOperationCallable() { 47 throw new UnsupportedOperationException("Not implemented: deleteOperationCallable()"); 48 } 49 deleteCallable()50 public UnaryCallable<DeleteGlobalForwardingRuleRequest, Operation> deleteCallable() { 51 throw new UnsupportedOperationException("Not implemented: deleteCallable()"); 52 } 53 getCallable()54 public UnaryCallable<GetGlobalForwardingRuleRequest, ForwardingRule> getCallable() { 55 throw new UnsupportedOperationException("Not implemented: getCallable()"); 56 } 57 58 public OperationCallable<InsertGlobalForwardingRuleRequest, Operation, Operation> insertOperationCallable()59 insertOperationCallable() { 60 throw new UnsupportedOperationException("Not implemented: insertOperationCallable()"); 61 } 62 insertCallable()63 public UnaryCallable<InsertGlobalForwardingRuleRequest, Operation> insertCallable() { 64 throw new UnsupportedOperationException("Not implemented: insertCallable()"); 65 } 66 listPagedCallable()67 public UnaryCallable<ListGlobalForwardingRulesRequest, ListPagedResponse> listPagedCallable() { 68 throw new UnsupportedOperationException("Not implemented: listPagedCallable()"); 69 } 70 listCallable()71 public UnaryCallable<ListGlobalForwardingRulesRequest, ForwardingRuleList> listCallable() { 72 throw new UnsupportedOperationException("Not implemented: listCallable()"); 73 } 74 75 public OperationCallable<PatchGlobalForwardingRuleRequest, Operation, Operation> patchOperationCallable()76 patchOperationCallable() { 77 throw new UnsupportedOperationException("Not implemented: patchOperationCallable()"); 78 } 79 patchCallable()80 public UnaryCallable<PatchGlobalForwardingRuleRequest, Operation> patchCallable() { 81 throw new UnsupportedOperationException("Not implemented: patchCallable()"); 82 } 83 84 public OperationCallable<SetLabelsGlobalForwardingRuleRequest, Operation, Operation> setLabelsOperationCallable()85 setLabelsOperationCallable() { 86 throw new UnsupportedOperationException("Not implemented: setLabelsOperationCallable()"); 87 } 88 setLabelsCallable()89 public UnaryCallable<SetLabelsGlobalForwardingRuleRequest, Operation> setLabelsCallable() { 90 throw new UnsupportedOperationException("Not implemented: setLabelsCallable()"); 91 } 92 93 public OperationCallable<SetTargetGlobalForwardingRuleRequest, Operation, Operation> setTargetOperationCallable()94 setTargetOperationCallable() { 95 throw new UnsupportedOperationException("Not implemented: setTargetOperationCallable()"); 96 } 97 setTargetCallable()98 public UnaryCallable<SetTargetGlobalForwardingRuleRequest, Operation> setTargetCallable() { 99 throw new UnsupportedOperationException("Not implemented: setTargetCallable()"); 100 } 101 102 @Override close()103 public abstract void close(); 104 } 105