Enum Tool.PhishBlockThreshold

java.lang.Object
java.lang.Enum<Tool.PhishBlockThreshold>
com.google.cloud.aiplatform.v1.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#confidencelevel
 
Protobuf enum google.cloud.aiplatform.v1.Tool.PhishBlockThreshold
  • Enum Constant Details

    • PHISH_BLOCK_THRESHOLD_UNSPECIFIED

      public static final Tool.PhishBlockThreshold PHISH_BLOCK_THRESHOLD_UNSPECIFIED
       Defaults to unspecified.
       
      PHISH_BLOCK_THRESHOLD_UNSPECIFIED = 0;
    • BLOCK_LOW_AND_ABOVE

      public static final Tool.PhishBlockThreshold BLOCK_LOW_AND_ABOVE
       Blocks Low and above confidence URL that is risky.
       
      BLOCK_LOW_AND_ABOVE = 30;
    • BLOCK_MEDIUM_AND_ABOVE

      public static final Tool.PhishBlockThreshold BLOCK_MEDIUM_AND_ABOVE
       Blocks Medium and above confidence URL that is risky.
       
      BLOCK_MEDIUM_AND_ABOVE = 40;
    • BLOCK_HIGH_AND_ABOVE

      public static final Tool.PhishBlockThreshold BLOCK_HIGH_AND_ABOVE
       Blocks High and above confidence URL that is risky.
       
      BLOCK_HIGH_AND_ABOVE = 50;
    • BLOCK_HIGHER_AND_ABOVE

      public static final Tool.PhishBlockThreshold BLOCK_HIGHER_AND_ABOVE
       Blocks Higher and above confidence URL that is risky.
       
      BLOCK_HIGHER_AND_ABOVE = 55;
    • BLOCK_VERY_HIGH_AND_ABOVE

      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;
    • BLOCK_ONLY_EXTREMELY_HIGH

      public static final Tool.PhishBlockThreshold BLOCK_ONLY_EXTREMELY_HIGH
       Blocks Extremely high confidence URL that is risky.
       
      BLOCK_ONLY_EXTREMELY_HIGH = 100;
    • UNRECOGNIZED

      public static final Tool.PhishBlockThreshold UNRECOGNIZED
  • Field Details

    • PHISH_BLOCK_THRESHOLD_UNSPECIFIED_VALUE

      public static final int PHISH_BLOCK_THRESHOLD_UNSPECIFIED_VALUE
       Defaults to unspecified.
       
      PHISH_BLOCK_THRESHOLD_UNSPECIFIED = 0;
      See Also:
    • BLOCK_LOW_AND_ABOVE_VALUE

      public static final int BLOCK_LOW_AND_ABOVE_VALUE
       Blocks 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_VALUE
       Blocks 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_VALUE
       Blocks 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_VALUE
       Blocks 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_VALUE
       Blocks 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_VALUE
       Blocks Extremely high confidence URL that is risky.
       
      BLOCK_ONLY_EXTREMELY_HIGH = 100;
      See Also:
  • Method Details

    • values

      public static Tool.PhishBlockThreshold[] 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

      public static Tool.PhishBlockThreshold valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static Tool.PhishBlockThreshold valueOf(int value)
      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 name
      NullPointerException - if the argument is null
    • forNumber

      public static Tool.PhishBlockThreshold forNumber(int value)
      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:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.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 name
      NullPointerException - if the argument is null