Class MarketingplatformAdminServiceStubSettings.Builder (0.2.0)

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

Builder for MarketingplatformAdminServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > MarketingplatformAdminServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(MarketingplatformAdminServiceStubSettings settings)

protected Builder(MarketingplatformAdminServiceStubSettings settings)
Parameter
Name Description
settings MarketingplatformAdminServiceStubSettings

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Methods

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

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

build()

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

createAnalyticsAccountLinkSettings()

public UnaryCallSettings.Builder<CreateAnalyticsAccountLinkRequest,AnalyticsAccountLink> createAnalyticsAccountLinkSettings()

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

Returns
Type Description
Builder<CreateAnalyticsAccountLinkRequest,AnalyticsAccountLink>

deleteAnalyticsAccountLinkSettings()

public UnaryCallSettings.Builder<DeleteAnalyticsAccountLinkRequest,Empty> deleteAnalyticsAccountLinkSettings()

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

Returns
Type Description
Builder<DeleteAnalyticsAccountLinkRequest,Empty>

getOrganizationSettings()

public UnaryCallSettings.Builder<GetOrganizationRequest,Organization> getOrganizationSettings()

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

Returns
Type Description
Builder<GetOrganizationRequest,Organization>

listAnalyticsAccountLinksSettings()

public PagedCallSettings.Builder<ListAnalyticsAccountLinksRequest,ListAnalyticsAccountLinksResponse,MarketingplatformAdminServiceClient.ListAnalyticsAccountLinksPagedResponse> listAnalyticsAccountLinksSettings()

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

Returns
Type Description
Builder<ListAnalyticsAccountLinksRequest,ListAnalyticsAccountLinksResponse,ListAnalyticsAccountLinksPagedResponse>

setPropertyServiceLevelSettings()

public UnaryCallSettings.Builder<SetPropertyServiceLevelRequest,SetPropertyServiceLevelResponse> setPropertyServiceLevelSettings()

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

Returns
Type Description
Builder<SetPropertyServiceLevelRequest,SetPropertyServiceLevelResponse>

unaryMethodSettingsBuilders()

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