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.LicensesClient.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.DeleteLicenseRequest; 25 import com.google.cloud.compute.v1.GetIamPolicyLicenseRequest; 26 import com.google.cloud.compute.v1.GetLicenseRequest; 27 import com.google.cloud.compute.v1.InsertLicenseRequest; 28 import com.google.cloud.compute.v1.License; 29 import com.google.cloud.compute.v1.LicensesListResponse; 30 import com.google.cloud.compute.v1.ListLicensesRequest; 31 import com.google.cloud.compute.v1.Operation; 32 import com.google.cloud.compute.v1.Policy; 33 import com.google.cloud.compute.v1.SetIamPolicyLicenseRequest; 34 import com.google.cloud.compute.v1.TestIamPermissionsLicenseRequest; 35 import com.google.cloud.compute.v1.TestPermissionsResponse; 36 import javax.annotation.Generated; 37 38 // AUTO-GENERATED DOCUMENTATION AND CLASS. 39 /** 40 * Base stub class for the Licenses service API. 41 * 42 * <p>This class is for advanced usage and reflects the underlying API directly. 43 */ 44 @Generated("by gapic-generator-java") 45 public abstract class LicensesStub implements BackgroundResource { 46 deleteOperationCallable()47 public OperationCallable<DeleteLicenseRequest, Operation, Operation> deleteOperationCallable() { 48 throw new UnsupportedOperationException("Not implemented: deleteOperationCallable()"); 49 } 50 deleteCallable()51 public UnaryCallable<DeleteLicenseRequest, Operation> deleteCallable() { 52 throw new UnsupportedOperationException("Not implemented: deleteCallable()"); 53 } 54 getCallable()55 public UnaryCallable<GetLicenseRequest, License> getCallable() { 56 throw new UnsupportedOperationException("Not implemented: getCallable()"); 57 } 58 getIamPolicyCallable()59 public UnaryCallable<GetIamPolicyLicenseRequest, Policy> getIamPolicyCallable() { 60 throw new UnsupportedOperationException("Not implemented: getIamPolicyCallable()"); 61 } 62 insertOperationCallable()63 public OperationCallable<InsertLicenseRequest, Operation, Operation> insertOperationCallable() { 64 throw new UnsupportedOperationException("Not implemented: insertOperationCallable()"); 65 } 66 insertCallable()67 public UnaryCallable<InsertLicenseRequest, Operation> insertCallable() { 68 throw new UnsupportedOperationException("Not implemented: insertCallable()"); 69 } 70 listPagedCallable()71 public UnaryCallable<ListLicensesRequest, ListPagedResponse> listPagedCallable() { 72 throw new UnsupportedOperationException("Not implemented: listPagedCallable()"); 73 } 74 listCallable()75 public UnaryCallable<ListLicensesRequest, LicensesListResponse> listCallable() { 76 throw new UnsupportedOperationException("Not implemented: listCallable()"); 77 } 78 setIamPolicyCallable()79 public UnaryCallable<SetIamPolicyLicenseRequest, Policy> setIamPolicyCallable() { 80 throw new UnsupportedOperationException("Not implemented: setIamPolicyCallable()"); 81 } 82 83 public UnaryCallable<TestIamPermissionsLicenseRequest, TestPermissionsResponse> testIamPermissionsCallable()84 testIamPermissionsCallable() { 85 throw new UnsupportedOperationException("Not implemented: testIamPermissionsCallable()"); 86 } 87 88 @Override close()89 public abstract void close(); 90 } 91