Class ProductSearchStubSettings.Builder (3.32.0)

public static class ProductSearchStubSettings.Builder extends StubSettings.Builder<ProductSearchStubSettings,ProductSearchStubSettings.Builder>

Builder for ProductSearchStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ProductSearchStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ProductSearchStubSettings settings)

protected Builder(ProductSearchStubSettings settings)
Parameter
NameDescription
settingsProductSearchStubSettings

Methods

addProductToProductSetSettings()

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

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

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public ProductSearchStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
ProductSearchStubSettings.Builder

build()

public ProductSearchStubSettings build()
Returns
TypeDescription
ProductSearchStubSettings
Overrides
Exceptions
TypeDescription
IOException

createProductSetSettings()

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

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

createProductSettings()

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

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

Returns
TypeDescription
Builder<CreateProductRequest,Product>

createReferenceImageSettings()

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

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

deleteProductSetSettings()

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

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

Returns
TypeDescription
Builder<DeleteProductSetRequest,Empty>

deleteProductSettings()

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

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

Returns
TypeDescription
Builder<DeleteProductRequest,Empty>

deleteReferenceImageSettings()

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

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

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

getProductSetSettings()

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

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

Returns
TypeDescription
Builder<GetProductSetRequest,ProductSet>

getProductSettings()

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

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

Returns
TypeDescription
Builder<GetProductRequest,Product>

getReferenceImageSettings()

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

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

importProductSetsOperationSettings()

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

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

importProductSetsSettings()

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

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

listProductSetsSettings()

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

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

listProductsInProductSetSettings()

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

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

listProductsSettings()

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

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

listReferenceImagesSettings()

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

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

purgeProductsOperationSettings()

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

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

purgeProductsSettings()

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

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

Returns
TypeDescription
Builder<PurgeProductsRequest,Operation>

removeProductFromProductSetSettings()

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

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

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>

updateProductSetSettings()

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

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

updateProductSettings()

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

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

Returns
TypeDescription
Builder<UpdateProductRequest,Product>