Enum Intent.TrainingPhrase.Type (4.11.0)

public enum Intent.TrainingPhrase.Type extends Enum<Intent.TrainingPhrase.Type> implements ProtocolMessageEnum

Represents different types of training phrases.

Protobuf enum google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Type

Implements

ProtocolMessageEnum

Static Fields

NameDescription
EXAMPLE

Examples do not contain @-prefixed entity type names, but example parts can be annotated with entity types.

EXAMPLE = 1;

EXAMPLE_VALUE

Examples do not contain @-prefixed entity type names, but example parts can be annotated with entity types.

EXAMPLE = 1;

TEMPLATE

Templates are not annotated with entity types, but they can contain @-prefixed entity type names as substrings. Note: Template mode has been deprecated. Example mode is the only supported way to create new training phrases. If you have existing training phrases in template mode, they will be removed during training and it can cause a drop in agent performance.

TEMPLATE = 2 [deprecated = true];

TEMPLATE_VALUE

Templates are not annotated with entity types, but they can contain @-prefixed entity type names as substrings. Note: Template mode has been deprecated. Example mode is the only supported way to create new training phrases. If you have existing training phrases in template mode, they will be removed during training and it can cause a drop in agent performance.

TEMPLATE = 2 [deprecated = true];

TYPE_UNSPECIFIED

Not specified. This value should never be used.

TYPE_UNSPECIFIED = 0;

TYPE_UNSPECIFIED_VALUE

Not specified. This value should never be used.

TYPE_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()