public static class SecurityCenterStubSettings.Builder extends StubSettings.Builder<SecurityCenterStubSettings,SecurityCenterStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(SecurityCenterStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
SecurityCenterStubSettings.Builder |
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
SecurityCenterStubSettings |
build() |
UnaryCallSettings.Builder<com.google.cloud.securitycenter.v1.CreateFindingRequest,com.google.cloud.securitycenter.v1.Finding> |
createFindingSettings()
Returns the builder for the settings used for calls to createFinding.
|
UnaryCallSettings.Builder<com.google.cloud.securitycenter.v1.CreateSourceRequest,com.google.cloud.securitycenter.v1.Source> |
createSourceSettings()
Returns the builder for the settings used for calls to createSource.
|
UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
|
UnaryCallSettings.Builder<com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest,com.google.cloud.securitycenter.v1.OrganizationSettings> |
getOrganizationSettingsSettings()
Returns the builder for the settings used for calls to getOrganizationSettings.
|
UnaryCallSettings.Builder<com.google.cloud.securitycenter.v1.GetSourceRequest,com.google.cloud.securitycenter.v1.Source> |
getSourceSettings()
Returns the builder for the settings used for calls to getSource.
|
PagedCallSettings.Builder<com.google.cloud.securitycenter.v1.GroupAssetsRequest,com.google.cloud.securitycenter.v1.GroupAssetsResponse,SecurityCenterClient.GroupAssetsPagedResponse> |
groupAssetsSettings()
Returns the builder for the settings used for calls to groupAssets.
|
PagedCallSettings.Builder<com.google.cloud.securitycenter.v1.GroupFindingsRequest,com.google.cloud.securitycenter.v1.GroupFindingsResponse,SecurityCenterClient.GroupFindingsPagedResponse> |
groupFindingsSettings()
Returns the builder for the settings used for calls to groupFindings.
|
PagedCallSettings.Builder<com.google.cloud.securitycenter.v1.ListAssetsRequest,com.google.cloud.securitycenter.v1.ListAssetsResponse,SecurityCenterClient.ListAssetsPagedResponse> |
listAssetsSettings()
Returns the builder for the settings used for calls to listAssets.
|
PagedCallSettings.Builder<com.google.cloud.securitycenter.v1.ListFindingsRequest,com.google.cloud.securitycenter.v1.ListFindingsResponse,SecurityCenterClient.ListFindingsPagedResponse> |
listFindingsSettings()
Returns the builder for the settings used for calls to listFindings.
|
PagedCallSettings.Builder<com.google.cloud.securitycenter.v1.ListSourcesRequest,com.google.cloud.securitycenter.v1.ListSourcesResponse,SecurityCenterClient.ListSourcesPagedResponse> |
listSourcesSettings()
Returns the builder for the settings used for calls to listSources.
|
OperationCallSettings.Builder<com.google.cloud.securitycenter.v1.RunAssetDiscoveryRequest,Empty,Empty> |
runAssetDiscoveryOperationSettings()
Returns the builder for the settings used for calls to runAssetDiscovery.
|
UnaryCallSettings.Builder<com.google.cloud.securitycenter.v1.RunAssetDiscoveryRequest,Operation> |
runAssetDiscoverySettings()
Returns the builder for the settings used for calls to runAssetDiscovery.
|
UnaryCallSettings.Builder<com.google.cloud.securitycenter.v1.SetFindingStateRequest,com.google.cloud.securitycenter.v1.Finding> |
setFindingStateSettings()
Returns the builder for the settings used for calls to setFindingState.
|
UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
|
UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
|
com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
UnaryCallSettings.Builder<com.google.cloud.securitycenter.v1.UpdateFindingRequest,com.google.cloud.securitycenter.v1.Finding> |
updateFindingSettings()
Returns the builder for the settings used for calls to updateFinding.
|
UnaryCallSettings.Builder<com.google.cloud.securitycenter.v1.UpdateOrganizationSettingsRequest,com.google.cloud.securitycenter.v1.OrganizationSettings> |
updateOrganizationSettingsSettings()
Returns the builder for the settings used for calls to updateOrganizationSettings.
|
UnaryCallSettings.Builder<com.google.cloud.securitycenter.v1.UpdateSecurityMarksRequest,com.google.cloud.securitycenter.v1.SecurityMarks> |
updateSecurityMarksSettings()
Returns the builder for the settings used for calls to updateSecurityMarks.
|
UnaryCallSettings.Builder<com.google.cloud.securitycenter.v1.UpdateSourceRequest,com.google.cloud.securitycenter.v1.Source> |
updateSourceSettings()
Returns the builder for the settings used for calls to updateSource.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(SecurityCenterStubSettings settings)
public SecurityCenterStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public UnaryCallSettings.Builder<com.google.cloud.securitycenter.v1.CreateSourceRequest,com.google.cloud.securitycenter.v1.Source> createSourceSettings()
public UnaryCallSettings.Builder<com.google.cloud.securitycenter.v1.CreateFindingRequest,com.google.cloud.securitycenter.v1.Finding> createFindingSettings()
public UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
public UnaryCallSettings.Builder<com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest,com.google.cloud.securitycenter.v1.OrganizationSettings> getOrganizationSettingsSettings()
public UnaryCallSettings.Builder<com.google.cloud.securitycenter.v1.GetSourceRequest,com.google.cloud.securitycenter.v1.Source> getSourceSettings()
public PagedCallSettings.Builder<com.google.cloud.securitycenter.v1.GroupAssetsRequest,com.google.cloud.securitycenter.v1.GroupAssetsResponse,SecurityCenterClient.GroupAssetsPagedResponse> groupAssetsSettings()
public PagedCallSettings.Builder<com.google.cloud.securitycenter.v1.GroupFindingsRequest,com.google.cloud.securitycenter.v1.GroupFindingsResponse,SecurityCenterClient.GroupFindingsPagedResponse> groupFindingsSettings()
public PagedCallSettings.Builder<com.google.cloud.securitycenter.v1.ListAssetsRequest,com.google.cloud.securitycenter.v1.ListAssetsResponse,SecurityCenterClient.ListAssetsPagedResponse> listAssetsSettings()
public PagedCallSettings.Builder<com.google.cloud.securitycenter.v1.ListFindingsRequest,com.google.cloud.securitycenter.v1.ListFindingsResponse,SecurityCenterClient.ListFindingsPagedResponse> listFindingsSettings()
public PagedCallSettings.Builder<com.google.cloud.securitycenter.v1.ListSourcesRequest,com.google.cloud.securitycenter.v1.ListSourcesResponse,SecurityCenterClient.ListSourcesPagedResponse> listSourcesSettings()
public UnaryCallSettings.Builder<com.google.cloud.securitycenter.v1.RunAssetDiscoveryRequest,Operation> runAssetDiscoverySettings()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder<com.google.cloud.securitycenter.v1.RunAssetDiscoveryRequest,Empty,Empty> runAssetDiscoveryOperationSettings()
public UnaryCallSettings.Builder<com.google.cloud.securitycenter.v1.SetFindingStateRequest,com.google.cloud.securitycenter.v1.Finding> setFindingStateSettings()
public UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
public UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
public UnaryCallSettings.Builder<com.google.cloud.securitycenter.v1.UpdateFindingRequest,com.google.cloud.securitycenter.v1.Finding> updateFindingSettings()
public UnaryCallSettings.Builder<com.google.cloud.securitycenter.v1.UpdateOrganizationSettingsRequest,com.google.cloud.securitycenter.v1.OrganizationSettings> updateOrganizationSettingsSettings()
public UnaryCallSettings.Builder<com.google.cloud.securitycenter.v1.UpdateSourceRequest,com.google.cloud.securitycenter.v1.Source> updateSourceSettings()
public UnaryCallSettings.Builder<com.google.cloud.securitycenter.v1.UpdateSecurityMarksRequest,com.google.cloud.securitycenter.v1.SecurityMarks> updateSecurityMarksSettings()
public SecurityCenterStubSettings build() throws IOException
build
in class StubSettings.Builder<SecurityCenterStubSettings,SecurityCenterStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.