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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
int |
setLine
The line, starting with 1, where the byte is positioned.
Generated from protobuf field int32 line = 1;
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |