Class: Google::Cloud::DataQnA::V1alpha::AnnotatedString::SemanticMarkup
- Inherits:
-
Object
- Object
- Google::Cloud::DataQnA::V1alpha::AnnotatedString::SemanticMarkup
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dataqna/v1alpha/annotated_string.rb
Overview
Semantic markup denotes a substring (by index and length) with markup information.
Instance Attribute Summary collapse
-
#length ⇒ ::Integer
The length (number of unicode characters) of the markup substring.
-
#start_char_index ⇒ ::Integer
Unicode character index of the query.
-
#type ⇒ ::Google::Cloud::DataQnA::V1alpha::AnnotatedString::SemanticMarkupType
The semantic type of the markup substring.
Instance Attribute Details
#length ⇒ ::Integer
Returns The length (number of unicode characters) of the markup substring.
78 79 80 81 |
# File 'proto_docs/google/cloud/dataqna/v1alpha/annotated_string.rb', line 78 class SemanticMarkup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#start_char_index ⇒ ::Integer
Returns Unicode character index of the query.
78 79 80 81 |
# File 'proto_docs/google/cloud/dataqna/v1alpha/annotated_string.rb', line 78 class SemanticMarkup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#type ⇒ ::Google::Cloud::DataQnA::V1alpha::AnnotatedString::SemanticMarkupType
Returns The semantic type of the markup substring.
78 79 80 81 |
# File 'proto_docs/google/cloud/dataqna/v1alpha/annotated_string.rb', line 78 class SemanticMarkup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |