public static enum Tool.PhishBlockThreshold extends Enum<Tool.PhishBlockThreshold> implements com.google.protobuf.ProtocolMessageEnum
These are available confidence level user can set to block malicious urls with chosen confidence and above. For understanding different confidence of webrisk, please refer to https://cloud.google.com/web-risk/docs/reference/rpc/google.cloud.webrisk.v1eap1#confidencelevelProtobuf enum
google.cloud.aiplatform.v1.Tool.PhishBlockThreshold| Enum Constant and Description |
|---|
BLOCK_HIGH_AND_ABOVE
Blocks High and above confidence URL that is risky.
|
BLOCK_HIGHER_AND_ABOVE
Blocks Higher and above confidence URL that is risky.
|
BLOCK_LOW_AND_ABOVE
Blocks Low and above confidence URL that is risky.
|
BLOCK_MEDIUM_AND_ABOVE
Blocks Medium and above confidence URL that is risky.
|
BLOCK_ONLY_EXTREMELY_HIGH
Blocks Extremely high confidence URL that is risky.
|
BLOCK_VERY_HIGH_AND_ABOVE
Blocks Very high and above confidence URL that is risky.
|
PHISH_BLOCK_THRESHOLD_UNSPECIFIED
Defaults to unspecified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
BLOCK_HIGH_AND_ABOVE_VALUE
Blocks High and above confidence URL that is risky.
|
static int |
BLOCK_HIGHER_AND_ABOVE_VALUE
Blocks Higher and above confidence URL that is risky.
|
static int |
BLOCK_LOW_AND_ABOVE_VALUE
Blocks Low and above confidence URL that is risky.
|
static int |
BLOCK_MEDIUM_AND_ABOVE_VALUE
Blocks Medium and above confidence URL that is risky.
|
static int |
BLOCK_ONLY_EXTREMELY_HIGH_VALUE
Blocks Extremely high confidence URL that is risky.
|
static int |
BLOCK_VERY_HIGH_AND_ABOVE_VALUE
Blocks Very high and above confidence URL that is risky.
|
static int |
PHISH_BLOCK_THRESHOLD_UNSPECIFIED_VALUE
Defaults to unspecified.
|
| Modifier and Type | Method and Description |
|---|---|
static Tool.PhishBlockThreshold |
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<Tool.PhishBlockThreshold> |
internalGetValueMap() |
static Tool.PhishBlockThreshold |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Tool.PhishBlockThreshold |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Tool.PhishBlockThreshold |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Tool.PhishBlockThreshold[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Tool.PhishBlockThreshold PHISH_BLOCK_THRESHOLD_UNSPECIFIED
Defaults to unspecified.
PHISH_BLOCK_THRESHOLD_UNSPECIFIED = 0;public static final Tool.PhishBlockThreshold BLOCK_LOW_AND_ABOVE
Blocks Low and above confidence URL that is risky.
BLOCK_LOW_AND_ABOVE = 30;public static final Tool.PhishBlockThreshold BLOCK_MEDIUM_AND_ABOVE
Blocks Medium and above confidence URL that is risky.
BLOCK_MEDIUM_AND_ABOVE = 40;public static final Tool.PhishBlockThreshold BLOCK_HIGH_AND_ABOVE
Blocks High and above confidence URL that is risky.
BLOCK_HIGH_AND_ABOVE = 50;public static final Tool.PhishBlockThreshold BLOCK_HIGHER_AND_ABOVE
Blocks Higher and above confidence URL that is risky.
BLOCK_HIGHER_AND_ABOVE = 55;public static final Tool.PhishBlockThreshold BLOCK_VERY_HIGH_AND_ABOVE
Blocks Very high and above confidence URL that is risky.
BLOCK_VERY_HIGH_AND_ABOVE = 60;public static final Tool.PhishBlockThreshold BLOCK_ONLY_EXTREMELY_HIGH
Blocks Extremely high confidence URL that is risky.
BLOCK_ONLY_EXTREMELY_HIGH = 100;public static final Tool.PhishBlockThreshold UNRECOGNIZED
public static final int PHISH_BLOCK_THRESHOLD_UNSPECIFIED_VALUE
Defaults to unspecified.
PHISH_BLOCK_THRESHOLD_UNSPECIFIED = 0;public static final int BLOCK_LOW_AND_ABOVE_VALUE
Blocks Low and above confidence URL that is risky.
BLOCK_LOW_AND_ABOVE = 30;public static final int BLOCK_MEDIUM_AND_ABOVE_VALUE
Blocks Medium and above confidence URL that is risky.
BLOCK_MEDIUM_AND_ABOVE = 40;public static final int BLOCK_HIGH_AND_ABOVE_VALUE
Blocks High and above confidence URL that is risky.
BLOCK_HIGH_AND_ABOVE = 50;public static final int BLOCK_HIGHER_AND_ABOVE_VALUE
Blocks Higher and above confidence URL that is risky.
BLOCK_HIGHER_AND_ABOVE = 55;public static final int BLOCK_VERY_HIGH_AND_ABOVE_VALUE
Blocks Very high and above confidence URL that is risky.
BLOCK_VERY_HIGH_AND_ABOVE = 60;public static final int BLOCK_ONLY_EXTREMELY_HIGH_VALUE
Blocks Extremely high confidence URL that is risky.
BLOCK_ONLY_EXTREMELY_HIGH = 100;public static Tool.PhishBlockThreshold[] values()
for (Tool.PhishBlockThreshold c : Tool.PhishBlockThreshold.values()) System.out.println(c);
public static Tool.PhishBlockThreshold 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 Tool.PhishBlockThreshold valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Tool.PhishBlockThreshold forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Tool.PhishBlockThreshold> 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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Tool.PhishBlockThreshold valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2026 Google LLC. All rights reserved.