public static enum ScanConfig.TargetPlatform extends Enum<ScanConfig.TargetPlatform> implements com.google.protobuf.ProtocolMessageEnum
Cloud platforms supported by Cloud Web Security Scanner.Protobuf enum
google.cloud.websecurityscanner.v1beta.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 com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<ScanConfig.TargetPlatform> |
internalGetValueMap() |
static ScanConfig.TargetPlatform |
valueOf(com.google.protobuf.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 com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static ScanConfig.TargetPlatform valueOf(int value)
forNumber(int) instead.public static ScanConfig.TargetPlatform forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<ScanConfig.TargetPlatform> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static ScanConfig.TargetPlatform valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019 Google LLC. All rights reserved.