public static enum ThreatInfo.AbuseType extends Enum<ThreatInfo.AbuseType> implements com.google.protobuf.ProtocolMessageEnum
The abuse type found on the URI.Protobuf enum
google.cloud.webrisk.v1.ThreatInfo.AbuseType| Enum Constant and Description |
|---|
ABUSE_TYPE_UNSPECIFIED
Default.
|
MALWARE
The URI contains malware.
|
SOCIAL_ENGINEERING
The URI contains social engineering.
|
UNRECOGNIZED |
UNWANTED_SOFTWARE
The URI contains unwanted software.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ABUSE_TYPE_UNSPECIFIED_VALUE
Default.
|
static int |
MALWARE_VALUE
The URI contains malware.
|
static int |
SOCIAL_ENGINEERING_VALUE
The URI contains social engineering.
|
static int |
UNWANTED_SOFTWARE_VALUE
The URI contains unwanted software.
|
| Modifier and Type | Method and Description |
|---|---|
static ThreatInfo.AbuseType |
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<ThreatInfo.AbuseType> |
internalGetValueMap() |
static ThreatInfo.AbuseType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ThreatInfo.AbuseType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ThreatInfo.AbuseType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThreatInfo.AbuseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThreatInfo.AbuseType ABUSE_TYPE_UNSPECIFIED
Default.
ABUSE_TYPE_UNSPECIFIED = 0;public static final ThreatInfo.AbuseType MALWARE
The URI contains malware.
MALWARE = 1;public static final ThreatInfo.AbuseType SOCIAL_ENGINEERING
The URI contains social engineering.
SOCIAL_ENGINEERING = 2;public static final ThreatInfo.AbuseType UNWANTED_SOFTWARE
The URI contains unwanted software.
UNWANTED_SOFTWARE = 3;public static final ThreatInfo.AbuseType UNRECOGNIZED
public static final int ABUSE_TYPE_UNSPECIFIED_VALUE
Default.
ABUSE_TYPE_UNSPECIFIED = 0;public static final int MALWARE_VALUE
The URI contains malware.
MALWARE = 1;public static final int SOCIAL_ENGINEERING_VALUE
The URI contains social engineering.
SOCIAL_ENGINEERING = 2;public static final int UNWANTED_SOFTWARE_VALUE
The URI contains unwanted software.
UNWANTED_SOFTWARE = 3;public static ThreatInfo.AbuseType[] values()
for (ThreatInfo.AbuseType c : ThreatInfo.AbuseType.values()) System.out.println(c);
public static ThreatInfo.AbuseType 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 ThreatInfo.AbuseType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ThreatInfo.AbuseType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ThreatInfo.AbuseType> 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 ThreatInfo.AbuseType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.