Class ProductServiceStubSettings.Builder (2.56.0)

public static class ProductServiceStubSettings.Builder extends StubSettings.Builder<ProductServiceStubSettings,ProductServiceStubSettings.Builder>

Builder for ProductServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ProductServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ProductServiceStubSettings settings)

protected Builder(ProductServiceStubSettings settings)
Parameter
Name Description
settings ProductServiceStubSettings

Methods

addFulfillmentPlacesOperationSettings()

public OperationCallSettings.Builder<AddFulfillmentPlacesRequest,AddFulfillmentPlacesResponse,AddFulfillmentPlacesMetadata> addFulfillmentPlacesOperationSettings()

Returns the builder for the settings used for calls to addFulfillmentPlaces.

Returns
Type Description
Builder<AddFulfillmentPlacesRequest,AddFulfillmentPlacesResponse,AddFulfillmentPlacesMetadata>

addFulfillmentPlacesSettings()

public UnaryCallSettings.Builder<AddFulfillmentPlacesRequest,Operation> addFulfillmentPlacesSettings()

Returns the builder for the settings used for calls to addFulfillmentPlaces.

Returns
Type Description
Builder<AddFulfillmentPlacesRequest,Operation>

addLocalInventoriesOperationSettings()

public OperationCallSettings.Builder<AddLocalInventoriesRequest,AddLocalInventoriesResponse,AddLocalInventoriesMetadata> addLocalInventoriesOperationSettings()

Returns the builder for the settings used for calls to addLocalInventories.

Returns
Type Description
Builder<AddLocalInventoriesRequest,AddLocalInventoriesResponse,AddLocalInventoriesMetadata>

addLocalInventoriesSettings()

public UnaryCallSettings.Builder<AddLocalInventoriesRequest,Operation> addLocalInventoriesSettings()

Returns the builder for the settings used for calls to addLocalInventories.

Returns
Type Description
Builder<AddLocalInventoriesRequest,Operation>

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.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
ProductServiceStubSettings.Builder

build()

public ProductServiceStubSettings build()
Returns
Type Description
ProductServiceStubSettings
Overrides
Exceptions
Type Description
IOException

createProductSettings()

public UnaryCallSettings.Builder<CreateProductRequest,Product> createProductSettings()

Returns the builder for the settings used for calls to createProduct.

Returns
Type Description
Builder<CreateProductRequest,Product>

deleteProductSettings()

public UnaryCallSettings.Builder<DeleteProductRequest,Empty> deleteProductSettings()

Returns the builder for the settings used for calls to deleteProduct.

Returns
Type Description
Builder<DeleteProductRequest,Empty>

getProductSettings()

public UnaryCallSettings.Builder<GetProductRequest,Product> getProductSettings()

Returns the builder for the settings used for calls to getProduct.

Returns
Type Description
Builder<GetProductRequest,Product>

importProductsOperationSettings()

public OperationCallSettings.Builder<ImportProductsRequest,ImportProductsResponse,ImportMetadata> importProductsOperationSettings()

Returns the builder for the settings used for calls to importProducts.

Returns
Type Description
Builder<ImportProductsRequest,ImportProductsResponse,ImportMetadata>

importProductsSettings()

public UnaryCallSettings.Builder<ImportProductsRequest,Operation> importProductsSettings()

Returns the builder for the settings used for calls to importProducts.

Returns
Type Description
Builder<ImportProductsRequest,Operation>

listProductsSettings()

public PagedCallSettings.Builder<ListProductsRequest,ListProductsResponse,ProductServiceClient.ListProductsPagedResponse> listProductsSettings()

Returns the builder for the settings used for calls to listProducts.

Returns
Type Description
Builder<ListProductsRequest,ListProductsResponse,ListProductsPagedResponse>

purgeProductsOperationSettings()

public OperationCallSettings.Builder<PurgeProductsRequest,PurgeProductsResponse,PurgeProductsMetadata> purgeProductsOperationSettings()

Returns the builder for the settings used for calls to purgeProducts.

Returns
Type Description
Builder<PurgeProductsRequest,PurgeProductsResponse,PurgeProductsMetadata>

purgeProductsSettings()

public UnaryCallSettings.Builder<PurgeProductsRequest,Operation> purgeProductsSettings()

Returns the builder for the settings used for calls to purgeProducts.

Returns
Type Description
Builder<PurgeProductsRequest,Operation>

removeFulfillmentPlacesOperationSettings()

public OperationCallSettings.Builder<RemoveFulfillmentPlacesRequest,RemoveFulfillmentPlacesResponse,RemoveFulfillmentPlacesMetadata> removeFulfillmentPlacesOperationSettings()

Returns the builder for the settings used for calls to removeFulfillmentPlaces.

Returns
Type Description
Builder<RemoveFulfillmentPlacesRequest,RemoveFulfillmentPlacesResponse,RemoveFulfillmentPlacesMetadata>

removeFulfillmentPlacesSettings()

public UnaryCallSettings.Builder<RemoveFulfillmentPlacesRequest,Operation> removeFulfillmentPlacesSettings()

Returns the builder for the settings used for calls to removeFulfillmentPlaces.

Returns
Type Description
Builder<RemoveFulfillmentPlacesRequest,Operation>

removeLocalInventoriesOperationSettings()

public OperationCallSettings.Builder<RemoveLocalInventoriesRequest,RemoveLocalInventoriesResponse,RemoveLocalInventoriesMetadata> removeLocalInventoriesOperationSettings()

Returns the builder for the settings used for calls to removeLocalInventories.

Returns
Type Description
Builder<RemoveLocalInventoriesRequest,RemoveLocalInventoriesResponse,RemoveLocalInventoriesMetadata>

removeLocalInventoriesSettings()

public UnaryCallSettings.Builder<RemoveLocalInventoriesRequest,Operation> removeLocalInventoriesSettings()

Returns the builder for the settings used for calls to removeLocalInventories.

Returns
Type Description
Builder<RemoveLocalInventoriesRequest,Operation>

setInventoryOperationSettings()

public OperationCallSettings.Builder<SetInventoryRequest,SetInventoryResponse,SetInventoryMetadata> setInventoryOperationSettings()

Returns the builder for the settings used for calls to setInventory.

Returns
Type Description
Builder<SetInventoryRequest,SetInventoryResponse,SetInventoryMetadata>

setInventorySettings()

public UnaryCallSettings.Builder<SetInventoryRequest,Operation> setInventorySettings()

Returns the builder for the settings used for calls to setInventory.

Returns
Type Description
Builder<SetInventoryRequest,Operation>

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.

Returns
Type Description
Builder<UpdateProductRequest,Product>