Enum EntityType.Kind
- java.lang.Object
-
- java.lang.Enum<EntityType.Kind>
-
- com.google.cloud.dialogflow.v2beta1.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 enumgoogle.cloud.dialogflow.v2beta1.EntityType.Kind
-
-
Enum Constant Summary
Enum Constants Enum Constant Description KIND_LISTList entity types contain a set of entries that do not map to reference values.KIND_MAPMap entity types allow mapping of a group of synonyms to a reference value.KIND_REGEXPRegexp entity types allow to specify regular expressions in entries values.KIND_UNSPECIFIEDNot specified.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intKIND_LIST_VALUEList entity types contain a set of entries that do not map to reference values.static intKIND_MAP_VALUEMap entity types allow mapping of a group of synonyms to a reference value.static intKIND_REGEXP_VALUERegexp entity types allow to specify regular expressions in entries values.static intKIND_UNSPECIFIED_VALUENot specified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static EntityType.KindforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<EntityType.Kind>internalGetValueMap()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.KindvalueOf(String name)Returns 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 Detail
-
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 Detail
-
KIND_UNSPECIFIED_VALUE
public static final int KIND_UNSPECIFIED_VALUE
Not specified. This value should be never used.
KIND_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
-
Method Detail
-
values
public static EntityType.Kind[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EntityType.Kind c : EntityType.Kind.values()) System.out.println(c);
- 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 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 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 nameNullPointerException- 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final 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 nameNullPointerException- if the argument is null
-
-