public static enum ScanConfig.TargetPlatform extends Enum<ScanConfig.TargetPlatform> implements ProtocolMessageEnum
Cloud platforms supported by Cloud Web Security Scanner.Protobuf enum
google.cloud.websecurityscanner.v1alpha.ScanConfig.TargetPlatform
Enum Constant and Description |
---|
APP_ENGINE
Google App Engine service.
|
COMPUTE
Google Compute Engine service.
|
TARGET_PLATFORM_UNSPECIFIED
The target platform is unknown.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
APP_ENGINE_VALUE
Google App Engine service.
|
static int |
COMPUTE_VALUE
Google Compute Engine service.
|
static int |
TARGET_PLATFORM_UNSPECIFIED_VALUE
The target platform is unknown.
|
Modifier and Type | Method and Description |
---|---|
static ScanConfig.TargetPlatform |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<ScanConfig.TargetPlatform> |
internalGetValueMap() |
static ScanConfig.TargetPlatform |
valueOf(Descriptors.EnumValueDescriptor desc) |
static ScanConfig.TargetPlatform |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ScanConfig.TargetPlatform |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScanConfig.TargetPlatform[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScanConfig.TargetPlatform TARGET_PLATFORM_UNSPECIFIED
The target platform is unknown. Requests with this enum value will be rejected with INVALID_ARGUMENT error.
TARGET_PLATFORM_UNSPECIFIED = 0;
public static final ScanConfig.TargetPlatform APP_ENGINE
Google App Engine service.
APP_ENGINE = 1;
public static final ScanConfig.TargetPlatform COMPUTE
Google Compute Engine service.
COMPUTE = 2;
public static final ScanConfig.TargetPlatform UNRECOGNIZED
public static final int TARGET_PLATFORM_UNSPECIFIED_VALUE
The target platform is unknown. Requests with this enum value will be rejected with INVALID_ARGUMENT error.
TARGET_PLATFORM_UNSPECIFIED = 0;
public static final int APP_ENGINE_VALUE
Google App Engine service.
APP_ENGINE = 1;
public static final int COMPUTE_VALUE
Google Compute Engine service.
COMPUTE = 2;
public static ScanConfig.TargetPlatform[] values()
for (ScanConfig.TargetPlatform c : ScanConfig.TargetPlatform.values()) System.out.println(c);
public static ScanConfig.TargetPlatform valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static ScanConfig.TargetPlatform valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static ScanConfig.TargetPlatform forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<ScanConfig.TargetPlatform> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static ScanConfig.TargetPlatform valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.