Class StackTrace.StackFrame (2.3.7)
2.95.0 (latest)
2.94.0
2.93.0
2.91.0
2.88.0
2.87.0
2.85.0
2.83.0
2.82.0
2.80.0
2.78.0
2.76.0
2.75.0
2.74.0
2.73.0
2.72.0
2.70.0
2.68.0
2.67.0
2.64.0
2.63.0
2.62.0
2.60.0
2.59.0
2.58.0
2.57.0
2.56.0
2.55.0
2.54.0
2.53.0
2.52.0
2.51.0
2.49.0
2.48.0
2.47.0
2.46.0
2.45.0
2.44.0
2.43.0
2.42.0
2.41.0
2.40.0
2.39.0
2.37.0
2.36.0
2.35.0
2.34.0
2.33.0
2.32.0
2.31.0
2.30.0
2.29.0
2.28.0
2.27.0
2.24.0
2.23.0
2.22.0
2.21.0
2.20.0
2.19.0
2.18.0
2.17.0
2.16.0
2.15.0
2.14.0
2.13.0
2.12.0
2.11.0
2.9.0
2.8.0
2.7.0
2.6.0
2.5.0
2.4.0
2.3.7
2.2.0
2.1.13
public static final class StackTrace . StackFrame extends GeneratedMessageV3 implements StackTrace . StackFrameOrBuilder
Represents a single stack frame in a stack trace.
Protobuf type google.devtools.cloudtrace.v2.StackTrace.StackFrame
Static Fields
public static final int COLUMN_NUMBER_FIELD_NUMBER
Field Value
public static final int FILE_NAME_FIELD_NUMBER
Field Value
public static final int FUNCTION_NAME_FIELD_NUMBER
Field Value
public static final int LINE_NUMBER_FIELD_NUMBER
Field Value
public static final int LOAD_MODULE_FIELD_NUMBER
Field Value
public static final int ORIGINAL_FUNCTION_NAME_FIELD_NUMBER
Field Value
public static final int SOURCE_VERSION_FIELD_NUMBER
Field Value
Static Methods
public static StackTrace . StackFrame getDefaultInstance ()
Returns
public static final Descriptors . Descriptor getDescriptor ()
Returns
public static StackTrace . StackFrame . Builder newBuilder ()
Returns
public static StackTrace . StackFrame . Builder newBuilder ( StackTrace . StackFrame prototype )
Parameter
Returns
public static StackTrace . StackFrame parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static StackTrace . StackFrame parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static StackTrace . StackFrame parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
Returns
Exceptions
public static StackTrace . StackFrame parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static StackTrace . StackFrame parseFrom ( ByteString data )
Parameter
Returns
Exceptions
public static StackTrace . StackFrame parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static StackTrace . StackFrame parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static StackTrace . StackFrame parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static StackTrace . StackFrame parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static StackTrace . StackFrame parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static StackTrace . StackFrame parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
public static StackTrace . StackFrame parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static Parser<StackTrace . StackFrame > parser ()
Returns
Methods
public boolean equals ( Object obj )
Parameter
Returns
Overrides
public long getColumnNumber ()
The column number where the function call appears, if available.
This is important in JavaScript because of its anonymous functions.
int64 column_number = 5;
Returns
Type
Description
long
The columnNumber.
public StackTrace . StackFrame getDefaultInstanceForType ()
Returns
public TruncatableString getFileName ()
The name of the source file where the function call appears (up to 256
bytes).
.google.devtools.cloudtrace.v2.TruncatableString file_name = 3;
Returns
public TruncatableStringOrBuilder getFileNameOrBuilder ()
The name of the source file where the function call appears (up to 256
bytes).
.google.devtools.cloudtrace.v2.TruncatableString file_name = 3;
Returns
public TruncatableString getFunctionName ()
The fully-qualified name that uniquely identifies the function or
method that is active in this frame (up to 1024 bytes).
.google.devtools.cloudtrace.v2.TruncatableString function_name = 1;
Returns
public TruncatableStringOrBuilder getFunctionNameOrBuilder ()
The fully-qualified name that uniquely identifies the function or
method that is active in this frame (up to 1024 bytes).
.google.devtools.cloudtrace.v2.TruncatableString function_name = 1;
Returns
public long getLineNumber ()
The line number in file_name where the function call appears.
int64 line_number = 4;
Returns
Type
Description
long
The lineNumber.
public Module getLoadModule ()
The binary module from where the code was loaded.
.google.devtools.cloudtrace.v2.Module load_module = 6;
Returns
Type
Description
Module
The loadModule.
public ModuleOrBuilder getLoadModuleOrBuilder ()
The binary module from where the code was loaded.
.google.devtools.cloudtrace.v2.Module load_module = 6;
Returns
public TruncatableString getOriginalFunctionName ()
An un-mangled function name, if function_name is
mangled . The name can
be fully-qualified (up to 1024 bytes).
.google.devtools.cloudtrace.v2.TruncatableString original_function_name = 2;
Returns
public TruncatableStringOrBuilder getOriginalFunctionNameOrBuilder ()
An un-mangled function name, if function_name is
mangled . The name can
be fully-qualified (up to 1024 bytes).
.google.devtools.cloudtrace.v2.TruncatableString original_function_name = 2;
Returns
public Parser<StackTrace . StackFrame > getParserForType ()
Returns
Overrides
public int getSerializedSize ()
Returns
Overrides
public TruncatableString getSourceVersion ()
The version of the deployed source code (up to 128 bytes).
.google.devtools.cloudtrace.v2.TruncatableString source_version = 7;
Returns
public TruncatableStringOrBuilder getSourceVersionOrBuilder ()
The version of the deployed source code (up to 128 bytes).
.google.devtools.cloudtrace.v2.TruncatableString source_version = 7;
Returns
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
public boolean hasFileName ()
The name of the source file where the function call appears (up to 256
bytes).
.google.devtools.cloudtrace.v2.TruncatableString file_name = 3;
Returns
Type
Description
boolean
Whether the fileName field is set.
public boolean hasFunctionName ()
The fully-qualified name that uniquely identifies the function or
method that is active in this frame (up to 1024 bytes).
.google.devtools.cloudtrace.v2.TruncatableString function_name = 1;
Returns
Type
Description
boolean
Whether the functionName field is set.
public boolean hasLoadModule ()
The binary module from where the code was loaded.
.google.devtools.cloudtrace.v2.Module load_module = 6;
Returns
Type
Description
boolean
Whether the loadModule field is set.
public boolean hasOriginalFunctionName ()
An un-mangled function name, if function_name is
mangled . The name can
be fully-qualified (up to 1024 bytes).
.google.devtools.cloudtrace.v2.TruncatableString original_function_name = 2;
Returns
Type
Description
boolean
Whether the originalFunctionName field is set.
public boolean hasSourceVersion ()
The version of the deployed source code (up to 128 bytes).
.google.devtools.cloudtrace.v2.TruncatableString source_version = 7;
Returns
Type
Description
boolean
Whether the sourceVersion field is set.
Returns
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
public final boolean isInitialized ()
Returns
Overrides
public StackTrace . StackFrame . Builder newBuilderForType ()
Returns
protected StackTrace . StackFrame . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
public StackTrace . StackFrame . Builder toBuilder ()
Returns
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-08-05 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-08-05 UTC."],[],[]]