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