public static interface Intent.TrainingPhrase.PartOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
String |
getAlias()
Optional.
|
ByteString |
getAliasBytes()
Optional.
|
String |
getEntityType()
Optional.
|
ByteString |
getEntityTypeBytes()
Optional.
|
String |
getText()
Required.
|
ByteString |
getTextBytes()
Required.
|
boolean |
getUserDefined()
Optional.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getText()
Required. The text for this part.
string text = 1;
ByteString getTextBytes()
Required. The text for this part.
string text = 1;
String getEntityType()
Optional. The entity type name prefixed with `@`. This field is required for annotated parts of the training phrase.
string entity_type = 2 [(.google.api.field_behavior) = OPTIONAL];
ByteString getEntityTypeBytes()
Optional. The entity type name prefixed with `@`. This field is required for annotated parts of the training phrase.
string entity_type = 2 [(.google.api.field_behavior) = OPTIONAL];
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 [(.google.api.field_behavior) = OPTIONAL];
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 [(.google.api.field_behavior) = OPTIONAL];
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 [(.google.api.field_behavior) = OPTIONAL];
Copyright © 2022 Google LLC. All rights reserved.