Package com.google.cloud.aiplatform.v1
Enum Tool.PhishBlockThreshold
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Tool.PhishBlockThreshold>
- Enclosing class:
- Tool
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 Summary
Enum ConstantsEnum ConstantDescriptionBlocks High and above confidence URL that is risky.Blocks Higher and above confidence URL that is risky.Blocks Low and above confidence URL that is risky.Blocks Medium and above confidence URL that is risky.Blocks Extremely high confidence URL that is risky.Blocks Very high and above confidence URL that is risky.Defaults to unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intBlocks High and above confidence URL that is risky.static final intBlocks Higher and above confidence URL that is risky.static final intBlocks Low and above confidence URL that is risky.static final intBlocks Medium and above confidence URL that is risky.static final intBlocks Extremely high confidence URL that is risky.static final intBlocks Very high and above confidence URL that is risky.static final intDefaults to unspecified. -
Method Summary
Modifier and TypeMethodDescriptionstatic Tool.PhishBlockThresholdforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Tool.PhishBlockThreshold>static Tool.PhishBlockThresholdvalueOf(int value) Deprecated.static Tool.PhishBlockThresholdvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Tool.PhishBlockThresholdReturns 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.
-
Enum Constant Details
-
PHISH_BLOCK_THRESHOLD_UNSPECIFIED
Defaults to unspecified.
PHISH_BLOCK_THRESHOLD_UNSPECIFIED = 0; -
BLOCK_LOW_AND_ABOVE
Blocks Low and above confidence URL that is risky.
BLOCK_LOW_AND_ABOVE = 30; -
BLOCK_MEDIUM_AND_ABOVE
Blocks Medium and above confidence URL that is risky.
BLOCK_MEDIUM_AND_ABOVE = 40; -
BLOCK_HIGH_AND_ABOVE
Blocks High and above confidence URL that is risky.
BLOCK_HIGH_AND_ABOVE = 50; -
BLOCK_HIGHER_AND_ABOVE
Blocks Higher and above confidence URL that is risky.
BLOCK_HIGHER_AND_ABOVE = 55; -
BLOCK_VERY_HIGH_AND_ABOVE
Blocks Very high and above confidence URL that is risky.
BLOCK_VERY_HIGH_AND_ABOVE = 60; -
BLOCK_ONLY_EXTREMELY_HIGH
Blocks Extremely high confidence URL that is risky.
BLOCK_ONLY_EXTREMELY_HIGH = 100; -
UNRECOGNIZED
-
-
Field Details
-
PHISH_BLOCK_THRESHOLD_UNSPECIFIED_VALUE
public static final int PHISH_BLOCK_THRESHOLD_UNSPECIFIED_VALUEDefaults to unspecified.
PHISH_BLOCK_THRESHOLD_UNSPECIFIED = 0;- See Also:
-
BLOCK_LOW_AND_ABOVE_VALUE
public static final int BLOCK_LOW_AND_ABOVE_VALUEBlocks Low and above confidence URL that is risky.
BLOCK_LOW_AND_ABOVE = 30;- See Also:
-
BLOCK_MEDIUM_AND_ABOVE_VALUE
public static final int BLOCK_MEDIUM_AND_ABOVE_VALUEBlocks Medium and above confidence URL that is risky.
BLOCK_MEDIUM_AND_ABOVE = 40;- See Also:
-
BLOCK_HIGH_AND_ABOVE_VALUE
public static final int BLOCK_HIGH_AND_ABOVE_VALUEBlocks High and above confidence URL that is risky.
BLOCK_HIGH_AND_ABOVE = 50;- See Also:
-
BLOCK_HIGHER_AND_ABOVE_VALUE
public static final int BLOCK_HIGHER_AND_ABOVE_VALUEBlocks Higher and above confidence URL that is risky.
BLOCK_HIGHER_AND_ABOVE = 55;- See Also:
-
BLOCK_VERY_HIGH_AND_ABOVE_VALUE
public static final int BLOCK_VERY_HIGH_AND_ABOVE_VALUEBlocks Very high and above confidence URL that is risky.
BLOCK_VERY_HIGH_AND_ABOVE = 60;- See Also:
-
BLOCK_ONLY_EXTREMELY_HIGH_VALUE
public static final int BLOCK_ONLY_EXTREMELY_HIGH_VALUEBlocks Extremely high confidence URL that is risky.
BLOCK_ONLY_EXTREMELY_HIGH = 100;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Tool.PhishBlockThreshold> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static Tool.PhishBlockThreshold valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-