Class StackFrame.Builder (1.31.0)

publicstaticfinalclass StackFrame.BuilderextendsGeneratedMessageV3.Builder<StackFrame.Builder>implementsStackFrameOrBuilder

Represents a stack frame context.

Protobuf type google.devtools.clouddebugger.v2.StackFrame

Implements

StackFrameOrBuilder

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addAllArguments(Iterable<? extends Variable> values)

publicStackFrame.BuilderaddAllArguments(Iterable<?extendsVariable>values)

Set of arguments passed to this function. Note that this might not be populated for all stack frames.

repeated .google.devtools.clouddebugger.v2.Variable arguments = 3;

Parameter
Name Description
values Iterable<? extends com.google.devtools.clouddebugger.v2.Variable>
Returns
Type Description
StackFrame.Builder

addAllLocals(Iterable<? extends Variable> values)

publicStackFrame.BuilderaddAllLocals(Iterable<?extendsVariable>values)

Set of local variables at the stack frame location. Note that this might not be populated for all stack frames.

repeated .google.devtools.clouddebugger.v2.Variable locals = 4;

Parameter
Name Description
values Iterable<? extends com.google.devtools.clouddebugger.v2.Variable>
Returns
Type Description
StackFrame.Builder

addArguments(Variable value)

publicStackFrame.BuilderaddArguments(Variablevalue)

Set of arguments passed to this function. Note that this might not be populated for all stack frames.

repeated .google.devtools.clouddebugger.v2.Variable arguments = 3;

Parameter
Name Description
value Variable
Returns
Type Description
StackFrame.Builder

addArguments(Variable.Builder builderForValue)

publicStackFrame.BuilderaddArguments(Variable.BuilderbuilderForValue)

Set of arguments passed to this function. Note that this might not be populated for all stack frames.

repeated .google.devtools.clouddebugger.v2.Variable arguments = 3;

Parameter
Name Description
builderForValue Variable.Builder
Returns
Type Description
StackFrame.Builder

addArguments(int index, Variable value)

publicStackFrame.BuilderaddArguments(intindex,Variablevalue)

Set of arguments passed to this function. Note that this might not be populated for all stack frames.

repeated .google.devtools.clouddebugger.v2.Variable arguments = 3;

Parameters
Name Description
index int
value Variable
Returns
Type Description
StackFrame.Builder

addArguments(int index, Variable.Builder builderForValue)

publicStackFrame.BuilderaddArguments(intindex,Variable.BuilderbuilderForValue)

Set of arguments passed to this function. Note that this might not be populated for all stack frames.

repeated .google.devtools.clouddebugger.v2.Variable arguments = 3;

Parameters
Name Description
index int
builderForValue Variable.Builder
Returns
Type Description
StackFrame.Builder

addArgumentsBuilder()

publicVariable.BuilderaddArgumentsBuilder()

Set of arguments passed to this function. Note that this might not be populated for all stack frames.

repeated .google.devtools.clouddebugger.v2.Variable arguments = 3;

Returns
Type Description
Variable.Builder

addArgumentsBuilder(int index)

publicVariable.BuilderaddArgumentsBuilder(intindex)

Set of arguments passed to this function. Note that this might not be populated for all stack frames.

repeated .google.devtools.clouddebugger.v2.Variable arguments = 3;

Parameter
Name Description
index int
Returns
Type Description
Variable.Builder

addLocals(Variable value)

publicStackFrame.BuilderaddLocals(Variablevalue)

Set of local variables at the stack frame location. Note that this might not be populated for all stack frames.

repeated .google.devtools.clouddebugger.v2.Variable locals = 4;

Parameter
Name Description
value Variable
Returns
Type Description
StackFrame.Builder

addLocals(Variable.Builder builderForValue)

publicStackFrame.BuilderaddLocals(Variable.BuilderbuilderForValue)

Set of local variables at the stack frame location. Note that this might not be populated for all stack frames.

repeated .google.devtools.clouddebugger.v2.Variable locals = 4;

Parameter
Name Description
builderForValue Variable.Builder
Returns
Type Description
StackFrame.Builder

addLocals(int index, Variable value)

publicStackFrame.BuilderaddLocals(intindex,Variablevalue)

