Class ContainerAnalysisV1Beta1StubSettings.Builder (2.4.1)

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
NameDescription
clientContextClientContext

Builder(ContainerAnalysisV1Beta1StubSettings settings)

protected Builder(ContainerAnalysisV1Beta1StubSettings settings)
Parameter
NameDescription
settingsContainerAnalysisV1Beta1StubSettings

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
ContainerAnalysisV1Beta1StubSettings.Builder
Exceptions
TypeDescription
Exception

build()

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

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
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
TypeDescription
Builder<UpdateScanConfigRequest,ScanConfig>