Line
extends Message
in package
Details a specific line in a source code, linked to a function.
Generated from protobuf message opentelemetry.proto.profiles.v1development.Line
Table of Contents
Properties
- $column : mixed
- Column number in source code.
- $function_index : mixed
- Reference to function in Profile.function_table.
- $line : mixed
- Line number in source code.
Methods
- __construct() : mixed
- Constructor.
- getColumn() : int|string
- Column number in source code.
- getFunctionIndex() : int
- Reference to function in Profile.function_table.
- getLine() : int|string
- Line number in source code.
- setColumn() : $this
- Column number in source code.
- setFunctionIndex() : $this
- Reference to function in Profile.function_table.
- setLine() : $this
- Line number in source code.
Properties
$column
Column number in source code.
protected
mixed
$column
= 0
Generated from protobuf field int64 column = 3;
$function_index
Reference to function in Profile.function_table.
protected
mixed
$function_index
= 0
Generated from protobuf field int32 function_index = 1;
$line
Line number in source code.
protected
mixed
$line
= 0
Generated from protobuf field int64 line = 2;
Methods
__construct()
Constructor.
public
__construct([array<string|int, mixed> $data = NULL ]) : mixed
Parameters
- $data : array<string|int, mixed> = NULL
-
{ Optional. Data for populating the Message object.
@type int $function_index Reference to function in Profile.function_table. @type int|string $line Line number in source code. @type int|string $column Column number in source code.
}
getColumn()
Column number in source code.
public
getColumn() : int|string
Generated from protobuf field int64 column = 3;
Return values
int|stringgetFunctionIndex()
Reference to function in Profile.function_table.
public
getFunctionIndex() : int
Generated from protobuf field int32 function_index = 1;
Return values
intgetLine()
Line number in source code.
public
getLine() : int|string
Generated from protobuf field int64 line = 2;
Return values
int|stringsetColumn()
Column number in source code.
public
setColumn(int|string $var) : $this
Generated from protobuf field int64 column = 3;
Parameters
- $var : int|string
Return values
$thissetFunctionIndex()
Reference to function in Profile.function_table.
public
setFunctionIndex(int $var) : $this
Generated from protobuf field int32 function_index = 1;
Parameters
- $var : int
Return values
$thissetLine()
Line number in source code.
public
setLine(int|string $var) : $this
Generated from protobuf field int64 line = 2;
Parameters
- $var : int|string