Class MerchantCenterAccountLinkServiceStubSettings.Builder (2.34.0)

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

Builder for MerchantCenterAccountLinkServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > MerchantCenterAccountLinkServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(MerchantCenterAccountLinkServiceStubSettings settings)

protected Builder(MerchantCenterAccountLinkServiceStubSettings settings)
Parameter
NameDescription
settingsMerchantCenterAccountLinkServiceStubSettings

Methods

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

public MerchantCenterAccountLinkServiceStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
MerchantCenterAccountLinkServiceStubSettings.Builder

build()

public MerchantCenterAccountLinkServiceStubSettings build()
Returns
TypeDescription
MerchantCenterAccountLinkServiceStubSettings
Overrides
Exceptions
TypeDescription
IOException

createMerchantCenterAccountLinkOperationSettings()

public OperationCallSettings.Builder<CreateMerchantCenterAccountLinkRequest,MerchantCenterAccountLink,CreateMerchantCenterAccountLinkMetadata> createMerchantCenterAccountLinkOperationSettings()

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

Returns
TypeDescription
Builder<CreateMerchantCenterAccountLinkRequest,MerchantCenterAccountLink,CreateMerchantCenterAccountLinkMetadata>

createMerchantCenterAccountLinkSettings()

public UnaryCallSettings.Builder<CreateMerchantCenterAccountLinkRequest,Operation> createMerchantCenterAccountLinkSettings()

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

Returns
TypeDescription
Builder<CreateMerchantCenterAccountLinkRequest,Operation>

deleteMerchantCenterAccountLinkSettings()

public UnaryCallSettings.Builder<DeleteMerchantCenterAccountLinkRequest,Empty> deleteMerchantCenterAccountLinkSettings()

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

Returns
TypeDescription
Builder<DeleteMerchantCenterAccountLinkRequest,Empty>

listMerchantCenterAccountLinksSettings()

public UnaryCallSettings.Builder<ListMerchantCenterAccountLinksRequest,ListMerchantCenterAccountLinksResponse> listMerchantCenterAccountLinksSettings()

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

Returns
TypeDescription
Builder<ListMerchantCenterAccountLinksRequest,ListMerchantCenterAccountLinksResponse>

unaryMethodSettingsBuilders()

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