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) |
Modifier and Type | Method and Description |
---|---|
UnaryCallSettings.Builder<com.google.cloud.vision.v1.AddProductToProductSetRequest,Empty> |
addProductToProductSetSettings()
Returns the builder for the settings used for calls to addProductToProductSet.
|
ProductSearchSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
ProductSearchSettings |
build() |
UnaryCallSettings.Builder<com.google.cloud.vision.v1.CreateProductSetRequest,com.google.cloud.vision.v1.ProductSet> |
createProductSetSettings()
Returns the builder for the settings used for calls to createProductSet.
|
UnaryCallSettings.Builder<com.google.cloud.vision.v1.CreateProductRequest,com.google.cloud.vision.v1.Product> |
createProductSettings()
Returns the builder for the settings used for calls to createProduct.
|
UnaryCallSettings.Builder<com.google.cloud.vision.v1.CreateReferenceImageRequest,com.google.cloud.vision.v1.ReferenceImage> |
createReferenceImageSettings()
Returns the builder for the settings used for calls to createReferenceImage.
|
UnaryCallSettings.Builder<com.google.cloud.vision.v1.DeleteProductSetRequest,Empty> |
deleteProductSetSettings()
Returns the builder for the settings used for calls to deleteProductSet.
|
UnaryCallSettings.Builder<com.google.cloud.vision.v1.DeleteProductRequest,Empty> |
deleteProductSettings()
Returns the builder for the settings used for calls to deleteProduct.
|
UnaryCallSettings.Builder<com.google.cloud.vision.v1.DeleteReferenceImageRequest,Empty> |
deleteReferenceImageSettings()
Returns the builder for the settings used for calls to deleteReferenceImage.
|
UnaryCallSettings.Builder<com.google.cloud.vision.v1.GetProductSetRequest,com.google.cloud.vision.v1.ProductSet> |
getProductSetSettings()
Returns the builder for the settings used for calls to getProductSet.
|
UnaryCallSettings.Builder<com.google.cloud.vision.v1.GetProductRequest,com.google.cloud.vision.v1.Product> |
getProductSettings()
Returns the builder for the settings used for calls to getProduct.
|
UnaryCallSettings.Builder<com.google.cloud.vision.v1.GetReferenceImageRequest,com.google.cloud.vision.v1.ReferenceImage> |
getReferenceImageSettings()
Returns the builder for the settings used for calls to getReferenceImage.
|
ProductSearchStubSettings.Builder |
getStubSettingsBuilder() |
OperationCallSettings.Builder<com.google.cloud.vision.v1.ImportProductSetsRequest,com.google.cloud.vision.v1.ImportProductSetsResponse,com.google.cloud.vision.v1.BatchOperationMetadata> |
importProductSetsOperationSettings()
Returns the builder for the settings used for calls to importProductSets.
|
UnaryCallSettings.Builder<com.google.cloud.vision.v1.ImportProductSetsRequest,Operation> |
importProductSetsSettings()
Returns the builder for the settings used for calls to importProductSets.
|
PagedCallSettings.Builder<com.google.cloud.vision.v1.ListProductSetsRequest,com.google.cloud.vision.v1.ListProductSetsResponse,ProductSearchClient.ListProductSetsPagedResponse> |
listProductSetsSettings()
Returns the builder for the settings used for calls to listProductSets.
|
PagedCallSettings.Builder<com.google.cloud.vision.v1.ListProductsInProductSetRequest,com.google.cloud.vision.v1.ListProductsInProductSetResponse,ProductSearchClient.ListProductsInProductSetPagedResponse> |
listProductsInProductSetSettings()
Returns the builder for the settings used for calls to listProductsInProductSet.
|
PagedCallSettings.Builder<com.google.cloud.vision.v1.ListProductsRequest,com.google.cloud.vision.v1.ListProductsResponse,ProductSearchClient.ListProductsPagedResponse> |
listProductsSettings()
Returns the builder for the settings used for calls to listProducts.
|
PagedCallSettings.Builder<com.google.cloud.vision.v1.ListReferenceImagesRequest,com.google.cloud.vision.v1.ListReferenceImagesResponse,ProductSearchClient.ListReferenceImagesPagedResponse> |
listReferenceImagesSettings()
Returns the builder for the settings used for calls to listReferenceImages.
|
UnaryCallSettings.Builder<com.google.cloud.vision.v1.RemoveProductFromProductSetRequest,Empty> |
removeProductFromProductSetSettings()
Returns the builder for the settings used for calls to removeProductFromProductSet.
|
UnaryCallSettings.Builder<com.google.cloud.vision.v1.UpdateProductSetRequest,com.google.cloud.vision.v1.ProductSet> |
updateProductSetSettings()
Returns the builder for the settings used for calls to updateProductSet.
|
UnaryCallSettings.Builder<com.google.cloud.vision.v1.UpdateProductRequest,com.google.cloud.vision.v1.Product> |
updateProductSettings()
Returns the builder for the settings used for calls to updateProduct.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, 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) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public UnaryCallSettings.Builder<com.google.cloud.vision.v1.CreateProductRequest,com.google.cloud.vision.v1.Product> createProductSettings()
public PagedCallSettings.Builder<com.google.cloud.vision.v1.ListProductsRequest,com.google.cloud.vision.v1.ListProductsResponse,ProductSearchClient.ListProductsPagedResponse> listProductsSettings()
public UnaryCallSettings.Builder<com.google.cloud.vision.v1.GetProductRequest,com.google.cloud.vision.v1.Product> getProductSettings()
public UnaryCallSettings.Builder<com.google.cloud.vision.v1.UpdateProductRequest,com.google.cloud.vision.v1.Product> updateProductSettings()
public UnaryCallSettings.Builder<com.google.cloud.vision.v1.DeleteProductRequest,Empty> deleteProductSettings()
public PagedCallSettings.Builder<com.google.cloud.vision.v1.ListReferenceImagesRequest,com.google.cloud.vision.v1.ListReferenceImagesResponse,ProductSearchClient.ListReferenceImagesPagedResponse> listReferenceImagesSettings()
public UnaryCallSettings.Builder<com.google.cloud.vision.v1.GetReferenceImageRequest,com.google.cloud.vision.v1.ReferenceImage> getReferenceImageSettings()
public UnaryCallSettings.Builder<com.google.cloud.vision.v1.DeleteReferenceImageRequest,Empty> deleteReferenceImageSettings()
public UnaryCallSettings.Builder<com.google.cloud.vision.v1.CreateReferenceImageRequest,com.google.cloud.vision.v1.ReferenceImage> createReferenceImageSettings()
public UnaryCallSettings.Builder<com.google.cloud.vision.v1.CreateProductSetRequest,com.google.cloud.vision.v1.ProductSet> createProductSetSettings()
public PagedCallSettings.Builder<com.google.cloud.vision.v1.ListProductSetsRequest,com.google.cloud.vision.v1.ListProductSetsResponse,ProductSearchClient.ListProductSetsPagedResponse> listProductSetsSettings()
public UnaryCallSettings.Builder<com.google.cloud.vision.v1.GetProductSetRequest,com.google.cloud.vision.v1.ProductSet> getProductSetSettings()
public UnaryCallSettings.Builder<com.google.cloud.vision.v1.UpdateProductSetRequest,com.google.cloud.vision.v1.ProductSet> updateProductSetSettings()
public UnaryCallSettings.Builder<com.google.cloud.vision.v1.DeleteProductSetRequest,Empty> deleteProductSetSettings()
public UnaryCallSettings.Builder<com.google.cloud.vision.v1.AddProductToProductSetRequest,Empty> addProductToProductSetSettings()
public UnaryCallSettings.Builder<com.google.cloud.vision.v1.RemoveProductFromProductSetRequest,Empty> removeProductFromProductSetSettings()
public PagedCallSettings.Builder<com.google.cloud.vision.v1.ListProductsInProductSetRequest,com.google.cloud.vision.v1.ListProductsInProductSetResponse,ProductSearchClient.ListProductsInProductSetPagedResponse> listProductsInProductSetSettings()
public UnaryCallSettings.Builder<com.google.cloud.vision.v1.ImportProductSetsRequest,Operation> importProductSetsSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings.Builder<com.google.cloud.vision.v1.ImportProductSetsRequest,com.google.cloud.vision.v1.ImportProductSetsResponse,com.google.cloud.vision.v1.BatchOperationMetadata> importProductSetsOperationSettings()
public ProductSearchSettings build() throws IOException
build
in class ClientSettings.Builder<ProductSearchSettings,ProductSearchSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.