public interface AnnotatedMessagePartOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getEntityType()
Optional.
|
com.google.protobuf.ByteString |
getEntityTypeBytes()
Optional.
|
com.google.protobuf.Value |
getFormattedValue()
Optional.
|
com.google.protobuf.ValueOrBuilder |
getFormattedValueOrBuilder()
Optional.
|
String |
getText()
Required.
|
com.google.protobuf.ByteString |
getTextBytes()
Required.
|
boolean |
hasFormattedValue()
Optional.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getText()
Required. A part of a message possibly annotated with an entity.
string text = 1;com.google.protobuf.ByteString getTextBytes()
Required. A part of a message possibly annotated with an entity.
string text = 1;String getEntityType()
Optional. The [Dialogflow system entity type](https://cloud.google.com/dialogflow/docs/reference/system-entities) of this message part. If this is empty, Dialogflow could not annotate the phrase part with a system entity.
string entity_type = 2;com.google.protobuf.ByteString getEntityTypeBytes()
Optional. The [Dialogflow system entity type](https://cloud.google.com/dialogflow/docs/reference/system-entities) of this message part. If this is empty, Dialogflow could not annotate the phrase part with a system entity.
string entity_type = 2;boolean hasFormattedValue()
Optional. The [Dialogflow system entity formatted value
](https://cloud.google.com/dialogflow/docs/reference/system-entities) of
this message part. For example for a system entity of type
`@sys.unit-currency`, this may contain:
<pre>
{
"amount": 5,
"currency": "USD"
}
</pre>
.google.protobuf.Value formatted_value = 3;com.google.protobuf.Value getFormattedValue()
Optional. The [Dialogflow system entity formatted value
](https://cloud.google.com/dialogflow/docs/reference/system-entities) of
this message part. For example for a system entity of type
`@sys.unit-currency`, this may contain:
<pre>
{
"amount": 5,
"currency": "USD"
}
</pre>
.google.protobuf.Value formatted_value = 3;com.google.protobuf.ValueOrBuilder getFormattedValueOrBuilder()
Optional. The [Dialogflow system entity formatted value
](https://cloud.google.com/dialogflow/docs/reference/system-entities) of
this message part. For example for a system entity of type
`@sys.unit-currency`, this may contain:
<pre>
{
"amount": 5,
"currency": "USD"
}
</pre>
.google.protobuf.Value formatted_value = 3;Copyright © 2023 Google LLC. All rights reserved.