Class OrderServiceSettings.Builder (0.54.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static class OrderServiceSettings.Builder extends ClientSettings.Builder<OrderServiceSettings,OrderServiceSettings.Builder>
Builder for OrderServiceSettings.
Constructors
Builder()
Builder(@Nullable ClientContext clientContext)
protected Builder(@Nullable ClientContext clientContext)
| Parameter |
| Name |
Description |
clientContext |
@org.jspecify.annotations.Nullable com.google.api.gax.rpc.ClientContext
|
Builder(OrderServiceSettings settings)
protected Builder(OrderServiceSettings settings)
Builder(OrderServiceStubSettings.Builder stubSettings)
protected Builder(OrderServiceStubSettings.Builder stubSettings)
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public OrderServiceSettings.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.
batchApproveAndOverbookOrdersSettings()
public UnaryCallSettings.Builder<BatchApproveAndOverbookOrdersRequest,BatchApproveAndOverbookOrdersResponse> batchApproveAndOverbookOrdersSettings()
Returns the builder for the settings used for calls to batchApproveAndOverbookOrders.
public UnaryCallSettings.Builder<BatchApproveOrdersRequest,BatchApproveOrdersResponse> batchApproveOrdersSettings()
Returns the builder for the settings used for calls to batchApproveOrders.
batchApproveOrdersWithoutReservationSettings()
public UnaryCallSettings.Builder<BatchApproveOrdersWithoutReservationRequest,BatchApproveOrdersWithoutReservationResponse> batchApproveOrdersWithoutReservationSettings()
Returns the builder for the settings used for calls to batchApproveOrdersWithoutReservation.
public UnaryCallSettings.Builder<BatchArchiveOrdersRequest,BatchArchiveOrdersResponse> batchArchiveOrdersSettings()
Returns the builder for the settings used for calls to batchArchiveOrders.
public UnaryCallSettings.Builder<BatchCreateOrdersRequest,BatchCreateOrdersResponse> batchCreateOrdersSettings()
Returns the builder for the settings used for calls to batchCreateOrders.
public UnaryCallSettings.Builder<BatchDeleteOrdersRequest,BatchDeleteOrdersResponse> batchDeleteOrdersSettings()
Returns the builder for the settings used for calls to batchDeleteOrders.
public UnaryCallSettings.Builder<BatchDisapproveOrdersRequest,BatchDisapproveOrdersResponse> batchDisapproveOrdersSettings()
Returns the builder for the settings used for calls to batchDisapproveOrders.
batchDisapproveOrdersWithoutReservationChangesSettings()
public UnaryCallSettings.Builder<BatchDisapproveOrdersWithoutReservationChangesRequest,BatchDisapproveOrdersWithoutReservationChangesResponse> batchDisapproveOrdersWithoutReservationChangesSettings()
Returns the builder for the settings used for calls to
batchDisapproveOrdersWithoutReservationChanges.
public UnaryCallSettings.Builder<BatchPauseOrdersRequest,BatchPauseOrdersResponse> batchPauseOrdersSettings()
Returns the builder for the settings used for calls to batchPauseOrders.
batchResumeAndOverbookOrdersSettings()
public UnaryCallSettings.Builder<BatchResumeAndOverbookOrdersRequest,BatchResumeAndOverbookOrdersResponse> batchResumeAndOverbookOrdersSettings()
Returns the builder for the settings used for calls to batchResumeAndOverbookOrders.
public UnaryCallSettings.Builder<BatchResumeOrdersRequest,BatchResumeOrdersResponse> batchResumeOrdersSettings()
Returns the builder for the settings used for calls to batchResumeOrders.
public UnaryCallSettings.Builder<BatchRetractOrdersRequest,BatchRetractOrdersResponse> batchRetractOrdersSettings()
Returns the builder for the settings used for calls to batchRetractOrders.
batchRetractOrdersWithoutReservationChangesSettings()
public UnaryCallSettings.Builder<BatchRetractOrdersWithoutReservationChangesRequest,BatchRetractOrdersWithoutReservationChangesResponse> batchRetractOrdersWithoutReservationChangesSettings()
Returns the builder for the settings used for calls to
batchRetractOrdersWithoutReservationChanges.
batchSubmitOrdersForApprovalAndOverbookSettings()
public UnaryCallSettings.Builder<BatchSubmitOrdersForApprovalAndOverbookRequest,BatchSubmitOrdersForApprovalAndOverbookResponse> batchSubmitOrdersForApprovalAndOverbookSettings()
Returns the builder for the settings used for calls to
batchSubmitOrdersForApprovalAndOverbook.
batchSubmitOrdersForApprovalSettings()
public UnaryCallSettings.Builder<BatchSubmitOrdersForApprovalRequest,BatchSubmitOrdersForApprovalResponse> batchSubmitOrdersForApprovalSettings()
Returns the builder for the settings used for calls to batchSubmitOrdersForApproval.
batchSubmitOrdersForApprovalWithoutReservationChangesSettings()
public UnaryCallSettings.Builder<BatchSubmitOrdersForApprovalWithoutReservationChangesRequest,BatchSubmitOrdersForApprovalWithoutReservationChangesResponse> batchSubmitOrdersForApprovalWithoutReservationChangesSettings()
Returns the builder for the settings used for calls to
batchSubmitOrdersForApprovalWithoutReservationChanges.
public UnaryCallSettings.Builder<BatchUnarchiveOrdersRequest,BatchUnarchiveOrdersResponse> batchUnarchiveOrdersSettings()
Returns the builder for the settings used for calls to batchUnarchiveOrders.
public UnaryCallSettings.Builder<BatchUpdateOrdersRequest,BatchUpdateOrdersResponse> batchUpdateOrdersSettings()
Returns the builder for the settings used for calls to batchUpdateOrders.
build()
public OrderServiceSettings build()
Overrides
getOrderSettings()
public UnaryCallSettings.Builder<GetOrderRequest,Order> getOrderSettings()
Returns the builder for the settings used for calls to getOrder.
getStubSettingsBuilder()
public OrderServiceStubSettings.Builder getStubSettingsBuilder()
public PagedCallSettings.Builder<ListOrdersRequest,ListOrdersResponse,OrderServiceClient.ListOrdersPagedResponse> listOrdersSettings()
Returns the builder for the settings used for calls to listOrders.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-08-04 UTC.
[null,null,["Last updated 2026-08-04 UTC."],[],[]]