Class OnlineReturnPolicyServiceSettings.Builder (0.1.0)

public static class OnlineReturnPolicyServiceSettings.Builder extends ClientSettings.Builder<OnlineReturnPolicyServiceSettings,OnlineReturnPolicyServiceSettings.Builder>

Builder for OnlineReturnPolicyServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > OnlineReturnPolicyServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(OnlineReturnPolicyServiceSettings settings)

protected Builder(OnlineReturnPolicyServiceSettings settings)
Parameter
Name Description
settings OnlineReturnPolicyServiceSettings

Builder(OnlineReturnPolicyServiceStubSettings.Builder stubSettings)

protected Builder(OnlineReturnPolicyServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings OnlineReturnPolicyServiceStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public OnlineReturnPolicyServiceSettings.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
OnlineReturnPolicyServiceSettings.Builder

build()

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

getOnlineReturnPolicySettings()

public UnaryCallSettings.Builder<GetOnlineReturnPolicyRequest,OnlineReturnPolicy> getOnlineReturnPolicySettings()

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

Returns
Type Description
Builder<GetOnlineReturnPolicyRequest,OnlineReturnPolicy>

getStubSettingsBuilder()

public OnlineReturnPolicyServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
OnlineReturnPolicyServiceStubSettings.Builder

listOnlineReturnPoliciesSettings()

public PagedCallSettings.Builder<ListOnlineReturnPoliciesRequest,ListOnlineReturnPoliciesResponse,OnlineReturnPolicyServiceClient.ListOnlineReturnPoliciesPagedResponse> listOnlineReturnPoliciesSettings()

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

Returns
Type Description
Builder<ListOnlineReturnPoliciesRequest,ListOnlineReturnPoliciesResponse,ListOnlineReturnPoliciesPagedResponse>