Class PolicyTroubleshooterStubSettings.Builder (1.26.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
NameDescription
clientContextClientContext

Builder(PolicyTroubleshooterStubSettings settings)

protected Builder(PolicyTroubleshooterStubSettings settings)
Parameter
NameDescription
settingsPolicyTroubleshooterStubSettings

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

build()

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

troubleshootIamPolicySettings()

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

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

Returns
TypeDescription
Builder<TroubleshootIamPolicyRequest,TroubleshootIamPolicyResponse>

unaryMethodSettingsBuilders()

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