public static class LineItemServiceSettings.Builder extends ClientSettings.Builder<LineItemServiceSettings,LineItemServiceSettings.Builder>
Builder for LineItemServiceSettings.
Constructors
Builder()
protected Builder()
Builder(LineItemServiceSettings settings)
protected Builder(LineItemServiceSettings settings)
Parameter | |
---|---|
Name | Description |
settings |
LineItemServiceSettings |
Builder(LineItemServiceStubSettings.Builder stubSettings)
protected Builder(LineItemServiceStubSettings.Builder stubSettings)
Parameter | |
---|---|
Name | Description |
stubSettings |
LineItemServiceStubSettings.Builder |
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext |
ClientContext |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public LineItemServiceSettings.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 |
LineItemServiceSettings.Builder |
build()
public LineItemServiceSettings build()
Returns | |
---|---|
Type | Description |
LineItemServiceSettings |
Exceptions | |
---|---|
Type | Description |
IOException |
getLineItemSettings()
public UnaryCallSettings.Builder<GetLineItemRequest,LineItem> getLineItemSettings()
Returns the builder for the settings used for calls to getLineItem.
Returns | |
---|---|
Type | Description |
Builder<GetLineItemRequest,LineItem> |
getStubSettingsBuilder()
public LineItemServiceStubSettings.Builder getStubSettingsBuilder()
Returns | |
---|---|
Type | Description |
LineItemServiceStubSettings.Builder |
listLineItemsSettings()
public PagedCallSettings.Builder<ListLineItemsRequest,ListLineItemsResponse,LineItemServiceClient.ListLineItemsPagedResponse> listLineItemsSettings()
Returns the builder for the settings used for calls to listLineItems.
Returns | |
---|---|
Type | Description |
Builder<ListLineItemsRequest,ListLineItemsResponse,ListLineItemsPagedResponse> |