Class SecurityCenterStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<SecurityCenterStubSettings,SecurityCenterStubSettings.Builder>
com.google.cloud.securitycenter.v1p1beta1.stub.SecurityCenterStubSettings.Builder
- Enclosing class:
- SecurityCenterStubSettings
public static class SecurityCenterStubSettings.Builder
extends StubSettings.Builder<SecurityCenterStubSettings,SecurityCenterStubSettings.Builder>
Builder for SecurityCenterStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(SecurityCenterStubSettings settings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to createFinding.Returns the builder for the settings used for calls to createNotificationConfig.Returns the builder for the settings used for calls to createSource.UnaryCallSettings.Builder<DeleteNotificationConfigRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteNotificationConfig.Returns the builder for the settings used for calls to getIamPolicy.Returns the builder for the settings used for calls to getNotificationConfig.Returns the builder for the settings used for calls to getOrganizationSettings.Returns the builder for the settings used for calls to getSource.PagedCallSettings.Builder<GroupAssetsRequest,GroupAssetsResponse, SecurityCenterClient.GroupAssetsPagedResponse> Returns the builder for the settings used for calls to groupAssets.PagedCallSettings.Builder<GroupFindingsRequest,GroupFindingsResponse, SecurityCenterClient.GroupFindingsPagedResponse> Returns the builder for the settings used for calls to groupFindings.PagedCallSettings.Builder<ListAssetsRequest,ListAssetsResponse, SecurityCenterClient.ListAssetsPagedResponse> Returns the builder for the settings used for calls to listAssets.PagedCallSettings.Builder<ListFindingsRequest,ListFindingsResponse, SecurityCenterClient.ListFindingsPagedResponse> Returns the builder for the settings used for calls to listFindings.PagedCallSettings.Builder<ListNotificationConfigsRequest,ListNotificationConfigsResponse, SecurityCenterClient.ListNotificationConfigsPagedResponse> Returns the builder for the settings used for calls to listNotificationConfigs.PagedCallSettings.Builder<ListSourcesRequest,ListSourcesResponse, SecurityCenterClient.ListSourcesPagedResponse> Returns the builder for the settings used for calls to listSources.OperationCallSettings.Builder<RunAssetDiscoveryRequest,RunAssetDiscoveryResponse, com.google.protobuf.Empty> Returns the builder for the settings used for calls to runAssetDiscovery.Returns the builder for the settings used for calls to runAssetDiscovery.Returns the builder for the settings used for calls to setFindingState.Returns the builder for the settings used for calls to setIamPolicy.Returns the builder for the settings used for calls to testIamPermissions.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> Returns the builder for the settings used for calls to updateFinding.Returns the builder for the settings used for calls to updateNotificationConfig.Returns the builder for the settings used for calls to updateOrganizationSettings.Returns the builder for the settings used for calls to updateSecurityMarks.Returns the builder for the settings used for calls to updateSource.Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
public SecurityCenterStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
createSourceSettings
Returns the builder for the settings used for calls to createSource. -
createFindingSettings
Returns the builder for the settings used for calls to createFinding. -
createNotificationConfigSettings
public UnaryCallSettings.Builder<CreateNotificationConfigRequest,NotificationConfig> createNotificationConfigSettings()Returns the builder for the settings used for calls to createNotificationConfig. -
deleteNotificationConfigSettings
public UnaryCallSettings.Builder<DeleteNotificationConfigRequest,com.google.protobuf.Empty> deleteNotificationConfigSettings()Returns the builder for the settings used for calls to deleteNotificationConfig. -
getIamPolicySettings
Returns the builder for the settings used for calls to getIamPolicy. -
getNotificationConfigSettings
public UnaryCallSettings.Builder<GetNotificationConfigRequest,NotificationConfig> getNotificationConfigSettings()Returns the builder for the settings used for calls to getNotificationConfig. -
getOrganizationSettingsSettings
public UnaryCallSettings.Builder<GetOrganizationSettingsRequest,OrganizationSettings> getOrganizationSettingsSettings()Returns the builder for the settings used for calls to getOrganizationSettings. -
getSourceSettings
Returns the builder for the settings used for calls to getSource. -
groupAssetsSettings
public PagedCallSettings.Builder<GroupAssetsRequest,GroupAssetsResponse, groupAssetsSettings()SecurityCenterClient.GroupAssetsPagedResponse> Returns the builder for the settings used for calls to groupAssets. -
groupFindingsSettings
public PagedCallSettings.Builder<GroupFindingsRequest,GroupFindingsResponse, groupFindingsSettings()SecurityCenterClient.GroupFindingsPagedResponse> Returns the builder for the settings used for calls to groupFindings. -
listAssetsSettings
public PagedCallSettings.Builder<ListAssetsRequest,ListAssetsResponse, listAssetsSettings()SecurityCenterClient.ListAssetsPagedResponse> Returns the builder for the settings used for calls to listAssets. -
listFindingsSettings
public PagedCallSettings.Builder<ListFindingsRequest,ListFindingsResponse, listFindingsSettings()SecurityCenterClient.ListFindingsPagedResponse> Returns the builder for the settings used for calls to listFindings. -
listNotificationConfigsSettings
public PagedCallSettings.Builder<ListNotificationConfigsRequest,ListNotificationConfigsResponse, listNotificationConfigsSettings()SecurityCenterClient.ListNotificationConfigsPagedResponse> Returns the builder for the settings used for calls to listNotificationConfigs. -
listSourcesSettings
public PagedCallSettings.Builder<ListSourcesRequest,ListSourcesResponse, listSourcesSettings()SecurityCenterClient.ListSourcesPagedResponse> Returns the builder for the settings used for calls to listSources. -
runAssetDiscoverySettings
Returns the builder for the settings used for calls to runAssetDiscovery. -
runAssetDiscoveryOperationSettings
public OperationCallSettings.Builder<RunAssetDiscoveryRequest,RunAssetDiscoveryResponse, runAssetDiscoveryOperationSettings()com.google.protobuf.Empty> Returns the builder for the settings used for calls to runAssetDiscovery. -
setFindingStateSettings
Returns the builder for the settings used for calls to setFindingState. -
setIamPolicySettings
Returns the builder for the settings used for calls to setIamPolicy. -
testIamPermissionsSettings
public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()Returns the builder for the settings used for calls to testIamPermissions. -
updateFindingSettings
Returns the builder for the settings used for calls to updateFinding. -
updateNotificationConfigSettings
public UnaryCallSettings.Builder<UpdateNotificationConfigRequest,NotificationConfig> updateNotificationConfigSettings()Returns the builder for the settings used for calls to updateNotificationConfig. -
updateOrganizationSettingsSettings
public UnaryCallSettings.Builder<UpdateOrganizationSettingsRequest,OrganizationSettings> updateOrganizationSettingsSettings()Returns the builder for the settings used for calls to updateOrganizationSettings. -
updateSourceSettings
Returns the builder for the settings used for calls to updateSource. -
updateSecurityMarksSettings
public UnaryCallSettings.Builder<UpdateSecurityMarksRequest,SecurityMarks> updateSecurityMarksSettings()Returns the builder for the settings used for calls to updateSecurityMarks. -
build
- Specified by:
buildin classStubSettings.Builder<SecurityCenterStubSettings,SecurityCenterStubSettings.Builder> - Throws:
IOException
-