Set of local variables at the stack frame location. Note that this might not be populated for all stack frames.

repeated .google.devtools.clouddebugger.v2.Variable locals = 4;

Parameters
Name Description
index int
value Variable
Returns
Type Description
StackFrame.Builder

addLocals(int index, Variable.Builder builderForValue)

publicStackFrame.BuilderaddLocals(intindex,Variable.BuilderbuilderForValue)

Set of local variables at the stack frame location. Note that this might not be populated for all stack frames.

repeated .google.devtools.clouddebugger.v2.Variable locals = 4;

Parameters
Name Description
index int
builderForValue Variable.Builder
Returns
Type Description
StackFrame.Builder

addLocalsBuilder()

publicVariable.BuilderaddLocalsBuilder()

Set of local variables at the stack frame location. Note that this might not be populated for all stack frames.

repeated .google.devtools.clouddebugger.v2.Variable locals = 4;

Returns
Type Description
Variable.Builder

addLocalsBuilder(int index)

publicVariable.BuilderaddLocalsBuilder(intindex)

Set of local variables at the stack frame location. Note that this might not be populated for all stack frames.

repeated .google.devtools.clouddebugger.v2.Variable locals = 4;

Parameter
Name Description
index int
Returns
Type Description
Variable.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicStackFrame.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StackFrame.Builder
Overrides

build()

publicStackFramebuild()
Returns
Type Description
StackFrame

buildPartial()

publicStackFramebuildPartial()
Returns
Type Description
StackFrame

clear()

publicStackFrame.Builderclear()
Returns
Type Description
StackFrame.Builder
Overrides

clearArguments()

publicStackFrame.BuilderclearArguments()

Set of arguments passed to this function. Note that this might not be populated for all stack frames.

repeated .google.devtools.clouddebugger.v2.Variable arguments = 3;

Returns
Type Description
StackFrame.Builder

clearField(Descriptors.FieldDescriptor field)

publicStackFrame.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
StackFrame.Builder
Overrides

clearFunction()

publicStackFrame.BuilderclearFunction()

Demangled function name at the call site.

string function = 1;

Returns
Type Description
StackFrame.Builder

This builder for chaining.

clearLocals()

publicStackFrame.BuilderclearLocals()

Set of local variables at the stack frame location. Note that this might not be populated for all stack frames.

repeated .google.devtools.clouddebugger.v2.Variable locals = 4;

Returns
Type Description
StackFrame.Builder

clearLocation()

publicStackFrame.BuilderclearLocation()

Source location of the call site.

.google.devtools.clouddebugger.v2.SourceLocation location = 2;

Returns
Type Description
StackFrame.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

publicStackFrame.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
StackFrame.Builder
Overrides

clone()

publicStackFrame.Builderclone()
Returns
Type Description
StackFrame.Builder
Overrides

getArguments(int index)

publicVariablegetArguments(intindex)

Set of arguments passed to this function. Note that this might not be populated for all stack frames.

repeated .google.devtools.clouddebugger.v2.Variable arguments = 3;

Parameter
Name Description
index int
Returns
Type Description
Variable

getArgumentsBuilder(int index)

publicVariable.BuildergetArgumentsBuilder(intindex)

Set of arguments passed to this function. Note that this might not be populated for all stack frames.

repeated .google.devtools.clouddebugger.v2.Variable arguments = 3;

Parameter
Name Description
index int
Returns
Type Description
Variable.Builder

getArgumentsBuilderList()

publicList<Variable.Builder>getArgumentsBuilderList()

Set of arguments passed to this function. Note that this might not be populated for all stack frames.

repeated .google.devtools.clouddebugger.v2.Variable arguments = 3;

Returns
Type Description
List<Builder>

getArgumentsCount()

publicintgetArgumentsCount()

Set of arguments passed to this function. Note that this might not be populated for all stack frames.

repeated .google.devtools.clouddebugger.v2.Variable arguments = 3;

Returns
Type Description
int

getArgumentsList()

publicList<Variable>getArgumentsList()

Set of arguments passed to this function. Note that this might not be populated for all stack frames.

repeated .google.devtools.clouddebugger.v2.Variable arguments = 3;

