Package com.google.genai.types
Enum PhishBlockThreshold.Known
- All Implemented Interfaces:
Serializable,Comparable<PhishBlockThreshold.Known>
- Enclosing class:
- PhishBlockThreshold
Enum representing the known values for 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. -
Method Summary
Modifier and TypeMethodDescriptionstatic PhishBlockThreshold.KnownReturns the enum constant of this type with the specified name.static PhishBlockThreshold.Known[]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. -
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_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_VERY_HIGH_AND_ABOVE
Blocks Very high and above confidence URL that is risky. -
BLOCK_ONLY_EXTREMELY_HIGH
Blocks Extremely high confidence URL that is risky.
-
-
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
-