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.asset.v1p1beta1.stub; 18 19 import static com.google.cloud.asset.v1p1beta1.AssetServiceClient.SearchAllIamPoliciesPagedResponse; 20 import static com.google.cloud.asset.v1p1beta1.AssetServiceClient.SearchAllResourcesPagedResponse; 21 22 import com.google.api.core.BetaApi; 23 import com.google.api.gax.core.BackgroundResource; 24 import com.google.api.gax.rpc.UnaryCallable; 25 import com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest; 26 import com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse; 27 import com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest; 28 import com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse; 29 import javax.annotation.Generated; 30 31 // AUTO-GENERATED DOCUMENTATION AND CLASS. 32 /** 33 * Base stub class for the AssetService service API. 34 * 35 * <p>This class is for advanced usage and reflects the underlying API directly. 36 */ 37 @BetaApi 38 @Generated("by gapic-generator-java") 39 public abstract class AssetServiceStub implements BackgroundResource { 40 41 public UnaryCallable<SearchAllResourcesRequest, SearchAllResourcesPagedResponse> searchAllResourcesPagedCallable()42 searchAllResourcesPagedCallable() { 43 throw new UnsupportedOperationException("Not implemented: searchAllResourcesPagedCallable()"); 44 } 45 46 public UnaryCallable<SearchAllResourcesRequest, SearchAllResourcesResponse> searchAllResourcesCallable()47 searchAllResourcesCallable() { 48 throw new UnsupportedOperationException("Not implemented: searchAllResourcesCallable()"); 49 } 50 51 public UnaryCallable<SearchAllIamPoliciesRequest, SearchAllIamPoliciesPagedResponse> searchAllIamPoliciesPagedCallable()52 searchAllIamPoliciesPagedCallable() { 53 throw new UnsupportedOperationException("Not implemented: searchAllIamPoliciesPagedCallable()"); 54 } 55 56 public UnaryCallable<SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse> searchAllIamPoliciesCallable()57 searchAllIamPoliciesCallable() { 58 throw new UnsupportedOperationException("Not implemented: searchAllIamPoliciesCallable()"); 59 } 60 61 @Override close()62 public abstract void close(); 63 } 64