Returns
Type Description
List<Variable>

getArgumentsOrBuilder(int index)

publicVariableOrBuildergetArgumentsOrBuilder(intindex)

Set of arguments passed to this function. Note that this might not be populated for all stack frames.

repeated .google.devtools.clouddebugger.v2.Variable arguments = 3;

Parameter
Name Description
index int
Returns
Type Description
VariableOrBuilder

getArgumentsOrBuilderList()

publicList<?extendsVariableOrBuilder>getArgumentsOrBuilderList()

Set of arguments passed to this function. Note that this might not be populated for all stack frames.

repeated .google.devtools.clouddebugger.v2.Variable arguments = 3;

Returns
Type Description
List<? extends com.google.devtools.clouddebugger.v2.VariableOrBuilder>

getDefaultInstanceForType()

publicStackFramegetDefaultInstanceForType()
Returns
Type Description
StackFrame

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFunction()

publicStringgetFunction()

Demangled function name at the call site.

string function = 1;

Returns
Type Description
String

The function.

getFunctionBytes()

publicByteStringgetFunctionBytes()

Demangled function name at the call site.

string function = 1;

Returns
Type Description
ByteString

The bytes for function.

getLocals(int index)

publicVariablegetLocals(intindex)

Set of local variables at the stack frame location. Note that this might not be populated for all stack frames.

repeated .google.devtools.clouddebugger.v2.Variable locals = 4;

Parameter
Name Description
index int
Returns
Type Description
Variable

getLocalsBuilder(int index)

publicVariable.BuildergetLocalsBuilder(intindex)

Set of local variables at the stack frame location. Note that this might not be populated for all stack frames.

repeated .google.devtools.clouddebugger.v2.Variable locals = 4;

Parameter
Name Description
index int
Returns
Type Description
Variable.Builder

getLocalsBuilderList()

publicList<Variable.Builder>getLocalsBuilderList()

Set of local variables at the stack frame location. Note that this might not be populated for all stack frames.

repeated .google.devtools.clouddebugger.v2.Variable locals = 4;

Returns
Type Description
List<Builder>

getLocalsCount()

publicintgetLocalsCount()

Set of local variables at the stack frame location. Note that this might not be populated for all stack frames.

repeated .google.devtools.clouddebugger.v2.Variable locals = 4;

Returns
Type Description
int

getLocalsList()

publicList<Variable>getLocalsList()

Set of local variables at the stack frame location. Note that this might not be populated for all stack frames.

repeated .google.devtools.clouddebugger.v2.Variable locals = 4;

Returns
Type Description
List<Variable>

getLocalsOrBuilder(int index)

publicVariableOrBuildergetLocalsOrBuilder(intindex)

Set of local variables at the stack frame location. Note that this might not be populated for all stack frames.

repeated .google.devtools.clouddebugger.v2.Variable locals = 4;

Parameter
Name Description
index int
Returns
Type Description
VariableOrBuilder

getLocalsOrBuilderList()

publicList<?extendsVariableOrBuilder>getLocalsOrBuilderList()

Set of local variables at the stack frame location. Note that this might not be populated for all stack frames.

repeated .google.devtools.clouddebugger.v2.Variable locals = 4;

Returns
Type Description
List<? extends com.google.devtools.clouddebugger.v2.VariableOrBuilder>

getLocation()

publicSourceLocationgetLocation()

Source location of the call site.

.google.devtools.clouddebugger.v2.SourceLocation location = 2;

Returns
Type Description
SourceLocation

The location.

getLocationBuilder()

publicSourceLocation.BuildergetLocationBuilder()

Source location of the call site.

.google.devtools.clouddebugger.v2.SourceLocation location = 2;

Returns
Type Description
SourceLocation.Builder

getLocationOrBuilder()

publicSourceLocationOrBuildergetLocationOrBuilder()

Source location of the call site.

.google.devtools.clouddebugger.v2.SourceLocation location = 2;

Returns
Type Description
SourceLocationOrBuilder

hasLocation()

publicbooleanhasLocation()

Source location of the call site.

.google.devtools.clouddebugger.v2.SourceLocation location = 2;

Returns
Type Description
boolean

Whether the location field is set.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StackFrame other)

