@Generated(value="by gapic-generator") @BetaApi public class WebSecurityScannerStubSettings extends StubSettings<WebSecurityScannerStubSettings>
WebSecurityScannerStub
.
The default instance has everything set to sensible defaults:
The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object. For example, to set the total timeout of createScanConfig to 30 seconds:
WebSecurityScannerStubSettings.Builder webSecurityScannerSettingsBuilder =
WebSecurityScannerStubSettings.newBuilder();
webSecurityScannerSettingsBuilder.createScanConfigSettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30));
WebSecurityScannerStubSettings webSecurityScannerSettings = webSecurityScannerSettingsBuilder.build();
Modifier and Type | Class and Description |
---|---|
static class |
WebSecurityScannerStubSettings.Builder
Builder for WebSecurityScannerStubSettings.
|
Modifier | Constructor and Description |
---|---|
protected |
WebSecurityScannerStubSettings(WebSecurityScannerStubSettings.Builder settingsBuilder) |
Modifier and Type | Method and Description |
---|---|
UnaryCallSettings<com.google.cloud.websecurityscanner.v1alpha.CreateScanConfigRequest,com.google.cloud.websecurityscanner.v1alpha.ScanConfig> |
createScanConfigSettings()
Returns the object with the settings used for calls to createScanConfig.
|
WebSecurityScannerStub |
createStub() |
static ApiClientHeaderProvider.Builder |
defaultApiClientHeaderProviderBuilder() |
static GoogleCredentialsProvider.Builder |
defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
|
static InstantiatingExecutorProvider.Builder |
defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
|
static InstantiatingGrpcChannelProvider.Builder |
defaultGrpcTransportProviderBuilder()
Returns a builder for the default ChannelProvider for this service.
|
static TransportChannelProvider |
defaultTransportChannelProvider() |
UnaryCallSettings<com.google.cloud.websecurityscanner.v1alpha.DeleteScanConfigRequest,Empty> |
deleteScanConfigSettings()
Returns the object with the settings used for calls to deleteScanConfig.
|
static String |
getDefaultEndpoint()
Returns the default service endpoint.
|
static List<String> |
getDefaultServiceScopes()
Returns the default service scopes.
|
UnaryCallSettings<com.google.cloud.websecurityscanner.v1alpha.GetFindingRequest,com.google.cloud.websecurityscanner.v1alpha.Finding> |
getFindingSettings()
Returns the object with the settings used for calls to getFinding.
|
UnaryCallSettings<com.google.cloud.websecurityscanner.v1alpha.GetScanConfigRequest,com.google.cloud.websecurityscanner.v1alpha.ScanConfig> |
getScanConfigSettings()
Returns the object with the settings used for calls to getScanConfig.
|
UnaryCallSettings<com.google.cloud.websecurityscanner.v1alpha.GetScanRunRequest,com.google.cloud.websecurityscanner.v1alpha.ScanRun> |
getScanRunSettings()
Returns the object with the settings used for calls to getScanRun.
|
PagedCallSettings<com.google.cloud.websecurityscanner.v1alpha.ListCrawledUrlsRequest,com.google.cloud.websecurityscanner.v1alpha.ListCrawledUrlsResponse,WebSecurityScannerClient.ListCrawledUrlsPagedResponse> |
listCrawledUrlsSettings()
Returns the object with the settings used for calls to listCrawledUrls.
|
PagedCallSettings<com.google.cloud.websecurityscanner.v1alpha.ListFindingsRequest,com.google.cloud.websecurityscanner.v1alpha.ListFindingsResponse,WebSecurityScannerClient.ListFindingsPagedResponse> |
listFindingsSettings()
Returns the object with the settings used for calls to listFindings.
|
UnaryCallSettings<com.google.cloud.websecurityscanner.v1alpha.ListFindingTypeStatsRequest,com.google.cloud.websecurityscanner.v1alpha.ListFindingTypeStatsResponse> |
listFindingTypeStatsSettings()
Returns the object with the settings used for calls to listFindingTypeStats.
|
PagedCallSettings<com.google.cloud.websecurityscanner.v1alpha.ListScanConfigsRequest,com.google.cloud.websecurityscanner.v1alpha.ListScanConfigsResponse,WebSecurityScannerClient.ListScanConfigsPagedResponse> |
listScanConfigsSettings()
Returns the object with the settings used for calls to listScanConfigs.
|
PagedCallSettings<com.google.cloud.websecurityscanner.v1alpha.ListScanRunsRequest,com.google.cloud.websecurityscanner.v1alpha.ListScanRunsResponse,WebSecurityScannerClient.ListScanRunsPagedResponse> |
listScanRunsSettings()
Returns the object with the settings used for calls to listScanRuns.
|
static WebSecurityScannerStubSettings.Builder |
newBuilder()
Returns a new builder for this class.
|
static WebSecurityScannerStubSettings.Builder |
newBuilder(ClientContext clientContext)
Returns a new builder for this class.
|
UnaryCallSettings<com.google.cloud.websecurityscanner.v1alpha.StartScanRunRequest,com.google.cloud.websecurityscanner.v1alpha.ScanRun> |
startScanRunSettings()
Returns the object with the settings used for calls to startScanRun.
|
UnaryCallSettings<com.google.cloud.websecurityscanner.v1alpha.StopScanRunRequest,com.google.cloud.websecurityscanner.v1alpha.ScanRun> |
stopScanRunSettings()
Returns the object with the settings used for calls to stopScanRun.
|
WebSecurityScannerStubSettings.Builder |
toBuilder()
Returns a builder containing all the values of this settings class.
|
UnaryCallSettings<com.google.cloud.websecurityscanner.v1alpha.UpdateScanConfigRequest,com.google.cloud.websecurityscanner.v1alpha.ScanConfig> |
updateScanConfigSettings()
Returns the object with the settings used for calls to updateScanConfig.
|
getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, toString
protected WebSecurityScannerStubSettings(WebSecurityScannerStubSettings.Builder settingsBuilder) throws IOException
IOException
public UnaryCallSettings<com.google.cloud.websecurityscanner.v1alpha.CreateScanConfigRequest,com.google.cloud.websecurityscanner.v1alpha.ScanConfig> createScanConfigSettings()
public UnaryCallSettings<com.google.cloud.websecurityscanner.v1alpha.DeleteScanConfigRequest,Empty> deleteScanConfigSettings()
public UnaryCallSettings<com.google.cloud.websecurityscanner.v1alpha.GetScanConfigRequest,com.google.cloud.websecurityscanner.v1alpha.ScanConfig> getScanConfigSettings()
public PagedCallSettings<com.google.cloud.websecurityscanner.v1alpha.ListScanConfigsRequest,com.google.cloud.websecurityscanner.v1alpha.ListScanConfigsResponse,WebSecurityScannerClient.ListScanConfigsPagedResponse> listScanConfigsSettings()
public UnaryCallSettings<com.google.cloud.websecurityscanner.v1alpha.UpdateScanConfigRequest,com.google.cloud.websecurityscanner.v1alpha.ScanConfig> updateScanConfigSettings()
public UnaryCallSettings<com.google.cloud.websecurityscanner.v1alpha.StartScanRunRequest,com.google.cloud.websecurityscanner.v1alpha.ScanRun> startScanRunSettings()
public UnaryCallSettings<com.google.cloud.websecurityscanner.v1alpha.GetScanRunRequest,com.google.cloud.websecurityscanner.v1alpha.ScanRun> getScanRunSettings()
public PagedCallSettings<com.google.cloud.websecurityscanner.v1alpha.ListScanRunsRequest,com.google.cloud.websecurityscanner.v1alpha.ListScanRunsResponse,WebSecurityScannerClient.ListScanRunsPagedResponse> listScanRunsSettings()
public UnaryCallSettings<com.google.cloud.websecurityscanner.v1alpha.StopScanRunRequest,com.google.cloud.websecurityscanner.v1alpha.ScanRun> stopScanRunSettings()
public PagedCallSettings<com.google.cloud.websecurityscanner.v1alpha.ListCrawledUrlsRequest,com.google.cloud.websecurityscanner.v1alpha.ListCrawledUrlsResponse,WebSecurityScannerClient.ListCrawledUrlsPagedResponse> listCrawledUrlsSettings()
public UnaryCallSettings<com.google.cloud.websecurityscanner.v1alpha.GetFindingRequest,com.google.cloud.websecurityscanner.v1alpha.Finding> getFindingSettings()
public PagedCallSettings<com.google.cloud.websecurityscanner.v1alpha.ListFindingsRequest,com.google.cloud.websecurityscanner.v1alpha.ListFindingsResponse,WebSecurityScannerClient.ListFindingsPagedResponse> listFindingsSettings()
public UnaryCallSettings<com.google.cloud.websecurityscanner.v1alpha.ListFindingTypeStatsRequest,com.google.cloud.websecurityscanner.v1alpha.ListFindingTypeStatsResponse> listFindingTypeStatsSettings()
@BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public WebSecurityScannerStub createStub() throws IOException
IOException
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static List<String> getDefaultServiceScopes()
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
public static TransportChannelProvider defaultTransportChannelProvider()
@BetaApi(value="The surface for customizing headers is not stable yet and may change in the future.") public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
public static WebSecurityScannerStubSettings.Builder newBuilder()
public static WebSecurityScannerStubSettings.Builder newBuilder(ClientContext clientContext)
public WebSecurityScannerStubSettings.Builder toBuilder()
toBuilder
in class StubSettings<WebSecurityScannerStubSettings>
Copyright © 2019 Google LLC. All rights reserved.