Class ContainerAnalysisV1Beta1Settings.Builder (2.44.0)

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

Builder for ContainerAnalysisV1Beta1Settings.

Inheritance

java.lang.Object > ClientSettings.Builder > ContainerAnalysisV1Beta1Settings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ContainerAnalysisV1Beta1Settings settings)

protected Builder(ContainerAnalysisV1Beta1Settings settings)
Parameter
Name Description
settings ContainerAnalysisV1Beta1Settings

Builder(ContainerAnalysisV1Beta1StubSettings.Builder stubSettings)

protected Builder(ContainerAnalysisV1Beta1StubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings ContainerAnalysisV1Beta1StubSettings.Builder

Methods

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

public ContainerAnalysisV1Beta1Settings.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
ContainerAnalysisV1Beta1Settings.Builder
Exceptions
Type Description
Exception

build()

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

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()

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

Returns
Type Description
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getScanConfigSettings()

public UnaryCallSettings.Builder<GetScanConfigRequest,ScanConfig> getScanConfigSettings()

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

Returns
Type Description
Builder<GetScanConfigRequest,ScanConfig>

getStubSettingsBuilder()

public ContainerAnalysisV1Beta1StubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
ContainerAnalysisV1Beta1StubSettings.Builder

listScanConfigsSettings()

public PagedCallSettings.Builder<ListScanConfigsRequest,ListScanConfigsResponse,ContainerAnalysisV1Beta1Client.ListScanConfigsPagedResponse> listScanConfigsSettings()

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

Returns
Type Description
Builder<ListScanConfigsRequest,ListScanConfigsResponse,ListScanConfigsPagedResponse>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()

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

Returns
Type Description
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()

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

Returns
Type Description
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

updateScanConfigSettings()

public UnaryCallSettings.Builder<UpdateScanConfigRequest,ScanConfig> updateScanConfigSettings()

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

Returns
Type Description
Builder<UpdateScanConfigRequest,ScanConfig>