Class PolicyTagManagerSerializationSettings.Builder (1.13.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
NameDescription
clientContextClientContext

Builder(PolicyTagManagerSerializationSettings settings)

protected Builder(PolicyTagManagerSerializationSettings settings)
Parameter
NameDescription
settingsPolicyTagManagerSerializationSettings

Builder(PolicyTagManagerSerializationStubSettings.Builder stubSettings)

protected Builder(PolicyTagManagerSerializationStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsPolicyTagManagerSerializationStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
PolicyTagManagerSerializationSettings.Builder

build()

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

getStubSettingsBuilder()

public PolicyTagManagerSerializationStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
PolicyTagManagerSerializationStubSettings.Builder

importTaxonomiesSettings()

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

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

Returns
TypeDescription
Builder<ImportTaxonomiesRequest,ImportTaxonomiesResponse>