Class: Google::Cloud::AIPlatform::V1::Segment
- Inherits:
-
Object
- Object
- Google::Cloud::AIPlatform::V1::Segment
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/aiplatform/v1/content.rb
Overview
Segment of the content.
Instance Attribute Summary collapse
-
#end_index ⇒ ::Integer
readonly
Output only.
-
#part_index ⇒ ::Integer
readonly
Output only.
-
#start_index ⇒ ::Integer
readonly
Output only.
-
#text ⇒ ::String
readonly
Output only.
Instance Attribute Details
#end_index ⇒ ::Integer (readonly)
Returns Output only. End index in the given Part, measured in bytes. Offset from the start of the Part, exclusive, starting at zero.
502 503 504 505 |
# File 'proto_docs/google/cloud/aiplatform/v1/content.rb', line 502 class Segment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#part_index ⇒ ::Integer (readonly)
Returns Output only. The index of a Part object within its parent Content object.
502 503 504 505 |
# File 'proto_docs/google/cloud/aiplatform/v1/content.rb', line 502 class Segment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#start_index ⇒ ::Integer (readonly)
Returns Output only. Start index in the given Part, measured in bytes. Offset from the start of the Part, inclusive, starting at zero.
502 503 504 505 |
# File 'proto_docs/google/cloud/aiplatform/v1/content.rb', line 502 class Segment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#text ⇒ ::String (readonly)
Returns Output only. The text corresponding to the segment from the response.
502 503 504 505 |
# File 'proto_docs/google/cloud/aiplatform/v1/content.rb', line 502 class Segment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |