Class TermsOfServiceAgreementStateServiceStubSettings.Builder (0.7.0)

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

Builder for TermsOfServiceAgreementStateServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > TermsOfServiceAgreementStateServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(TermsOfServiceAgreementStateServiceStubSettings settings)

protected Builder(TermsOfServiceAgreementStateServiceStubSettings settings)
Parameter
Name Description
settings TermsOfServiceAgreementStateServiceStubSettings

Methods

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

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

build()

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

getTermsOfServiceAgreementStateSettings()

public UnaryCallSettings.Builder<GetTermsOfServiceAgreementStateRequest,TermsOfServiceAgreementState> getTermsOfServiceAgreementStateSettings()

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

Returns
Type Description
Builder<GetTermsOfServiceAgreementStateRequest,TermsOfServiceAgreementState>

retrieveForApplicationTermsOfServiceAgreementStateSettings()

public UnaryCallSettings.Builder<RetrieveForApplicationTermsOfServiceAgreementStateRequest,TermsOfServiceAgreementState> retrieveForApplicationTermsOfServiceAgreementStateSettings()

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

Returns
Type Description
Builder<RetrieveForApplicationTermsOfServiceAgreementStateRequest,TermsOfServiceAgreementState>

unaryMethodSettingsBuilders()

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