public static class ProductSearchSettings.Builder extends ClientSettings.Builder<ProductSearchSettings,ProductSearchSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(ProductSearchSettings settings) |
protected |
Builder(ProductSearchStubSettings.Builder stubSettings) |
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(ProductSearchSettings settings)
protected Builder(ProductSearchStubSettings.Builder stubSettings)
public ProductSearchStubSettings.Builder getStubSettingsBuilder()
public ProductSearchSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public UnaryCallSettings.Builder<CreateProductSetRequest,ProductSet> createProductSetSettings()
public PagedCallSettings.Builder<ListProductSetsRequest,ListProductSetsResponse,ProductSearchClient.ListProductSetsPagedResponse> listProductSetsSettings()
public UnaryCallSettings.Builder<GetProductSetRequest,ProductSet> getProductSetSettings()
public UnaryCallSettings.Builder<UpdateProductSetRequest,ProductSet> updateProductSetSettings()
public UnaryCallSettings.Builder<DeleteProductSetRequest,Empty> deleteProductSetSettings()
public UnaryCallSettings.Builder<CreateProductRequest,Product> createProductSettings()
public PagedCallSettings.Builder<ListProductsRequest,ListProductsResponse,ProductSearchClient.ListProductsPagedResponse> listProductsSettings()
public UnaryCallSettings.Builder<GetProductRequest,Product> getProductSettings()
public UnaryCallSettings.Builder<UpdateProductRequest,Product> updateProductSettings()
public UnaryCallSettings.Builder<DeleteProductRequest,Empty> deleteProductSettings()
public UnaryCallSettings.Builder<CreateReferenceImageRequest,ReferenceImage> createReferenceImageSettings()
public UnaryCallSettings.Builder<DeleteReferenceImageRequest,Empty> deleteReferenceImageSettings()
public PagedCallSettings.Builder<ListReferenceImagesRequest,ListReferenceImagesResponse,ProductSearchClient.ListReferenceImagesPagedResponse> listReferenceImagesSettings()
public UnaryCallSettings.Builder<GetReferenceImageRequest,ReferenceImage> getReferenceImageSettings()
public UnaryCallSettings.Builder<AddProductToProductSetRequest,Empty> addProductToProductSetSettings()
public UnaryCallSettings.Builder<RemoveProductFromProductSetRequest,Empty> removeProductFromProductSetSettings()
public PagedCallSettings.Builder<ListProductsInProductSetRequest,ListProductsInProductSetResponse,ProductSearchClient.ListProductsInProductSetPagedResponse> listProductsInProductSetSettings()
public UnaryCallSettings.Builder<ImportProductSetsRequest,Operation> importProductSetsSettings()
public OperationCallSettings.Builder<ImportProductSetsRequest,ImportProductSetsResponse,BatchOperationMetadata> importProductSetsOperationSettings()
public UnaryCallSettings.Builder<PurgeProductsRequest,Operation> purgeProductsSettings()
public OperationCallSettings.Builder<PurgeProductsRequest,Empty,BatchOperationMetadata> purgeProductsOperationSettings()
public ProductSearchSettings build() throws IOException
build
in class ClientSettings.Builder<ProductSearchSettings,ProductSearchSettings.Builder>
IOException
Copyright © 2022 Google LLC. All rights reserved.