public static class ConsumerProcurementServiceSettings.Builder extends ClientSettings.Builder<ConsumerProcurementServiceSettings,ConsumerProcurementServiceSettings.Builder>
Builder for ConsumerProcurementServiceSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(ConsumerProcurementServiceSettings settings)
protected Builder(ConsumerProcurementServiceSettings settings)
Builder(ConsumerProcurementServiceStubSettings.Builder stubSettings)
protected Builder(ConsumerProcurementServiceStubSettings.Builder stubSettings)
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public ConsumerProcurementServiceSettings.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 ConsumerProcurementServiceSettings build()
Overrides
cancelOrderOperationSettings()
public OperationCallSettings.Builder<CancelOrderRequest,Order,CancelOrderMetadata> cancelOrderOperationSettings()
Returns the builder for the settings used for calls to cancelOrder.
cancelOrderSettings()
public UnaryCallSettings.Builder<CancelOrderRequest,Operation> cancelOrderSettings()
Returns the builder for the settings used for calls to cancelOrder.
getOrderSettings()
public UnaryCallSettings.Builder<GetOrderRequest,Order> getOrderSettings()
Returns the builder for the settings used for calls to getOrder.
getStubSettingsBuilder()
public ConsumerProcurementServiceStubSettings.Builder getStubSettingsBuilder()
public PagedCallSettings.Builder<ListOrdersRequest,ListOrdersResponse,ConsumerProcurementServiceClient.ListOrdersPagedResponse> listOrdersSettings()
Returns the builder for the settings used for calls to listOrders.
modifyOrderOperationSettings()
public OperationCallSettings.Builder<ModifyOrderRequest,Order,ModifyOrderMetadata> modifyOrderOperationSettings()
Returns the builder for the settings used for calls to modifyOrder.
modifyOrderSettings()
public UnaryCallSettings.Builder<ModifyOrderRequest,Operation> modifyOrderSettings()
Returns the builder for the settings used for calls to modifyOrder.
placeOrderOperationSettings()
public OperationCallSettings.Builder<PlaceOrderRequest,Order,PlaceOrderMetadata> placeOrderOperationSettings()
Returns the builder for the settings used for calls to placeOrder.
placeOrderSettings()
public UnaryCallSettings.Builder<PlaceOrderRequest,Operation> placeOrderSettings()
Returns the builder for the settings used for calls to placeOrder.