Package com.google.cloud.retail.v2beta
Class ProductServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<ProductServiceSettings,ProductServiceSettings.Builder>
com.google.cloud.retail.v2beta.ProductServiceSettings.Builder
- Enclosing class:
- ProductServiceSettings
public static class ProductServiceSettings.Builder
extends ClientSettings.Builder<ProductServiceSettings,ProductServiceSettings.Builder>
Builder for ProductServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(ProductServiceSettings settings) protectedBuilder(ProductServiceStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionOperationCallSettings.Builder<AddFulfillmentPlacesRequest,AddFulfillmentPlacesResponse, AddFulfillmentPlacesMetadata> Returns the builder for the settings used for calls to addFulfillmentPlaces.Returns the builder for the settings used for calls to addFulfillmentPlaces.OperationCallSettings.Builder<AddLocalInventoriesRequest,AddLocalInventoriesResponse, AddLocalInventoriesMetadata> Returns the builder for the settings used for calls to addLocalInventories.Returns the builder for the settings used for calls to addLocalInventories.applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to createProduct.UnaryCallSettings.Builder<DeleteProductRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteProduct.Returns the builder for the settings used for calls to exportProducts.Returns the builder for the settings used for calls to exportProducts.Returns the builder for the settings used for calls to getProduct.Returns the builder for the settings used for calls to importProducts.Returns the builder for the settings used for calls to importProducts.PagedCallSettings.Builder<ListProductsRequest,ListProductsResponse, ProductServiceClient.ListProductsPagedResponse> Returns the builder for the settings used for calls to listProducts.Returns the builder for the settings used for calls to purgeProducts.Returns the builder for the settings used for calls to purgeProducts.OperationCallSettings.Builder<RemoveFulfillmentPlacesRequest,RemoveFulfillmentPlacesResponse, RemoveFulfillmentPlacesMetadata> Returns the builder for the settings used for calls to removeFulfillmentPlaces.Returns the builder for the settings used for calls to removeFulfillmentPlaces.OperationCallSettings.Builder<RemoveLocalInventoriesRequest,RemoveLocalInventoriesResponse, RemoveLocalInventoriesMetadata> Returns the builder for the settings used for calls to removeLocalInventories.Returns the builder for the settings used for calls to removeLocalInventories.Returns the builder for the settings used for calls to setInventory.Returns the builder for the settings used for calls to setInventory.Returns the builder for the settings used for calls to updateProduct.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public ProductServiceSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.Note: This method does not support applying settings to streaming methods.
-
createProductSettings
Returns the builder for the settings used for calls to createProduct. -
getProductSettings
Returns the builder for the settings used for calls to getProduct. -
listProductsSettings
public PagedCallSettings.Builder<ListProductsRequest,ListProductsResponse, listProductsSettings()ProductServiceClient.ListProductsPagedResponse> Returns the builder for the settings used for calls to listProducts. -
updateProductSettings
Returns the builder for the settings used for calls to updateProduct. -
deleteProductSettings
public UnaryCallSettings.Builder<DeleteProductRequest,com.google.protobuf.Empty> deleteProductSettings()Returns the builder for the settings used for calls to deleteProduct. -
purgeProductsSettings
Returns the builder for the settings used for calls to purgeProducts. -
purgeProductsOperationSettings
public OperationCallSettings.Builder<PurgeProductsRequest,PurgeProductsResponse, purgeProductsOperationSettings()PurgeProductsMetadata> Returns the builder for the settings used for calls to purgeProducts. -
importProductsSettings
Returns the builder for the settings used for calls to importProducts. -
importProductsOperationSettings
public OperationCallSettings.Builder<ImportProductsRequest,ImportProductsResponse, importProductsOperationSettings()ImportMetadata> Returns the builder for the settings used for calls to importProducts. -
exportProductsSettings
Returns the builder for the settings used for calls to exportProducts. -
exportProductsOperationSettings
public OperationCallSettings.Builder<ExportProductsRequest,ExportProductsResponse, exportProductsOperationSettings()ExportMetadata> Returns the builder for the settings used for calls to exportProducts. -
setInventorySettings
Returns the builder for the settings used for calls to setInventory. -
setInventoryOperationSettings
public OperationCallSettings.Builder<SetInventoryRequest,SetInventoryResponse, setInventoryOperationSettings()SetInventoryMetadata> Returns the builder for the settings used for calls to setInventory. -
addFulfillmentPlacesSettings
public UnaryCallSettings.Builder<AddFulfillmentPlacesRequest,Operation> addFulfillmentPlacesSettings()Returns the builder for the settings used for calls to addFulfillmentPlaces. -
addFulfillmentPlacesOperationSettings
public OperationCallSettings.Builder<AddFulfillmentPlacesRequest,AddFulfillmentPlacesResponse, addFulfillmentPlacesOperationSettings()AddFulfillmentPlacesMetadata> Returns the builder for the settings used for calls to addFulfillmentPlaces. -
removeFulfillmentPlacesSettings
public UnaryCallSettings.Builder<RemoveFulfillmentPlacesRequest,Operation> removeFulfillmentPlacesSettings()Returns the builder for the settings used for calls to removeFulfillmentPlaces. -
removeFulfillmentPlacesOperationSettings
public OperationCallSettings.Builder<RemoveFulfillmentPlacesRequest,RemoveFulfillmentPlacesResponse, removeFulfillmentPlacesOperationSettings()RemoveFulfillmentPlacesMetadata> Returns the builder for the settings used for calls to removeFulfillmentPlaces. -
addLocalInventoriesSettings
public UnaryCallSettings.Builder<AddLocalInventoriesRequest,Operation> addLocalInventoriesSettings()Returns the builder for the settings used for calls to addLocalInventories. -
addLocalInventoriesOperationSettings
public OperationCallSettings.Builder<AddLocalInventoriesRequest,AddLocalInventoriesResponse, addLocalInventoriesOperationSettings()AddLocalInventoriesMetadata> Returns the builder for the settings used for calls to addLocalInventories. -
removeLocalInventoriesSettings
public UnaryCallSettings.Builder<RemoveLocalInventoriesRequest,Operation> removeLocalInventoriesSettings()Returns the builder for the settings used for calls to removeLocalInventories. -
removeLocalInventoriesOperationSettings
public OperationCallSettings.Builder<RemoveLocalInventoriesRequest,RemoveLocalInventoriesResponse, removeLocalInventoriesOperationSettings()RemoveLocalInventoriesMetadata> Returns the builder for the settings used for calls to removeLocalInventories. -
build
- Specified by:
buildin classClientSettings.Builder<ProductServiceSettings,ProductServiceSettings.Builder> - Throws:
IOException
-