public static interface Intent.TrainingPhrase.PartOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlias()
Optional.
|
ByteString |
getAliasBytes()
Optional.
|
java.lang.String |
getEntityType()
Optional.
|
ByteString |
getEntityTypeBytes()
Optional.
|
java.lang.String |
getText()
Required.
|
ByteString |
getTextBytes()
Required.
|
boolean |
getUserDefined()
Optional.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
java.lang.String getText()
Required. The text corresponding to the example or template, if there are no annotations. For annotated examples, it is the text for one of the example's parts.
string text = 1;
ByteString getTextBytes()
Required. The text corresponding to the example or template, if there are no annotations. For annotated examples, it is the text for one of the example's parts.
string text = 1;
java.lang.String getEntityType()
Optional. The entity type name prefixed with `@`. This field is required for the annotated part of the text and applies only to examples.
string entity_type = 2;
ByteString getEntityTypeBytes()
Optional. The entity type name prefixed with `@`. This field is required for the annotated part of the text and applies only to examples.
string entity_type = 2;
java.lang.String getAlias()
Optional. The parameter name for the value extracted from the annotated part of the example.
string alias = 3;
ByteString getAliasBytes()
Optional. The parameter name for the value extracted from the annotated part of the example.
string alias = 3;
boolean getUserDefined()
Optional. Indicates whether the text was manually annotated by the developer.
bool user_defined = 4;