Class StackTrace.StackFrame.Builder (2.49.0)

public static final class StackTrace.StackFrame.Builder extends GeneratedMessageV3.Builder<StackTrace.StackFrame.Builder> implements StackTrace.StackFrameOrBuilder

Represents a single stack frame in a stack trace.

Protobuf type google.devtools.cloudtrace.v2.StackTrace.StackFrame

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StackTrace.StackFrame.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StackTrace.StackFrame.Builder
Overrides

build()

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

buildPartial()

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

clear()

public StackTrace.StackFrame.Builder clear()
Returns
Type Description
StackTrace.StackFrame.Builder
Overrides

clearColumnNumber()

public StackTrace.StackFrame.Builder clearColumnNumber()

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
StackTrace.StackFrame.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public StackTrace.StackFrame.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
StackTrace.StackFrame.Builder
Overrides

clearFileName()

public StackTrace.StackFrame.Builder clearFileName()

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
StackTrace.StackFrame.Builder

clearFunctionName()

public StackTrace.StackFrame.Builder clearFunctionName()

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
StackTrace.StackFrame.Builder

clearLineNumber()

public StackTrace.StackFrame.Builder clearLineNumber()

The line number in file_name where the function call appears.

int64 line_number = 4;

Returns
Type Description
StackTrace.StackFrame.Builder

This builder for chaining.

clearLoadModule()

public StackTrace.StackFrame.Builder clearLoadModule()

The binary module from where the code was loaded.

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

Returns
Type Description
StackTrace.StackFrame.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public StackTrace.StackFrame.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
StackTrace.StackFrame.Builder
Overrides

clearOriginalFunctionName()

public StackTrace.StackFrame.Builder clearOriginalFunctionName()

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
StackTrace.StackFrame.Builder

clearSourceVersion()

public StackTrace.StackFrame.Builder clearSourceVersion()

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

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

Returns
Type Description
StackTrace.StackFrame.Builder

clone()

public StackTrace.StackFrame.Builder clone()
Returns
Type Description
StackTrace.StackFrame.Builder
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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getFileNameBuilder()

public TruncatableString.Builder getFileNameBuilder()

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

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.

getFunctionNameBuilder()

public TruncatableString.Builder getFunctionNameBuilder()

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

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.

getLoadModuleBuilder()

public Module.Builder getLoadModuleBuilder()

The binary module from where the code was loaded.

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

Returns
Type Description
Module.Builder

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.

getOriginalFunctionNameBuilder()

public TruncatableString.Builder getOriginalFunctionNameBuilder()

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

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

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.

getSourceVersionBuilder()

public TruncatableString.Builder getSourceVersionBuilder()

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

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

Returns
Type Description
TruncatableString.Builder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFileName(TruncatableString value)

public StackTrace.StackFrame.Builder mergeFileName(TruncatableString value)

The name of the source file where the function call appears (up to 256 bytes).

.google.devtools.cloudtrace.v2.TruncatableString file_name = 3;

Parameter
Name Description
value TruncatableString
Returns
Type Description
StackTrace.StackFrame.Builder

mergeFrom(StackTrace.StackFrame other)

public StackTrace.StackFrame.Builder mergeFrom(StackTrace.StackFrame other)
Parameter
Name Description
other StackTrace.StackFrame
Returns
Type Description
StackTrace.StackFrame.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StackTrace.StackFrame.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StackTrace.StackFrame.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public StackTrace.StackFrame.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
StackTrace.StackFrame.Builder
Overrides

mergeFunctionName(TruncatableString value)

public StackTrace.StackFrame.Builder mergeFunctionName(TruncatableString value)

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;

Parameter
Name Description
value TruncatableString
Returns
Type Description
StackTrace.StackFrame.Builder

mergeLoadModule(Module value)

public StackTrace.StackFrame.Builder mergeLoadModule(Module value)

The binary module from where the code was loaded.

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

Parameter
Name Description
value Module
Returns
Type Description
StackTrace.StackFrame.Builder

mergeOriginalFunctionName(TruncatableString value)

public StackTrace.StackFrame.Builder mergeOriginalFunctionName(TruncatableString value)

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;

