Class ContainerAnalysisV1Beta1StubSettings.Builder (2.49.0)

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

Builder for ContainerAnalysisV1Beta1StubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ContainerAnalysisV1Beta1StubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ContainerAnalysisV1Beta1StubSettings settings)

protected Builder(ContainerAnalysisV1Beta1StubSettings settings)
Parameter
Name Description
settings ContainerAnalysisV1Beta1StubSettings

Methods

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

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

build()

public ContainerAnalysisV1Beta1StubSettings build()
Returns
Type Description
ContainerAnalysisV1Beta1StubSettings
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>

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>

unaryMethodSettingsBuilders()

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

updateScanConfigSettings()

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

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

Returns
Type Description
Builder<UpdateScanConfigRequest,ScanConfig>