Class OnlineReturnPolicyServiceStubSettings.Builder (0.11.0)

public static class OnlineReturnPolicyServiceStubSettings.Builder extends StubSettings.Builder<OnlineReturnPolicyServiceStubSettings,OnlineReturnPolicyServiceStubSettings.Builder>

Builder for OnlineReturnPolicyServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > OnlineReturnPolicyServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(OnlineReturnPolicyServiceStubSettings settings)

protected Builder(OnlineReturnPolicyServiceStubSettings settings)
Parameter
Name Description
settings OnlineReturnPolicyServiceStubSettings

Methods

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

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

build()

public OnlineReturnPolicyServiceStubSettings build()
Returns
Type Description
OnlineReturnPolicyServiceStubSettings
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>

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>