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) |
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, 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)
Note: This method does not support applying settings to streaming methods.
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
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()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder<ImportProductSetsRequest,ImportProductSetsResponse,BatchOperationMetadata> importProductSetsOperationSettings()
public UnaryCallSettings.Builder<PurgeProductsRequest,Operation> purgeProductsSettings()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder<PurgeProductsRequest,Empty,BatchOperationMetadata> purgeProductsOperationSettings()
public ProductSearchStubSettings build() throws IOException
build
in class StubSettings.Builder<ProductSearchStubSettings,ProductSearchStubSettings.Builder>
IOException
Copyright © 2022 Google LLC. All rights reserved.