public static class ProductServiceStubSettings.Builder extends StubSettings.Builder<ProductServiceStubSettings,ProductServiceStubSettings.Builder>
Builder for ProductServiceStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(ProductServiceStubSettings settings)
protected Builder(ProductServiceStubSettings settings)
Methods
addFulfillmentPlacesOperationSettings()
public OperationCallSettings.Builder<AddFulfillmentPlacesRequest,AddFulfillmentPlacesResponse,AddFulfillmentPlacesMetadata> addFulfillmentPlacesOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to addFulfillmentPlaces.
addFulfillmentPlacesSettings()
public UnaryCallSettings.Builder<AddFulfillmentPlacesRequest,Operation> addFulfillmentPlacesSettings()
Returns the builder for the settings used for calls to addFulfillmentPlaces.
addLocalInventoriesOperationSettings()
public OperationCallSettings.Builder<AddLocalInventoriesRequest,AddLocalInventoriesResponse,AddLocalInventoriesMetadata> addLocalInventoriesOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to addLocalInventories.
addLocalInventoriesSettings()
public UnaryCallSettings.Builder<AddLocalInventoriesRequest,Operation> addLocalInventoriesSettings()
Returns the builder for the settings used for calls to addLocalInventories.
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public ProductServiceStubSettings.Builder applyToAllUnaryMethods(ApiFunction<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.
build()
public ProductServiceStubSettings build()
Overrides
createProductSettings()
public UnaryCallSettings.Builder<CreateProductRequest,Product> createProductSettings()
Returns the builder for the settings used for calls to createProduct.
deleteProductSettings()
public UnaryCallSettings.Builder<DeleteProductRequest,Empty> deleteProductSettings()
Returns the builder for the settings used for calls to deleteProduct.
getProductSettings()
public UnaryCallSettings.Builder<GetProductRequest,Product> getProductSettings()
Returns the builder for the settings used for calls to getProduct.
importProductsOperationSettings()
public OperationCallSettings.Builder<ImportProductsRequest,ImportProductsResponse,ImportMetadata> importProductsOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to importProducts.
importProductsSettings()
public UnaryCallSettings.Builder<ImportProductsRequest,Operation> importProductsSettings()
Returns the builder for the settings used for calls to importProducts.
listProductsSettings()
public PagedCallSettings.Builder<ListProductsRequest,ListProductsResponse,ProductServiceClient.ListProductsPagedResponse> listProductsSettings()
Returns the builder for the settings used for calls to listProducts.
purgeProductsOperationSettings()
public OperationCallSettings.Builder<PurgeProductsRequest,PurgeProductsResponse,PurgeProductsMetadata> purgeProductsOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to purgeProducts.
purgeProductsSettings()
public UnaryCallSettings.Builder<PurgeProductsRequest,Operation> purgeProductsSettings()
Returns the builder for the settings used for calls to purgeProducts.
removeFulfillmentPlacesOperationSettings()
public OperationCallSettings.Builder<RemoveFulfillmentPlacesRequest,RemoveFulfillmentPlacesResponse,RemoveFulfillmentPlacesMetadata> removeFulfillmentPlacesOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to removeFulfillmentPlaces.
removeFulfillmentPlacesSettings()
public UnaryCallSettings.Builder<RemoveFulfillmentPlacesRequest,Operation> removeFulfillmentPlacesSettings()
Returns the builder for the settings used for calls to removeFulfillmentPlaces.
removeLocalInventoriesOperationSettings()
public OperationCallSettings.Builder<RemoveLocalInventoriesRequest,RemoveLocalInventoriesResponse,RemoveLocalInventoriesMetadata> removeLocalInventoriesOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to removeLocalInventories.
removeLocalInventoriesSettings()
public UnaryCallSettings.Builder<RemoveLocalInventoriesRequest,Operation> removeLocalInventoriesSettings()
Returns the builder for the settings used for calls to removeLocalInventories.
setInventoryOperationSettings()
public OperationCallSettings.Builder<SetInventoryRequest,SetInventoryResponse,SetInventoryMetadata> setInventoryOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to setInventory.
setInventorySettings()
public UnaryCallSettings.Builder<SetInventoryRequest,Operation> setInventorySettings()
Returns the builder for the settings used for calls to setInventory.
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns Type Description com.google.common.collect.ImmutableList <Builder <? ,? >>
updateProductSettings()
public UnaryCallSettings.Builder<UpdateProductRequest,Product> updateProductSettings()
Returns the builder for the settings used for calls to updateProduct.