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 com.google.api.gax.rpc.StubSettings.Builder<SecurityCenterStubSettings,SecurityCenterStubSettings.Builder>
Builder for SecurityCenterStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(SecurityCenterStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityCenterStubSettings.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.SecurityCenterStubSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateFindingRequest,Finding>
createFindingSettings()
Returns the builder for the settings used for calls to createFinding.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateNotificationConfigRequest,NotificationConfig>
createNotificationConfigSettings()
Returns the builder for the settings used for calls to createNotificationConfig.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateSourceRequest,Source>
createSourceSettings()
Returns the builder for the settings used for calls to createSource.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteNotificationConfigRequest,com.google.protobuf.Empty>
deleteNotificationConfigSettings()
Returns the builder for the settings used for calls to deleteNotificationConfig.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.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetNotificationConfigRequest,NotificationConfig>
getNotificationConfigSettings()
Returns the builder for the settings used for calls to getNotificationConfig.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetOrganizationSettingsRequest,OrganizationSettings>
getOrganizationSettingsSettings()
Returns the builder for the settings used for calls to getOrganizationSettings.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetSourceRequest,Source>
getSourceSettings()
Returns the builder for the settings used for calls to getSource.com.google.api.gax.rpc.PagedCallSettings.Builder<GroupAssetsRequest,GroupAssetsResponse,SecurityCenterClient.GroupAssetsPagedResponse>
groupAssetsSettings()
Returns the builder for the settings used for calls to groupAssets.com.google.api.gax.rpc.PagedCallSettings.Builder<GroupFindingsRequest,GroupFindingsResponse,SecurityCenterClient.GroupFindingsPagedResponse>
groupFindingsSettings()
Returns the builder for the settings used for calls to groupFindings.com.google.api.gax.rpc.PagedCallSettings.Builder<ListAssetsRequest,ListAssetsResponse,SecurityCenterClient.ListAssetsPagedResponse>
listAssetsSettings()
Returns the builder for the settings used for calls to listAssets.com.google.api.gax.rpc.PagedCallSettings.Builder<ListFindingsRequest,ListFindingsResponse,SecurityCenterClient.ListFindingsPagedResponse>
listFindingsSettings()
Returns the builder for the settings used for calls to listFindings.com.google.api.gax.rpc.PagedCallSettings.Builder<ListNotificationConfigsRequest,ListNotificationConfigsResponse,SecurityCenterClient.ListNotificationConfigsPagedResponse>
listNotificationConfigsSettings()
Returns the builder for the settings used for calls to listNotificationConfigs.com.google.api.gax.rpc.PagedCallSettings.Builder<ListSourcesRequest,ListSourcesResponse,SecurityCenterClient.ListSourcesPagedResponse>
listSourcesSettings()
Returns the builder for the settings used for calls to listSources.com.google.api.gax.rpc.OperationCallSettings.Builder<RunAssetDiscoveryRequest,RunAssetDiscoveryResponse,com.google.protobuf.Empty>
runAssetDiscoveryOperationSettings()
Returns the builder for the settings used for calls to runAssetDiscovery.com.google.api.gax.rpc.UnaryCallSettings.Builder<RunAssetDiscoveryRequest,com.google.longrunning.Operation>
runAssetDiscoverySettings()
Returns the builder for the settings used for calls to runAssetDiscovery.com.google.api.gax.rpc.UnaryCallSettings.Builder<SetFindingStateRequest,Finding>
setFindingStateSettings()
Returns the builder for the settings used for calls to setFindingState.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.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateFindingRequest,Finding>
updateFindingSettings()
Returns the builder for the settings used for calls to updateFinding.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateNotificationConfigRequest,NotificationConfig>
updateNotificationConfigSettings()
Returns the builder for the settings used for calls to updateNotificationConfig.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateOrganizationSettingsRequest,OrganizationSettings>
updateOrganizationSettingsSettings()
Returns the builder for the settings used for calls to updateOrganizationSettings.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateSecurityMarksRequest,SecurityMarks>
updateSecurityMarksSettings()
Returns the builder for the settings used for calls to updateSecurityMarks.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateSourceRequest,Source>
updateSourceSettings()
Returns the builder for the settings used for calls to updateSource.-
Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(SecurityCenterStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public SecurityCenterStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
createSourceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateSourceRequest,Source> createSourceSettings()
Returns the builder for the settings used for calls to createSource.
-
createFindingSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateFindingRequest,Finding> createFindingSettings()
Returns the builder for the settings used for calls to createFinding.
-
createNotificationConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateNotificationConfigRequest,NotificationConfig> createNotificationConfigSettings()
Returns the builder for the settings used for calls to createNotificationConfig.
-
deleteNotificationConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteNotificationConfigRequest,com.google.protobuf.Empty> deleteNotificationConfigSettings()
Returns the builder for the settings used for calls to deleteNotificationConfig.
-
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.
-
getNotificationConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetNotificationConfigRequest,NotificationConfig> getNotificationConfigSettings()
Returns the builder for the settings used for calls to getNotificationConfig.
-
getOrganizationSettingsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetOrganizationSettingsRequest,OrganizationSettings> getOrganizationSettingsSettings()
Returns the builder for the settings used for calls to getOrganizationSettings.
-
getSourceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetSourceRequest,Source> getSourceSettings()
Returns the builder for the settings used for calls to getSource.
-
groupAssetsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<GroupAssetsRequest,GroupAssetsResponse,SecurityCenterClient.GroupAssetsPagedResponse> groupAssetsSettings()
Returns the builder for the settings used for calls to groupAssets.
-
groupFindingsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<GroupFindingsRequest,GroupFindingsResponse,SecurityCenterClient.GroupFindingsPagedResponse> groupFindingsSettings()
Returns the builder for the settings used for calls to groupFindings.
-
listAssetsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListAssetsRequest,ListAssetsResponse,SecurityCenterClient.ListAssetsPagedResponse> listAssetsSettings()
Returns the builder for the settings used for calls to listAssets.
-
listFindingsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListFindingsRequest,ListFindingsResponse,SecurityCenterClient.ListFindingsPagedResponse> listFindingsSettings()
Returns the builder for the settings used for calls to listFindings.
-
listNotificationConfigsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListNotificationConfigsRequest,ListNotificationConfigsResponse,SecurityCenterClient.ListNotificationConfigsPagedResponse> listNotificationConfigsSettings()
Returns the builder for the settings used for calls to listNotificationConfigs.
-
listSourcesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListSourcesRequest,ListSourcesResponse,SecurityCenterClient.ListSourcesPagedResponse> listSourcesSettings()
Returns the builder for the settings used for calls to listSources.
-
runAssetDiscoverySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RunAssetDiscoveryRequest,com.google.longrunning.Operation> runAssetDiscoverySettings()
Returns the builder for the settings used for calls to runAssetDiscovery.
-
runAssetDiscoveryOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<RunAssetDiscoveryRequest,RunAssetDiscoveryResponse,com.google.protobuf.Empty> runAssetDiscoveryOperationSettings()
Returns the builder for the settings used for calls to runAssetDiscovery.
-
setFindingStateSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetFindingStateRequest,Finding> setFindingStateSettings()
Returns the builder for the settings used for calls to setFindingState.
-
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.
-
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.
-
updateFindingSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateFindingRequest,Finding> updateFindingSettings()
Returns the builder for the settings used for calls to updateFinding.
-
updateNotificationConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateNotificationConfigRequest,NotificationConfig> updateNotificationConfigSettings()
Returns the builder for the settings used for calls to updateNotificationConfig.
-
updateOrganizationSettingsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateOrganizationSettingsRequest,OrganizationSettings> updateOrganizationSettingsSettings()
Returns the builder for the settings used for calls to updateOrganizationSettings.
-
updateSourceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateSourceRequest,Source> updateSourceSettings()
Returns the builder for the settings used for calls to updateSource.
-
updateSecurityMarksSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateSecurityMarksRequest,SecurityMarks> updateSecurityMarksSettings()
Returns the builder for the settings used for calls to updateSecurityMarks.
-
build
public SecurityCenterStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<SecurityCenterStubSettings,SecurityCenterStubSettings.Builder>
- Throws:
IOException
-
-