Send feedback
Class ProductServiceStubSettings.Builder (2.3.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.3.0 keyboard_arrow_down
public static class ProductServiceStubSettings . Builder extends StubSettings . Builder<ProductServiceStubSettings , ProductServiceStubSettings . Builder >
Builder for ProductServiceStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder ( ClientContext clientContext )
Parameter
Builder(ProductServiceStubSettings settings)
protected Builder ( ProductServiceStubSettings settings )
Parameter
Methods
addFulfillmentPlacesOperationSettings()
public OperationCallSettings . Builder<AddFulfillmentPlacesRequest , AddFulfillmentPlacesResponse , AddFulfillmentPlacesMetadata > addFulfillmentPlacesOperationSettings ()
Returns the builder for the settings used for calls to addFulfillmentPlaces.
Returns
addFulfillmentPlacesSettings()
public UnaryCallSettings . Builder<AddFulfillmentPlacesRequest , Operation > addFulfillmentPlacesSettings ()
Returns the builder for the settings used for calls to addFulfillmentPlaces.
Returns
addLocalInventoriesOperationSettings()
public OperationCallSettings . Builder<AddLocalInventoriesRequest , AddLocalInventoriesResponse , AddLocalInventoriesMetadata > addLocalInventoriesOperationSettings ()
Returns the builder for the settings used for calls to addLocalInventories.
Returns
addLocalInventoriesSettings()
public UnaryCallSettings . Builder<AddLocalInventoriesRequest , Operation > addLocalInventoriesSettings ()
Returns the builder for the settings used for calls to addLocalInventories.
Returns
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public ProductServiceStubSettings . 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.
Parameter
Returns
build()
public ProductServiceStubSettings build ()
Returns
Overrides
Exceptions
createProductSettings()
public UnaryCallSettings . Builder<CreateProductRequest , Product > createProductSettings ()
Returns the builder for the settings used for calls to createProduct.
Returns
deleteProductSettings()
public UnaryCallSettings . Builder<DeleteProductRequest , Empty > deleteProductSettings ()
Returns the builder for the settings used for calls to deleteProduct.
Returns
getProductSettings()
public UnaryCallSettings . Builder<GetProductRequest , Product > getProductSettings ()
Returns the builder for the settings used for calls to getProduct.
Returns
importProductsOperationSettings()
public OperationCallSettings . Builder<ImportProductsRequest , ImportProductsResponse , ImportMetadata > importProductsOperationSettings ()
Returns the builder for the settings used for calls to importProducts.
Returns
importProductsSettings()
public UnaryCallSettings . Builder<ImportProductsRequest , Operation > importProductsSettings ()
Returns the builder for the settings used for calls to importProducts.
Returns
listProductsSettings()
public PagedCallSettings . Builder<ListProductsRequest , ListProductsResponse , ProductServiceClient . ListProductsPagedResponse > listProductsSettings ()
Returns the builder for the settings used for calls to listProducts.
Returns
purgeProductsOperationSettings()
public OperationCallSettings . Builder<PurgeProductsRequest , PurgeProductsResponse , PurgeProductsMetadata > purgeProductsOperationSettings ()
Returns the builder for the settings used for calls to purgeProducts.
Returns
purgeProductsSettings()
public UnaryCallSettings . Builder<PurgeProductsRequest , Operation > purgeProductsSettings ()
Returns the builder for the settings used for calls to purgeProducts.
Returns
removeFulfillmentPlacesOperationSettings()
public OperationCallSettings . Builder<RemoveFulfillmentPlacesRequest , RemoveFulfillmentPlacesResponse , RemoveFulfillmentPlacesMetadata > removeFulfillmentPlacesOperationSettings ()
Returns the builder for the settings used for calls to removeFulfillmentPlaces.
Returns
removeFulfillmentPlacesSettings()
public UnaryCallSettings . Builder<RemoveFulfillmentPlacesRequest , Operation > removeFulfillmentPlacesSettings ()
Returns the builder for the settings used for calls to removeFulfillmentPlaces.
Returns
removeLocalInventoriesOperationSettings()
public OperationCallSettings . Builder<RemoveLocalInventoriesRequest , RemoveLocalInventoriesResponse , RemoveLocalInventoriesMetadata > removeLocalInventoriesOperationSettings ()
Returns the builder for the settings used for calls to removeLocalInventories.
Returns
removeLocalInventoriesSettings()
public UnaryCallSettings . Builder<RemoveLocalInventoriesRequest , Operation > removeLocalInventoriesSettings ()
Returns the builder for the settings used for calls to removeLocalInventories.
Returns
setInventoryOperationSettings()
public OperationCallSettings . Builder<SetInventoryRequest , SetInventoryResponse , SetInventoryMetadata > setInventoryOperationSettings ()
Returns the builder for the settings used for calls to setInventory.
Returns
setInventorySettings()
public UnaryCallSettings . Builder<SetInventoryRequest , Operation > setInventorySettings ()
Returns the builder for the settings used for calls to setInventory.
Returns
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings . Builder <? , ? >> unaryMethodSettingsBuilders ()
Returns
Type Description com.google.common.collect.ImmutableList <Builder <? ,? >>
updateProductSettings()
public UnaryCallSettings . Builder<UpdateProductRequest , Product > updateProductSettings ()
Returns the builder for the settings used for calls to updateProduct.
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-06 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-06 UTC."],[],[]]