Class StackTrace.StackFrame (2.15.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
TypeDescription
int

FILE_NAME_FIELD_NUMBER

public static final int FILE_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

FUNCTION_NAME_FIELD_NUMBER

public static final int FUNCTION_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

LINE_NUMBER_FIELD_NUMBER

public static final int LINE_NUMBER_FIELD_NUMBER
Field Value
TypeDescription
int

LOAD_MODULE_FIELD_NUMBER

public static final int LOAD_MODULE_FIELD_NUMBER
Field Value
TypeDescription
int

ORIGINAL_FUNCTION_NAME_FIELD_NUMBER

public static final int ORIGINAL_FUNCTION_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

SOURCE_VERSION_FIELD_NUMBER

public static final int SOURCE_VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static StackTrace.StackFrame getDefaultInstance()
Returns
TypeDescription
StackTrace.StackFrame

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static StackTrace.StackFrame.Builder newBuilder()
Returns
TypeDescription
StackTrace.StackFrame.Builder

newBuilder(StackTrace.StackFrame prototype)

public static StackTrace.StackFrame.Builder newBuilder(StackTrace.StackFrame prototype)
Parameter
NameDescription
prototypeStackTrace.StackFrame
Returns
TypeDescription
StackTrace.StackFrame.Builder

parseDelimitedFrom(InputStream input)

public static StackTrace.StackFrame parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StackTrace.StackFrame
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StackTrace.StackFrame parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StackTrace.StackFrame
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static StackTrace.StackFrame parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
StackTrace.StackFrame
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StackTrace.StackFrame parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StackTrace.StackFrame
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StackTrace.StackFrame parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
StackTrace.StackFrame
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StackTrace.StackFrame parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StackTrace.StackFrame
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StackTrace.StackFrame parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
StackTrace.StackFrame
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StackTrace.StackFrame parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StackTrace.StackFrame
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static StackTrace.StackFrame parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StackTrace.StackFrame
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StackTrace.StackFrame parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StackTrace.StackFrame
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static StackTrace.StackFrame parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
StackTrace.StackFrame
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StackTrace.StackFrame parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StackTrace.StackFrame
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
long

The columnNumber.

getDefaultInstanceForType()

public StackTrace.StackFrame getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TruncatableStringOrBuilder

getLineNumber()

public long getLineNumber()

The line number in file_name where the function call appears.

int64 line_number = 4;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TruncatableStringOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
TruncatableStringOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the sourceVersion field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public StackTrace.StackFrame.Builder newBuilderForType()
Returns
TypeDescription
StackTrace.StackFrame.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StackTrace.StackFrame.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
StackTrace.StackFrame.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public StackTrace.StackFrame.Builder toBuilder()
Returns
TypeDescription
StackTrace.StackFrame.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException