Class PolicyTagManagerSerializationStubSettings.Builder (1.21.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
NameDescription
clientContextClientContext

Builder(PolicyTagManagerSerializationStubSettings settings)

protected Builder(PolicyTagManagerSerializationStubSettings settings)
Parameter
NameDescription
settingsPolicyTagManagerSerializationStubSettings

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

build()

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

exportTaxonomiesSettings()

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

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

Returns
TypeDescription
Builder<ExportTaxonomiesRequest,ExportTaxonomiesResponse>

importTaxonomiesSettings()

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

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

Returns
TypeDescription
Builder<ImportTaxonomiesRequest,ImportTaxonomiesResponse>

replaceTaxonomySettings()

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

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

Returns
TypeDescription
Builder<ReplaceTaxonomyRequest,Taxonomy>

unaryMethodSettingsBuilders()

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