Class StackTrace.StackFrames.Builder (2.15.0)

public static final class StackTrace.StackFrames.Builder extends GeneratedMessageV3.Builder<StackTrace.StackFrames.Builder> implements StackTrace.StackFramesOrBuilder

A collection of stack frames, which can be truncated.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllFrame(Iterable<? extends StackTrace.StackFrame> values)

public StackTrace.StackFrames.Builder addAllFrame(Iterable<? extends StackTrace.StackFrame> values)

Stack frames in this call stack.

repeated .google.devtools.cloudtrace.v2.StackTrace.StackFrame frame = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.devtools.cloudtrace.v2.StackTrace.StackFrame>
Returns
TypeDescription
StackTrace.StackFrames.Builder

addFrame(StackTrace.StackFrame value)

public StackTrace.StackFrames.Builder addFrame(StackTrace.StackFrame value)

Stack frames in this call stack.

repeated .google.devtools.cloudtrace.v2.StackTrace.StackFrame frame = 1;

Parameter
NameDescription
valueStackTrace.StackFrame
Returns
TypeDescription
StackTrace.StackFrames.Builder

addFrame(StackTrace.StackFrame.Builder builderForValue)

public StackTrace.StackFrames.Builder addFrame(StackTrace.StackFrame.Builder builderForValue)

Stack frames in this call stack.

repeated .google.devtools.cloudtrace.v2.StackTrace.StackFrame frame = 1;

Parameter
NameDescription
builderForValueStackTrace.StackFrame.Builder
Returns
TypeDescription
StackTrace.StackFrames.Builder

addFrame(int index, StackTrace.StackFrame value)

public StackTrace.StackFrames.Builder addFrame(int index, StackTrace.StackFrame value)

Stack frames in this call stack.

repeated .google.devtools.cloudtrace.v2.StackTrace.StackFrame frame = 1;

Parameters
NameDescription
indexint
valueStackTrace.StackFrame
Returns
TypeDescription
StackTrace.StackFrames.Builder

addFrame(int index, StackTrace.StackFrame.Builder builderForValue)

public StackTrace.StackFrames.Builder addFrame(int index, StackTrace.StackFrame.Builder builderForValue)

Stack frames in this call stack.

repeated .google.devtools.cloudtrace.v2.StackTrace.StackFrame frame = 1;

Parameters
NameDescription
indexint
builderForValueStackTrace.StackFrame.Builder
Returns
TypeDescription
StackTrace.StackFrames.Builder

addFrameBuilder()

public StackTrace.StackFrame.Builder addFrameBuilder()

Stack frames in this call stack.

repeated .google.devtools.cloudtrace.v2.StackTrace.StackFrame frame = 1;

Returns
TypeDescription
StackTrace.StackFrame.Builder

addFrameBuilder(int index)

public StackTrace.StackFrame.Builder addFrameBuilder(int index)

Stack frames in this call stack.

repeated .google.devtools.cloudtrace.v2.StackTrace.StackFrame frame = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
StackTrace.StackFrame.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

public StackTrace.StackFrames.Builder clear()
Returns
TypeDescription
StackTrace.StackFrames.Builder
Overrides

clearDroppedFramesCount()

public StackTrace.StackFrames.Builder clearDroppedFramesCount()

The number of stack frames that were dropped because there were too many stack frames. If this value is 0, then no stack frames were dropped.

int32 dropped_frames_count = 2;

Returns
TypeDescription
StackTrace.StackFrames.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearFrame()

public StackTrace.StackFrames.Builder clearFrame()

Stack frames in this call stack.

repeated .google.devtools.cloudtrace.v2.StackTrace.StackFrame frame = 1;

Returns
TypeDescription
StackTrace.StackFrames.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public StackTrace.StackFrames.Builder clone()
Returns
TypeDescription
StackTrace.StackFrames.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDroppedFramesCount()

public int getDroppedFramesCount()

The number of stack frames that were dropped because there were too many stack frames. If this value is 0, then no stack frames were dropped.

int32 dropped_frames_count = 2;

Returns
TypeDescription
int

The droppedFramesCount.

getFrame(int index)

public StackTrace.StackFrame getFrame(int index)

Stack frames in this call stack.

repeated .google.devtools.cloudtrace.v2.StackTrace.StackFrame frame = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
StackTrace.StackFrame

getFrameBuilder(int index)

public StackTrace.StackFrame.Builder getFrameBuilder(int index)

Stack frames in this call stack.

repeated .google.devtools.cloudtrace.v2.StackTrace.StackFrame frame = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
StackTrace.StackFrame.Builder

getFrameBuilderList()

public List<StackTrace.StackFrame.Builder> getFrameBuilderList()

Stack frames in this call stack.

repeated .google.devtools.cloudtrace.v2.StackTrace.StackFrame frame = 1;

Returns
TypeDescription
List<Builder>

getFrameCount()

public int getFrameCount()

Stack frames in this call stack.

repeated .google.devtools.cloudtrace.v2.StackTrace.StackFrame frame = 1;

Returns
TypeDescription
int

getFrameList()

public List<StackTrace.StackFrame> getFrameList()

Stack frames in this call stack.

repeated .google.devtools.cloudtrace.v2.StackTrace.StackFrame frame = 1;

Returns
TypeDescription
List<StackFrame>

getFrameOrBuilder(int index)

public StackTrace.StackFrameOrBuilder getFrameOrBuilder(int index)

Stack frames in this call stack.

repeated .google.devtools.cloudtrace.v2.StackTrace.StackFrame frame = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
StackTrace.StackFrameOrBuilder

getFrameOrBuilderList()

public List<? extends StackTrace.StackFrameOrBuilder> getFrameOrBuilderList()

Stack frames in this call stack.

repeated .google.devtools.cloudtrace.v2.StackTrace.StackFrame frame = 1;

Returns
TypeDescription
List<? extends com.google.devtools.cloudtrace.v2.StackTrace.StackFrameOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(StackTrace.StackFrames other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public StackTrace.StackFrames.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
StackTrace.StackFrames.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StackTrace.StackFrames.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StackTrace.StackFrames.Builder
Overrides

removeFrame(int index)

public StackTrace.StackFrames.Builder removeFrame(int index)

Stack frames in this call stack.

repeated .google.devtools.cloudtrace.v2.StackTrace.StackFrame frame = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
StackTrace.StackFrames.Builder

setDroppedFramesCount(int value)

public StackTrace.StackFrames.Builder setDroppedFramesCount(int value)

The number of stack frames that were dropped because there were too many stack frames. If this value is 0, then no stack frames were dropped.

int32 dropped_frames_count = 2;

Parameter
NameDescription
valueint

The droppedFramesCount to set.

Returns
TypeDescription
StackTrace.StackFrames.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setFrame(int index, StackTrace.StackFrame value)

public StackTrace.StackFrames.Builder setFrame(int index, StackTrace.StackFrame value)

Stack frames in this call stack.

repeated .google.devtools.cloudtrace.v2.StackTrace.StackFrame frame = 1;

Parameters
NameDescription
indexint
valueStackTrace.StackFrame
Returns
TypeDescription
StackTrace.StackFrames.Builder

setFrame(int index, StackTrace.StackFrame.Builder builderForValue)

public StackTrace.StackFrames.Builder setFrame(int index, StackTrace.StackFrame.Builder builderForValue)

Stack frames in this call stack.

repeated .google.devtools.cloudtrace.v2.StackTrace.StackFrame frame = 1;

Parameters
NameDescription
indexint
builderForValueStackTrace.StackFrame.Builder
Returns
TypeDescription
StackTrace.StackFrames.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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