public static final class ScanConfig.Builder extends GeneratedMessageV3.Builder<ScanConfig.Builder> implements ScanConfigOrBuilder
A ScanConfig resource contains the configurations to launch a scan.Protobuf type
google.cloud.websecurityscanner.v1.ScanConfig
Modifier and Type | Method and Description |
---|---|
ScanConfig.Builder |
addAllBlacklistPatterns(Iterable<String> values)
The excluded URL patterns as described in
https://cloud.google.com/security-command-center/docs/how-to-use-web-security-scanner#excluding_urls
|
ScanConfig.Builder |
addAllStartingUrls(Iterable<String> values)
Required.
|
ScanConfig.Builder |
addBlacklistPatterns(String value)
The excluded URL patterns as described in
https://cloud.google.com/security-command-center/docs/how-to-use-web-security-scanner#excluding_urls
|
ScanConfig.Builder |
addBlacklistPatternsBytes(ByteString value)
The excluded URL patterns as described in
https://cloud.google.com/security-command-center/docs/how-to-use-web-security-scanner#excluding_urls
|
ScanConfig.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
ScanConfig.Builder |
addStartingUrls(String value)
Required.
|
ScanConfig.Builder |
addStartingUrlsBytes(ByteString value)
Required.
|
ScanConfig |
build() |
ScanConfig |
buildPartial() |
ScanConfig.Builder |
clear() |
ScanConfig.Builder |
clearAuthentication()
The authentication configuration.
|
ScanConfig.Builder |
clearBlacklistPatterns()
The excluded URL patterns as described in
https://cloud.google.com/security-command-center/docs/how-to-use-web-security-scanner#excluding_urls
|
ScanConfig.Builder |
clearDisplayName()
Required.
|
ScanConfig.Builder |
clearExportToSecurityCommandCenter()
Controls export of scan configurations and results to Security
Command Center.
|
ScanConfig.Builder |
clearField(Descriptors.FieldDescriptor field) |
ScanConfig.Builder |
clearIgnoreHttpStatusErrors()
Whether to keep scanning even if most requests return HTTP error codes.
|
ScanConfig.Builder |
clearManagedScan()
Whether the scan config is managed by Web Security Scanner, output
only.
|
ScanConfig.Builder |
clearMaxQps()
The maximum QPS during scanning.
|
ScanConfig.Builder |
clearName()
The resource name of the ScanConfig.
|
ScanConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
ScanConfig.Builder |
clearRiskLevel()
The risk level selected for the scan
|
ScanConfig.Builder |
clearSchedule()
The schedule of the ScanConfig.
|
ScanConfig.Builder |
clearStartingUrls()
Required.
|
ScanConfig.Builder |
clearStaticIpScan()
Whether the scan configuration has enabled static IP address scan feature.
|
ScanConfig.Builder |
clearUserAgent()
The user agent used during scanning.
|
ScanConfig.Builder |
clone() |
ScanConfig.Authentication |
getAuthentication()
The authentication configuration.
|
ScanConfig.Authentication.Builder |
getAuthenticationBuilder()
The authentication configuration.
|
ScanConfig.AuthenticationOrBuilder |
getAuthenticationOrBuilder()
The authentication configuration.
|
String |
getBlacklistPatterns(int index)
The excluded URL patterns as described in
https://cloud.google.com/security-command-center/docs/how-to-use-web-security-scanner#excluding_urls
|
ByteString |
getBlacklistPatternsBytes(int index)
The excluded URL patterns as described in
https://cloud.google.com/security-command-center/docs/how-to-use-web-security-scanner#excluding_urls
|
int |
getBlacklistPatternsCount()
The excluded URL patterns as described in
https://cloud.google.com/security-command-center/docs/how-to-use-web-security-scanner#excluding_urls
|
ProtocolStringList |
getBlacklistPatternsList()
The excluded URL patterns as described in
https://cloud.google.com/security-command-center/docs/how-to-use-web-security-scanner#excluding_urls
|
ScanConfig |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
Required.
|
ByteString |
getDisplayNameBytes()
Required.
|
ScanConfig.ExportToSecurityCommandCenter |
getExportToSecurityCommandCenter()
Controls export of scan configurations and results to Security
Command Center.
|
int |
getExportToSecurityCommandCenterValue()
Controls export of scan configurations and results to Security
Command Center.
|
boolean |
getIgnoreHttpStatusErrors()
Whether to keep scanning even if most requests return HTTP error codes.
|
boolean |
getManagedScan()
Whether the scan config is managed by Web Security Scanner, output
only.
|
int |
getMaxQps()
The maximum QPS during scanning.
|
String |
getName()
The resource name of the ScanConfig.
|
ByteString |
getNameBytes()
The resource name of the ScanConfig.
|
ScanConfig.RiskLevel |
getRiskLevel()
The risk level selected for the scan
|
int |
getRiskLevelValue()
The risk level selected for the scan
|
ScanConfig.Schedule |
getSchedule()
The schedule of the ScanConfig.
|
ScanConfig.Schedule.Builder |
getScheduleBuilder()
The schedule of the ScanConfig.
|
ScanConfig.ScheduleOrBuilder |
getScheduleOrBuilder()
The schedule of the ScanConfig.
|
String |
getStartingUrls(int index)
Required.
|
ByteString |
getStartingUrlsBytes(int index)
Required.
|
int |
getStartingUrlsCount()
Required.
|
ProtocolStringList |
getStartingUrlsList()
Required.
|
boolean |
getStaticIpScan()
Whether the scan configuration has enabled static IP address scan feature.
|
ScanConfig.UserAgent |
getUserAgent()
The user agent used during scanning.
|
int |
getUserAgentValue()
The user agent used during scanning.
|
boolean |
hasAuthentication()
The authentication configuration.
|
boolean |
hasSchedule()
The schedule of the ScanConfig.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ScanConfig.Builder |
mergeAuthentication(ScanConfig.Authentication value)
The authentication configuration.
|
ScanConfig.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
ScanConfig.Builder |
mergeFrom(Message other) |
ScanConfig.Builder |
mergeFrom(ScanConfig other) |
ScanConfig.Builder |
mergeSchedule(ScanConfig.Schedule value)
The schedule of the ScanConfig.
|
ScanConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
ScanConfig.Builder |
setAuthentication(ScanConfig.Authentication.Builder builderForValue)
The authentication configuration.
|
ScanConfig.Builder |
setAuthentication(ScanConfig.Authentication value)
The authentication configuration.
|
ScanConfig.Builder |
setBlacklistPatterns(int index,
String value)
The excluded URL patterns as described in
https://cloud.google.com/security-command-center/docs/how-to-use-web-security-scanner#excluding_urls
|
ScanConfig.Builder |
setDisplayName(String value)
Required.
|
ScanConfig.Builder |
setDisplayNameBytes(ByteString value)
Required.
|
ScanConfig.Builder |
setExportToSecurityCommandCenter(ScanConfig.ExportToSecurityCommandCenter value)
Controls export of scan configurations and results to Security
Command Center.
|
ScanConfig.Builder |
setExportToSecurityCommandCenterValue(int value)
Controls export of scan configurations and results to Security
Command Center.
|
ScanConfig.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
ScanConfig.Builder |
setIgnoreHttpStatusErrors(boolean value)
Whether to keep scanning even if most requests return HTTP error codes.
|
ScanConfig.Builder |
setManagedScan(boolean value)
Whether the scan config is managed by Web Security Scanner, output
only.
|
ScanConfig.Builder |
setMaxQps(int value)
The maximum QPS during scanning.
|
ScanConfig.Builder |
setName(String value)
The resource name of the ScanConfig.
|
ScanConfig.Builder |
setNameBytes(ByteString value)
The resource name of the ScanConfig.
|
ScanConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
ScanConfig.Builder |
setRiskLevel(ScanConfig.RiskLevel value)
The risk level selected for the scan
|
ScanConfig.Builder |
setRiskLevelValue(int value)
The risk level selected for the scan
|
ScanConfig.Builder |
setSchedule(ScanConfig.Schedule.Builder builderForValue)
The schedule of the ScanConfig.
|
ScanConfig.Builder |
setSchedule(ScanConfig.Schedule value)
The schedule of the ScanConfig.
|
ScanConfig.Builder |
setStartingUrls(int index,
String value)
Required.
|
ScanConfig.Builder |
setStaticIpScan(boolean value)
Whether the scan configuration has enabled static IP address scan feature.
|
ScanConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
ScanConfig.Builder |
setUserAgent(ScanConfig.UserAgent value)
The user agent used during scanning.
|
ScanConfig.Builder |
setUserAgentValue(int value)
The user agent used during scanning.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ScanConfig.Builder>
public ScanConfig.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ScanConfig.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ScanConfig.Builder>
public ScanConfig getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ScanConfig build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ScanConfig buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ScanConfig.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ScanConfig.Builder>
public ScanConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ScanConfig.Builder>
public ScanConfig.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ScanConfig.Builder>
public ScanConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ScanConfig.Builder>
public ScanConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ScanConfig.Builder>
public ScanConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ScanConfig.Builder>
public ScanConfig.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ScanConfig.Builder>
public ScanConfig.Builder mergeFrom(ScanConfig other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ScanConfig.Builder>
public ScanConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ScanConfig.Builder>
IOException
public String getName()
The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system.
string name = 1;
getName
in interface ScanConfigOrBuilder
public ByteString getNameBytes()
The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system.
string name = 1;
getNameBytes
in interface ScanConfigOrBuilder
public ScanConfig.Builder setName(String value)
The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system.
string name = 1;
value
- The name to set.public ScanConfig.Builder clearName()
The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system.
string name = 1;
public ScanConfig.Builder setNameBytes(ByteString value)
The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system.
string name = 1;
value
- The bytes for name to set.public String getDisplayName()
Required. The user provided display name of the ScanConfig.
string display_name = 2;
getDisplayName
in interface ScanConfigOrBuilder
public ByteString getDisplayNameBytes()
Required. The user provided display name of the ScanConfig.
string display_name = 2;
getDisplayNameBytes
in interface ScanConfigOrBuilder
public ScanConfig.Builder setDisplayName(String value)
Required. The user provided display name of the ScanConfig.
string display_name = 2;
value
- The displayName to set.public ScanConfig.Builder clearDisplayName()
Required. The user provided display name of the ScanConfig.
string display_name = 2;
public ScanConfig.Builder setDisplayNameBytes(ByteString value)
Required. The user provided display name of the ScanConfig.
string display_name = 2;
value
- The bytes for displayName to set.public int getMaxQps()
The maximum QPS during scanning. A valid value ranges from 5 to 20 inclusively. If the field is unspecified or its value is set 0, server will default to 15. Other values outside of [5, 20] range will be rejected with INVALID_ARGUMENT error.
int32 max_qps = 3;
getMaxQps
in interface ScanConfigOrBuilder
public ScanConfig.Builder setMaxQps(int value)
The maximum QPS during scanning. A valid value ranges from 5 to 20 inclusively. If the field is unspecified or its value is set 0, server will default to 15. Other values outside of [5, 20] range will be rejected with INVALID_ARGUMENT error.
int32 max_qps = 3;
value
- The maxQps to set.public ScanConfig.Builder clearMaxQps()
The maximum QPS during scanning. A valid value ranges from 5 to 20 inclusively. If the field is unspecified or its value is set 0, server will default to 15. Other values outside of [5, 20] range will be rejected with INVALID_ARGUMENT error.
int32 max_qps = 3;
public ProtocolStringList getStartingUrlsList()
Required. The starting URLs from which the scanner finds site pages.
repeated string starting_urls = 4;
getStartingUrlsList
in interface ScanConfigOrBuilder
public int getStartingUrlsCount()
Required. The starting URLs from which the scanner finds site pages.
repeated string starting_urls = 4;
getStartingUrlsCount
in interface ScanConfigOrBuilder
public String getStartingUrls(int index)
Required. The starting URLs from which the scanner finds site pages.
repeated string starting_urls = 4;
getStartingUrls
in interface ScanConfigOrBuilder
index
- The index of the element to return.public ByteString getStartingUrlsBytes(int index)
Required. The starting URLs from which the scanner finds site pages.
repeated string starting_urls = 4;
getStartingUrlsBytes
in interface ScanConfigOrBuilder
index
- The index of the value to return.public ScanConfig.Builder setStartingUrls(int index, String value)
Required. The starting URLs from which the scanner finds site pages.
repeated string starting_urls = 4;
index
- The index to set the value at.value
- The startingUrls to set.public ScanConfig.Builder addStartingUrls(String value)
Required. The starting URLs from which the scanner finds site pages.
repeated string starting_urls = 4;
value
- The startingUrls to add.public ScanConfig.Builder addAllStartingUrls(Iterable<String> values)
Required. The starting URLs from which the scanner finds site pages.
repeated string starting_urls = 4;
values
- The startingUrls to add.public ScanConfig.Builder clearStartingUrls()
Required. The starting URLs from which the scanner finds site pages.
repeated string starting_urls = 4;
public ScanConfig.Builder addStartingUrlsBytes(ByteString value)
Required. The starting URLs from which the scanner finds site pages.
repeated string starting_urls = 4;
value
- The bytes of the startingUrls to add.public boolean hasAuthentication()
The authentication configuration. If specified, service will use the authentication configuration during scanning.
.google.cloud.websecurityscanner.v1.ScanConfig.Authentication authentication = 5;
hasAuthentication
in interface ScanConfigOrBuilder
public ScanConfig.Authentication getAuthentication()
The authentication configuration. If specified, service will use the authentication configuration during scanning.
.google.cloud.websecurityscanner.v1.ScanConfig.Authentication authentication = 5;
getAuthentication
in interface ScanConfigOrBuilder
public ScanConfig.Builder setAuthentication(ScanConfig.Authentication value)
The authentication configuration. If specified, service will use the authentication configuration during scanning.
.google.cloud.websecurityscanner.v1.ScanConfig.Authentication authentication = 5;
public ScanConfig.Builder setAuthentication(ScanConfig.Authentication.Builder builderForValue)
The authentication configuration. If specified, service will use the authentication configuration during scanning.
.google.cloud.websecurityscanner.v1.ScanConfig.Authentication authentication = 5;
public ScanConfig.Builder mergeAuthentication(ScanConfig.Authentication value)
The authentication configuration. If specified, service will use the authentication configuration during scanning.
.google.cloud.websecurityscanner.v1.ScanConfig.Authentication authentication = 5;
public ScanConfig.Builder clearAuthentication()
The authentication configuration. If specified, service will use the authentication configuration during scanning.
.google.cloud.websecurityscanner.v1.ScanConfig.Authentication authentication = 5;
public ScanConfig.Authentication.Builder getAuthenticationBuilder()
The authentication configuration. If specified, service will use the authentication configuration during scanning.
.google.cloud.websecurityscanner.v1.ScanConfig.Authentication authentication = 5;
public ScanConfig.AuthenticationOrBuilder getAuthenticationOrBuilder()
The authentication configuration. If specified, service will use the authentication configuration during scanning.
.google.cloud.websecurityscanner.v1.ScanConfig.Authentication authentication = 5;
getAuthenticationOrBuilder
in interface ScanConfigOrBuilder
public int getUserAgentValue()
The user agent used during scanning.
.google.cloud.websecurityscanner.v1.ScanConfig.UserAgent user_agent = 6;
getUserAgentValue
in interface ScanConfigOrBuilder
public ScanConfig.Builder setUserAgentValue(int value)
The user agent used during scanning.
.google.cloud.websecurityscanner.v1.ScanConfig.UserAgent user_agent = 6;
value
- The enum numeric value on the wire for userAgent to set.public ScanConfig.UserAgent getUserAgent()
The user agent used during scanning.
.google.cloud.websecurityscanner.v1.ScanConfig.UserAgent user_agent = 6;
getUserAgent
in interface ScanConfigOrBuilder
public ScanConfig.Builder setUserAgent(ScanConfig.UserAgent value)
The user agent used during scanning.
.google.cloud.websecurityscanner.v1.ScanConfig.UserAgent user_agent = 6;
value
- The userAgent to set.public ScanConfig.Builder clearUserAgent()
The user agent used during scanning.
.google.cloud.websecurityscanner.v1.ScanConfig.UserAgent user_agent = 6;
public ProtocolStringList getBlacklistPatternsList()
The excluded URL patterns as described in https://cloud.google.com/security-command-center/docs/how-to-use-web-security-scanner#excluding_urls
repeated string blacklist_patterns = 7;
getBlacklistPatternsList
in interface ScanConfigOrBuilder
public int getBlacklistPatternsCount()
The excluded URL patterns as described in https://cloud.google.com/security-command-center/docs/how-to-use-web-security-scanner#excluding_urls
repeated string blacklist_patterns = 7;
getBlacklistPatternsCount
in interface ScanConfigOrBuilder
public String getBlacklistPatterns(int index)
The excluded URL patterns as described in https://cloud.google.com/security-command-center/docs/how-to-use-web-security-scanner#excluding_urls
repeated string blacklist_patterns = 7;
getBlacklistPatterns
in interface ScanConfigOrBuilder
index
- The index of the element to return.public ByteString getBlacklistPatternsBytes(int index)
The excluded URL patterns as described in https://cloud.google.com/security-command-center/docs/how-to-use-web-security-scanner#excluding_urls
repeated string blacklist_patterns = 7;
getBlacklistPatternsBytes
in interface ScanConfigOrBuilder
index
- The index of the value to return.public ScanConfig.Builder setBlacklistPatterns(int index, String value)
The excluded URL patterns as described in https://cloud.google.com/security-command-center/docs/how-to-use-web-security-scanner#excluding_urls
repeated string blacklist_patterns = 7;
index
- The index to set the value at.value
- The blacklistPatterns to set.public ScanConfig.Builder addBlacklistPatterns(String value)
The excluded URL patterns as described in https://cloud.google.com/security-command-center/docs/how-to-use-web-security-scanner#excluding_urls
repeated string blacklist_patterns = 7;
value
- The blacklistPatterns to add.public ScanConfig.Builder addAllBlacklistPatterns(Iterable<String> values)
The excluded URL patterns as described in https://cloud.google.com/security-command-center/docs/how-to-use-web-security-scanner#excluding_urls
repeated string blacklist_patterns = 7;
values
- The blacklistPatterns to add.public ScanConfig.Builder clearBlacklistPatterns()
The excluded URL patterns as described in https://cloud.google.com/security-command-center/docs/how-to-use-web-security-scanner#excluding_urls
repeated string blacklist_patterns = 7;
public ScanConfig.Builder addBlacklistPatternsBytes(ByteString value)
The excluded URL patterns as described in https://cloud.google.com/security-command-center/docs/how-to-use-web-security-scanner#excluding_urls
repeated string blacklist_patterns = 7;
value
- The bytes of the blacklistPatterns to add.public boolean hasSchedule()
The schedule of the ScanConfig.
.google.cloud.websecurityscanner.v1.ScanConfig.Schedule schedule = 8;
hasSchedule
in interface ScanConfigOrBuilder
public ScanConfig.Schedule getSchedule()
The schedule of the ScanConfig.
.google.cloud.websecurityscanner.v1.ScanConfig.Schedule schedule = 8;
getSchedule
in interface ScanConfigOrBuilder
public ScanConfig.Builder setSchedule(ScanConfig.Schedule value)
The schedule of the ScanConfig.
.google.cloud.websecurityscanner.v1.ScanConfig.Schedule schedule = 8;
public ScanConfig.Builder setSchedule(ScanConfig.Schedule.Builder builderForValue)
The schedule of the ScanConfig.
.google.cloud.websecurityscanner.v1.ScanConfig.Schedule schedule = 8;
public ScanConfig.Builder mergeSchedule(ScanConfig.Schedule value)
The schedule of the ScanConfig.
.google.cloud.websecurityscanner.v1.ScanConfig.Schedule schedule = 8;
public ScanConfig.Builder clearSchedule()
The schedule of the ScanConfig.
.google.cloud.websecurityscanner.v1.ScanConfig.Schedule schedule = 8;
public ScanConfig.Schedule.Builder getScheduleBuilder()
The schedule of the ScanConfig.
.google.cloud.websecurityscanner.v1.ScanConfig.Schedule schedule = 8;
public ScanConfig.ScheduleOrBuilder getScheduleOrBuilder()
The schedule of the ScanConfig.
.google.cloud.websecurityscanner.v1.ScanConfig.Schedule schedule = 8;
getScheduleOrBuilder
in interface ScanConfigOrBuilder
public int getExportToSecurityCommandCenterValue()
Controls export of scan configurations and results to Security Command Center.
.google.cloud.websecurityscanner.v1.ScanConfig.ExportToSecurityCommandCenter export_to_security_command_center = 10;
getExportToSecurityCommandCenterValue
in interface ScanConfigOrBuilder
public ScanConfig.Builder setExportToSecurityCommandCenterValue(int value)
Controls export of scan configurations and results to Security Command Center.
.google.cloud.websecurityscanner.v1.ScanConfig.ExportToSecurityCommandCenter export_to_security_command_center = 10;
value
- The enum numeric value on the wire for exportToSecurityCommandCenter to set.public ScanConfig.ExportToSecurityCommandCenter getExportToSecurityCommandCenter()
Controls export of scan configurations and results to Security Command Center.
.google.cloud.websecurityscanner.v1.ScanConfig.ExportToSecurityCommandCenter export_to_security_command_center = 10;
getExportToSecurityCommandCenter
in interface ScanConfigOrBuilder
public ScanConfig.Builder setExportToSecurityCommandCenter(ScanConfig.ExportToSecurityCommandCenter value)
Controls export of scan configurations and results to Security Command Center.
.google.cloud.websecurityscanner.v1.ScanConfig.ExportToSecurityCommandCenter export_to_security_command_center = 10;
value
- The exportToSecurityCommandCenter to set.public ScanConfig.Builder clearExportToSecurityCommandCenter()
Controls export of scan configurations and results to Security Command Center.
.google.cloud.websecurityscanner.v1.ScanConfig.ExportToSecurityCommandCenter export_to_security_command_center = 10;
public int getRiskLevelValue()
The risk level selected for the scan
.google.cloud.websecurityscanner.v1.ScanConfig.RiskLevel risk_level = 12;
getRiskLevelValue
in interface ScanConfigOrBuilder
public ScanConfig.Builder setRiskLevelValue(int value)
The risk level selected for the scan
.google.cloud.websecurityscanner.v1.ScanConfig.RiskLevel risk_level = 12;
value
- The enum numeric value on the wire for riskLevel to set.public ScanConfig.RiskLevel getRiskLevel()
The risk level selected for the scan
.google.cloud.websecurityscanner.v1.ScanConfig.RiskLevel risk_level = 12;
getRiskLevel
in interface ScanConfigOrBuilder
public ScanConfig.Builder setRiskLevel(ScanConfig.RiskLevel value)
The risk level selected for the scan
.google.cloud.websecurityscanner.v1.ScanConfig.RiskLevel risk_level = 12;
value
- The riskLevel to set.public ScanConfig.Builder clearRiskLevel()
The risk level selected for the scan
.google.cloud.websecurityscanner.v1.ScanConfig.RiskLevel risk_level = 12;
public boolean getManagedScan()
Whether the scan config is managed by Web Security Scanner, output only.
bool managed_scan = 13;
getManagedScan
in interface ScanConfigOrBuilder
public ScanConfig.Builder setManagedScan(boolean value)
Whether the scan config is managed by Web Security Scanner, output only.
bool managed_scan = 13;
value
- The managedScan to set.public ScanConfig.Builder clearManagedScan()
Whether the scan config is managed by Web Security Scanner, output only.
bool managed_scan = 13;
public boolean getStaticIpScan()
Whether the scan configuration has enabled static IP address scan feature. If enabled, the scanner will access applications from static IP addresses.
bool static_ip_scan = 14;
getStaticIpScan
in interface ScanConfigOrBuilder
public ScanConfig.Builder setStaticIpScan(boolean value)
Whether the scan configuration has enabled static IP address scan feature. If enabled, the scanner will access applications from static IP addresses.
bool static_ip_scan = 14;
value
- The staticIpScan to set.public ScanConfig.Builder clearStaticIpScan()
Whether the scan configuration has enabled static IP address scan feature. If enabled, the scanner will access applications from static IP addresses.
bool static_ip_scan = 14;
public boolean getIgnoreHttpStatusErrors()
Whether to keep scanning even if most requests return HTTP error codes.
bool ignore_http_status_errors = 15;
getIgnoreHttpStatusErrors
in interface ScanConfigOrBuilder
public ScanConfig.Builder setIgnoreHttpStatusErrors(boolean value)
Whether to keep scanning even if most requests return HTTP error codes.
bool ignore_http_status_errors = 15;
value
- The ignoreHttpStatusErrors to set.public ScanConfig.Builder clearIgnoreHttpStatusErrors()
Whether to keep scanning even if most requests return HTTP error codes.
bool ignore_http_status_errors = 15;
public final ScanConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ScanConfig.Builder>
public final ScanConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ScanConfig.Builder>
Copyright © 2022 Google LLC. All rights reserved.