Class: Google::Cloud::AIPlatform::V1::Segment

Inherits:
Object
  • Object
show all
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

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.

Returns:

  • (::Integer)

    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.

Returns:

  • (::Integer)

    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.

Returns:

  • (::Integer)

    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.

Returns:

  • (::String)

    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