Google Cloud Dialogflow v2 API - Class MessageAnnotation (4.8.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
NameDescription
otherMessageAnnotation

Properties

ContainEntities

public bool ContainEntities { get; set; }

Indicates whether the text message contains entities.

Property Value
TypeDescription
Boolean

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
TypeDescription
RepeatedField<AnnotatedMessagePart>