public static enum ThreatInfo.Confidence.ConfidenceLevel extends Enum<ThreatInfo.Confidence.ConfidenceLevel> implements com.google.protobuf.ProtocolMessageEnum
Enum representation of confidence.Protobuf enum
google.cloud.webrisk.v1.ThreatInfo.Confidence.ConfidenceLevel| Enum Constant and Description |
|---|
CONFIDENCE_LEVEL_UNSPECIFIED
Default.
|
HIGH
Greater than 80% confidence that the URI is unsafe.
|
LOW
Less than 60% confidence that the URI is unsafe.
|
MEDIUM
Between 60% and 80% confidence that the URI is unsafe.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CONFIDENCE_LEVEL_UNSPECIFIED_VALUE
Default.
|
static int |
HIGH_VALUE
Greater than 80% confidence that the URI is unsafe.
|
static int |
LOW_VALUE
Less than 60% confidence that the URI is unsafe.
|
static int |
MEDIUM_VALUE
Between 60% and 80% confidence that the URI is unsafe.
|
| Modifier and Type | Method and Description |
|---|---|
static ThreatInfo.Confidence.ConfidenceLevel |
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.Confidence.ConfidenceLevel> |
internalGetValueMap() |
static ThreatInfo.Confidence.ConfidenceLevel |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ThreatInfo.Confidence.ConfidenceLevel |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ThreatInfo.Confidence.ConfidenceLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThreatInfo.Confidence.ConfidenceLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThreatInfo.Confidence.ConfidenceLevel CONFIDENCE_LEVEL_UNSPECIFIED
Default.
CONFIDENCE_LEVEL_UNSPECIFIED = 0;public static final ThreatInfo.Confidence.ConfidenceLevel LOW
Less than 60% confidence that the URI is unsafe.
LOW = 1;public static final ThreatInfo.Confidence.ConfidenceLevel MEDIUM
Between 60% and 80% confidence that the URI is unsafe.
MEDIUM = 2;public static final ThreatInfo.Confidence.ConfidenceLevel HIGH
Greater than 80% confidence that the URI is unsafe.
HIGH = 3;public static final ThreatInfo.Confidence.ConfidenceLevel UNRECOGNIZED
public static final int CONFIDENCE_LEVEL_UNSPECIFIED_VALUE
Default.
CONFIDENCE_LEVEL_UNSPECIFIED = 0;public static final int LOW_VALUE
Less than 60% confidence that the URI is unsafe.
LOW = 1;public static final int MEDIUM_VALUE
Between 60% and 80% confidence that the URI is unsafe.
MEDIUM = 2;public static final int HIGH_VALUE
Greater than 80% confidence that the URI is unsafe.
HIGH = 3;public static ThreatInfo.Confidence.ConfidenceLevel[] values()
for (ThreatInfo.Confidence.ConfidenceLevel c : ThreatInfo.Confidence.ConfidenceLevel.values()) System.out.println(c);
public static ThreatInfo.Confidence.ConfidenceLevel 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.Confidence.ConfidenceLevel valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ThreatInfo.Confidence.ConfidenceLevel forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ThreatInfo.Confidence.ConfidenceLevel> 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.Confidence.ConfidenceLevel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.