Send feedback
Class StackTrace.StackFrame (2.55.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.55.0 keyboard_arrow_down
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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int COLUMN_NUMBER_FIELD_NUMBER
Field Value
Type
Description
int
public static final int FILE_NAME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int FUNCTION_NAME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int LINE_NUMBER_FIELD_NUMBER
Field Value
Type
Description
int
public static final int LOAD_MODULE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int ORIGINAL_FUNCTION_NAME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int SOURCE_VERSION_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static StackTrace . StackFrame getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static StackTrace . StackFrame . Builder newBuilder ()
public static StackTrace . StackFrame . Builder newBuilder ( StackTrace . StackFrame prototype )
public static StackTrace . StackFrame parseDelimitedFrom ( InputStream input )
public static StackTrace . StackFrame parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static StackTrace . StackFrame parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static StackTrace . StackFrame parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static StackTrace . StackFrame parseFrom ( ByteString data )
public static StackTrace . StackFrame parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static StackTrace . StackFrame parseFrom ( CodedInputStream input )
public static StackTrace . StackFrame parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static StackTrace . StackFrame parseFrom ( InputStream input )
public static StackTrace . StackFrame parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static StackTrace . StackFrame parseFrom ( ByteBuffer data )
public static StackTrace . StackFrame parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<StackTrace . StackFrame > parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
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 ()
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;
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;
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;
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;
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;
public TruncatableString getOriginalFunctionName ()
An un-mangled function name, if function_name
is mangled.
To get information about name mangling, run
this search .
The name can be fully-qualified (up to 1024 bytes).
.google.devtools.cloudtrace.v2.TruncatableString original_function_name = 2;
public TruncatableStringOrBuilder getOriginalFunctionNameOrBuilder ()
An un-mangled function name, if function_name
is mangled.
To get information about name mangling, run
this search .
The name can be fully-qualified (up to 1024 bytes).
.google.devtools.cloudtrace.v2.TruncatableString original_function_name = 2;
public Parser<StackTrace . StackFrame > getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public TruncatableString getSourceVersion ()
The version of the deployed source code (up to 128 bytes).
.google.devtools.cloudtrace.v2.TruncatableString source_version = 7;
public TruncatableStringOrBuilder getSourceVersionOrBuilder ()
The version of the deployed source code (up to 128 bytes).
.google.devtools.cloudtrace.v2.TruncatableString source_version = 7;
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.
To get information about name mangling, run
this search .
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
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public StackTrace . StackFrame . Builder newBuilderForType ()
protected StackTrace . StackFrame . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public StackTrace . StackFrame . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
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 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]