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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
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
Name | Description |
values | Iterable<? extends com.google.devtools.cloudtrace.v2.StackTrace.StackFrame>
|
Returns
public StackTrace.StackFrames.Builder addFrame(StackTrace.StackFrame value)
Stack frames in this call stack.
repeated .google.devtools.cloudtrace.v2.StackTrace.StackFrame frame = 1;
Parameter
Returns
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
Returns
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
Returns
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
Returns
public StackTrace.StackFrame.Builder addFrameBuilder()
Stack frames in this call stack.
repeated .google.devtools.cloudtrace.v2.StackTrace.StackFrame frame = 1;
Returns
public StackTrace.StackFrame.Builder addFrameBuilder(int index)
Stack frames in this call stack.
repeated .google.devtools.cloudtrace.v2.StackTrace.StackFrame frame = 1;
Parameter
Returns
public StackTrace.StackFrames.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public StackTrace.StackFrames build()
Returns
public StackTrace.StackFrames buildPartial()
Returns
public StackTrace.StackFrames.Builder clear()
Returns
Overrides
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
public StackTrace.StackFrames.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public StackTrace.StackFrames.Builder clearFrame()
Stack frames in this call stack.
repeated .google.devtools.cloudtrace.v2.StackTrace.StackFrame frame = 1;
Returns
public StackTrace.StackFrames.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public StackTrace.StackFrames.Builder clone()
Returns
Overrides
public StackTrace.StackFrames getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
Type | Description |
int | The droppedFramesCount.
|
public StackTrace.StackFrame getFrame(int index)
Stack frames in this call stack.
repeated .google.devtools.cloudtrace.v2.StackTrace.StackFrame frame = 1;
Parameter
Returns
public StackTrace.StackFrame.Builder getFrameBuilder(int index)
Stack frames in this call stack.
repeated .google.devtools.cloudtrace.v2.StackTrace.StackFrame frame = 1;
Parameter
Returns
public List<StackTrace.StackFrame.Builder> getFrameBuilderList()
Stack frames in this call stack.
repeated .google.devtools.cloudtrace.v2.StackTrace.StackFrame frame = 1;
Returns
public int getFrameCount()
Stack frames in this call stack.
repeated .google.devtools.cloudtrace.v2.StackTrace.StackFrame frame = 1;
Returns
public List<StackTrace.StackFrame> getFrameList()
Stack frames in this call stack.
repeated .google.devtools.cloudtrace.v2.StackTrace.StackFrame frame = 1;
Returns
public StackTrace.StackFrameOrBuilder getFrameOrBuilder(int index)
Stack frames in this call stack.
repeated .google.devtools.cloudtrace.v2.StackTrace.StackFrame frame = 1;
Parameter
Returns
public List<? extends StackTrace.StackFrameOrBuilder> getFrameOrBuilderList()
Stack frames in this call stack.
repeated .google.devtools.cloudtrace.v2.StackTrace.StackFrame frame = 1;
Returns
Type | Description |
List<? extends com.google.devtools.cloudtrace.v2.StackTrace.StackFrameOrBuilder> | |
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public StackTrace.StackFrames.Builder mergeFrom(StackTrace.StackFrames other)
Parameter
Returns
public StackTrace.StackFrames.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public StackTrace.StackFrames.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final StackTrace.StackFrames.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public StackTrace.StackFrames.Builder removeFrame(int index)
Stack frames in this call stack.
repeated .google.devtools.cloudtrace.v2.StackTrace.StackFrame frame = 1;
Parameter
Returns
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
Name | Description |
value | int
The droppedFramesCount to set.
|
Returns
public StackTrace.StackFrames.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
Returns
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
Returns
public StackTrace.StackFrames.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final StackTrace.StackFrames.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides