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.NodeTemplatesClient.AggregatedListPagedResponse; 20 import static com.google.cloud.compute.v1.NodeTemplatesClient.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.AggregatedListNodeTemplatesRequest; 26 import com.google.cloud.compute.v1.DeleteNodeTemplateRequest; 27 import com.google.cloud.compute.v1.GetIamPolicyNodeTemplateRequest; 28 import com.google.cloud.compute.v1.GetNodeTemplateRequest; 29 import com.google.cloud.compute.v1.InsertNodeTemplateRequest; 30 import com.google.cloud.compute.v1.ListNodeTemplatesRequest; 31 import com.google.cloud.compute.v1.NodeTemplate; 32 import com.google.cloud.compute.v1.NodeTemplateAggregatedList; 33 import com.google.cloud.compute.v1.NodeTemplateList; 34 import com.google.cloud.compute.v1.Operation; 35 import com.google.cloud.compute.v1.Policy; 36 import com.google.cloud.compute.v1.SetIamPolicyNodeTemplateRequest; 37 import com.google.cloud.compute.v1.TestIamPermissionsNodeTemplateRequest; 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 NodeTemplates 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 NodeTemplatesStub implements BackgroundResource { 49 50 public UnaryCallable<AggregatedListNodeTemplatesRequest, AggregatedListPagedResponse> aggregatedListPagedCallable()51 aggregatedListPagedCallable() { 52 throw new UnsupportedOperationException("Not implemented: aggregatedListPagedCallable()"); 53 } 54 55 public UnaryCallable<AggregatedListNodeTemplatesRequest, NodeTemplateAggregatedList> aggregatedListCallable()56 aggregatedListCallable() { 57 throw new UnsupportedOperationException("Not implemented: aggregatedListCallable()"); 58 } 59 60 public OperationCallable<DeleteNodeTemplateRequest, Operation, Operation> deleteOperationCallable()61 deleteOperationCallable() { 62 throw new UnsupportedOperationException("Not implemented: deleteOperationCallable()"); 63 } 64 deleteCallable()65 public UnaryCallable<DeleteNodeTemplateRequest, Operation> deleteCallable() { 66 throw new UnsupportedOperationException("Not implemented: deleteCallable()"); 67 } 68 getCallable()69 public UnaryCallable<GetNodeTemplateRequest, NodeTemplate> getCallable() { 70 throw new UnsupportedOperationException("Not implemented: getCallable()"); 71 } 72 getIamPolicyCallable()73 public UnaryCallable<GetIamPolicyNodeTemplateRequest, Policy> getIamPolicyCallable() { 74 throw new UnsupportedOperationException("Not implemented: getIamPolicyCallable()"); 75 } 76 77 public OperationCallable<InsertNodeTemplateRequest, Operation, Operation> insertOperationCallable()78 insertOperationCallable() { 79 throw new UnsupportedOperationException("Not implemented: insertOperationCallable()"); 80 } 81 insertCallable()82 public UnaryCallable<InsertNodeTemplateRequest, Operation> insertCallable() { 83 throw new UnsupportedOperationException("Not implemented: insertCallable()"); 84 } 85 listPagedCallable()86 public UnaryCallable<ListNodeTemplatesRequest, ListPagedResponse> listPagedCallable() { 87 throw new UnsupportedOperationException("Not implemented: listPagedCallable()"); 88 } 89 listCallable()90 public UnaryCallable<ListNodeTemplatesRequest, NodeTemplateList> listCallable() { 91 throw new UnsupportedOperationException("Not implemented: listCallable()"); 92 } 93 setIamPolicyCallable()94 public UnaryCallable<SetIamPolicyNodeTemplateRequest, Policy> setIamPolicyCallable() { 95 throw new UnsupportedOperationException("Not implemented: setIamPolicyCallable()"); 96 } 97 98 public UnaryCallable<TestIamPermissionsNodeTemplateRequest, TestPermissionsResponse> testIamPermissionsCallable()99 testIamPermissionsCallable() { 100 throw new UnsupportedOperationException("Not implemented: testIamPermissionsCallable()"); 101 } 102 103 @Override close()104 public abstract void close(); 105 } 106