public static class ProductSearchStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<ProductSearchStubSettings,ProductSearchStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(ProductSearchStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
com.google.api.gax.rpc.UnaryCallSettings.Builder<AddProductToProductSetRequest,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,Empty> |
deleteProductSetSettings()
Returns the builder for the settings used for calls to deleteProductSet.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteProductRequest,Empty> |
deleteProductSettings()
Returns the builder for the settings used for calls to deleteProduct.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteReferenceImageRequest,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,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,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.
|
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(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(ProductSearchStubSettings settings)
public ProductSearchStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateProductSetRequest,ProductSet> createProductSetSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListProductSetsRequest,ListProductSetsResponse,ProductSearchClient.ListProductSetsPagedResponse> listProductSetsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetProductSetRequest,ProductSet> getProductSetSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateProductSetRequest,ProductSet> updateProductSetSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteProductSetRequest,Empty> deleteProductSetSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateProductRequest,Product> createProductSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListProductsRequest,ListProductsResponse,ProductSearchClient.ListProductsPagedResponse> listProductsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetProductRequest,Product> getProductSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateProductRequest,Product> updateProductSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteProductRequest,Empty> deleteProductSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateReferenceImageRequest,ReferenceImage> createReferenceImageSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteReferenceImageRequest,Empty> deleteReferenceImageSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListReferenceImagesRequest,ListReferenceImagesResponse,ProductSearchClient.ListReferenceImagesPagedResponse> listReferenceImagesSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetReferenceImageRequest,ReferenceImage> getReferenceImageSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<AddProductToProductSetRequest,Empty> addProductToProductSetSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveProductFromProductSetRequest,Empty> removeProductFromProductSetSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListProductsInProductSetRequest,ListProductsInProductSetResponse,ProductSearchClient.ListProductsInProductSetPagedResponse> listProductsInProductSetSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportProductSetsRequest,com.google.longrunning.Operation> importProductSetsSettings()
@BetaApi(value="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()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<PurgeProductsRequest,com.google.longrunning.Operation> purgeProductsSettings()
@BetaApi(value="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,Empty,BatchOperationMetadata> purgeProductsOperationSettings()
public ProductSearchStubSettings build() throws IOException
build
in class com.google.api.gax.rpc.StubSettings.Builder<ProductSearchStubSettings,ProductSearchStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.