public static enum ThreatInfo.ThreatJustification.JustificationLabel extends Enum<ThreatInfo.ThreatJustification.JustificationLabel> implements com.google.protobuf.ProtocolMessageEnum
Labels that explain how the URI was classified.Protobuf enum
google.cloud.webrisk.v1.ThreatInfo.ThreatJustification.JustificationLabel| Enum Constant and Description |
|---|
AUTOMATED_REPORT
The submitter received the submission from an automated system.
|
JUSTIFICATION_LABEL_UNSPECIFIED
Default.
|
MANUAL_VERIFICATION
The submitter manually verified that the submission is unsafe.
|
UNRECOGNIZED |
USER_REPORT
The submitter received the submission from an end user.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
AUTOMATED_REPORT_VALUE
The submitter received the submission from an automated system.
|
static int |
JUSTIFICATION_LABEL_UNSPECIFIED_VALUE
Default.
|
static int |
MANUAL_VERIFICATION_VALUE
The submitter manually verified that the submission is unsafe.
|
static int |
USER_REPORT_VALUE
The submitter received the submission from an end user.
|
| Modifier and Type | Method and Description |
|---|---|
static ThreatInfo.ThreatJustification.JustificationLabel |
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.ThreatJustification.JustificationLabel> |
internalGetValueMap() |
static ThreatInfo.ThreatJustification.JustificationLabel |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ThreatInfo.ThreatJustification.JustificationLabel |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ThreatInfo.ThreatJustification.JustificationLabel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThreatInfo.ThreatJustification.JustificationLabel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThreatInfo.ThreatJustification.JustificationLabel JUSTIFICATION_LABEL_UNSPECIFIED
Default.
JUSTIFICATION_LABEL_UNSPECIFIED = 0;public static final ThreatInfo.ThreatJustification.JustificationLabel MANUAL_VERIFICATION
The submitter manually verified that the submission is unsafe.
MANUAL_VERIFICATION = 1;public static final ThreatInfo.ThreatJustification.JustificationLabel USER_REPORT
The submitter received the submission from an end user.
USER_REPORT = 2;public static final ThreatInfo.ThreatJustification.JustificationLabel AUTOMATED_REPORT
The submitter received the submission from an automated system.
AUTOMATED_REPORT = 3;public static final ThreatInfo.ThreatJustification.JustificationLabel UNRECOGNIZED
public static final int JUSTIFICATION_LABEL_UNSPECIFIED_VALUE
Default.
JUSTIFICATION_LABEL_UNSPECIFIED = 0;public static final int MANUAL_VERIFICATION_VALUE
The submitter manually verified that the submission is unsafe.
MANUAL_VERIFICATION = 1;public static final int USER_REPORT_VALUE
The submitter received the submission from an end user.
USER_REPORT = 2;public static final int AUTOMATED_REPORT_VALUE
The submitter received the submission from an automated system.
AUTOMATED_REPORT = 3;public static ThreatInfo.ThreatJustification.JustificationLabel[] values()
for (ThreatInfo.ThreatJustification.JustificationLabel c : ThreatInfo.ThreatJustification.JustificationLabel.values()) System.out.println(c);
public static ThreatInfo.ThreatJustification.JustificationLabel 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.ThreatJustification.JustificationLabel valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ThreatInfo.ThreatJustification.JustificationLabel forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ThreatInfo.ThreatJustification.JustificationLabel> 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.ThreatJustification.JustificationLabel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.