public static enum EntityType.Kind extends Enum<EntityType.Kind> implements ProtocolMessageEnum
Represents kinds of entities.Protobuf enum
google.cloud.dialogflow.v2.EntityType.Kind
Enum Constant and Description |
---|
KIND_LIST
List entity types contain a set of entries that do not map to reference
values.
|
KIND_MAP
Map entity types allow mapping of a group of synonyms to a reference
value.
|
KIND_REGEXP
Regexp entity types allow to specify regular expressions in entries
values.
|
KIND_UNSPECIFIED
Not specified.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
KIND_LIST_VALUE
List entity types contain a set of entries that do not map to reference
values.
|
static int |
KIND_MAP_VALUE
Map entity types allow mapping of a group of synonyms to a reference
value.
|
static int |
KIND_REGEXP_VALUE
Regexp entity types allow to specify regular expressions in entries
values.
|
static int |
KIND_UNSPECIFIED_VALUE
Not specified.
|
Modifier and Type | Method and Description |
---|---|
static EntityType.Kind |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<EntityType.Kind> |
internalGetValueMap() |
static EntityType.Kind |
valueOf(Descriptors.EnumValueDescriptor desc) |
static EntityType.Kind |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static EntityType.Kind |
valueOf(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.
|
public static final EntityType.Kind KIND_UNSPECIFIED
Not specified. This value should be never used.
KIND_UNSPECIFIED = 0;
public static final EntityType.Kind KIND_MAP
Map entity types allow mapping of a group of synonyms to a reference value.
KIND_MAP = 1;
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;
public static final EntityType.Kind KIND_REGEXP
Regexp entity types allow to specify regular expressions in entries values.
KIND_REGEXP = 3;
public static final EntityType.Kind UNRECOGNIZED
public static final int KIND_UNSPECIFIED_VALUE
Not specified. This value should be never used.
KIND_UNSPECIFIED = 0;
public static final int KIND_MAP_VALUE
Map entity types allow mapping of a group of synonyms to a reference value.
KIND_MAP = 1;
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;
public static final int KIND_REGEXP_VALUE
Regexp entity types allow to specify regular expressions in entries values.
KIND_REGEXP = 3;
public static EntityType.Kind[] values()
for (EntityType.Kind c : EntityType.Kind.values()) System.out.println(c);
public static EntityType.Kind valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static EntityType.Kind valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static EntityType.Kind forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<EntityType.Kind> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static EntityType.Kind valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2021 Google LLC. All rights reserved.