Stackdriver Monitoring V3 Client - Class Position (1.2.2)

Reference documentation and code samples for the Stackdriver Monitoring V3 Client class Position.

The position of a byte within the text.

Generated from protobuf message google.monitoring.v3.TextLocator.Position

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ line int

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

↳ column int

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.

getLine

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

Generated from protobuf field int32 line = 1;

Returns
TypeDescription
int

setLine

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

Generated from protobuf field int32 line = 1;

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getColumn

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.

Generated from protobuf field int32 column = 2;

Returns
TypeDescription
int

setColumn

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.

Generated from protobuf field int32 column = 2;

Parameter
NameDescription
var int
Returns
TypeDescription
$this