Interface SourceLocationOrBuilder (0.164.0-beta)

public interface SourceLocationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFilePath()

public abstract String getFilePath()

The source code filename, which can include a truncated relative path, or a full path from a production machine.

string file_path = 1;

Returns
Type Description
String

The filePath.

getFilePathBytes()

public abstract ByteString getFilePathBytes()

The source code filename, which can include a truncated relative path, or a full path from a production machine.

string file_path = 1;

Returns
Type Description
ByteString

The bytes for filePath.

getFunctionName()

public abstract String getFunctionName()

Human-readable name of a function or method. The value can include optional context like the class or package name. For example, my.package.MyClass.method in case of Java.

string function_name = 4;

Returns
Type Description
String

The functionName.

getFunctionNameBytes()

public abstract ByteString getFunctionNameBytes()

Human-readable name of a function or method. The value can include optional context like the class or package name. For example, my.package.MyClass.method in case of Java.

string function_name = 4;

Returns
Type Description
ByteString

The bytes for functionName.

getLineNumber()

public abstract int getLineNumber()

1-based. 0 indicates that the line number is unknown.

int32 line_number = 2;

Returns
Type Description
int

The lineNumber.