public interface AnnotatedMessagePartOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
String |
getEntityType()
The [Dialogflow system entity
type](https://cloud.google.com/dialogflow/docs/reference/system-entities)
of this message part.
|
ByteString |
getEntityTypeBytes()
The [Dialogflow system entity
type](https://cloud.google.com/dialogflow/docs/reference/system-entities)
of this message part.
|
Value |
getFormattedValue()
The [Dialogflow system entity formatted value
](https://cloud.google.com/dialogflow/docs/reference/system-entities) of
this message part.
|
ValueOrBuilder |
getFormattedValueOrBuilder()
The [Dialogflow system entity formatted value
](https://cloud.google.com/dialogflow/docs/reference/system-entities) of
this message part.
|
String |
getText()
A part of a message possibly annotated with an entity.
|
ByteString |
getTextBytes()
A part of a message possibly annotated with an entity.
|
boolean |
hasFormattedValue()
The [Dialogflow system entity formatted value
](https://cloud.google.com/dialogflow/docs/reference/system-entities) of
this message part.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getText()
A part of a message possibly annotated with an entity.
string text = 1;
ByteString getTextBytes()
A part of a message possibly annotated with an entity.
string text = 1;
String getEntityType()
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;
ByteString getEntityTypeBytes()
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()
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;
Value getFormattedValue()
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;
ValueOrBuilder getFormattedValueOrBuilder()
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 © 2022 Google LLC. All rights reserved.