Interface SourceLocationOrBuilder (0.130.0-beta)

Stay organized with collections Save and categorize content based on your preferences.
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
int

The lineNumber.