public static final class ScanConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ScanConfig.Builder> implements ScanConfigOrBuilder
A ScanConfig resource contains the configurations to launch a scan.Protobuf type
google.cloud.websecurityscanner.v1beta.ScanConfig| Modifier and Type | Method and Description |
|---|---|
ScanConfig.Builder |
addAllBlacklistPatterns(Iterable<String> values)
The blacklist URL patterns as described in
https://cloud.google.com/security-scanner/docs/excluded-urls
|
ScanConfig.Builder |
addAllStartingUrls(Iterable<String> values)
Required.
|
ScanConfig.Builder |
addAllTargetPlatforms(Iterable<? extends ScanConfig.TargetPlatform> values)
Set of Cloud Platforms targeted by the scan.
|
ScanConfig.Builder |
addAllTargetPlatformsValue(Iterable<Integer> values)
Set of Cloud Platforms targeted by the scan.
|
ScanConfig.Builder |
addBlacklistPatterns(String value)
The blacklist URL patterns as described in
https://cloud.google.com/security-scanner/docs/excluded-urls
|
ScanConfig.Builder |
addBlacklistPatternsBytes(com.google.protobuf.ByteString value)
The blacklist URL patterns as described in
https://cloud.google.com/security-scanner/docs/excluded-urls
|
ScanConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ScanConfig.Builder |
addStartingUrls(String value)
Required.
|
ScanConfig.Builder |
addStartingUrlsBytes(com.google.protobuf.ByteString value)
Required.
|
ScanConfig.Builder |
addTargetPlatforms(ScanConfig.TargetPlatform value)
Set of Cloud Platforms targeted by the scan.
|
ScanConfig.Builder |
addTargetPlatformsValue(int value)
Set of Cloud Platforms targeted by the scan.
|
ScanConfig |
build() |
ScanConfig |
buildPartial() |
ScanConfig.Builder |
clear() |
ScanConfig.Builder |
clearAuthentication()
The authentication configuration.
|
ScanConfig.Builder |
clearBlacklistPatterns()
The blacklist URL patterns as described in
https://cloud.google.com/security-scanner/docs/excluded-urls
|
ScanConfig.Builder |
clearDisplayName()
Required.
|
ScanConfig.Builder |
clearExportToSecurityCommandCenter()
Controls export of scan configurations and results to Cloud Security
Command Center.
|
ScanConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ScanConfig.Builder |
clearLatestRun()
Latest ScanRun if available.
|
ScanConfig.Builder |
clearMaxQps()
The maximum QPS during scanning.
|
ScanConfig.Builder |
clearName()
The resource name of the ScanConfig.
|
ScanConfig.Builder |
clearOneof(com.google.protobuf.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 |
clearTargetPlatforms()
Set of Cloud Platforms targeted by the scan.
|
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 blacklist URL patterns as described in
https://cloud.google.com/security-scanner/docs/excluded-urls
|
com.google.protobuf.ByteString |
getBlacklistPatternsBytes(int index)
The blacklist URL patterns as described in
https://cloud.google.com/security-scanner/docs/excluded-urls
|
int |
getBlacklistPatternsCount()
The blacklist URL patterns as described in
https://cloud.google.com/security-scanner/docs/excluded-urls
|
com.google.protobuf.ProtocolStringList |
getBlacklistPatternsList()
The blacklist URL patterns as described in
https://cloud.google.com/security-scanner/docs/excluded-urls
|
ScanConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
Required.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Required.
|
ScanConfig.ExportToSecurityCommandCenter |
getExportToSecurityCommandCenter()
Controls export of scan configurations and results to Cloud Security
Command Center.
|
int |
getExportToSecurityCommandCenterValue()
Controls export of scan configurations and results to Cloud Security
Command Center.
|
ScanRun |
getLatestRun()
Latest ScanRun if available.
|
ScanRun.Builder |
getLatestRunBuilder()
Latest ScanRun if available.
|
ScanRunOrBuilder |
getLatestRunOrBuilder()
Latest ScanRun if available.
|
int |
getMaxQps()
The maximum QPS during scanning.
|
String |
getName()
The resource name of the ScanConfig.
|
com.google.protobuf.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.
|
com.google.protobuf.ByteString |
getStartingUrlsBytes(int index)
Required.
|
int |
getStartingUrlsCount()
Required.
|
com.google.protobuf.ProtocolStringList |
getStartingUrlsList()
Required.
|
ScanConfig.TargetPlatform |
getTargetPlatforms(int index)
Set of Cloud Platforms targeted by the scan.
|
int |
getTargetPlatformsCount()
Set of Cloud Platforms targeted by the scan.
|
List<ScanConfig.TargetPlatform> |
getTargetPlatformsList()
Set of Cloud Platforms targeted by the scan.
|
int |
getTargetPlatformsValue(int index)
Set of Cloud Platforms targeted by the scan.
|
List<Integer> |
getTargetPlatformsValueList()
Set of Cloud Platforms targeted by the scan.
|
ScanConfig.UserAgent |
getUserAgent()
The user agent used during scanning.
|
int |
getUserAgentValue()
The user agent used during scanning.
|
boolean |
hasAuthentication()
The authentication configuration.
|
boolean |
hasLatestRun()
Latest ScanRun if available.
|
boolean |
hasSchedule()
The schedule of the ScanConfig.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ScanConfig.Builder |
mergeAuthentication(ScanConfig.Authentication value)
The authentication configuration.
|
ScanConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ScanConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
ScanConfig.Builder |
mergeFrom(ScanConfig other) |
ScanConfig.Builder |
mergeLatestRun(ScanRun value)
Latest ScanRun if available.
|
ScanConfig.Builder |
mergeSchedule(ScanConfig.Schedule value)
The schedule of the ScanConfig.
|
ScanConfig.Builder |
mergeUnknownFields(com.google.protobuf.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 blacklist URL patterns as described in
https://cloud.google.com/security-scanner/docs/excluded-urls
|
ScanConfig.Builder |
setDisplayName(String value)
Required.
|
ScanConfig.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
Required.
|
ScanConfig.Builder |
setExportToSecurityCommandCenter(ScanConfig.ExportToSecurityCommandCenter value)
Controls export of scan configurations and results to Cloud Security
Command Center.
|
ScanConfig.Builder |
setExportToSecurityCommandCenterValue(int value)
Controls export of scan configurations and results to Cloud Security
Command Center.
|
ScanConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ScanConfig.Builder |
setLatestRun(ScanRun.Builder builderForValue)
Latest ScanRun if available.
|
ScanConfig.Builder |
setLatestRun(ScanRun value)
Latest ScanRun if available.
|
ScanConfig.Builder |
setMaxQps(int value)
The maximum QPS during scanning.
|
ScanConfig.Builder |
setName(String value)
The resource name of the ScanConfig.
|
ScanConfig.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The resource name of the ScanConfig.
|
ScanConfig.Builder |
setRepeatedField(com.google.protobuf.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 |
setTargetPlatforms(int index,
ScanConfig.TargetPlatform value)
Set of Cloud Platforms targeted by the scan.
|
ScanConfig.Builder |
setTargetPlatformsValue(int index,
int value)
Set of Cloud Platforms targeted by the scan.
|
ScanConfig.Builder |
setUnknownFields(com.google.protobuf.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, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ScanConfig.Builder>public ScanConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ScanConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ScanConfig.Builder>public ScanConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ScanConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ScanConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ScanConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ScanConfig.Builder>public ScanConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ScanConfig.Builder>public ScanConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ScanConfig.Builder>public ScanConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ScanConfig.Builder>public ScanConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ScanConfig.Builder>public ScanConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ScanConfig.Builder>public ScanConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ScanConfig.Builder>public ScanConfig.Builder mergeFrom(ScanConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ScanConfig.Builder>public ScanConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ScanConfig.Builder>IOExceptionpublic 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 ScanConfigOrBuilderpublic com.google.protobuf.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 ScanConfigOrBuilderpublic 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;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(com.google.protobuf.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;public String getDisplayName()
Required. The user provided display name of the ScanConfig.
string display_name = 2;getDisplayName in interface ScanConfigOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Required. The user provided display name of the ScanConfig.
string display_name = 2;getDisplayNameBytes in interface ScanConfigOrBuilderpublic ScanConfig.Builder setDisplayName(String value)
Required. The user provided display name of the ScanConfig.
string display_name = 2;public ScanConfig.Builder clearDisplayName()
Required. The user provided display name of the ScanConfig.
string display_name = 2;public ScanConfig.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Required. The user provided display name of the ScanConfig.
string display_name = 2;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 ScanConfigOrBuilderpublic 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;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 com.google.protobuf.ProtocolStringList getStartingUrlsList()
Required. The starting URLs from which the scanner finds site pages.
repeated string starting_urls = 4;getStartingUrlsList in interface ScanConfigOrBuilderpublic int getStartingUrlsCount()
Required. The starting URLs from which the scanner finds site pages.
repeated string starting_urls = 4;getStartingUrlsCount in interface ScanConfigOrBuilderpublic String getStartingUrls(int index)
Required. The starting URLs from which the scanner finds site pages.
repeated string starting_urls = 4;getStartingUrls in interface ScanConfigOrBuilderpublic com.google.protobuf.ByteString getStartingUrlsBytes(int index)
Required. The starting URLs from which the scanner finds site pages.
repeated string starting_urls = 4;getStartingUrlsBytes in interface ScanConfigOrBuilderpublic ScanConfig.Builder setStartingUrls(int index, String value)
Required. The starting URLs from which the scanner finds site pages.
repeated string starting_urls = 4;public ScanConfig.Builder addStartingUrls(String value)
Required. The starting URLs from which the scanner finds site pages.
repeated string starting_urls = 4;public ScanConfig.Builder addAllStartingUrls(Iterable<String> values)
Required. The starting URLs from which the scanner finds site pages.
repeated string starting_urls = 4;public ScanConfig.Builder clearStartingUrls()
Required. The starting URLs from which the scanner finds site pages.
repeated string starting_urls = 4;public ScanConfig.Builder addStartingUrlsBytes(com.google.protobuf.ByteString value)
Required. The starting URLs from which the scanner finds site pages.
repeated string starting_urls = 4;public boolean hasAuthentication()
The authentication configuration. If specified, service will use the authentication configuration during scanning.
.google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication authentication = 5;
hasAuthentication in interface ScanConfigOrBuilderpublic ScanConfig.Authentication getAuthentication()
The authentication configuration. If specified, service will use the authentication configuration during scanning.
.google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication authentication = 5;
getAuthentication in interface ScanConfigOrBuilderpublic ScanConfig.Builder setAuthentication(ScanConfig.Authentication value)
The authentication configuration. If specified, service will use the authentication configuration during scanning.
.google.cloud.websecurityscanner.v1beta.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.v1beta.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.v1beta.ScanConfig.Authentication authentication = 5;
public ScanConfig.Builder clearAuthentication()
The authentication configuration. If specified, service will use the authentication configuration during scanning.
.google.cloud.websecurityscanner.v1beta.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.v1beta.ScanConfig.Authentication authentication = 5;
public ScanConfig.AuthenticationOrBuilder getAuthenticationOrBuilder()
The authentication configuration. If specified, service will use the authentication configuration during scanning.
.google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication authentication = 5;
getAuthenticationOrBuilder in interface ScanConfigOrBuilderpublic int getUserAgentValue()
The user agent used during scanning.
.google.cloud.websecurityscanner.v1beta.ScanConfig.UserAgent user_agent = 6;getUserAgentValue in interface ScanConfigOrBuilderpublic ScanConfig.Builder setUserAgentValue(int value)
The user agent used during scanning.
.google.cloud.websecurityscanner.v1beta.ScanConfig.UserAgent user_agent = 6;public ScanConfig.UserAgent getUserAgent()
The user agent used during scanning.
.google.cloud.websecurityscanner.v1beta.ScanConfig.UserAgent user_agent = 6;getUserAgent in interface ScanConfigOrBuilderpublic ScanConfig.Builder setUserAgent(ScanConfig.UserAgent value)
The user agent used during scanning.
.google.cloud.websecurityscanner.v1beta.ScanConfig.UserAgent user_agent = 6;public ScanConfig.Builder clearUserAgent()
The user agent used during scanning.
.google.cloud.websecurityscanner.v1beta.ScanConfig.UserAgent user_agent = 6;public com.google.protobuf.ProtocolStringList getBlacklistPatternsList()
The blacklist URL patterns as described in https://cloud.google.com/security-scanner/docs/excluded-urls
repeated string blacklist_patterns = 7;getBlacklistPatternsList in interface ScanConfigOrBuilderpublic int getBlacklistPatternsCount()
The blacklist URL patterns as described in https://cloud.google.com/security-scanner/docs/excluded-urls
repeated string blacklist_patterns = 7;getBlacklistPatternsCount in interface ScanConfigOrBuilderpublic String getBlacklistPatterns(int index)
The blacklist URL patterns as described in https://cloud.google.com/security-scanner/docs/excluded-urls
repeated string blacklist_patterns = 7;getBlacklistPatterns in interface ScanConfigOrBuilderpublic com.google.protobuf.ByteString getBlacklistPatternsBytes(int index)
The blacklist URL patterns as described in https://cloud.google.com/security-scanner/docs/excluded-urls
repeated string blacklist_patterns = 7;getBlacklistPatternsBytes in interface ScanConfigOrBuilderpublic ScanConfig.Builder setBlacklistPatterns(int index, String value)
The blacklist URL patterns as described in https://cloud.google.com/security-scanner/docs/excluded-urls
repeated string blacklist_patterns = 7;public ScanConfig.Builder addBlacklistPatterns(String value)
The blacklist URL patterns as described in https://cloud.google.com/security-scanner/docs/excluded-urls
repeated string blacklist_patterns = 7;public ScanConfig.Builder addAllBlacklistPatterns(Iterable<String> values)
The blacklist URL patterns as described in https://cloud.google.com/security-scanner/docs/excluded-urls
repeated string blacklist_patterns = 7;public ScanConfig.Builder clearBlacklistPatterns()
The blacklist URL patterns as described in https://cloud.google.com/security-scanner/docs/excluded-urls
repeated string blacklist_patterns = 7;public ScanConfig.Builder addBlacklistPatternsBytes(com.google.protobuf.ByteString value)
The blacklist URL patterns as described in https://cloud.google.com/security-scanner/docs/excluded-urls
repeated string blacklist_patterns = 7;public boolean hasSchedule()
The schedule of the ScanConfig.
.google.cloud.websecurityscanner.v1beta.ScanConfig.Schedule schedule = 8;hasSchedule in interface ScanConfigOrBuilderpublic ScanConfig.Schedule getSchedule()
The schedule of the ScanConfig.
.google.cloud.websecurityscanner.v1beta.ScanConfig.Schedule schedule = 8;getSchedule in interface ScanConfigOrBuilderpublic ScanConfig.Builder setSchedule(ScanConfig.Schedule value)
The schedule of the ScanConfig.
.google.cloud.websecurityscanner.v1beta.ScanConfig.Schedule schedule = 8;public ScanConfig.Builder setSchedule(ScanConfig.Schedule.Builder builderForValue)
The schedule of the ScanConfig.
.google.cloud.websecurityscanner.v1beta.ScanConfig.Schedule schedule = 8;public ScanConfig.Builder mergeSchedule(ScanConfig.Schedule value)
The schedule of the ScanConfig.
.google.cloud.websecurityscanner.v1beta.ScanConfig.Schedule schedule = 8;public ScanConfig.Builder clearSchedule()
The schedule of the ScanConfig.
.google.cloud.websecurityscanner.v1beta.ScanConfig.Schedule schedule = 8;public ScanConfig.Schedule.Builder getScheduleBuilder()
The schedule of the ScanConfig.
.google.cloud.websecurityscanner.v1beta.ScanConfig.Schedule schedule = 8;public ScanConfig.ScheduleOrBuilder getScheduleOrBuilder()
The schedule of the ScanConfig.
.google.cloud.websecurityscanner.v1beta.ScanConfig.Schedule schedule = 8;getScheduleOrBuilder in interface ScanConfigOrBuilderpublic List<ScanConfig.TargetPlatform> getTargetPlatformsList()
Set of Cloud Platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.
repeated .google.cloud.websecurityscanner.v1beta.ScanConfig.TargetPlatform target_platforms = 9;
getTargetPlatformsList in interface ScanConfigOrBuilderpublic int getTargetPlatformsCount()
Set of Cloud Platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.
repeated .google.cloud.websecurityscanner.v1beta.ScanConfig.TargetPlatform target_platforms = 9;
getTargetPlatformsCount in interface ScanConfigOrBuilderpublic ScanConfig.TargetPlatform getTargetPlatforms(int index)
Set of Cloud Platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.
repeated .google.cloud.websecurityscanner.v1beta.ScanConfig.TargetPlatform target_platforms = 9;
getTargetPlatforms in interface ScanConfigOrBuilderpublic ScanConfig.Builder setTargetPlatforms(int index, ScanConfig.TargetPlatform value)
Set of Cloud Platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.
repeated .google.cloud.websecurityscanner.v1beta.ScanConfig.TargetPlatform target_platforms = 9;
public ScanConfig.Builder addTargetPlatforms(ScanConfig.TargetPlatform value)
Set of Cloud Platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.
repeated .google.cloud.websecurityscanner.v1beta.ScanConfig.TargetPlatform target_platforms = 9;
public ScanConfig.Builder addAllTargetPlatforms(Iterable<? extends ScanConfig.TargetPlatform> values)
Set of Cloud Platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.
repeated .google.cloud.websecurityscanner.v1beta.ScanConfig.TargetPlatform target_platforms = 9;
public ScanConfig.Builder clearTargetPlatforms()
Set of Cloud Platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.
repeated .google.cloud.websecurityscanner.v1beta.ScanConfig.TargetPlatform target_platforms = 9;
public List<Integer> getTargetPlatformsValueList()
Set of Cloud Platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.
repeated .google.cloud.websecurityscanner.v1beta.ScanConfig.TargetPlatform target_platforms = 9;
getTargetPlatformsValueList in interface ScanConfigOrBuilderpublic int getTargetPlatformsValue(int index)
Set of Cloud Platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.
repeated .google.cloud.websecurityscanner.v1beta.ScanConfig.TargetPlatform target_platforms = 9;
getTargetPlatformsValue in interface ScanConfigOrBuilderpublic ScanConfig.Builder setTargetPlatformsValue(int index, int value)
Set of Cloud Platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.
repeated .google.cloud.websecurityscanner.v1beta.ScanConfig.TargetPlatform target_platforms = 9;
public ScanConfig.Builder addTargetPlatformsValue(int value)
Set of Cloud Platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.
repeated .google.cloud.websecurityscanner.v1beta.ScanConfig.TargetPlatform target_platforms = 9;
public ScanConfig.Builder addAllTargetPlatformsValue(Iterable<Integer> values)
Set of Cloud Platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.
repeated .google.cloud.websecurityscanner.v1beta.ScanConfig.TargetPlatform target_platforms = 9;
public int getExportToSecurityCommandCenterValue()
Controls export of scan configurations and results to Cloud Security Command Center.
.google.cloud.websecurityscanner.v1beta.ScanConfig.ExportToSecurityCommandCenter export_to_security_command_center = 10;
getExportToSecurityCommandCenterValue in interface ScanConfigOrBuilderpublic ScanConfig.Builder setExportToSecurityCommandCenterValue(int value)
Controls export of scan configurations and results to Cloud Security Command Center.
.google.cloud.websecurityscanner.v1beta.ScanConfig.ExportToSecurityCommandCenter export_to_security_command_center = 10;
public ScanConfig.ExportToSecurityCommandCenter getExportToSecurityCommandCenter()
Controls export of scan configurations and results to Cloud Security Command Center.
.google.cloud.websecurityscanner.v1beta.ScanConfig.ExportToSecurityCommandCenter export_to_security_command_center = 10;
getExportToSecurityCommandCenter in interface ScanConfigOrBuilderpublic ScanConfig.Builder setExportToSecurityCommandCenter(ScanConfig.ExportToSecurityCommandCenter value)
Controls export of scan configurations and results to Cloud Security Command Center.
.google.cloud.websecurityscanner.v1beta.ScanConfig.ExportToSecurityCommandCenter export_to_security_command_center = 10;
public ScanConfig.Builder clearExportToSecurityCommandCenter()
Controls export of scan configurations and results to Cloud Security Command Center.
.google.cloud.websecurityscanner.v1beta.ScanConfig.ExportToSecurityCommandCenter export_to_security_command_center = 10;
public boolean hasLatestRun()
Latest ScanRun if available.
.google.cloud.websecurityscanner.v1beta.ScanRun latest_run = 11;hasLatestRun in interface ScanConfigOrBuilderpublic ScanRun getLatestRun()
Latest ScanRun if available.
.google.cloud.websecurityscanner.v1beta.ScanRun latest_run = 11;getLatestRun in interface ScanConfigOrBuilderpublic ScanConfig.Builder setLatestRun(ScanRun value)
Latest ScanRun if available.
.google.cloud.websecurityscanner.v1beta.ScanRun latest_run = 11;public ScanConfig.Builder setLatestRun(ScanRun.Builder builderForValue)
Latest ScanRun if available.
.google.cloud.websecurityscanner.v1beta.ScanRun latest_run = 11;public ScanConfig.Builder mergeLatestRun(ScanRun value)
Latest ScanRun if available.
.google.cloud.websecurityscanner.v1beta.ScanRun latest_run = 11;public ScanConfig.Builder clearLatestRun()
Latest ScanRun if available.
.google.cloud.websecurityscanner.v1beta.ScanRun latest_run = 11;public ScanRun.Builder getLatestRunBuilder()
Latest ScanRun if available.
.google.cloud.websecurityscanner.v1beta.ScanRun latest_run = 11;public ScanRunOrBuilder getLatestRunOrBuilder()
Latest ScanRun if available.
.google.cloud.websecurityscanner.v1beta.ScanRun latest_run = 11;getLatestRunOrBuilder in interface ScanConfigOrBuilderpublic int getRiskLevelValue()
The risk level selected for the scan
.google.cloud.websecurityscanner.v1beta.ScanConfig.RiskLevel risk_level = 12;getRiskLevelValue in interface ScanConfigOrBuilderpublic ScanConfig.Builder setRiskLevelValue(int value)
The risk level selected for the scan
.google.cloud.websecurityscanner.v1beta.ScanConfig.RiskLevel risk_level = 12;public ScanConfig.RiskLevel getRiskLevel()
The risk level selected for the scan
.google.cloud.websecurityscanner.v1beta.ScanConfig.RiskLevel risk_level = 12;getRiskLevel in interface ScanConfigOrBuilderpublic ScanConfig.Builder setRiskLevel(ScanConfig.RiskLevel value)
The risk level selected for the scan
.google.cloud.websecurityscanner.v1beta.ScanConfig.RiskLevel risk_level = 12;public ScanConfig.Builder clearRiskLevel()
The risk level selected for the scan
.google.cloud.websecurityscanner.v1beta.ScanConfig.RiskLevel risk_level = 12;public final ScanConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ScanConfig.Builder>public final ScanConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ScanConfig.Builder>Copyright © 2019 Google LLC. All rights reserved.