Class PolicyTroubleshooterStubSettings.Builder (1.45.0)

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

Builder for PolicyTroubleshooterStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > PolicyTroubleshooterStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(PolicyTroubleshooterStubSettings settings)

protected Builder(PolicyTroubleshooterStubSettings settings)
Parameter
Name Description
settings PolicyTroubleshooterStubSettings

Methods

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

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

build()

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

troubleshootIamPolicySettings()

public UnaryCallSettings.Builder<TroubleshootIamPolicyRequest,TroubleshootIamPolicyResponse> troubleshootIamPolicySettings()

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

Returns
Type Description
Builder<TroubleshootIamPolicyRequest,TroubleshootIamPolicyResponse>

unaryMethodSettingsBuilders()

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