Class PolicyTagManagerSerializationStubSettings.Builder (1.51.0)

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

Builder for PolicyTagManagerSerializationStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > PolicyTagManagerSerializationStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(PolicyTagManagerSerializationStubSettings settings)

protected Builder(PolicyTagManagerSerializationStubSettings settings)
Parameter
Name Description
settings PolicyTagManagerSerializationStubSettings

Methods

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

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

build()

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

exportTaxonomiesSettings()

public UnaryCallSettings.Builder<ExportTaxonomiesRequest,ExportTaxonomiesResponse> exportTaxonomiesSettings()

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

Returns
Type Description
Builder<ExportTaxonomiesRequest,ExportTaxonomiesResponse>

importTaxonomiesSettings()

public UnaryCallSettings.Builder<ImportTaxonomiesRequest,ImportTaxonomiesResponse> importTaxonomiesSettings()

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

Returns
Type Description
Builder<ImportTaxonomiesRequest,ImportTaxonomiesResponse>

replaceTaxonomySettings()

public UnaryCallSettings.Builder<ReplaceTaxonomyRequest,Taxonomy> replaceTaxonomySettings()

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

Returns
Type Description
Builder<ReplaceTaxonomyRequest,Taxonomy>

unaryMethodSettingsBuilders()

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