Class MessageAnnotation (3.10.0)

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

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>