Class MarketingplatformAdminServiceSettings.Builder (0.2.0)

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

Builder for MarketingplatformAdminServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > MarketingplatformAdminServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(MarketingplatformAdminServiceSettings settings)

protected Builder(MarketingplatformAdminServiceSettings settings)
Parameter
Name Description
settings MarketingplatformAdminServiceSettings

Builder(MarketingplatformAdminServiceStubSettings.Builder stubSettings)

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

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Methods

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

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

build()

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

getStubSettingsBuilder()

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

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>