1{ 2 "schema": "1.0", 3 "comment": "This file maps proto services/RPCs to the corresponding library clients/methods", 4 "language": "java", 5 "protoPackage": "google.cloud.retail.v2", 6 "libraryPackage": "com.google.cloud.retail.v2", 7 "services": { 8 "CatalogService": { 9 "clients": { 10 "grpc": { 11 "libraryClient": "CatalogServiceClient", 12 "rpcs": { 13 "AddCatalogAttribute": { 14 "methods": ["addCatalogAttribute", "addCatalogAttributeCallable"] 15 }, 16 "GetAttributesConfig": { 17 "methods": ["getAttributesConfig", "getAttributesConfig", "getAttributesConfig", "getAttributesConfigCallable"] 18 }, 19 "GetCompletionConfig": { 20 "methods": ["getCompletionConfig", "getCompletionConfig", "getCompletionConfig", "getCompletionConfigCallable"] 21 }, 22 "GetDefaultBranch": { 23 "methods": ["getDefaultBranch", "getDefaultBranch", "getDefaultBranch", "getDefaultBranchCallable"] 24 }, 25 "ListCatalogs": { 26 "methods": ["listCatalogs", "listCatalogs", "listCatalogs", "listCatalogsPagedCallable", "listCatalogsCallable"] 27 }, 28 "RemoveCatalogAttribute": { 29 "methods": ["removeCatalogAttribute", "removeCatalogAttributeCallable"] 30 }, 31 "ReplaceCatalogAttribute": { 32 "methods": ["replaceCatalogAttribute", "replaceCatalogAttributeCallable"] 33 }, 34 "SetDefaultBranch": { 35 "methods": ["setDefaultBranch", "setDefaultBranch", "setDefaultBranch", "setDefaultBranchCallable"] 36 }, 37 "UpdateAttributesConfig": { 38 "methods": ["updateAttributesConfig", "updateAttributesConfig", "updateAttributesConfigCallable"] 39 }, 40 "UpdateCatalog": { 41 "methods": ["updateCatalog", "updateCatalog", "updateCatalogCallable"] 42 }, 43 "UpdateCompletionConfig": { 44 "methods": ["updateCompletionConfig", "updateCompletionConfig", "updateCompletionConfigCallable"] 45 } 46 } 47 } 48 } 49 }, 50 "CompletionService": { 51 "clients": { 52 "grpc": { 53 "libraryClient": "CompletionServiceClient", 54 "rpcs": { 55 "CompleteQuery": { 56 "methods": ["completeQuery", "completeQueryCallable"] 57 }, 58 "ImportCompletionData": { 59 "methods": ["importCompletionDataAsync", "importCompletionDataOperationCallable", "importCompletionDataCallable"] 60 } 61 } 62 } 63 } 64 }, 65 "ControlService": { 66 "clients": { 67 "grpc": { 68 "libraryClient": "ControlServiceClient", 69 "rpcs": { 70 "CreateControl": { 71 "methods": ["createControl", "createControl", "createControl", "createControlCallable"] 72 }, 73 "DeleteControl": { 74 "methods": ["deleteControl", "deleteControl", "deleteControl", "deleteControlCallable"] 75 }, 76 "GetControl": { 77 "methods": ["getControl", "getControl", "getControl", "getControlCallable"] 78 }, 79 "ListControls": { 80 "methods": ["listControls", "listControls", "listControls", "listControlsPagedCallable", "listControlsCallable"] 81 }, 82 "UpdateControl": { 83 "methods": ["updateControl", "updateControl", "updateControlCallable"] 84 } 85 } 86 } 87 } 88 }, 89 "ModelService": { 90 "clients": { 91 "grpc": { 92 "libraryClient": "ModelServiceClient", 93 "rpcs": { 94 "CreateModel": { 95 "methods": ["createModelAsync", "createModelAsync", "createModelAsync", "createModelOperationCallable", "createModelCallable"] 96 }, 97 "DeleteModel": { 98 "methods": ["deleteModel", "deleteModel", "deleteModel", "deleteModelCallable"] 99 }, 100 "GetModel": { 101 "methods": ["getModel", "getModel", "getModel", "getModelCallable"] 102 }, 103 "ListModels": { 104 "methods": ["listModels", "listModels", "listModels", "listModelsPagedCallable", "listModelsCallable"] 105 }, 106 "PauseModel": { 107 "methods": ["pauseModel", "pauseModel", "pauseModel", "pauseModelCallable"] 108 }, 109 "ResumeModel": { 110 "methods": ["resumeModel", "resumeModel", "resumeModelCallable"] 111 }, 112 "TuneModel": { 113 "methods": ["tuneModelAsync", "tuneModelAsync", "tuneModelAsync", "tuneModelOperationCallable", "tuneModelCallable"] 114 }, 115 "UpdateModel": { 116 "methods": ["updateModel", "updateModel", "updateModelCallable"] 117 } 118 } 119 } 120 } 121 }, 122 "PredictionService": { 123 "clients": { 124 "grpc": { 125 "libraryClient": "PredictionServiceClient", 126 "rpcs": { 127 "Predict": { 128 "methods": ["predict", "predictCallable"] 129 } 130 } 131 } 132 } 133 }, 134 "ProductService": { 135 "clients": { 136 "grpc": { 137 "libraryClient": "ProductServiceClient", 138 "rpcs": { 139 "AddFulfillmentPlaces": { 140 "methods": ["addFulfillmentPlacesAsync", "addFulfillmentPlacesAsync", "addFulfillmentPlacesAsync", "addFulfillmentPlacesOperationCallable", "addFulfillmentPlacesCallable"] 141 }, 142 "AddLocalInventories": { 143 "methods": ["addLocalInventoriesAsync", "addLocalInventoriesAsync", "addLocalInventoriesAsync", "addLocalInventoriesOperationCallable", "addLocalInventoriesCallable"] 144 }, 145 "CreateProduct": { 146 "methods": ["createProduct", "createProduct", "createProduct", "createProductCallable"] 147 }, 148 "DeleteProduct": { 149 "methods": ["deleteProduct", "deleteProduct", "deleteProduct", "deleteProductCallable"] 150 }, 151 "GetProduct": { 152 "methods": ["getProduct", "getProduct", "getProduct", "getProductCallable"] 153 }, 154 "ImportProducts": { 155 "methods": ["importProductsAsync", "importProductsOperationCallable", "importProductsCallable"] 156 }, 157 "ListProducts": { 158 "methods": ["listProducts", "listProducts", "listProducts", "listProductsPagedCallable", "listProductsCallable"] 159 }, 160 "RemoveFulfillmentPlaces": { 161 "methods": ["removeFulfillmentPlacesAsync", "removeFulfillmentPlacesAsync", "removeFulfillmentPlacesAsync", "removeFulfillmentPlacesOperationCallable", "removeFulfillmentPlacesCallable"] 162 }, 163 "RemoveLocalInventories": { 164 "methods": ["removeLocalInventoriesAsync", "removeLocalInventoriesAsync", "removeLocalInventoriesAsync", "removeLocalInventoriesOperationCallable", "removeLocalInventoriesCallable"] 165 }, 166 "SetInventory": { 167 "methods": ["setInventoryAsync", "setInventoryAsync", "setInventoryOperationCallable", "setInventoryCallable"] 168 }, 169 "UpdateProduct": { 170 "methods": ["updateProduct", "updateProduct", "updateProductCallable"] 171 } 172 } 173 } 174 } 175 }, 176 "SearchService": { 177 "clients": { 178 "grpc": { 179 "libraryClient": "SearchServiceClient", 180 "rpcs": { 181 "Search": { 182 "methods": ["search", "searchPagedCallable", "searchCallable"] 183 } 184 } 185 } 186 } 187 }, 188 "ServingConfigService": { 189 "clients": { 190 "grpc": { 191 "libraryClient": "ServingConfigServiceClient", 192 "rpcs": { 193 "AddControl": { 194 "methods": ["addControl", "addControl", "addControl", "addControlCallable"] 195 }, 196 "CreateServingConfig": { 197 "methods": ["createServingConfig", "createServingConfig", "createServingConfig", "createServingConfigCallable"] 198 }, 199 "DeleteServingConfig": { 200 "methods": ["deleteServingConfig", "deleteServingConfig", "deleteServingConfig", "deleteServingConfigCallable"] 201 }, 202 "GetServingConfig": { 203 "methods": ["getServingConfig", "getServingConfig", "getServingConfig", "getServingConfigCallable"] 204 }, 205 "ListServingConfigs": { 206 "methods": ["listServingConfigs", "listServingConfigs", "listServingConfigs", "listServingConfigsPagedCallable", "listServingConfigsCallable"] 207 }, 208 "RemoveControl": { 209 "methods": ["removeControl", "removeControl", "removeControl", "removeControlCallable"] 210 }, 211 "UpdateServingConfig": { 212 "methods": ["updateServingConfig", "updateServingConfig", "updateServingConfigCallable"] 213 } 214 } 215 } 216 } 217 }, 218 "UserEventService": { 219 "clients": { 220 "grpc": { 221 "libraryClient": "UserEventServiceClient", 222 "rpcs": { 223 "CollectUserEvent": { 224 "methods": ["collectUserEvent", "collectUserEventCallable"] 225 }, 226 "ImportUserEvents": { 227 "methods": ["importUserEventsAsync", "importUserEventsOperationCallable", "importUserEventsCallable"] 228 }, 229 "PurgeUserEvents": { 230 "methods": ["purgeUserEventsAsync", "purgeUserEventsOperationCallable", "purgeUserEventsCallable"] 231 }, 232 "RejoinUserEvents": { 233 "methods": ["rejoinUserEventsAsync", "rejoinUserEventsOperationCallable", "rejoinUserEventsCallable"] 234 }, 235 "WriteUserEvent": { 236 "methods": ["writeUserEvent", "writeUserEventCallable"] 237 } 238 } 239 } 240 } 241 } 242 } 243}