Class StackTrace.StackFrame.Builder (2.33.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StackTrace.StackFrame.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
StackTrace.StackFrame.Builder
Overrides

build()

public StackTrace.StackFrame build()
Returns
TypeDescription
StackTrace.StackFrame

buildPartial()

public StackTrace.StackFrame buildPartial()
Returns
TypeDescription
StackTrace.StackFrame

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public StackTrace.StackFrame.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
StackTrace.StackFrame.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public StackTrace.StackFrame.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
StackTrace.StackFrame.Builder

clone()

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

The columnNumber.

getDefaultInstanceForType()

public StackTrace.StackFrame getDefaultInstanceForType()
Returns
TypeDescription
StackTrace.StackFrame

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
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.

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

getLoadModuleBuilder()

public Module.Builder getLoadModuleBuilder()

The binary module from where the code was loaded.

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

Returns
TypeDescription
Module.Builder

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.

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTruncatableString
Returns
TypeDescription
StackTrace.StackFrame.Builder

mergeFrom(StackTrace.StackFrame other)

public StackTrace.StackFrame.Builder mergeFrom(StackTrace.StackFrame other)
Parameter
NameDescription
otherStackTrace.StackFrame
Returns
TypeDescription
StackTrace.StackFrame.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StackTrace.StackFrame.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StackTrace.StackFrame.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public StackTrace.StackFrame.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTruncatableString
Returns
TypeDescription
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
NameDescription
valueModule
Returns
TypeDescription
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
NameDescription
valueTruncatableString
Returns
TypeDescription
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
NameDescription
valueTruncatableString
Returns
TypeDescription
StackTrace.StackFrame.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StackTrace.StackFrame.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuelong

The columnNumber to set.

Returns
TypeDescription
StackTrace.StackFrame.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public StackTrace.StackFrame.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueTruncatableString
Returns
TypeDescription
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
NameDescription
builderForValueTruncatableString.Builder
Returns
TypeDescription
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
NameDescription
valueTruncatableString
Returns
TypeDescription
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
NameDescription
builderForValueTruncatableString.Builder
Returns
TypeDescription
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
NameDescription
valuelong

The lineNumber to set.

Returns
TypeDescription
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
NameDescription
valueModule
Returns
TypeDescription
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
NameDescription
builderForValueModule.Builder
Returns
TypeDescription
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
NameDescription
valueTruncatableString
Returns
TypeDescription
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
NameDescription
builderForValueTruncatableString.Builder
Returns
TypeDescription
StackTrace.StackFrame.Builder

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

public StackTrace.StackFrame.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueTruncatableString
Returns
TypeDescription
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
NameDescription
builderForValueTruncatableString.Builder
Returns
TypeDescription
StackTrace.StackFrame.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final StackTrace.StackFrame.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StackTrace.StackFrame.Builder
Overrides