Class: Google::Cloud::Monitoring::V3::TextLocator::Position

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/monitoring/v3/metric.rb

Overview

The position of a byte within the text.

Instance Attribute Summary collapse

Instance Attribute Details

#column::Integer

Returns The column within the line, starting with 1, where the byte is positioned. This is a byte index even though the text is UTF-8.

Returns:

  • (::Integer)

    The column within the line, starting with 1, where the byte is positioned. This is a byte index even though the text is UTF-8.



252
253
254
255
# File 'proto_docs/google/monitoring/v3/metric.rb', line 252

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

#line::Integer

Returns The line, starting with 1, where the byte is positioned.

Returns:

  • (::Integer)

    The line, starting with 1, where the byte is positioned.



252
253
254
255
# File 'proto_docs/google/monitoring/v3/metric.rb', line 252

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