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.BackendServicesClient.AggregatedListPagedResponse; 20 import static com.google.cloud.compute.v1.BackendServicesClient.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.AddSignedUrlKeyBackendServiceRequest; 26 import com.google.cloud.compute.v1.AggregatedListBackendServicesRequest; 27 import com.google.cloud.compute.v1.BackendService; 28 import com.google.cloud.compute.v1.BackendServiceAggregatedList; 29 import com.google.cloud.compute.v1.BackendServiceGroupHealth; 30 import com.google.cloud.compute.v1.BackendServiceList; 31 import com.google.cloud.compute.v1.DeleteBackendServiceRequest; 32 import com.google.cloud.compute.v1.DeleteSignedUrlKeyBackendServiceRequest; 33 import com.google.cloud.compute.v1.GetBackendServiceRequest; 34 import com.google.cloud.compute.v1.GetHealthBackendServiceRequest; 35 import com.google.cloud.compute.v1.GetIamPolicyBackendServiceRequest; 36 import com.google.cloud.compute.v1.InsertBackendServiceRequest; 37 import com.google.cloud.compute.v1.ListBackendServicesRequest; 38 import com.google.cloud.compute.v1.Operation; 39 import com.google.cloud.compute.v1.PatchBackendServiceRequest; 40 import com.google.cloud.compute.v1.Policy; 41 import com.google.cloud.compute.v1.SetEdgeSecurityPolicyBackendServiceRequest; 42 import com.google.cloud.compute.v1.SetIamPolicyBackendServiceRequest; 43 import com.google.cloud.compute.v1.SetSecurityPolicyBackendServiceRequest; 44 import com.google.cloud.compute.v1.UpdateBackendServiceRequest; 45 import javax.annotation.Generated; 46 47 // AUTO-GENERATED DOCUMENTATION AND CLASS. 48 /** 49 * Base stub class for the BackendServices service API. 50 * 51 * <p>This class is for advanced usage and reflects the underlying API directly. 52 */ 53 @Generated("by gapic-generator-java") 54 public abstract class BackendServicesStub implements BackgroundResource { 55 56 public OperationCallable<AddSignedUrlKeyBackendServiceRequest, Operation, Operation> addSignedUrlKeyOperationCallable()57 addSignedUrlKeyOperationCallable() { 58 throw new UnsupportedOperationException("Not implemented: addSignedUrlKeyOperationCallable()"); 59 } 60 addSignedUrlKeyCallable()61 public UnaryCallable<AddSignedUrlKeyBackendServiceRequest, Operation> addSignedUrlKeyCallable() { 62 throw new UnsupportedOperationException("Not implemented: addSignedUrlKeyCallable()"); 63 } 64 65 public UnaryCallable<AggregatedListBackendServicesRequest, AggregatedListPagedResponse> aggregatedListPagedCallable()66 aggregatedListPagedCallable() { 67 throw new UnsupportedOperationException("Not implemented: aggregatedListPagedCallable()"); 68 } 69 70 public UnaryCallable<AggregatedListBackendServicesRequest, BackendServiceAggregatedList> aggregatedListCallable()71 aggregatedListCallable() { 72 throw new UnsupportedOperationException("Not implemented: aggregatedListCallable()"); 73 } 74 75 public OperationCallable<DeleteBackendServiceRequest, Operation, Operation> deleteOperationCallable()76 deleteOperationCallable() { 77 throw new UnsupportedOperationException("Not implemented: deleteOperationCallable()"); 78 } 79 deleteCallable()80 public UnaryCallable<DeleteBackendServiceRequest, Operation> deleteCallable() { 81 throw new UnsupportedOperationException("Not implemented: deleteCallable()"); 82 } 83 84 public OperationCallable<DeleteSignedUrlKeyBackendServiceRequest, Operation, Operation> deleteSignedUrlKeyOperationCallable()85 deleteSignedUrlKeyOperationCallable() { 86 throw new UnsupportedOperationException( 87 "Not implemented: deleteSignedUrlKeyOperationCallable()"); 88 } 89 90 public UnaryCallable<DeleteSignedUrlKeyBackendServiceRequest, Operation> deleteSignedUrlKeyCallable()91 deleteSignedUrlKeyCallable() { 92 throw new UnsupportedOperationException("Not implemented: deleteSignedUrlKeyCallable()"); 93 } 94 getCallable()95 public UnaryCallable<GetBackendServiceRequest, BackendService> getCallable() { 96 throw new UnsupportedOperationException("Not implemented: getCallable()"); 97 } 98 99 public UnaryCallable<GetHealthBackendServiceRequest, BackendServiceGroupHealth> getHealthCallable()100 getHealthCallable() { 101 throw new UnsupportedOperationException("Not implemented: getHealthCallable()"); 102 } 103 getIamPolicyCallable()104 public UnaryCallable<GetIamPolicyBackendServiceRequest, Policy> getIamPolicyCallable() { 105 throw new UnsupportedOperationException("Not implemented: getIamPolicyCallable()"); 106 } 107 108 public OperationCallable<InsertBackendServiceRequest, Operation, Operation> insertOperationCallable()109 insertOperationCallable() { 110 throw new UnsupportedOperationException("Not implemented: insertOperationCallable()"); 111 } 112 insertCallable()113 public UnaryCallable<InsertBackendServiceRequest, Operation> insertCallable() { 114 throw new UnsupportedOperationException("Not implemented: insertCallable()"); 115 } 116 listPagedCallable()117 public UnaryCallable<ListBackendServicesRequest, ListPagedResponse> listPagedCallable() { 118 throw new UnsupportedOperationException("Not implemented: listPagedCallable()"); 119 } 120 listCallable()121 public UnaryCallable<ListBackendServicesRequest, BackendServiceList> listCallable() { 122 throw new UnsupportedOperationException("Not implemented: listCallable()"); 123 } 124 125 public OperationCallable<PatchBackendServiceRequest, Operation, Operation> patchOperationCallable()126 patchOperationCallable() { 127 throw new UnsupportedOperationException("Not implemented: patchOperationCallable()"); 128 } 129 patchCallable()130 public UnaryCallable<PatchBackendServiceRequest, Operation> patchCallable() { 131 throw new UnsupportedOperationException("Not implemented: patchCallable()"); 132 } 133 134 public OperationCallable<SetEdgeSecurityPolicyBackendServiceRequest, Operation, Operation> setEdgeSecurityPolicyOperationCallable()135 setEdgeSecurityPolicyOperationCallable() { 136 throw new UnsupportedOperationException( 137 "Not implemented: setEdgeSecurityPolicyOperationCallable()"); 138 } 139 140 public UnaryCallable<SetEdgeSecurityPolicyBackendServiceRequest, Operation> setEdgeSecurityPolicyCallable()141 setEdgeSecurityPolicyCallable() { 142 throw new UnsupportedOperationException("Not implemented: setEdgeSecurityPolicyCallable()"); 143 } 144 setIamPolicyCallable()145 public UnaryCallable<SetIamPolicyBackendServiceRequest, Policy> setIamPolicyCallable() { 146 throw new UnsupportedOperationException("Not implemented: setIamPolicyCallable()"); 147 } 148 149 public OperationCallable<SetSecurityPolicyBackendServiceRequest, Operation, Operation> setSecurityPolicyOperationCallable()150 setSecurityPolicyOperationCallable() { 151 throw new UnsupportedOperationException( 152 "Not implemented: setSecurityPolicyOperationCallable()"); 153 } 154 155 public UnaryCallable<SetSecurityPolicyBackendServiceRequest, Operation> setSecurityPolicyCallable()156 setSecurityPolicyCallable() { 157 throw new UnsupportedOperationException("Not implemented: setSecurityPolicyCallable()"); 158 } 159 160 public OperationCallable<UpdateBackendServiceRequest, Operation, Operation> updateOperationCallable()161 updateOperationCallable() { 162 throw new UnsupportedOperationException("Not implemented: updateOperationCallable()"); 163 } 164 updateCallable()165 public UnaryCallable<UpdateBackendServiceRequest, Operation> updateCallable() { 166 throw new UnsupportedOperationException("Not implemented: updateCallable()"); 167 } 168 169 @Override close()170 public abstract void close(); 171 } 172