Class AssetServiceSettings.Builder (3.4.1)

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

Builder for AssetServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > AssetServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(AssetServiceSettings settings)

protected Builder(AssetServiceSettings settings)
Parameter
NameDescription
settingsAssetServiceSettings

Builder(AssetServiceStubSettings.Builder stubSettings)

protected Builder(AssetServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsAssetServiceStubSettings.Builder

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 AssetServiceSettings.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
AssetServiceSettings.Builder

build()

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

getStubSettingsBuilder()

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