Send feedback
Class ProductSearchSettings.Builder (3.10.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.10.0 keyboard_arrow_down
public static class ProductSearchSettings . Builder extends ClientSettings . Builder<ProductSearchSettings , ProductSearchSettings . Builder >
Builder for ProductSearchSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder ( ClientContext clientContext )
Parameter
Builder(ProductSearchSettings settings)
protected Builder ( ProductSearchSettings settings )
Parameter
Builder(ProductSearchStubSettings.Builder stubSettings)
protected Builder ( ProductSearchStubSettings . Builder stubSettings )
Parameter
Methods
addProductToProductSetSettings()
public UnaryCallSettings . Builder<AddProductToProductSetRequest , Empty > addProductToProductSetSettings ()
Returns the builder for the settings used for calls to addProductToProductSet.
Returns
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public ProductSearchSettings . 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 ProductSearchSettings build ()
Returns
Overrides
Exceptions
createProductSetSettings()
public UnaryCallSettings . Builder<CreateProductSetRequest , ProductSet > createProductSetSettings ()
Returns the builder for the settings used for calls to createProductSet.
Returns
createProductSettings()
public UnaryCallSettings . Builder<CreateProductRequest , Product > createProductSettings ()
Returns the builder for the settings used for calls to createProduct.
Returns
createReferenceImageSettings()
public UnaryCallSettings . Builder<CreateReferenceImageRequest , ReferenceImage > createReferenceImageSettings ()
Returns the builder for the settings used for calls to createReferenceImage.
Returns
deleteProductSetSettings()
public UnaryCallSettings . Builder<DeleteProductSetRequest , Empty > deleteProductSetSettings ()
Returns the builder for the settings used for calls to deleteProductSet.
Returns
deleteProductSettings()
public UnaryCallSettings . Builder<DeleteProductRequest , Empty > deleteProductSettings ()
Returns the builder for the settings used for calls to deleteProduct.
Returns
deleteReferenceImageSettings()
public UnaryCallSettings . Builder<DeleteReferenceImageRequest , Empty > deleteReferenceImageSettings ()
Returns the builder for the settings used for calls to deleteReferenceImage.
Returns
getProductSetSettings()
public UnaryCallSettings . Builder<GetProductSetRequest , ProductSet > getProductSetSettings ()
Returns the builder for the settings used for calls to getProductSet.
Returns
getProductSettings()
public UnaryCallSettings . Builder<GetProductRequest , Product > getProductSettings ()
Returns the builder for the settings used for calls to getProduct.
Returns
getReferenceImageSettings()
public UnaryCallSettings . Builder<GetReferenceImageRequest , ReferenceImage > getReferenceImageSettings ()
Returns the builder for the settings used for calls to getReferenceImage.
Returns
getStubSettingsBuilder()
public ProductSearchStubSettings . Builder getStubSettingsBuilder ()
Returns
importProductSetsOperationSettings()
public OperationCallSettings . Builder<ImportProductSetsRequest , ImportProductSetsResponse , BatchOperationMetadata > importProductSetsOperationSettings ()
Returns the builder for the settings used for calls to importProductSets.
Returns
importProductSetsSettings()
public UnaryCallSettings . Builder<ImportProductSetsRequest , Operation > importProductSetsSettings ()
Returns the builder for the settings used for calls to importProductSets.
Returns
listProductSetsSettings()
public PagedCallSettings . Builder<ListProductSetsRequest , ListProductSetsResponse , ProductSearchClient . ListProductSetsPagedResponse > listProductSetsSettings ()
Returns the builder for the settings used for calls to listProductSets.
Returns
listProductsInProductSetSettings()
public PagedCallSettings . Builder<ListProductsInProductSetRequest , ListProductsInProductSetResponse , ProductSearchClient . ListProductsInProductSetPagedResponse > listProductsInProductSetSettings ()
Returns the builder for the settings used for calls to listProductsInProductSet.
Returns
listProductsSettings()
public PagedCallSettings . Builder<ListProductsRequest , ListProductsResponse , ProductSearchClient . ListProductsPagedResponse > listProductsSettings ()
Returns the builder for the settings used for calls to listProducts.
Returns
listReferenceImagesSettings()
public PagedCallSettings . Builder<ListReferenceImagesRequest , ListReferenceImagesResponse , ProductSearchClient . ListReferenceImagesPagedResponse > listReferenceImagesSettings ()
Returns the builder for the settings used for calls to listReferenceImages.
Returns
purgeProductsOperationSettings()
public OperationCallSettings . Builder<PurgeProductsRequest , Empty , BatchOperationMetadata > 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
removeProductFromProductSetSettings()
public UnaryCallSettings . Builder<RemoveProductFromProductSetRequest , Empty > removeProductFromProductSetSettings ()
Returns the builder for the settings used for calls to removeProductFromProductSet.
Returns
updateProductSetSettings()
public UnaryCallSettings . Builder<UpdateProductSetRequest , ProductSet > updateProductSetSettings ()
Returns the builder for the settings used for calls to updateProductSet.
Returns
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-19 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-19 UTC."],[],[]]