Class ProductSearchSettings.Builder (3.53.0)

public static class ProductSearchSettings.Builder extends ClientSettings.Builder<ProductSearchSettings,ProductSearchSettings.Builder>

Builder for ProductSearchSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ProductSearchSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ProductSearchSettings settings)

protected Builder(ProductSearchSettings settings)
Parameter
Name Description
settings ProductSearchSettings

Builder(ProductSearchStubSettings.Builder stubSettings)

protected Builder(ProductSearchStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings ProductSearchStubSettings.Builder

Methods

addProductToProductSetSettings()

public UnaryCallSettings.Builder<AddProductToProductSetRequest,Empty> addProductToProductSetSettings()

Returns the builder for the settings used for calls to addProductToProductSet.

Returns
Type Description
Builder<AddProductToProductSetRequest,Empty>

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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
ProductSearchSettings.Builder

build()

public ProductSearchSettings build()
Returns
Type Description
ProductSearchSettings
Overrides
Exceptions
Type Description
IOException

createProductSetSettings()

public UnaryCallSettings.Builder<CreateProductSetRequest,ProductSet> createProductSetSettings()

Returns the builder for the settings used for calls to createProductSet.

Returns
Type Description
Builder<CreateProductSetRequest,ProductSet>

createProductSettings()

public UnaryCallSettings.Builder<CreateProductRequest,Product> createProductSettings()

Returns the builder for the settings used for calls to createProduct.

Returns
Type Description
Builder<CreateProductRequest,Product>

createReferenceImageSettings()

public UnaryCallSettings.Builder<CreateReferenceImageRequest,ReferenceImage> createReferenceImageSettings()

Returns the builder for the settings used for calls to createReferenceImage.

Returns
Type Description
Builder<CreateReferenceImageRequest,ReferenceImage>

deleteProductSetSettings()

public UnaryCallSettings.Builder<DeleteProductSetRequest,Empty> deleteProductSetSettings()

Returns the builder for the settings used for calls to deleteProductSet.

Returns
Type Description
Builder<DeleteProductSetRequest,Empty>

deleteProductSettings()

public UnaryCallSettings.Builder<DeleteProductRequest,Empty> deleteProductSettings()

Returns the builder for the settings used for calls to deleteProduct.

Returns
Type Description
Builder<DeleteProductRequest,Empty>

deleteReferenceImageSettings()

public UnaryCallSettings.Builder<DeleteReferenceImageRequest,Empty> deleteReferenceImageSettings()

Returns the builder for the settings used for calls to deleteReferenceImage.

Returns
Type Description
Builder<DeleteReferenceImageRequest,Empty>

getProductSetSettings()

public UnaryCallSettings.Builder<GetProductSetRequest,ProductSet> getProductSetSettings()

Returns the builder for the settings used for calls to getProductSet.

Returns
Type Description
Builder<GetProductSetRequest,ProductSet>

getProductSettings()

public UnaryCallSettings.Builder<GetProductRequest,Product> getProductSettings()

Returns the builder for the settings used for calls to getProduct.

Returns
Type Description
Builder<GetProductRequest,Product>

getReferenceImageSettings()

public UnaryCallSettings.Builder<GetReferenceImageRequest,ReferenceImage> getReferenceImageSettings()

Returns the builder for the settings used for calls to getReferenceImage.

Returns
Type Description
Builder<GetReferenceImageRequest,ReferenceImage>

getStubSettingsBuilder()

public ProductSearchStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
ProductSearchStubSettings.Builder

importProductSetsOperationSettings()

public OperationCallSettings.Builder<ImportProductSetsRequest,ImportProductSetsResponse,BatchOperationMetadata> importProductSetsOperationSettings()

Returns the builder for the settings used for calls to importProductSets.

Returns
Type Description
Builder<ImportProductSetsRequest,ImportProductSetsResponse,BatchOperationMetadata>

importProductSetsSettings()

public UnaryCallSettings.Builder<ImportProductSetsRequest,Operation> importProductSetsSettings()

Returns the builder for the settings used for calls to importProductSets.

Returns
Type Description
Builder<ImportProductSetsRequest,Operation>

listProductSetsSettings()

public PagedCallSettings.Builder<ListProductSetsRequest,ListProductSetsResponse,ProductSearchClient.ListProductSetsPagedResponse> listProductSetsSettings()

Returns the builder for the settings used for calls to listProductSets.

Returns
Type Description
Builder<ListProductSetsRequest,ListProductSetsResponse,ListProductSetsPagedResponse>

listProductsInProductSetSettings()

public PagedCallSettings.Builder<ListProductsInProductSetRequest,ListProductsInProductSetResponse,ProductSearchClient.ListProductsInProductSetPagedResponse> listProductsInProductSetSettings()

Returns the builder for the settings used for calls to listProductsInProductSet.

Returns
Type Description
Builder<ListProductsInProductSetRequest,ListProductsInProductSetResponse,ListProductsInProductSetPagedResponse>

listProductsSettings()

public PagedCallSettings.Builder<ListProductsRequest,ListProductsResponse,ProductSearchClient.ListProductsPagedResponse> listProductsSettings()

Returns the builder for the settings used for calls to listProducts.

Returns
Type Description
Builder<ListProductsRequest,ListProductsResponse,ListProductsPagedResponse>

listReferenceImagesSettings()

public PagedCallSettings.Builder<ListReferenceImagesRequest,ListReferenceImagesResponse,ProductSearchClient.ListReferenceImagesPagedResponse> listReferenceImagesSettings()

Returns the builder for the settings used for calls to listReferenceImages.

Returns
Type Description
Builder<ListReferenceImagesRequest,ListReferenceImagesResponse,ListReferenceImagesPagedResponse>

purgeProductsOperationSettings()

public OperationCallSettings.Builder<PurgeProductsRequest,Empty,BatchOperationMetadata> purgeProductsOperationSettings()

Returns the builder for the settings used for calls to purgeProducts.

Returns
Type Description
Builder<PurgeProductsRequest,Empty,BatchOperationMetadata>

purgeProductsSettings()

public UnaryCallSettings.Builder<PurgeProductsRequest,Operation> purgeProductsSettings()

Returns the builder for the settings used for calls to purgeProducts.

Returns
Type Description
Builder<PurgeProductsRequest,Operation>

removeProductFromProductSetSettings()

public UnaryCallSettings.Builder<RemoveProductFromProductSetRequest,Empty> removeProductFromProductSetSettings()

Returns the builder for the settings used for calls to removeProductFromProductSet.

Returns
Type Description
Builder<RemoveProductFromProductSetRequest,Empty>

updateProductSetSettings()

public UnaryCallSettings.Builder<UpdateProductSetRequest,ProductSet> updateProductSetSettings()

Returns the builder for the settings used for calls to updateProductSet.

Returns
Type Description
Builder<UpdateProductSetRequest,ProductSet>

updateProductSettings()

public UnaryCallSettings.Builder<UpdateProductRequest,Product> updateProductSettings()

Returns the builder for the settings used for calls to updateProduct.

Returns
Type Description
Builder<UpdateProductRequest,Product>