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.billing.v1.stub; 18 19 import static com.google.cloud.billing.v1.CloudBillingClient.ListBillingAccountsPagedResponse; 20 import static com.google.cloud.billing.v1.CloudBillingClient.ListProjectBillingInfoPagedResponse; 21 22 import com.google.api.gax.core.BackgroundResource; 23 import com.google.api.gax.rpc.UnaryCallable; 24 import com.google.cloud.billing.v1.BillingAccount; 25 import com.google.cloud.billing.v1.CreateBillingAccountRequest; 26 import com.google.cloud.billing.v1.GetBillingAccountRequest; 27 import com.google.cloud.billing.v1.GetProjectBillingInfoRequest; 28 import com.google.cloud.billing.v1.ListBillingAccountsRequest; 29 import com.google.cloud.billing.v1.ListBillingAccountsResponse; 30 import com.google.cloud.billing.v1.ListProjectBillingInfoRequest; 31 import com.google.cloud.billing.v1.ListProjectBillingInfoResponse; 32 import com.google.cloud.billing.v1.ProjectBillingInfo; 33 import com.google.cloud.billing.v1.UpdateBillingAccountRequest; 34 import com.google.cloud.billing.v1.UpdateProjectBillingInfoRequest; 35 import com.google.iam.v1.GetIamPolicyRequest; 36 import com.google.iam.v1.Policy; 37 import com.google.iam.v1.SetIamPolicyRequest; 38 import com.google.iam.v1.TestIamPermissionsRequest; 39 import com.google.iam.v1.TestIamPermissionsResponse; 40 import javax.annotation.Generated; 41 42 // AUTO-GENERATED DOCUMENTATION AND CLASS. 43 /** 44 * Base stub class for the CloudBilling service API. 45 * 46 * <p>This class is for advanced usage and reflects the underlying API directly. 47 */ 48 @Generated("by gapic-generator-java") 49 public abstract class CloudBillingStub implements BackgroundResource { 50 getBillingAccountCallable()51 public UnaryCallable<GetBillingAccountRequest, BillingAccount> getBillingAccountCallable() { 52 throw new UnsupportedOperationException("Not implemented: getBillingAccountCallable()"); 53 } 54 55 public UnaryCallable<ListBillingAccountsRequest, ListBillingAccountsPagedResponse> listBillingAccountsPagedCallable()56 listBillingAccountsPagedCallable() { 57 throw new UnsupportedOperationException("Not implemented: listBillingAccountsPagedCallable()"); 58 } 59 60 public UnaryCallable<ListBillingAccountsRequest, ListBillingAccountsResponse> listBillingAccountsCallable()61 listBillingAccountsCallable() { 62 throw new UnsupportedOperationException("Not implemented: listBillingAccountsCallable()"); 63 } 64 updateBillingAccountCallable()65 public UnaryCallable<UpdateBillingAccountRequest, BillingAccount> updateBillingAccountCallable() { 66 throw new UnsupportedOperationException("Not implemented: updateBillingAccountCallable()"); 67 } 68 createBillingAccountCallable()69 public UnaryCallable<CreateBillingAccountRequest, BillingAccount> createBillingAccountCallable() { 70 throw new UnsupportedOperationException("Not implemented: createBillingAccountCallable()"); 71 } 72 73 public UnaryCallable<ListProjectBillingInfoRequest, ListProjectBillingInfoPagedResponse> listProjectBillingInfoPagedCallable()74 listProjectBillingInfoPagedCallable() { 75 throw new UnsupportedOperationException( 76 "Not implemented: listProjectBillingInfoPagedCallable()"); 77 } 78 79 public UnaryCallable<ListProjectBillingInfoRequest, ListProjectBillingInfoResponse> listProjectBillingInfoCallable()80 listProjectBillingInfoCallable() { 81 throw new UnsupportedOperationException("Not implemented: listProjectBillingInfoCallable()"); 82 } 83 84 public UnaryCallable<GetProjectBillingInfoRequest, ProjectBillingInfo> getProjectBillingInfoCallable()85 getProjectBillingInfoCallable() { 86 throw new UnsupportedOperationException("Not implemented: getProjectBillingInfoCallable()"); 87 } 88 89 public UnaryCallable<UpdateProjectBillingInfoRequest, ProjectBillingInfo> updateProjectBillingInfoCallable()90 updateProjectBillingInfoCallable() { 91 throw new UnsupportedOperationException("Not implemented: updateProjectBillingInfoCallable()"); 92 } 93 getIamPolicyCallable()94 public UnaryCallable<GetIamPolicyRequest, Policy> getIamPolicyCallable() { 95 throw new UnsupportedOperationException("Not implemented: getIamPolicyCallable()"); 96 } 97 setIamPolicyCallable()98 public UnaryCallable<SetIamPolicyRequest, Policy> setIamPolicyCallable() { 99 throw new UnsupportedOperationException("Not implemented: setIamPolicyCallable()"); 100 } 101 102 public UnaryCallable<TestIamPermissionsRequest, TestIamPermissionsResponse> testIamPermissionsCallable()103 testIamPermissionsCallable() { 104 throw new UnsupportedOperationException("Not implemented: testIamPermissionsCallable()"); 105 } 106 107 @Override close()108 public abstract void close(); 109 } 110