Package com.google.cloud.dialogflow.v2
Enum 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 Summary
Enum ConstantsEnum ConstantDescriptionList entity types contain a set of entries that do not map to reference values.Map entity types allow mapping of a group of synonyms to a reference value.Regexp entity types allow to specify regular expressions in entries values.Not specified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intList entity types contain a set of entries that do not map to reference values.static final intMap entity types allow mapping of a group of synonyms to a reference value.static final intRegexp entity types allow to specify regular expressions in entries values.static final intNot specified. -
Method Summary
Modifier and TypeMethodDescriptionstatic EntityType.KindforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<EntityType.Kind>static EntityType.KindvalueOf(int value) Deprecated.static EntityType.KindvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static EntityType.KindReturns the enum constant of this type with the specified name.static EntityType.Kind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
KIND_UNSPECIFIED
Not specified. This value should be never used.
KIND_UNSPECIFIED = 0; -
KIND_MAP
Map entity types allow mapping of a group of synonyms to a reference value.
KIND_MAP = 1; -
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
Regexp entity types allow to specify regular expressions in entries values.
KIND_REGEXP = 3; -
UNRECOGNIZED
-
-
Field Details
-
KIND_UNSPECIFIED_VALUE
public static final int KIND_UNSPECIFIED_VALUENot specified. This value should be never used.
KIND_UNSPECIFIED = 0;- See Also:
-
KIND_MAP_VALUE
public static final int KIND_MAP_VALUEMap 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_VALUEList 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_VALUERegexp entity types allow to specify regular expressions in entries values.
KIND_REGEXP = 3;- 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
-
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
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
-