Parameter
Name Description
value TruncatableString
Returns
Type Description
StackTrace.StackFrame.Builder

mergeSourceVersion(TruncatableString value)

public StackTrace.StackFrame.Builder mergeSourceVersion(TruncatableString value)

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

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

Parameter
Name Description
value TruncatableString
Returns
Type Description
StackTrace.StackFrame.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StackTrace.StackFrame.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StackTrace.StackFrame.Builder
Overrides

setColumnNumber(long value)

public StackTrace.StackFrame.Builder setColumnNumber(long value)

The column number where the function call appears, if available. This is important in JavaScript because of its anonymous functions.

int64 column_number = 5;

Parameter
Name Description
value long

The columnNumber to set.

Returns
Type Description
StackTrace.StackFrame.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public StackTrace.StackFrame.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StackTrace.StackFrame.Builder
Overrides

setFileName(TruncatableString value)

public StackTrace.StackFrame.Builder setFileName(TruncatableString value)

The name of the source file where the function call appears (up to 256 bytes).

.google.devtools.cloudtrace.v2.TruncatableString file_name = 3;

Parameter
Name Description
value TruncatableString
Returns
Type Description
StackTrace.StackFrame.Builder

setFileName(TruncatableString.Builder builderForValue)

public StackTrace.StackFrame.Builder setFileName(TruncatableString.Builder builderForValue)

The name of the source file where the function call appears (up to 256 bytes).

.google.devtools.cloudtrace.v2.TruncatableString file_name = 3;

Parameter
Name Description
builderForValue TruncatableString.Builder
Returns
Type Description
StackTrace.StackFrame.Builder

setFunctionName(TruncatableString value)

public StackTrace.StackFrame.Builder setFunctionName(TruncatableString value)

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;

Parameter
Name Description
value TruncatableString
Returns
Type Description
StackTrace.StackFrame.Builder

setFunctionName(TruncatableString.Builder builderForValue)

public StackTrace.StackFrame.Builder setFunctionName(TruncatableString.Builder builderForValue)

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;

Parameter
Name Description
builderForValue TruncatableString.Builder
Returns
Type Description
StackTrace.StackFrame.Builder

setLineNumber(long value)

public StackTrace.StackFrame.Builder setLineNumber(long value)

The line number in file_name where the function call appears.

int64 line_number = 4;

Parameter
Name Description
value long

The lineNumber to set.

Returns
Type Description
StackTrace.StackFrame.Builder

This builder for chaining.

setLoadModule(Module value)

public StackTrace.StackFrame.Builder setLoadModule(Module value)

The binary module from where the code was loaded.

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

Parameter
Name Description
value Module
Returns
Type Description
StackTrace.StackFrame.Builder

setLoadModule(Module.Builder builderForValue)

public StackTrace.StackFrame.Builder setLoadModule(Module.Builder builderForValue)

The binary module from where the code was loaded.

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

Parameter
Name Description
builderForValue Module.Builder
Returns
Type Description
StackTrace.StackFrame.Builder

setOriginalFunctionName(TruncatableString value)

public StackTrace.StackFrame.Builder setOriginalFunctionName(TruncatableString value)

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;

Parameter
Name Description
value TruncatableString
Returns
Type Description
StackTrace.StackFrame.Builder

setOriginalFunctionName(TruncatableString.Builder builderForValue)

public StackTrace.StackFrame.Builder setOriginalFunctionName(TruncatableString.Builder builderForValue)

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;

Parameter
Name Description
builderForValue TruncatableString.Builder
Returns
Type Description
StackTrace.StackFrame.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public StackTrace.StackFrame.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
StackTrace.StackFrame.Builder
Overrides

setSourceVersion(TruncatableString value)

public StackTrace.StackFrame.Builder setSourceVersion(TruncatableString value)

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

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

Parameter
Name Description
value TruncatableString
Returns
Type Description
StackTrace.StackFrame.Builder

setSourceVersion(TruncatableString.Builder builderForValue)

public StackTrace.StackFrame.Builder setSourceVersion(TruncatableString.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue TruncatableString.Builder
Returns
Type Description
StackTrace.StackFrame.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final StackTrace.StackFrame.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StackTrace.StackFrame.Builder
Overrides