public static final class ScanConfig.Builder extends GeneratedMessageV3.Builder<ScanConfig.Builder> implements ScanConfigOrBuilder
A ScanConfig resource contains the configurations to launch a scan. next id: 12Protobuf type
google.cloud.websecurityscanner.v1alpha.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(ByteString value)
The blacklist URL patterns as described in
https://cloud.google.com/security-scanner/docs/excluded-urls
|
ScanConfig.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
ScanConfig.Builder |
addStartingUrls(String value)
Required.
|
ScanConfig.Builder |
addStartingUrlsBytes(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 |
clearField(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(Descriptors.OneofDescriptor oneof) |
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
|
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
|
ProtocolStringList |
getBlacklistPatternsList()
The blacklist URL patterns as described in
https://cloud.google.com/security-scanner/docs/excluded-urls
|
ScanConfig |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
Required.
|
ByteString |
getDisplayNameBytes()
Required.
|
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.
|
ByteString |
getNameBytes()
The resource name of the ScanConfig.
|
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.
|
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 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 |
mergeLatestRun(ScanRun value)
Latest ScanRun if available.
|
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 blacklist URL patterns as described in
https://cloud.google.com/security-scanner/docs/excluded-urls
|
ScanConfig.Builder |
setDisplayName(String value)
Required.
|
ScanConfig.Builder |
setDisplayNameBytes(ByteString value)
Required.
|
ScanConfig.Builder |
setField(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(ByteString value)
The resource name of the ScanConfig.
|
ScanConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
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(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 [(.google.api.field_behavior) = REQUIRED];
getDisplayName
in interface ScanConfigOrBuilder
public ByteString getDisplayNameBytes()
Required. The user provided display name of the ScanConfig.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
getDisplayNameBytes
in interface ScanConfigOrBuilder
public ScanConfig.Builder setDisplayName(String value)
Required. The user provided display name of the ScanConfig.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
value
- The displayName to set.public ScanConfig.Builder clearDisplayName()
Required. The user provided display name of the ScanConfig.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
public ScanConfig.Builder setDisplayNameBytes(ByteString value)
Required. The user provided display name of the ScanConfig.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
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 [(.google.api.field_behavior) = REQUIRED];
getStartingUrlsList
in interface ScanConfigOrBuilder
public int getStartingUrlsCount()
Required. The starting URLs from which the scanner finds site pages.
repeated string starting_urls = 4 [(.google.api.field_behavior) = REQUIRED];
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 [(.google.api.field_behavior) = REQUIRED];
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 [(.google.api.field_behavior) = REQUIRED];
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 [(.google.api.field_behavior) = REQUIRED];
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 [(.google.api.field_behavior) = REQUIRED];
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 [(.google.api.field_behavior) = REQUIRED];
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 [(.google.api.field_behavior) = REQUIRED];
public ScanConfig.Builder addStartingUrlsBytes(ByteString value)
Required. The starting URLs from which the scanner finds site pages.
repeated string starting_urls = 4 [(.google.api.field_behavior) = REQUIRED];
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.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.ScanConfig.Authentication authentication = 5;
public ScanConfig.Builder clearAuthentication()
The authentication configuration. If specified, service will use the authentication configuration during scanning.
.google.cloud.websecurityscanner.v1alpha.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.v1alpha.ScanConfig.Authentication authentication = 5;
public ScanConfig.AuthenticationOrBuilder getAuthenticationOrBuilder()
The authentication configuration. If specified, service will use the authentication configuration during scanning.
.google.cloud.websecurityscanner.v1alpha.ScanConfig.Authentication authentication = 5;
getAuthenticationOrBuilder
in interface ScanConfigOrBuilder
public int getUserAgentValue()
The user agent used during scanning.
.google.cloud.websecurityscanner.v1alpha.ScanConfig.UserAgent user_agent = 6;
getUserAgentValue
in interface ScanConfigOrBuilder
public ScanConfig.Builder setUserAgentValue(int value)
The user agent used during scanning.
.google.cloud.websecurityscanner.v1alpha.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.v1alpha.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.v1alpha.ScanConfig.UserAgent user_agent = 6;
value
- The userAgent to set.public ScanConfig.Builder clearUserAgent()
The user agent used during scanning.
.google.cloud.websecurityscanner.v1alpha.ScanConfig.UserAgent user_agent = 6;
public 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 ScanConfigOrBuilder
public 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 ScanConfigOrBuilder
public 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 ScanConfigOrBuilder
index
- The index of the element to return.public 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 ScanConfigOrBuilder
index
- The index of the value to return.public 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;
index
- The index to set the value at.value
- The blacklistPatterns to set.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;
value
- The blacklistPatterns to add.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;
values
- The blacklistPatterns to add.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(ByteString value)
The blacklist URL patterns as described in https://cloud.google.com/security-scanner/docs/excluded-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.v1alpha.ScanConfig.Schedule schedule = 8;
hasSchedule
in interface ScanConfigOrBuilder
public ScanConfig.Schedule getSchedule()
The schedule of the ScanConfig.
.google.cloud.websecurityscanner.v1alpha.ScanConfig.Schedule schedule = 8;
getSchedule
in interface ScanConfigOrBuilder
public ScanConfig.Builder setSchedule(ScanConfig.Schedule value)
The schedule of the ScanConfig.
.google.cloud.websecurityscanner.v1alpha.ScanConfig.Schedule schedule = 8;
public ScanConfig.Builder setSchedule(ScanConfig.Schedule.Builder builderForValue)
The schedule of the ScanConfig.
.google.cloud.websecurityscanner.v1alpha.ScanConfig.Schedule schedule = 8;
public ScanConfig.Builder mergeSchedule(ScanConfig.Schedule value)
The schedule of the ScanConfig.
.google.cloud.websecurityscanner.v1alpha.ScanConfig.Schedule schedule = 8;
public ScanConfig.Builder clearSchedule()
The schedule of the ScanConfig.
.google.cloud.websecurityscanner.v1alpha.ScanConfig.Schedule schedule = 8;
public ScanConfig.Schedule.Builder getScheduleBuilder()
The schedule of the ScanConfig.
.google.cloud.websecurityscanner.v1alpha.ScanConfig.Schedule schedule = 8;
public ScanConfig.ScheduleOrBuilder getScheduleOrBuilder()
The schedule of the ScanConfig.
.google.cloud.websecurityscanner.v1alpha.ScanConfig.Schedule schedule = 8;
getScheduleOrBuilder
in interface ScanConfigOrBuilder
public 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.v1alpha.ScanConfig.TargetPlatform target_platforms = 9;
getTargetPlatformsList
in interface ScanConfigOrBuilder
public int getTargetPlatformsCount()
Set of Cloud Platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.
repeated .google.cloud.websecurityscanner.v1alpha.ScanConfig.TargetPlatform target_platforms = 9;
getTargetPlatformsCount
in interface ScanConfigOrBuilder
public 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.v1alpha.ScanConfig.TargetPlatform target_platforms = 9;
getTargetPlatforms
in interface ScanConfigOrBuilder
index
- The index of the element to return.public 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.v1alpha.ScanConfig.TargetPlatform target_platforms = 9;
index
- The index to set the value at.value
- The targetPlatforms to set.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.v1alpha.ScanConfig.TargetPlatform target_platforms = 9;
value
- The targetPlatforms to add.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.v1alpha.ScanConfig.TargetPlatform target_platforms = 9;
values
- The targetPlatforms to add.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.v1alpha.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.v1alpha.ScanConfig.TargetPlatform target_platforms = 9;
getTargetPlatformsValueList
in interface ScanConfigOrBuilder
public 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.v1alpha.ScanConfig.TargetPlatform target_platforms = 9;
getTargetPlatformsValue
in interface ScanConfigOrBuilder
index
- The index of the value to return.public 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.v1alpha.ScanConfig.TargetPlatform target_platforms = 9;
index
- The index to set the value at.value
- The enum numeric value on the wire for targetPlatforms to set.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.v1alpha.ScanConfig.TargetPlatform target_platforms = 9;
value
- The enum numeric value on the wire for targetPlatforms to add.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.v1alpha.ScanConfig.TargetPlatform target_platforms = 9;
values
- The enum numeric values on the wire for targetPlatforms to add.public boolean hasLatestRun()
Latest ScanRun if available.
.google.cloud.websecurityscanner.v1alpha.ScanRun latest_run = 11;
hasLatestRun
in interface ScanConfigOrBuilder
public ScanRun getLatestRun()
Latest ScanRun if available.
.google.cloud.websecurityscanner.v1alpha.ScanRun latest_run = 11;
getLatestRun
in interface ScanConfigOrBuilder
public ScanConfig.Builder setLatestRun(ScanRun value)
Latest ScanRun if available.
.google.cloud.websecurityscanner.v1alpha.ScanRun latest_run = 11;
public ScanConfig.Builder setLatestRun(ScanRun.Builder builderForValue)
Latest ScanRun if available.
.google.cloud.websecurityscanner.v1alpha.ScanRun latest_run = 11;
public ScanConfig.Builder mergeLatestRun(ScanRun value)
Latest ScanRun if available.
.google.cloud.websecurityscanner.v1alpha.ScanRun latest_run = 11;
public ScanConfig.Builder clearLatestRun()
Latest ScanRun if available.
.google.cloud.websecurityscanner.v1alpha.ScanRun latest_run = 11;
public ScanRun.Builder getLatestRunBuilder()
Latest ScanRun if available.
.google.cloud.websecurityscanner.v1alpha.ScanRun latest_run = 11;
public ScanRunOrBuilder getLatestRunOrBuilder()
Latest ScanRun if available.
.google.cloud.websecurityscanner.v1alpha.ScanRun latest_run = 11;
getLatestRunOrBuilder
in interface ScanConfigOrBuilder
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.