Class ContainerAnalysisV1Beta1Settings.Builder (2.13.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
NameDescription
clientContextClientContext

Builder(ContainerAnalysisV1Beta1Settings settings)

protected Builder(ContainerAnalysisV1Beta1Settings settings)
Parameter
NameDescription
settingsContainerAnalysisV1Beta1Settings

Builder(ContainerAnalysisV1Beta1StubSettings.Builder stubSettings)

protected Builder(ContainerAnalysisV1Beta1StubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsContainerAnalysisV1Beta1StubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
ContainerAnalysisV1Beta1Settings.Builder
Exceptions
TypeDescription
Exception

build()

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

getIamPolicySettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<GetScanConfigRequest,ScanConfig>

getStubSettingsBuilder()

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

listScanConfigsSettings()

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

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

Returns
TypeDescription
Builder<ListScanConfigsRequest,ListScanConfigsResponse,ListScanConfigsPagedResponse>

setIamPolicySettings()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<UpdateScanConfigRequest,ScanConfig>