Enum EntityType.Kind

java.lang.Object
java.lang.Enum<EntityType.Kind>
com.google.cloud.dialogflow.v2.EntityType.Kind
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<EntityType.Kind>
Enclosing class:
EntityType

public static enum EntityType.Kind extends Enum<EntityType.Kind> implements com.google.protobuf.ProtocolMessageEnum
 Represents kinds of entities.
 
Protobuf enum google.cloud.dialogflow.v2.EntityType.Kind
  • Enum Constant Details

    • KIND_UNSPECIFIED

      public static final EntityType.Kind KIND_UNSPECIFIED
       Not specified. This value should be never used.
       
      KIND_UNSPECIFIED = 0;
    • KIND_MAP

      public static final EntityType.Kind KIND_MAP
       Map entity types allow mapping of a group of synonyms to a reference
       value.
       
      KIND_MAP = 1;
    • KIND_LIST

      public static final EntityType.Kind KIND_LIST
       List entity types contain a set of entries that do not map to reference
       values. However, list entity types can contain references to other entity
       types (with or without aliases).
       
      KIND_LIST = 2;
    • KIND_REGEXP

      public static final EntityType.Kind KIND_REGEXP
       Regexp entity types allow to specify regular expressions in entries
       values.
       
      KIND_REGEXP = 3;
    • UNRECOGNIZED

      public static final EntityType.Kind UNRECOGNIZED
  • Field Details

    • KIND_UNSPECIFIED_VALUE

      public static final int KIND_UNSPECIFIED_VALUE
       Not specified. This value should be never used.
       
      KIND_UNSPECIFIED = 0;
      See Also:
    • KIND_MAP_VALUE

      public static final int KIND_MAP_VALUE
       Map entity types allow mapping of a group of synonyms to a reference
       value.
       
      KIND_MAP = 1;
      See Also:
    • KIND_LIST_VALUE

      public static final int KIND_LIST_VALUE
       List entity types contain a set of entries that do not map to reference
       values. However, list entity types can contain references to other entity
       types (with or without aliases).
       
      KIND_LIST = 2;
      See Also:
    • KIND_REGEXP_VALUE

      public static final int KIND_REGEXP_VALUE
       Regexp entity types allow to specify regular expressions in entries
       values.
       
      KIND_REGEXP = 3;
      See Also:
  • Method Details

    • values

      public static EntityType.Kind[] 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 EntityType.Kind 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 EntityType.Kind 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 EntityType.Kind 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<EntityType.Kind> 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 EntityType.Kind 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