Class TermsOfServiceAgreementStateServiceSettings.Builder (0.9.0)

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

Builder for TermsOfServiceAgreementStateServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > TermsOfServiceAgreementStateServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(TermsOfServiceAgreementStateServiceSettings settings)

protected Builder(TermsOfServiceAgreementStateServiceSettings settings)
Parameter
Name Description
settings TermsOfServiceAgreementStateServiceSettings

Builder(TermsOfServiceAgreementStateServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

getStubSettingsBuilder()

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

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>