publicStackFrame.BuildermergeFrom(StackFrameother)
Parameter
Name Description
other StackFrame
Returns
Type Description
StackFrame.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicStackFrame.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StackFrame.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicStackFrame.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
StackFrame.Builder
Overrides

mergeLocation(SourceLocation value)

publicStackFrame.BuildermergeLocation(SourceLocationvalue)

Source location of the call site.

.google.devtools.clouddebugger.v2.SourceLocation location = 2;

Parameter
Name Description
value SourceLocation
Returns
Type Description
StackFrame.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalStackFrame.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StackFrame.Builder
Overrides

removeArguments(int index)

publicStackFrame.BuilderremoveArguments(intindex)

Set of arguments passed to this function. Note that this might not be populated for all stack frames.

repeated .google.devtools.clouddebugger.v2.Variable arguments = 3;

Parameter
Name Description
index int
Returns
Type Description
StackFrame.Builder

removeLocals(int index)

publicStackFrame.BuilderremoveLocals(intindex)

Set of local variables at the stack frame location. Note that this might not be populated for all stack frames.

repeated .google.devtools.clouddebugger.v2.Variable locals = 4;

Parameter
Name Description
index int
Returns
Type Description
StackFrame.Builder

setArguments(int index, Variable value)

publicStackFrame.BuildersetArguments(intindex,Variablevalue)

Set of arguments passed to this function. Note that this might not be populated for all stack frames.

repeated .google.devtools.clouddebugger.v2.Variable arguments = 3;

Parameters
Name Description
index int
value Variable
Returns
Type Description
StackFrame.Builder

setArguments(int index, Variable.Builder builderForValue)

publicStackFrame.BuildersetArguments(intindex,Variable.BuilderbuilderForValue)

Set of arguments passed to this function. Note that this might not be populated for all stack frames.

repeated .google.devtools.clouddebugger.v2.Variable arguments = 3;

Parameters
Name Description
index int
builderForValue Variable.Builder
Returns
Type Description
StackFrame.Builder

setField(Descriptors.FieldDescriptor field, Object value)

publicStackFrame.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StackFrame.Builder
Overrides

setFunction(String value)

publicStackFrame.BuildersetFunction(Stringvalue)

Demangled function name at the call site.

string function = 1;

Parameter
Name Description
value String

The function to set.

Returns
Type Description
StackFrame.Builder

This builder for chaining.

setFunctionBytes(ByteString value)

publicStackFrame.BuildersetFunctionBytes(ByteStringvalue)

Demangled function name at the call site.

string function = 1;

Parameter
Name Description
value ByteString

The bytes for function to set.

Returns
Type Description
StackFrame.Builder

This builder for chaining.

setLocals(int index, Variable value)

publicStackFrame.BuildersetLocals(intindex,Variablevalue)

Set of local variables at the stack frame location. Note that this might not be populated for all stack frames.

repeated .google.devtools.clouddebugger.v2.Variable locals = 4;

Parameters
Name Description
index int
value Variable
Returns
Type Description
StackFrame.Builder

setLocals(int index, Variable.Builder builderForValue)

publicStackFrame.BuildersetLocals(intindex,Variable.BuilderbuilderForValue)

Set of local variables at the stack frame location. Note that this might not be populated for all stack frames.

repeated .google.devtools.clouddebugger.v2.Variable locals = 4;

Parameters
Name Description
index int
builderForValue Variable.Builder
Returns
Type Description
StackFrame.Builder

setLocation(SourceLocation value)

publicStackFrame.BuildersetLocation(SourceLocationvalue)

Source location of the call site.

.google.devtools.clouddebugger.v2.SourceLocation location = 2;

Parameter
Name Description
value SourceLocation
Returns
Type Description
StackFrame.Builder

setLocation(SourceLocation.Builder builderForValue)

publicStackFrame.BuildersetLocation(SourceLocation.BuilderbuilderForValue)

Source location of the call site.

.google.devtools.clouddebugger.v2.SourceLocation location = 2;

Parameter
Name Description
builderForValue SourceLocation.Builder
Returns
Type Description
StackFrame.Builder

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

publicStackFrame.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
StackFrame.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalStackFrame.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StackFrame.Builder
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.