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 com.google.api.gax.rpc.ClientSettings.Builder<ProductServiceSettings,ProductServiceSettings.Builder>
Builder for ProductServiceSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(ProductServiceSettings settings)
protected
Builder(ProductServiceStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.api.gax.rpc.OperationCallSettings.Builder<AddFulfillmentPlacesRequest,AddFulfillmentPlacesResponse,AddFulfillmentPlacesMetadata>
addFulfillmentPlacesOperationSettings()
Returns the builder for the settings used for calls to addFulfillmentPlaces.com.google.api.gax.rpc.UnaryCallSettings.Builder<AddFulfillmentPlacesRequest,com.google.longrunning.Operation>
addFulfillmentPlacesSettings()
Returns the builder for the settings used for calls to addFulfillmentPlaces.com.google.api.gax.rpc.OperationCallSettings.Builder<AddLocalInventoriesRequest,AddLocalInventoriesResponse,AddLocalInventoriesMetadata>
addLocalInventoriesOperationSettings()
Returns the builder for the settings used for calls to addLocalInventories.com.google.api.gax.rpc.UnaryCallSettings.Builder<AddLocalInventoriesRequest,com.google.longrunning.Operation>
addLocalInventoriesSettings()
Returns the builder for the settings used for calls to addLocalInventories.ProductServiceSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.ProductServiceSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateProductRequest,Product>
createProductSettings()
Returns the builder for the settings used for calls to createProduct.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteProductRequest,com.google.protobuf.Empty>
deleteProductSettings()
Returns the builder for the settings used for calls to deleteProduct.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetProductRequest,Product>
getProductSettings()
Returns the builder for the settings used for calls to getProduct.ProductServiceStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.OperationCallSettings.Builder<ImportProductsRequest,ImportProductsResponse,ImportMetadata>
importProductsOperationSettings()
Returns the builder for the settings used for calls to importProducts.com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportProductsRequest,com.google.longrunning.Operation>
importProductsSettings()
Returns the builder for the settings used for calls to importProducts.com.google.api.gax.rpc.PagedCallSettings.Builder<ListProductsRequest,ListProductsResponse,ProductServiceClient.ListProductsPagedResponse>
listProductsSettings()
Returns the builder for the settings used for calls to listProducts.com.google.api.gax.rpc.OperationCallSettings.Builder<RemoveFulfillmentPlacesRequest,RemoveFulfillmentPlacesResponse,RemoveFulfillmentPlacesMetadata>
removeFulfillmentPlacesOperationSettings()
Returns the builder for the settings used for calls to removeFulfillmentPlaces.com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveFulfillmentPlacesRequest,com.google.longrunning.Operation>
removeFulfillmentPlacesSettings()
Returns the builder for the settings used for calls to removeFulfillmentPlaces.com.google.api.gax.rpc.OperationCallSettings.Builder<RemoveLocalInventoriesRequest,RemoveLocalInventoriesResponse,RemoveLocalInventoriesMetadata>
removeLocalInventoriesOperationSettings()
Returns the builder for the settings used for calls to removeLocalInventories.com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveLocalInventoriesRequest,com.google.longrunning.Operation>
removeLocalInventoriesSettings()
Returns the builder for the settings used for calls to removeLocalInventories.com.google.api.gax.rpc.OperationCallSettings.Builder<SetInventoryRequest,SetInventoryResponse,SetInventoryMetadata>
setInventoryOperationSettings()
Returns the builder for the settings used for calls to setInventory.com.google.api.gax.rpc.UnaryCallSettings.Builder<SetInventoryRequest,com.google.longrunning.Operation>
setInventorySettings()
Returns the builder for the settings used for calls to setInventory.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateProductRequest,Product>
updateProductSettings()
Returns the builder for the settings used for calls to updateProduct.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(ProductServiceSettings settings)
-
Builder
protected Builder(ProductServiceStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public ProductServiceStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public ProductServiceSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateProductRequest,Product> createProductSettings()
Returns the builder for the settings used for calls to createProduct.
-
getProductSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetProductRequest,Product> getProductSettings()
Returns the builder for the settings used for calls to getProduct.
-
listProductsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListProductsRequest,ListProductsResponse,ProductServiceClient.ListProductsPagedResponse> listProductsSettings()
Returns the builder for the settings used for calls to listProducts.
-
updateProductSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateProductRequest,Product> updateProductSettings()
Returns the builder for the settings used for calls to updateProduct.
-
deleteProductSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteProductRequest,com.google.protobuf.Empty> deleteProductSettings()
Returns the builder for the settings used for calls to deleteProduct.
-
importProductsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportProductsRequest,com.google.longrunning.Operation> importProductsSettings()
Returns the builder for the settings used for calls to importProducts.
-
importProductsOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<ImportProductsRequest,ImportProductsResponse,ImportMetadata> importProductsOperationSettings()
Returns the builder for the settings used for calls to importProducts.
-
setInventorySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetInventoryRequest,com.google.longrunning.Operation> setInventorySettings()
Returns the builder for the settings used for calls to setInventory.
-
setInventoryOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<SetInventoryRequest,SetInventoryResponse,SetInventoryMetadata> setInventoryOperationSettings()
Returns the builder for the settings used for calls to setInventory.
-
addFulfillmentPlacesSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<AddFulfillmentPlacesRequest,com.google.longrunning.Operation> addFulfillmentPlacesSettings()
Returns the builder for the settings used for calls to addFulfillmentPlaces.
-
addFulfillmentPlacesOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<AddFulfillmentPlacesRequest,AddFulfillmentPlacesResponse,AddFulfillmentPlacesMetadata> addFulfillmentPlacesOperationSettings()
Returns the builder for the settings used for calls to addFulfillmentPlaces.
-
removeFulfillmentPlacesSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveFulfillmentPlacesRequest,com.google.longrunning.Operation> removeFulfillmentPlacesSettings()
Returns the builder for the settings used for calls to removeFulfillmentPlaces.
-
removeFulfillmentPlacesOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<RemoveFulfillmentPlacesRequest,RemoveFulfillmentPlacesResponse,RemoveFulfillmentPlacesMetadata> removeFulfillmentPlacesOperationSettings()
Returns the builder for the settings used for calls to removeFulfillmentPlaces.
-
addLocalInventoriesSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<AddLocalInventoriesRequest,com.google.longrunning.Operation> addLocalInventoriesSettings()
Returns the builder for the settings used for calls to addLocalInventories.
-
addLocalInventoriesOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<AddLocalInventoriesRequest,AddLocalInventoriesResponse,AddLocalInventoriesMetadata> addLocalInventoriesOperationSettings()
Returns the builder for the settings used for calls to addLocalInventories.
-
removeLocalInventoriesSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveLocalInventoriesRequest,com.google.longrunning.Operation> removeLocalInventoriesSettings()
Returns the builder for the settings used for calls to removeLocalInventories.
-
removeLocalInventoriesOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<RemoveLocalInventoriesRequest,RemoveLocalInventoriesResponse,RemoveLocalInventoriesMetadata> removeLocalInventoriesOperationSettings()
Returns the builder for the settings used for calls to removeLocalInventories.
-
build
public ProductServiceSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<ProductServiceSettings,ProductServiceSettings.Builder>
- Throws:
IOException
-
-