PBFunction
extends Message
in package
Describes a function, including its human-readable name, system name, source file, and starting line number in the source.
Generated from protobuf message opentelemetry.proto.profiles.v1development.Function
Table of Contents
Properties
- $filename_strindex : mixed
- Source file containing the function. Empty string if not available.
- $name_strindex : mixed
- Function name. Empty string if not available.
- $start_line : mixed
- Line number in source file. 0 means unset.
- $system_name_strindex : mixed
- Function name, as identified by the system. For instance, it can be a C++ mangled name. Empty string if not available.
Methods
- __construct() : mixed
- Constructor.
- getFilenameStrindex() : int
- Source file containing the function. Empty string if not available.
- getNameStrindex() : int
- Function name. Empty string if not available.
- getStartLine() : int|string
- Line number in source file. 0 means unset.
- getSystemNameStrindex() : int
- Function name, as identified by the system. For instance, it can be a C++ mangled name. Empty string if not available.
- setFilenameStrindex() : $this
- Source file containing the function. Empty string if not available.
- setNameStrindex() : $this
- Function name. Empty string if not available.
- setStartLine() : $this
- Line number in source file. 0 means unset.
- setSystemNameStrindex() : $this
- Function name, as identified by the system. For instance, it can be a C++ mangled name. Empty string if not available.
Properties
$filename_strindex
Source file containing the function. Empty string if not available.
protected
mixed
$filename_strindex
= 0
Generated from protobuf field int32 filename_strindex = 3;
$name_strindex
Function name. Empty string if not available.
protected
mixed
$name_strindex
= 0
Generated from protobuf field int32 name_strindex = 1;
$start_line
Line number in source file. 0 means unset.
protected
mixed
$start_line
= 0
Generated from protobuf field int64 start_line = 4;
$system_name_strindex
Function name, as identified by the system. For instance, it can be a C++ mangled name. Empty string if not available.
protected
mixed
$system_name_strindex
= 0
Generated from protobuf field int32 system_name_strindex = 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 $name_strindex Function name. Empty string if not available. @type int $system_name_strindex Function name, as identified by the system. For instance, it can be a C++ mangled name. Empty string if not available. @type int $filename_strindex Source file containing the function. Empty string if not available. @type int|string $start_line Line number in source file. 0 means unset.}
getFilenameStrindex()
Source file containing the function. Empty string if not available.
public
getFilenameStrindex() : int
Generated from protobuf field int32 filename_strindex = 3;
Return values
intgetNameStrindex()
Function name. Empty string if not available.
public
getNameStrindex() : int
Generated from protobuf field int32 name_strindex = 1;
Return values
intgetStartLine()
Line number in source file. 0 means unset.
public
getStartLine() : int|string
Generated from protobuf field int64 start_line = 4;
Return values
int|stringgetSystemNameStrindex()
Function name, as identified by the system. For instance, it can be a C++ mangled name. Empty string if not available.
public
getSystemNameStrindex() : int
Generated from protobuf field int32 system_name_strindex = 2;
Return values
intsetFilenameStrindex()
Source file containing the function. Empty string if not available.
public
setFilenameStrindex(int $var) : $this
Generated from protobuf field int32 filename_strindex = 3;
Parameters
- $var : int
Return values
$thissetNameStrindex()
Function name. Empty string if not available.
public
setNameStrindex(int $var) : $this
Generated from protobuf field int32 name_strindex = 1;
Parameters
- $var : int
Return values
$thissetStartLine()
Line number in source file. 0 means unset.
public
setStartLine(int|string $var) : $this
Generated from protobuf field int64 start_line = 4;
Parameters
- $var : int|string
Return values
$thissetSystemNameStrindex()
Function name, as identified by the system. For instance, it can be a C++ mangled name. Empty string if not available.
public
setSystemNameStrindex(int $var) : $this
Generated from protobuf field int32 system_name_strindex = 2;
Parameters
- $var : int