Class: Google::Cloud::Dialogflow::V2::MessageAnnotation

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/v2/participant.rb

Overview

Represents the result of annotation for the message.

Instance Attribute Summary collapse

Instance Attribute Details

#contain_entities::Boolean

Returns Indicates whether the text message contains entities.

Returns:

  • (::Boolean)

    Indicates whether the text message contains entities.



977
978
979
980
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 977

class MessageAnnotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parts::Array<::Google::Cloud::Dialogflow::V2::AnnotatedMessagePart>

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

Returns:



977
978
979
980
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 977

class MessageAnnotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end