Interface Intent.TrainingPhrase.PartOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Intent.TrainingPhrase.Part
,Intent.TrainingPhrase.Part.Builder
- Enclosing class:
- Intent.TrainingPhrase
public static interface Intent.TrainingPhrase.PartOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAlias()
Optional.com.google.protobuf.ByteString
getAliasBytes()
Optional.String
getEntityType()
Optional.com.google.protobuf.ByteString
getEntityTypeBytes()
Optional.String
getText()
Required.com.google.protobuf.ByteString
getTextBytes()
Required.boolean
getUserDefined()
Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getText
String getText()
Required. The text for this part.
string text = 1;
- Returns:
- The text.
-
getTextBytes
com.google.protobuf.ByteString getTextBytes()
Required. The text for this part.
string text = 1;
- Returns:
- The bytes for text.
-
getEntityType
String getEntityType()
Optional. The entity type name prefixed with `@`. This field is required for annotated parts of the training phrase.
string entity_type = 2;
- Returns:
- The entityType.
-
getEntityTypeBytes
com.google.protobuf.ByteString getEntityTypeBytes()
Optional. The entity type name prefixed with `@`. This field is required for annotated parts of the training phrase.
string entity_type = 2;
- Returns:
- The bytes for entityType.
-
getAlias
String getAlias()
Optional. The parameter name for the value extracted from the annotated part of the example. This field is required for annotated parts of the training phrase.
string alias = 3;
- Returns:
- The alias.
-
getAliasBytes
com.google.protobuf.ByteString getAliasBytes()
Optional. The parameter name for the value extracted from the annotated part of the example. This field is required for annotated parts of the training phrase.
string alias = 3;
- Returns:
- The bytes for alias.
-
getUserDefined
boolean getUserDefined()
Optional. Indicates whether the text was manually annotated. This field is set to true when the Dialogflow Console is used to manually annotate the part. When creating an annotated part with the API, you must set this to true.
bool user_defined = 4;
- Returns:
- The userDefined.
-
-