Class StackFrame.Builder (1.17.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.devtools.clouddebugger.v2.Variable>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.devtools.clouddebugger.v2.Variable>
Returns
TypeDescription
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
NameDescription
valueVariable
Returns
TypeDescription
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
NameDescription
builderForValueVariable.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueVariable
Returns
TypeDescription
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
NameDescription
indexint
builderForValueVariable.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueVariable
Returns
TypeDescription
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
NameDescription
builderForValueVariable.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueVariable
Returns
TypeDescription
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
NameDescription
indexint
builderForValueVariable.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Variable.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StackFrame build()
Returns
TypeDescription
StackFrame

buildPartial()

public StackFrame buildPartial()
Returns
TypeDescription
StackFrame

clear()

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

clearField(Descriptors.FieldDescriptor field)

public StackFrame.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
StackFrame.Builder
Overrides

clearFunction()

public StackFrame.Builder clearFunction()

Demangled function name at the call site.

string function = 1;

Returns
TypeDescription
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
TypeDescription
StackFrame.Builder

clearLocation()

public StackFrame.Builder clearLocation()

Source location of the call site.

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

Returns
TypeDescription
StackFrame.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public StackFrame.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
StackFrame.Builder
Overrides

clone()

public StackFrame.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.devtools.clouddebugger.v2.VariableOrBuilder>

getDefaultInstanceForType()

public StackFrame getDefaultInstanceForType()
Returns
TypeDescription
StackFrame

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFunction()

public String getFunction()

Demangled function name at the call site.

string function = 1;

Returns
TypeDescription
String

The function.

getFunctionBytes()

public ByteString getFunctionBytes()

Demangled function name at the call site.

string function = 1;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
SourceLocation

The location.

getLocationBuilder()

public SourceLocation.Builder getLocationBuilder()

Source location of the call site.

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

Returns
TypeDescription
SourceLocation.Builder

getLocationOrBuilder()

public SourceLocationOrBuilder getLocationOrBuilder()

Source location of the call site.

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

Returns
TypeDescription
SourceLocationOrBuilder

hasLocation()

public boolean hasLocation()

Source location of the call site.

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

Returns
TypeDescription
boolean

Whether the location field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(StackFrame other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFunction(String value)

public StackFrame.Builder setFunction(String value)

Demangled function name at the call site.

string function = 1;

Parameter
NameDescription
valueString

The function to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for function to set.

Returns
TypeDescription
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
NameDescription
indexint
valueVariable
Returns
TypeDescription
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
NameDescription
indexint
builderForValueVariable.Builder
Returns
TypeDescription
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
NameDescription
valueSourceLocation
Returns
TypeDescription
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
NameDescription
builderForValueSourceLocation.Builder
Returns
TypeDescription
StackFrame.Builder

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

public StackFrame.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
StackFrame.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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