SourcePosition
class SourcePosition extends Message
A specific position in source.
Generated from protobuf message google.api.expr.v1beta1.SourcePosition
Methods
Constructor.
The soucre location name (e.g. file name).
The soucre location name (e.g. file name).
The character offset.
The character offset.
The 1-based index of the starting line in the source text where the issue occurs, or 0 if unknown.
The 1-based index of the starting line in the source text where the issue occurs, or 0 if unknown.
The 0-based index of the starting position within the line of source text where the issue occurs. Only meaningful if line is nonzer.
The 0-based index of the starting position within the line of source text where the issue occurs. Only meaningful if line is nonzer.
Details
at line 63
__construct(array $data = NULL)
Constructor.
at line 74
string
getLocation()
The soucre location name (e.g. file name).
Generated from protobuf field string location = 1;
at line 86
$this
setLocation(string $var)
The soucre location name (e.g. file name).
Generated from protobuf field string location = 1;
at line 100
int
getOffset()
The character offset.
Generated from protobuf field int32 offset = 2;
at line 112
$this
setOffset(int $var)
The character offset.
Generated from protobuf field int32 offset = 2;
at line 127
int
getLine()
The 1-based index of the starting line in the source text where the issue occurs, or 0 if unknown.
Generated from protobuf field int32 line = 3;
at line 140
$this
setLine(int $var)
The 1-based index of the starting line in the source text where the issue occurs, or 0 if unknown.
Generated from protobuf field int32 line = 3;
at line 155
int
getColumn()
The 0-based index of the starting position within the line of source text where the issue occurs. Only meaningful if line is nonzer.
.
Generated from protobuf field int32 column = 4;
at line 168
$this
setColumn(int $var)
The 0-based index of the starting position within the line of source text where the issue occurs. Only meaningful if line is nonzer.
.
Generated from protobuf field int32 column = 4;