Class ContainerAnalysisSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<ContainerAnalysisSettings,ContainerAnalysisSettings.Builder>
-
- com.google.cloud.devtools.containeranalysis.v1.ContainerAnalysisSettings.Builder
-
- Enclosing class:
- ContainerAnalysisSettings
public static class ContainerAnalysisSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<ContainerAnalysisSettings,ContainerAnalysisSettings.Builder>
Builder for ContainerAnalysisSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(ContainerAnalysisSettings settings)
protected
Builder(ContainerAnalysisStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerAnalysisSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.ContainerAnalysisSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.ContainerAnalysisStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetVulnerabilityOccurrencesSummaryRequest,VulnerabilityOccurrencesSummary>
getVulnerabilityOccurrencesSummarySettings()
Returns the builder for the settings used for calls to getVulnerabilityOccurrencesSummary.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(ContainerAnalysisSettings settings)
-
Builder
protected Builder(ContainerAnalysisStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public ContainerAnalysisStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public ContainerAnalysisSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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.
-
setIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
-
getIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
-
testIamPermissionsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
-
getVulnerabilityOccurrencesSummarySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetVulnerabilityOccurrencesSummaryRequest,VulnerabilityOccurrencesSummary> getVulnerabilityOccurrencesSummarySettings()
Returns the builder for the settings used for calls to getVulnerabilityOccurrencesSummary.
-
build
public ContainerAnalysisSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<ContainerAnalysisSettings,ContainerAnalysisSettings.Builder>
- Throws:
IOException
-
-