Google Cloud Dialogflow v2 API - Class MessageAnnotation (4.23.0)

public sealed class MessageAnnotation : IMessage<MessageAnnotation>, IEquatable<MessageAnnotation>, IDeepCloneable<MessageAnnotation>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Dialogflow v2 API class MessageAnnotation.

Represents the result of annotation for the message.

Inheritance

object > MessageAnnotation

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

MessageAnnotation()

public MessageAnnotation()

MessageAnnotation(MessageAnnotation)

public MessageAnnotation(MessageAnnotation other)
Parameter
Name Description
other MessageAnnotation

Properties

ContainEntities

public bool ContainEntities { get; set; }

Indicates whether the text message contains entities.

Property Value
Type Description
bool

Parts

public RepeatedField<AnnotatedMessagePart> Parts { get; }

The collection of annotated message parts ordered by their position in the message. You can recover the annotated message by concatenating [AnnotatedMessagePart.text].

Property Value
Type Description
RepeatedFieldAnnotatedMessagePart