public static class ProductSearchStubSettings.Builder extends StubSettings.Builder<ProductSearchStubSettings,ProductSearchStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(ProductSearchStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
UnaryCallSettings.Builder<com.google.cloud.vision.v1p4beta1.AddProductToProductSetRequest,Empty> |
addProductToProductSetSettings()
Returns the builder for the settings used for calls to addProductToProductSet.
|
ProductSearchStubSettings.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.
|
ProductSearchStubSettings |
build() |
UnaryCallSettings.Builder<com.google.cloud.vision.v1p4beta1.CreateProductSetRequest,com.google.cloud.vision.v1p4beta1.ProductSet> |
createProductSetSettings()
Returns the builder for the settings used for calls to createProductSet.
|
UnaryCallSettings.Builder<com.google.cloud.vision.v1p4beta1.CreateProductRequest,com.google.cloud.vision.v1p4beta1.Product> |
createProductSettings()
Returns the builder for the settings used for calls to createProduct.
|
UnaryCallSettings.Builder<com.google.cloud.vision.v1p4beta1.CreateReferenceImageRequest,com.google.cloud.vision.v1p4beta1.ReferenceImage> |
createReferenceImageSettings()
Returns the builder for the settings used for calls to createReferenceImage.
|
UnaryCallSettings.Builder<com.google.cloud.vision.v1p4beta1.DeleteProductSetRequest,Empty> |
deleteProductSetSettings()
Returns the builder for the settings used for calls to deleteProductSet.
|
UnaryCallSettings.Builder<com.google.cloud.vision.v1p4beta1.DeleteProductRequest,Empty> |
deleteProductSettings()
Returns the builder for the settings used for calls to deleteProduct.
|
UnaryCallSettings.Builder<com.google.cloud.vision.v1p4beta1.DeleteReferenceImageRequest,Empty> |
deleteReferenceImageSettings()
Returns the builder for the settings used for calls to deleteReferenceImage.
|
UnaryCallSettings.Builder<com.google.cloud.vision.v1p4beta1.GetProductSetRequest,com.google.cloud.vision.v1p4beta1.ProductSet> |
getProductSetSettings()
Returns the builder for the settings used for calls to getProductSet.
|
UnaryCallSettings.Builder<com.google.cloud.vision.v1p4beta1.GetProductRequest,com.google.cloud.vision.v1p4beta1.Product> |
getProductSettings()
Returns the builder for the settings used for calls to getProduct.
|
UnaryCallSettings.Builder<com.google.cloud.vision.v1p4beta1.GetReferenceImageRequest,com.google.cloud.vision.v1p4beta1.ReferenceImage> |
getReferenceImageSettings()
Returns the builder for the settings used for calls to getReferenceImage.
|
OperationCallSettings.Builder<com.google.cloud.vision.v1p4beta1.ImportProductSetsRequest,com.google.cloud.vision.v1p4beta1.ImportProductSetsResponse,com.google.cloud.vision.v1p4beta1.BatchOperationMetadata> |
importProductSetsOperationSettings()
Returns the builder for the settings used for calls to importProductSets.
|
UnaryCallSettings.Builder<com.google.cloud.vision.v1p4beta1.ImportProductSetsRequest,Operation> |
importProductSetsSettings()
Returns the builder for the settings used for calls to importProductSets.
|
PagedCallSettings.Builder<com.google.cloud.vision.v1p4beta1.ListProductSetsRequest,com.google.cloud.vision.v1p4beta1.ListProductSetsResponse,ProductSearchClient.ListProductSetsPagedResponse> |
listProductSetsSettings()
Returns the builder for the settings used for calls to listProductSets.
|
PagedCallSettings.Builder<com.google.cloud.vision.v1p4beta1.ListProductsInProductSetRequest,com.google.cloud.vision.v1p4beta1.ListProductsInProductSetResponse,ProductSearchClient.ListProductsInProductSetPagedResponse> |
listProductsInProductSetSettings()
Returns the builder for the settings used for calls to listProductsInProductSet.
|
PagedCallSettings.Builder<com.google.cloud.vision.v1p4beta1.ListProductsRequest,com.google.cloud.vision.v1p4beta1.ListProductsResponse,ProductSearchClient.ListProductsPagedResponse> |
listProductsSettings()
Returns the builder for the settings used for calls to listProducts.
|
PagedCallSettings.Builder<com.google.cloud.vision.v1p4beta1.ListReferenceImagesRequest,com.google.cloud.vision.v1p4beta1.ListReferenceImagesResponse,ProductSearchClient.ListReferenceImagesPagedResponse> |
listReferenceImagesSettings()
Returns the builder for the settings used for calls to listReferenceImages.
|
UnaryCallSettings.Builder<com.google.cloud.vision.v1p4beta1.RemoveProductFromProductSetRequest,Empty> |
removeProductFromProductSetSettings()
Returns the builder for the settings used for calls to removeProductFromProductSet.
|
com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
UnaryCallSettings.Builder<com.google.cloud.vision.v1p4beta1.UpdateProductSetRequest,com.google.cloud.vision.v1p4beta1.ProductSet> |
updateProductSetSettings()
Returns the builder for the settings used for calls to updateProductSet.
|
UnaryCallSettings.Builder<com.google.cloud.vision.v1p4beta1.UpdateProductRequest,com.google.cloud.vision.v1p4beta1.Product> |
updateProductSettings()
Returns the builder for the settings used for calls to updateProduct.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(ProductSearchStubSettings settings)
public ProductSearchStubSettings.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 com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public UnaryCallSettings.Builder<com.google.cloud.vision.v1p4beta1.CreateProductSetRequest,com.google.cloud.vision.v1p4beta1.ProductSet> createProductSetSettings()
public PagedCallSettings.Builder<com.google.cloud.vision.v1p4beta1.ListProductSetsRequest,com.google.cloud.vision.v1p4beta1.ListProductSetsResponse,ProductSearchClient.ListProductSetsPagedResponse> listProductSetsSettings()
public UnaryCallSettings.Builder<com.google.cloud.vision.v1p4beta1.GetProductSetRequest,com.google.cloud.vision.v1p4beta1.ProductSet> getProductSetSettings()
public UnaryCallSettings.Builder<com.google.cloud.vision.v1p4beta1.UpdateProductSetRequest,com.google.cloud.vision.v1p4beta1.ProductSet> updateProductSetSettings()
public UnaryCallSettings.Builder<com.google.cloud.vision.v1p4beta1.DeleteProductSetRequest,Empty> deleteProductSetSettings()
public UnaryCallSettings.Builder<com.google.cloud.vision.v1p4beta1.CreateProductRequest,com.google.cloud.vision.v1p4beta1.Product> createProductSettings()
public PagedCallSettings.Builder<com.google.cloud.vision.v1p4beta1.ListProductsRequest,com.google.cloud.vision.v1p4beta1.ListProductsResponse,ProductSearchClient.ListProductsPagedResponse> listProductsSettings()
public UnaryCallSettings.Builder<com.google.cloud.vision.v1p4beta1.GetProductRequest,com.google.cloud.vision.v1p4beta1.Product> getProductSettings()
public UnaryCallSettings.Builder<com.google.cloud.vision.v1p4beta1.UpdateProductRequest,com.google.cloud.vision.v1p4beta1.Product> updateProductSettings()
public UnaryCallSettings.Builder<com.google.cloud.vision.v1p4beta1.DeleteProductRequest,Empty> deleteProductSettings()
public UnaryCallSettings.Builder<com.google.cloud.vision.v1p4beta1.CreateReferenceImageRequest,com.google.cloud.vision.v1p4beta1.ReferenceImage> createReferenceImageSettings()
public UnaryCallSettings.Builder<com.google.cloud.vision.v1p4beta1.DeleteReferenceImageRequest,Empty> deleteReferenceImageSettings()
public PagedCallSettings.Builder<com.google.cloud.vision.v1p4beta1.ListReferenceImagesRequest,com.google.cloud.vision.v1p4beta1.ListReferenceImagesResponse,ProductSearchClient.ListReferenceImagesPagedResponse> listReferenceImagesSettings()
public UnaryCallSettings.Builder<com.google.cloud.vision.v1p4beta1.GetReferenceImageRequest,com.google.cloud.vision.v1p4beta1.ReferenceImage> getReferenceImageSettings()
public UnaryCallSettings.Builder<com.google.cloud.vision.v1p4beta1.AddProductToProductSetRequest,Empty> addProductToProductSetSettings()
public UnaryCallSettings.Builder<com.google.cloud.vision.v1p4beta1.RemoveProductFromProductSetRequest,Empty> removeProductFromProductSetSettings()
public PagedCallSettings.Builder<com.google.cloud.vision.v1p4beta1.ListProductsInProductSetRequest,com.google.cloud.vision.v1p4beta1.ListProductsInProductSetResponse,ProductSearchClient.ListProductsInProductSetPagedResponse> listProductsInProductSetSettings()
public UnaryCallSettings.Builder<com.google.cloud.vision.v1p4beta1.ImportProductSetsRequest,Operation> importProductSetsSettings()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder<com.google.cloud.vision.v1p4beta1.ImportProductSetsRequest,com.google.cloud.vision.v1p4beta1.ImportProductSetsResponse,com.google.cloud.vision.v1p4beta1.BatchOperationMetadata> importProductSetsOperationSettings()
public ProductSearchStubSettings build() throws IOException
build
in class StubSettings.Builder<ProductSearchStubSettings,ProductSearchStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.