Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::Segment.
A segment of the content.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#end_index
def end_index() -> ::Integer
Returns
- (::Integer) — Output only. The end index of the segment, measured in bytes. This marks the end of the segment and is exclusive, meaning the segment includes content up to, but not including, the byte at this index.
#start_index
def start_index() -> ::Integer
Returns
- (::Integer) — Output only. The start index of the segment, measured in bytes. This marks the beginning of the segment and is inclusive, meaning the byte at this index is the first byte of the segment.
#text
def text() -> ::String
Returns
- (::String) — Output only. The text of the segment.