Class PolicyTagManagerSerializationSettings.Builder (1.51.0)

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

Builder for PolicyTagManagerSerializationSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > PolicyTagManagerSerializationSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(PolicyTagManagerSerializationSettings settings)

protected Builder(PolicyTagManagerSerializationSettings settings)
Parameter
Name Description
settings PolicyTagManagerSerializationSettings

Builder(PolicyTagManagerSerializationStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

getStubSettingsBuilder()

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

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>