public static enum EntityType.AutoExpansionMode extends Enum<EntityType.AutoExpansionMode> implements com.google.protobuf.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 com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<EntityType.AutoExpansionMode> |
internalGetValueMap() |
static EntityType.AutoExpansionMode |
valueOf(com.google.protobuf.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 com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static EntityType.AutoExpansionMode valueOf(int value)
forNumber(int) instead.public static EntityType.AutoExpansionMode forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<EntityType.AutoExpansionMode> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static EntityType.AutoExpansionMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019 Google LLC. All rights reserved.