public static class LineItemServiceStubSettings.Builder extends StubSettings.Builder<LineItemServiceStubSettings,LineItemServiceStubSettings.Builder>
Builder for LineItemServiceStubSettings.
Constructors
Builder()
protected Builder()
Builder(LineItemServiceStubSettings settings)
protected Builder(LineItemServiceStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings |
LineItemServiceStubSettings |
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext |
ClientContext |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public LineItemServiceStubSettings.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 |
LineItemServiceStubSettings.Builder |
build()
public LineItemServiceStubSettings build()
Returns | |
---|---|
Type | Description |
LineItemServiceStubSettings |
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> |
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> |
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns | |
---|---|
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |