Class StackTrace.StackFrame (2.55.0)

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

COLUMN_NUMBER_FIELD_NUMBER

public static final int COLUMN_NUMBER_FIELD_NUMBER
Field Value
Type Description
int

FILE_NAME_FIELD_NUMBER

public static final int FILE_NAME_FIELD_NUMBER
Field Value
Type Description
int

FUNCTION_NAME_FIELD_NUMBER

public static final int FUNCTION_NAME_FIELD_NUMBER
Field Value
Type Description
int

LINE_NUMBER_FIELD_NUMBER

public static final int LINE_NUMBER_FIELD_NUMBER
Field Value
Type Description
int

LOAD_MODULE_FIELD_NUMBER

public static final int LOAD_MODULE_FIELD_NUMBER
Field Value
Type Description
int

ORIGINAL_FUNCTION_NAME_FIELD_NUMBER

public static final int ORIGINAL_FUNCTION_NAME_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_VERSION_FIELD_NUMBER

public static final int SOURCE_VERSION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static StackTrace.StackFrame getDefaultInstance()
Returns
Type Description
StackTrace.StackFrame

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static StackTrace.StackFrame.Builder newBuilder()
Returns
Type Description
StackTrace.StackFrame.Builder

newBuilder(StackTrace.StackFrame prototype)

public static StackTrace.StackFrame.Builder newBuilder(StackTrace.StackFrame prototype)
Parameter
Name Description
prototype StackTrace.StackFrame
Returns
Type Description
StackTrace.StackFrame.Builder

parseDelimitedFrom(InputStream input)

public static StackTrace.StackFrame parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StackTrace.StackFrame
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StackTrace.StackFrame parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StackTrace.StackFrame
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static StackTrace.StackFrame parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
StackTrace.StackFrame
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StackTrace.StackFrame parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StackTrace.StackFrame
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StackTrace.StackFrame parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
StackTrace.StackFrame
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StackTrace.StackFrame parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StackTrace.StackFrame
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StackTrace.StackFrame parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
StackTrace.StackFrame
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StackTrace.StackFrame parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StackTrace.StackFrame
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static StackTrace.StackFrame parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StackTrace.StackFrame
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StackTrace.StackFrame parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StackTrace.StackFrame
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static StackTrace.StackFrame parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
StackTrace.StackFrame
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StackTrace.StackFrame parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StackTrace.StackFrame
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<StackTrace.StackFrame> parser()
Returns
Type Description
Parser<StackFrame>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getColumnNumber()

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.

getDefaultInstanceForType()

public StackTrace.StackFrame getDefaultInstanceForType()
Returns
Type Description
StackTrace.StackFrame

getFileName()

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
Type Description
TruncatableString

The fileName.

getFileNameOrBuilder()

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
Type Description
TruncatableStringOrBuilder

getFunctionName()

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
Type Description
TruncatableString

The functionName.

getFunctionNameOrBuilder()

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
Type Description
TruncatableStringOrBuilder

getLineNumber()

public long getLineNumber()

The line number in file_name where the function call appears.

int64 line_number = 4;

Returns
Type Description
long

The lineNumber.

getLoadModule()

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.

getLoadModuleOrBuilder()

public ModuleOrBuilder getLoadModuleOrBuilder()

The binary module from where the code was loaded.

.google.devtools.cloudtrace.v2.Module load_module = 6;

Returns
Type Description
ModuleOrBuilder

getOriginalFunctionName()

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
Type Description
TruncatableString

The originalFunctionName.

getOriginalFunctionNameOrBuilder()

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
Type Description
TruncatableStringOrBuilder

getParserForType()

public Parser<StackTrace.StackFrame> getParserForType()
Returns
Type Description
Parser<StackFrame>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSourceVersion()

public TruncatableString getSourceVersion()

The version of the deployed source code (up to 128 bytes).

.google.devtools.cloudtrace.v2.TruncatableString source_version = 7;

Returns
Type Description
TruncatableString

The sourceVersion.

getSourceVersionOrBuilder()

public TruncatableStringOrBuilder getSourceVersionOrBuilder()

The version of the deployed source code (up to 128 bytes).

.google.devtools.cloudtrace.v2.TruncatableString source_version = 7;

Returns
Type Description
TruncatableStringOrBuilder

hasFileName()

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.

hasFunctionName()

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.

hasLoadModule()

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.

hasOriginalFunctionName()

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.

hasSourceVersion()

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public StackTrace.StackFrame.Builder newBuilderForType()
Returns
Type Description
StackTrace.StackFrame.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StackTrace.StackFrame.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
StackTrace.StackFrame.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public StackTrace.StackFrame.Builder toBuilder()
Returns
Type Description
StackTrace.StackFrame.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException