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.
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
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;
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.
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
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