Class StackFrame.Builder (1.55.0)

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

Represents a stack frame context.

Protobuf type google.devtools.clouddebugger.v2.StackFrame

Implements

StackFrameOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllArguments(Iterable<? extends Variable> values)

public StackFrame.Builder addAllArguments(Iterable<? extends Variable> 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)

public StackFrame.Builder addAllLocals(Iterable<? extends Variable> 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)

public StackFrame.Builder addArguments(Variable value)

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)

public StackFrame.Builder addArguments(Variable.Builder builderForValue)

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)

public StackFrame.Builder addArguments(int index, Variable value)

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)

public StackFrame.Builder addArguments(int index, Variable.Builder builderForValue)

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()

public Variable.Builder addArgumentsBuilder()

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)

public Variable.Builder addArgumentsBuilder(int index)

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)

public StackFrame.Builder addLocals(Variable value)

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)

public StackFrame.Builder addLocals(Variable.Builder builderForValue)

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)

public StackFrame.Builder addLocals(int index, Variable value)

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)

public StackFrame.Builder addLocals(int index, Variable.Builder builderForValue)

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()

public Variable.Builder addLocalsBuilder()

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)

public Variable.Builder addLocalsBuilder(int index)

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)

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

build()

public StackFrame build()
Returns
Type Description
StackFrame

buildPartial()

public StackFrame buildPartial()
Returns
Type Description
StackFrame

clear()

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

clearArguments()

public StackFrame.Builder clearArguments()

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)

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

clearFunction()

public StackFrame.Builder clearFunction()

Demangled function name at the call site.

string function = 1;

Returns
Type Description
StackFrame.Builder

This builder for chaining.

clearLocals()

public StackFrame.Builder clearLocals()

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()

public StackFrame.Builder clearLocation()

Source location of the call site.

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

Returns
Type Description
StackFrame.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public StackFrame.Builder clone()
Returns
Type Description
StackFrame.Builder
Overrides

getArguments(int index)

public Variable getArguments(int index)

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)

public Variable.Builder getArgumentsBuilder(int index)

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()

public List<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()

public int getArgumentsCount()

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()

public List<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)

public VariableOrBuilder getArgumentsOrBuilder(int index)

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()

public List<? extends VariableOrBuilder> 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()

public StackFrame getDefaultInstanceForType()
Returns
Type Description
StackFrame

getDescriptorForType()

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

getFunction()

public String getFunction()

Demangled function name at the call site.

string function = 1;

Returns
Type Description
String

The function.

getFunctionBytes()

public ByteString getFunctionBytes()

Demangled function name at the call site.

string function = 1;

Returns
Type Description
ByteString

The bytes for function.

getLocals(int index)

public Variable getLocals(int index)

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)

public Variable.Builder getLocalsBuilder(int index)

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()

public List<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()

public int getLocalsCount()

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()

public List<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)

public VariableOrBuilder getLocalsOrBuilder(int index)

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()

public List<? extends VariableOrBuilder> 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()

public SourceLocation getLocation()

Source location of the call site.

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

Returns
Type Description
SourceLocation

The location.

getLocationBuilder()

public SourceLocation.Builder getLocationBuilder()

Source location of the call site.

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

Returns
Type Description
SourceLocation.Builder

getLocationOrBuilder()

public SourceLocationOrBuilder getLocationOrBuilder()

Source location of the call site.

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

Returns
Type Description
SourceLocationOrBuilder

hasLocation()

public boolean hasLocation()

Source location of the call site.

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

Returns
Type Description
boolean

Whether the location field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StackFrame other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeLocation(SourceLocation value)

public StackFrame.Builder mergeLocation(SourceLocation value)

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)

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

removeArguments(int index)

public StackFrame.Builder removeArguments(int index)

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)

public StackFrame.Builder removeLocals(int index)

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)

public StackFrame.Builder setArguments(int index, Variable value)

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)

public StackFrame.Builder setArguments(int index, Variable.Builder builderForValue)

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)

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

setFunction(String value)

public StackFrame.Builder setFunction(String value)

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)

public StackFrame.Builder setFunctionBytes(ByteString value)

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)

public StackFrame.Builder setLocals(int index, Variable value)

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)

public StackFrame.Builder setLocals(int index, Variable.Builder builderForValue)

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)

public StackFrame.Builder setLocation(SourceLocation value)

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)

public StackFrame.Builder setLocation(SourceLocation.Builder builderForValue)

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)

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

setUnknownFields(UnknownFieldSet unknownFields)

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