Class AssetServiceStubSettings.Builder (3.4.0)

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

Builder for AssetServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > AssetServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(AssetServiceStubSettings settings)

protected Builder(AssetServiceStubSettings settings)
Parameter
NameDescription
settingsAssetServiceStubSettings

Methods

analyzeIamPolicySettings()

public UnaryCallSettings.Builder<AnalyzeIamPolicyRequest,AnalyzeIamPolicyResponse> analyzeIamPolicySettings()

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

Returns
TypeDescription
Builder<AnalyzeIamPolicyRequest,AnalyzeIamPolicyResponse>

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

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

build()

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

exportIamPolicyAnalysisOperationSettings()

public OperationCallSettings.Builder<ExportIamPolicyAnalysisRequest,ExportIamPolicyAnalysisResponse,ExportIamPolicyAnalysisRequest> exportIamPolicyAnalysisOperationSettings()

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

Returns
TypeDescription
Builder<ExportIamPolicyAnalysisRequest,ExportIamPolicyAnalysisResponse,ExportIamPolicyAnalysisRequest>

exportIamPolicyAnalysisSettings()

public UnaryCallSettings.Builder<ExportIamPolicyAnalysisRequest,Operation> exportIamPolicyAnalysisSettings()

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

Returns
TypeDescription
Builder<ExportIamPolicyAnalysisRequest,Operation>

unaryMethodSettingsBuilders()

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