Interface SourceLocationOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SourceLocation
,SourceLocation.Builder
public interface SourceLocationOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getFilePath()
The source code filename, which can include a truncated relative path, or a full path from a production machine.com.google.protobuf.ByteString
getFilePathBytes()
The source code filename, which can include a truncated relative path, or a full path from a production machine.String
getFunctionName()
Human-readable name of a function or method.com.google.protobuf.ByteString
getFunctionNameBytes()
Human-readable name of a function or method.int
getLineNumber()
1-based.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getFilePath
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:
- The filePath.
-
getFilePathBytes
com.google.protobuf.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:
- The bytes for filePath.
-
getLineNumber
int getLineNumber()
1-based. 0 indicates that the line number is unknown.
int32 line_number = 2;
- Returns:
- The lineNumber.
-
getFunctionName
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:
- The functionName.
-
getFunctionNameBytes
com.google.protobuf.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:
- The bytes for functionName.
-
-