Class AdPartnerServiceStubSettings.Builder (0.3.0)

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

Builder for AdPartnerServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > AdPartnerServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(AdPartnerServiceStubSettings settings)

protected Builder(AdPartnerServiceStubSettings settings)
Parameter
Name Description
settings AdPartnerServiceStubSettings

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Methods

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

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

build()

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

getAdPartnerSettings()

public UnaryCallSettings.Builder<GetAdPartnerRequest,AdPartner> getAdPartnerSettings()

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

Returns
Type Description
Builder<GetAdPartnerRequest,AdPartner>

listAdPartnersSettings()

public PagedCallSettings.Builder<ListAdPartnersRequest,ListAdPartnersResponse,AdPartnerServiceClient.ListAdPartnersPagedResponse> listAdPartnersSettings()

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

Returns
Type Description
Builder<ListAdPartnersRequest,ListAdPartnersResponse,ListAdPartnersPagedResponse>

unaryMethodSettingsBuilders()

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