public static enum EntityType.AutoExpansionMode extends Enum<EntityType.AutoExpansionMode> implements ProtocolMessageEnum
Represents different entity type expansion modes. Automated expansion allows an agent to recognize values that have not been explicitly listed in the entity (for example, new kinds of shopping list items).Protobuf enum
google.cloud.dialogflow.v2beta1.EntityType.AutoExpansionMode
Enum Constant and Description |
---|
AUTO_EXPANSION_MODE_DEFAULT
Allows an agent to recognize values that have not been explicitly
listed in the entity.
|
AUTO_EXPANSION_MODE_UNSPECIFIED
Auto expansion disabled for the entity.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
AUTO_EXPANSION_MODE_DEFAULT_VALUE
Allows an agent to recognize values that have not been explicitly
listed in the entity.
|
static int |
AUTO_EXPANSION_MODE_UNSPECIFIED_VALUE
Auto expansion disabled for the entity.
|
Modifier and Type | Method and Description |
---|---|
static EntityType.AutoExpansionMode |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<EntityType.AutoExpansionMode> |
internalGetValueMap() |
static EntityType.AutoExpansionMode |
valueOf(Descriptors.EnumValueDescriptor desc) |
static EntityType.AutoExpansionMode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static EntityType.AutoExpansionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntityType.AutoExpansionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntityType.AutoExpansionMode AUTO_EXPANSION_MODE_UNSPECIFIED
Auto expansion disabled for the entity.
AUTO_EXPANSION_MODE_UNSPECIFIED = 0;
public static final EntityType.AutoExpansionMode AUTO_EXPANSION_MODE_DEFAULT
Allows an agent to recognize values that have not been explicitly listed in the entity.
AUTO_EXPANSION_MODE_DEFAULT = 1;
public static final EntityType.AutoExpansionMode UNRECOGNIZED
public static final int AUTO_EXPANSION_MODE_UNSPECIFIED_VALUE
Auto expansion disabled for the entity.
AUTO_EXPANSION_MODE_UNSPECIFIED = 0;
public static final int AUTO_EXPANSION_MODE_DEFAULT_VALUE
Allows an agent to recognize values that have not been explicitly listed in the entity.
AUTO_EXPANSION_MODE_DEFAULT = 1;
public static EntityType.AutoExpansionMode[] values()
for (EntityType.AutoExpansionMode c : EntityType.AutoExpansionMode.values()) System.out.println(c);
public static EntityType.AutoExpansionMode 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.AutoExpansionMode valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static EntityType.AutoExpansionMode forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<EntityType.AutoExpansionMode> 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.AutoExpansionMode valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2021 Google LLC. All rights reserved.