public static enum ThreatDiscovery.Platform extends Enum<ThreatDiscovery.Platform> implements com.google.protobuf.ProtocolMessageEnum
Platform types.Protobuf enum
google.cloud.webrisk.v1.ThreatDiscovery.Platform| Enum Constant and Description |
|---|
ANDROID
General Android platform.
|
IOS
General iOS platform.
|
MACOS
General macOS platform.
|
PLATFORM_UNSPECIFIED
Default.
|
UNRECOGNIZED |
WINDOWS
General Windows platform.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ANDROID_VALUE
General Android platform.
|
static int |
IOS_VALUE
General iOS platform.
|
static int |
MACOS_VALUE
General macOS platform.
|
static int |
PLATFORM_UNSPECIFIED_VALUE
Default.
|
static int |
WINDOWS_VALUE
General Windows platform.
|
| Modifier and Type | Method and Description |
|---|---|
static ThreatDiscovery.Platform |
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<ThreatDiscovery.Platform> |
internalGetValueMap() |
static ThreatDiscovery.Platform |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ThreatDiscovery.Platform |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ThreatDiscovery.Platform |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThreatDiscovery.Platform[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThreatDiscovery.Platform PLATFORM_UNSPECIFIED
Default.
PLATFORM_UNSPECIFIED = 0;public static final ThreatDiscovery.Platform ANDROID
General Android platform.
ANDROID = 1;public static final ThreatDiscovery.Platform IOS
General iOS platform.
IOS = 2;public static final ThreatDiscovery.Platform MACOS
General macOS platform.
MACOS = 3;public static final ThreatDiscovery.Platform WINDOWS
General Windows platform.
WINDOWS = 4;public static final ThreatDiscovery.Platform UNRECOGNIZED
public static final int PLATFORM_UNSPECIFIED_VALUE
Default.
PLATFORM_UNSPECIFIED = 0;public static final int ANDROID_VALUE
General Android platform.
ANDROID = 1;public static final int IOS_VALUE
General iOS platform.
IOS = 2;public static final int MACOS_VALUE
General macOS platform.
MACOS = 3;public static final int WINDOWS_VALUE
General Windows platform.
WINDOWS = 4;public static ThreatDiscovery.Platform[] values()
for (ThreatDiscovery.Platform c : ThreatDiscovery.Platform.values()) System.out.println(c);
public static ThreatDiscovery.Platform 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 ThreatDiscovery.Platform valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ThreatDiscovery.Platform forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ThreatDiscovery.Platform> 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 ThreatDiscovery.Platform valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.