Package com.google.cloud.retail.v2.stub
Class ProductServiceStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<ProductServiceStubSettings,ProductServiceStubSettings.Builder>
-
- com.google.cloud.retail.v2.stub.ProductServiceStubSettings.Builder
-
- Enclosing class:
- ProductServiceStubSettings
public static class ProductServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<ProductServiceStubSettings,ProductServiceStubSettings.Builder>
Builder for ProductServiceStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(ProductServiceStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.api.gax.rpc.OperationCallSettings.Builder<AddFulfillmentPlacesRequest,AddFulfillmentPlacesResponse,AddFulfillmentPlacesMetadata>
addFulfillmentPlacesOperationSettings()
Returns the builder for the settings used for calls to addFulfillmentPlaces.com.google.api.gax.rpc.UnaryCallSettings.Builder<AddFulfillmentPlacesRequest,com.google.longrunning.Operation>
addFulfillmentPlacesSettings()
Returns the builder for the settings used for calls to addFulfillmentPlaces.com.google.api.gax.rpc.OperationCallSettings.Builder<AddLocalInventoriesRequest,AddLocalInventoriesResponse,AddLocalInventoriesMetadata>
addLocalInventoriesOperationSettings()
Returns the builder for the settings used for calls to addLocalInventories.com.google.api.gax.rpc.UnaryCallSettings.Builder<AddLocalInventoriesRequest,com.google.longrunning.Operation>
addLocalInventoriesSettings()
Returns the builder for the settings used for calls to addLocalInventories.ProductServiceStubSettings.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.ProductServiceStubSettings
build()
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<DeleteProductRequest,com.google.protobuf.Empty>
deleteProductSettings()
Returns the builder for the settings used for calls to deleteProduct.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.OperationCallSettings.Builder<ImportProductsRequest,ImportProductsResponse,ImportMetadata>
importProductsOperationSettings()
Returns the builder for the settings used for calls to importProducts.com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportProductsRequest,com.google.longrunning.Operation>
importProductsSettings()
Returns the builder for the settings used for calls to importProducts.com.google.api.gax.rpc.PagedCallSettings.Builder<ListProductsRequest,ListProductsResponse,ProductServiceClient.ListProductsPagedResponse>
listProductsSettings()
Returns the builder for the settings used for calls to listProducts.com.google.api.gax.rpc.OperationCallSettings.Builder<RemoveFulfillmentPlacesRequest,RemoveFulfillmentPlacesResponse,RemoveFulfillmentPlacesMetadata>
removeFulfillmentPlacesOperationSettings()
Returns the builder for the settings used for calls to removeFulfillmentPlaces.com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveFulfillmentPlacesRequest,com.google.longrunning.Operation>
removeFulfillmentPlacesSettings()
Returns the builder for the settings used for calls to removeFulfillmentPlaces.com.google.api.gax.rpc.OperationCallSettings.Builder<RemoveLocalInventoriesRequest,RemoveLocalInventoriesResponse,RemoveLocalInventoriesMetadata>
removeLocalInventoriesOperationSettings()
Returns the builder for the settings used for calls to removeLocalInventories.com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveLocalInventoriesRequest,com.google.longrunning.Operation>
removeLocalInventoriesSettings()
Returns the builder for the settings used for calls to removeLocalInventories.com.google.api.gax.rpc.OperationCallSettings.Builder<SetInventoryRequest,SetInventoryResponse,SetInventoryMetadata>
setInventoryOperationSettings()
Returns the builder for the settings used for calls to setInventory.com.google.api.gax.rpc.UnaryCallSettings.Builder<SetInventoryRequest,com.google.longrunning.Operation>
setInventorySettings()
Returns the builder for the settings used for calls to setInventory.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
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(ProductServiceStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public ProductServiceStubSettings.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()
-
createProductSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateProductRequest,Product> createProductSettings()
Returns the builder for the settings used for calls to createProduct.
-
getProductSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetProductRequest,Product> getProductSettings()
Returns the builder for the settings used for calls to getProduct.
-
listProductsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListProductsRequest,ListProductsResponse,ProductServiceClient.ListProductsPagedResponse> listProductsSettings()
Returns the builder for the settings used for calls to listProducts.
-
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.
-
importProductsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportProductsRequest,com.google.longrunning.Operation> importProductsSettings()
Returns the builder for the settings used for calls to importProducts.
-
importProductsOperationSettings
@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<ImportProductsRequest,ImportProductsResponse,ImportMetadata> importProductsOperationSettings()
Returns the builder for the settings used for calls to importProducts.
-
setInventorySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetInventoryRequest,com.google.longrunning.Operation> setInventorySettings()
Returns the builder for the settings used for calls to setInventory.
-
setInventoryOperationSettings
@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<SetInventoryRequest,SetInventoryResponse,SetInventoryMetadata> setInventoryOperationSettings()
Returns the builder for the settings used for calls to setInventory.
-
addFulfillmentPlacesSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<AddFulfillmentPlacesRequest,com.google.longrunning.Operation> addFulfillmentPlacesSettings()
Returns the builder for the settings used for calls to addFulfillmentPlaces.
-
addFulfillmentPlacesOperationSettings
@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<AddFulfillmentPlacesRequest,AddFulfillmentPlacesResponse,AddFulfillmentPlacesMetadata> addFulfillmentPlacesOperationSettings()
Returns the builder for the settings used for calls to addFulfillmentPlaces.
-
removeFulfillmentPlacesSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveFulfillmentPlacesRequest,com.google.longrunning.Operation> removeFulfillmentPlacesSettings()
Returns the builder for the settings used for calls to removeFulfillmentPlaces.
-
removeFulfillmentPlacesOperationSettings
@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<RemoveFulfillmentPlacesRequest,RemoveFulfillmentPlacesResponse,RemoveFulfillmentPlacesMetadata> removeFulfillmentPlacesOperationSettings()
Returns the builder for the settings used for calls to removeFulfillmentPlaces.
-
addLocalInventoriesSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<AddLocalInventoriesRequest,com.google.longrunning.Operation> addLocalInventoriesSettings()
Returns the builder for the settings used for calls to addLocalInventories.
-
addLocalInventoriesOperationSettings
@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<AddLocalInventoriesRequest,AddLocalInventoriesResponse,AddLocalInventoriesMetadata> addLocalInventoriesOperationSettings()
Returns the builder for the settings used for calls to addLocalInventories.
-
removeLocalInventoriesSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveLocalInventoriesRequest,com.google.longrunning.Operation> removeLocalInventoriesSettings()
Returns the builder for the settings used for calls to removeLocalInventories.
-
removeLocalInventoriesOperationSettings
@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<RemoveLocalInventoriesRequest,RemoveLocalInventoriesResponse,RemoveLocalInventoriesMetadata> removeLocalInventoriesOperationSettings()
Returns the builder for the settings used for calls to removeLocalInventories.
-
build
public ProductServiceStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<ProductServiceStubSettings,ProductServiceStubSettings.Builder>
- Throws:
IOException
-
-