Enum Intent.TrainingPhrase.Type (4.4.0)

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

Represents different types of training phrases.

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

Implements

ProtocolMessageEnum

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. Template mode has been deprecated. Example mode is the only supported way to create new training phrases. If you have existing training phrases that you've created in template mode, those will continue to work.

TEMPLATE = 2 [deprecated = true];

TEMPLATE_VALUE

Templates are not annotated with entity types, but they can contain @-prefixed entity type names as substrings. Template mode has been deprecated. Example mode is the only supported way to create new training phrases. If you have existing training phrases that you've created in template mode, those will continue to work.

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

Methods

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

(deprecated) Use #forNumber(int) instead.

valueOf(String name)
values()