Class ProductSearchStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<ProductSearchStubSettings,ProductSearchStubSettings.Builder>
-
- com.google.cloud.vision.v1p4beta1.stub.ProductSearchStubSettings.Builder
-
- Enclosing class:
- ProductSearchStubSettings
public static class ProductSearchStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<ProductSearchStubSettings,ProductSearchStubSettings.Builder>
Builder for ProductSearchStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(ProductSearchStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.api.gax.rpc.UnaryCallSettings.Builder<AddProductToProductSetRequest,com.google.protobuf.Empty>
addProductToProductSetSettings()
Returns the builder for the settings used for calls to addProductToProductSet.ProductSearchStubSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.ProductSearchStubSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateProductSetRequest,ProductSet>
createProductSetSettings()
Returns the builder for the settings used for calls to createProductSet.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateProductRequest,Product>
createProductSettings()
Returns the builder for the settings used for calls to createProduct.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateReferenceImageRequest,ReferenceImage>
createReferenceImageSettings()
Returns the builder for the settings used for calls to createReferenceImage.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteProductSetRequest,com.google.protobuf.Empty>
deleteProductSetSettings()
Returns the builder for the settings used for calls to deleteProductSet.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteProductRequest,com.google.protobuf.Empty>
deleteProductSettings()
Returns the builder for the settings used for calls to deleteProduct.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteReferenceImageRequest,com.google.protobuf.Empty>
deleteReferenceImageSettings()
Returns the builder for the settings used for calls to deleteReferenceImage.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetProductSetRequest,ProductSet>
getProductSetSettings()
Returns the builder for the settings used for calls to getProductSet.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetProductRequest,Product>
getProductSettings()
Returns the builder for the settings used for calls to getProduct.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetReferenceImageRequest,ReferenceImage>
getReferenceImageSettings()
Returns the builder for the settings used for calls to getReferenceImage.com.google.api.gax.rpc.OperationCallSettings.Builder<ImportProductSetsRequest,ImportProductSetsResponse,BatchOperationMetadata>
importProductSetsOperationSettings()
Returns the builder for the settings used for calls to importProductSets.com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportProductSetsRequest,com.google.longrunning.Operation>
importProductSetsSettings()
Returns the builder for the settings used for calls to importProductSets.com.google.api.gax.rpc.PagedCallSettings.Builder<ListProductSetsRequest,ListProductSetsResponse,ProductSearchClient.ListProductSetsPagedResponse>
listProductSetsSettings()
Returns the builder for the settings used for calls to listProductSets.com.google.api.gax.rpc.PagedCallSettings.Builder<ListProductsInProductSetRequest,ListProductsInProductSetResponse,ProductSearchClient.ListProductsInProductSetPagedResponse>
listProductsInProductSetSettings()
Returns the builder for the settings used for calls to listProductsInProductSet.com.google.api.gax.rpc.PagedCallSettings.Builder<ListProductsRequest,ListProductsResponse,ProductSearchClient.ListProductsPagedResponse>
listProductsSettings()
Returns the builder for the settings used for calls to listProducts.com.google.api.gax.rpc.PagedCallSettings.Builder<ListReferenceImagesRequest,ListReferenceImagesResponse,ProductSearchClient.ListReferenceImagesPagedResponse>
listReferenceImagesSettings()
Returns the builder for the settings used for calls to listReferenceImages.com.google.api.gax.rpc.OperationCallSettings.Builder<PurgeProductsRequest,com.google.protobuf.Empty,BatchOperationMetadata>
purgeProductsOperationSettings()
Returns the builder for the settings used for calls to purgeProducts.com.google.api.gax.rpc.UnaryCallSettings.Builder<PurgeProductsRequest,com.google.longrunning.Operation>
purgeProductsSettings()
Returns the builder for the settings used for calls to purgeProducts.com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveProductFromProductSetRequest,com.google.protobuf.Empty>
removeProductFromProductSetSettings()
Returns the builder for the settings used for calls to removeProductFromProductSet.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateProductSetRequest,ProductSet>
updateProductSetSettings()
Returns the builder for the settings used for calls to updateProductSet.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateProductRequest,Product>
updateProductSettings()
Returns the builder for the settings used for calls to updateProduct.-
Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(ProductSearchStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public ProductSearchStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
createProductSetSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateProductSetRequest,ProductSet> createProductSetSettings()
Returns the builder for the settings used for calls to createProductSet.
-
listProductSetsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListProductSetsRequest,ListProductSetsResponse,ProductSearchClient.ListProductSetsPagedResponse> listProductSetsSettings()
Returns the builder for the settings used for calls to listProductSets.
-
getProductSetSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetProductSetRequest,ProductSet> getProductSetSettings()
Returns the builder for the settings used for calls to getProductSet.
-
updateProductSetSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateProductSetRequest,ProductSet> updateProductSetSettings()
Returns the builder for the settings used for calls to updateProductSet.
-
deleteProductSetSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteProductSetRequest,com.google.protobuf.Empty> deleteProductSetSettings()
Returns the builder for the settings used for calls to deleteProductSet.
-
createProductSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateProductRequest,Product> createProductSettings()
Returns the builder for the settings used for calls to createProduct.
-
listProductsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListProductsRequest,ListProductsResponse,ProductSearchClient.ListProductsPagedResponse> listProductsSettings()
Returns the builder for the settings used for calls to listProducts.
-
getProductSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetProductRequest,Product> getProductSettings()
Returns the builder for the settings used for calls to getProduct.
-
updateProductSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateProductRequest,Product> updateProductSettings()
Returns the builder for the settings used for calls to updateProduct.
-
deleteProductSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteProductRequest,com.google.protobuf.Empty> deleteProductSettings()
Returns the builder for the settings used for calls to deleteProduct.
-
createReferenceImageSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateReferenceImageRequest,ReferenceImage> createReferenceImageSettings()
Returns the builder for the settings used for calls to createReferenceImage.
-
deleteReferenceImageSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteReferenceImageRequest,com.google.protobuf.Empty> deleteReferenceImageSettings()
Returns the builder for the settings used for calls to deleteReferenceImage.
-
listReferenceImagesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListReferenceImagesRequest,ListReferenceImagesResponse,ProductSearchClient.ListReferenceImagesPagedResponse> listReferenceImagesSettings()
Returns the builder for the settings used for calls to listReferenceImages.
-
getReferenceImageSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetReferenceImageRequest,ReferenceImage> getReferenceImageSettings()
Returns the builder for the settings used for calls to getReferenceImage.
-
addProductToProductSetSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<AddProductToProductSetRequest,com.google.protobuf.Empty> addProductToProductSetSettings()
Returns the builder for the settings used for calls to addProductToProductSet.
-
removeProductFromProductSetSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveProductFromProductSetRequest,com.google.protobuf.Empty> removeProductFromProductSetSettings()
Returns the builder for the settings used for calls to removeProductFromProductSet.
-
listProductsInProductSetSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListProductsInProductSetRequest,ListProductsInProductSetResponse,ProductSearchClient.ListProductsInProductSetPagedResponse> listProductsInProductSetSettings()
Returns the builder for the settings used for calls to listProductsInProductSet.
-
importProductSetsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportProductSetsRequest,com.google.longrunning.Operation> importProductSetsSettings()
Returns the builder for the settings used for calls to importProductSets.
-
importProductSetsOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<ImportProductSetsRequest,ImportProductSetsResponse,BatchOperationMetadata> importProductSetsOperationSettings()
Returns the builder for the settings used for calls to importProductSets.
-
purgeProductsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<PurgeProductsRequest,com.google.longrunning.Operation> purgeProductsSettings()
Returns the builder for the settings used for calls to purgeProducts.
-
purgeProductsOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<PurgeProductsRequest,com.google.protobuf.Empty,BatchOperationMetadata> purgeProductsOperationSettings()
Returns the builder for the settings used for calls to purgeProducts.
-
build
public ProductSearchStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<ProductSearchStubSettings,ProductSearchStubSettings.Builder>
- Throws:
IOException
-
-