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.retail.v2.stub; 18 19 import static com.google.cloud.retail.v2.ProductServiceClient.ListProductsPagedResponse; 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.retail.v2.AddFulfillmentPlacesMetadata; 25 import com.google.cloud.retail.v2.AddFulfillmentPlacesRequest; 26 import com.google.cloud.retail.v2.AddFulfillmentPlacesResponse; 27 import com.google.cloud.retail.v2.AddLocalInventoriesMetadata; 28 import com.google.cloud.retail.v2.AddLocalInventoriesRequest; 29 import com.google.cloud.retail.v2.AddLocalInventoriesResponse; 30 import com.google.cloud.retail.v2.CreateProductRequest; 31 import com.google.cloud.retail.v2.DeleteProductRequest; 32 import com.google.cloud.retail.v2.GetProductRequest; 33 import com.google.cloud.retail.v2.ImportMetadata; 34 import com.google.cloud.retail.v2.ImportProductsRequest; 35 import com.google.cloud.retail.v2.ImportProductsResponse; 36 import com.google.cloud.retail.v2.ListProductsRequest; 37 import com.google.cloud.retail.v2.ListProductsResponse; 38 import com.google.cloud.retail.v2.Product; 39 import com.google.cloud.retail.v2.RemoveFulfillmentPlacesMetadata; 40 import com.google.cloud.retail.v2.RemoveFulfillmentPlacesRequest; 41 import com.google.cloud.retail.v2.RemoveFulfillmentPlacesResponse; 42 import com.google.cloud.retail.v2.RemoveLocalInventoriesMetadata; 43 import com.google.cloud.retail.v2.RemoveLocalInventoriesRequest; 44 import com.google.cloud.retail.v2.RemoveLocalInventoriesResponse; 45 import com.google.cloud.retail.v2.SetInventoryMetadata; 46 import com.google.cloud.retail.v2.SetInventoryRequest; 47 import com.google.cloud.retail.v2.SetInventoryResponse; 48 import com.google.cloud.retail.v2.UpdateProductRequest; 49 import com.google.longrunning.Operation; 50 import com.google.longrunning.stub.OperationsStub; 51 import com.google.protobuf.Empty; 52 import javax.annotation.Generated; 53 54 // AUTO-GENERATED DOCUMENTATION AND CLASS. 55 /** 56 * Base stub class for the ProductService service API. 57 * 58 * <p>This class is for advanced usage and reflects the underlying API directly. 59 */ 60 @Generated("by gapic-generator-java") 61 public abstract class ProductServiceStub implements BackgroundResource { 62 getOperationsStub()63 public OperationsStub getOperationsStub() { 64 return null; 65 } 66 getHttpJsonOperationsStub()67 public com.google.api.gax.httpjson.longrunning.stub.OperationsStub getHttpJsonOperationsStub() { 68 return null; 69 } 70 createProductCallable()71 public UnaryCallable<CreateProductRequest, Product> createProductCallable() { 72 throw new UnsupportedOperationException("Not implemented: createProductCallable()"); 73 } 74 getProductCallable()75 public UnaryCallable<GetProductRequest, Product> getProductCallable() { 76 throw new UnsupportedOperationException("Not implemented: getProductCallable()"); 77 } 78 listProductsPagedCallable()79 public UnaryCallable<ListProductsRequest, ListProductsPagedResponse> listProductsPagedCallable() { 80 throw new UnsupportedOperationException("Not implemented: listProductsPagedCallable()"); 81 } 82 listProductsCallable()83 public UnaryCallable<ListProductsRequest, ListProductsResponse> listProductsCallable() { 84 throw new UnsupportedOperationException("Not implemented: listProductsCallable()"); 85 } 86 updateProductCallable()87 public UnaryCallable<UpdateProductRequest, Product> updateProductCallable() { 88 throw new UnsupportedOperationException("Not implemented: updateProductCallable()"); 89 } 90 deleteProductCallable()91 public UnaryCallable<DeleteProductRequest, Empty> deleteProductCallable() { 92 throw new UnsupportedOperationException("Not implemented: deleteProductCallable()"); 93 } 94 95 public OperationCallable<ImportProductsRequest, ImportProductsResponse, ImportMetadata> importProductsOperationCallable()96 importProductsOperationCallable() { 97 throw new UnsupportedOperationException("Not implemented: importProductsOperationCallable()"); 98 } 99 importProductsCallable()100 public UnaryCallable<ImportProductsRequest, Operation> importProductsCallable() { 101 throw new UnsupportedOperationException("Not implemented: importProductsCallable()"); 102 } 103 104 public OperationCallable<SetInventoryRequest, SetInventoryResponse, SetInventoryMetadata> setInventoryOperationCallable()105 setInventoryOperationCallable() { 106 throw new UnsupportedOperationException("Not implemented: setInventoryOperationCallable()"); 107 } 108 setInventoryCallable()109 public UnaryCallable<SetInventoryRequest, Operation> setInventoryCallable() { 110 throw new UnsupportedOperationException("Not implemented: setInventoryCallable()"); 111 } 112 113 public OperationCallable< 114 AddFulfillmentPlacesRequest, AddFulfillmentPlacesResponse, AddFulfillmentPlacesMetadata> addFulfillmentPlacesOperationCallable()115 addFulfillmentPlacesOperationCallable() { 116 throw new UnsupportedOperationException( 117 "Not implemented: addFulfillmentPlacesOperationCallable()"); 118 } 119 addFulfillmentPlacesCallable()120 public UnaryCallable<AddFulfillmentPlacesRequest, Operation> addFulfillmentPlacesCallable() { 121 throw new UnsupportedOperationException("Not implemented: addFulfillmentPlacesCallable()"); 122 } 123 124 public OperationCallable< 125 RemoveFulfillmentPlacesRequest, 126 RemoveFulfillmentPlacesResponse, 127 RemoveFulfillmentPlacesMetadata> removeFulfillmentPlacesOperationCallable()128 removeFulfillmentPlacesOperationCallable() { 129 throw new UnsupportedOperationException( 130 "Not implemented: removeFulfillmentPlacesOperationCallable()"); 131 } 132 133 public UnaryCallable<RemoveFulfillmentPlacesRequest, Operation> removeFulfillmentPlacesCallable()134 removeFulfillmentPlacesCallable() { 135 throw new UnsupportedOperationException("Not implemented: removeFulfillmentPlacesCallable()"); 136 } 137 138 public OperationCallable< 139 AddLocalInventoriesRequest, AddLocalInventoriesResponse, AddLocalInventoriesMetadata> addLocalInventoriesOperationCallable()140 addLocalInventoriesOperationCallable() { 141 throw new UnsupportedOperationException( 142 "Not implemented: addLocalInventoriesOperationCallable()"); 143 } 144 addLocalInventoriesCallable()145 public UnaryCallable<AddLocalInventoriesRequest, Operation> addLocalInventoriesCallable() { 146 throw new UnsupportedOperationException("Not implemented: addLocalInventoriesCallable()"); 147 } 148 149 public OperationCallable< 150 RemoveLocalInventoriesRequest, 151 RemoveLocalInventoriesResponse, 152 RemoveLocalInventoriesMetadata> removeLocalInventoriesOperationCallable()153 removeLocalInventoriesOperationCallable() { 154 throw new UnsupportedOperationException( 155 "Not implemented: removeLocalInventoriesOperationCallable()"); 156 } 157 removeLocalInventoriesCallable()158 public UnaryCallable<RemoveLocalInventoriesRequest, Operation> removeLocalInventoriesCallable() { 159 throw new UnsupportedOperationException("Not implemented: removeLocalInventoriesCallable()"); 160 } 161 162 @Override close()163 public abstract void close(); 164 } 165