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.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
public static final Descriptors.Descriptor getDescriptor()
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>
|
public StackTrace.StackFrames.Builder addFrame(StackTrace.StackFrame value)
Stack frames in this call stack.
repeated .google.devtools.cloudtrace.v2.StackTrace.StackFrame frame = 1;
public StackTrace.StackFrames.Builder addFrame(StackTrace.StackFrame.Builder builderForValue)
Stack frames in this call stack.
repeated .google.devtools.cloudtrace.v2.StackTrace.StackFrame frame = 1;
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;
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;
public StackTrace.StackFrame.Builder addFrameBuilder()
Stack frames in this call stack.
repeated .google.devtools.cloudtrace.v2.StackTrace.StackFrame frame = 1;
public StackTrace.StackFrame.Builder addFrameBuilder(int index)
Stack frames in this call stack.
repeated .google.devtools.cloudtrace.v2.StackTrace.StackFrame frame = 1;
Parameter |
Name |
Description |
index |
int
|
public StackTrace.StackFrames.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public StackTrace.StackFrames build()
public StackTrace.StackFrames buildPartial()
public StackTrace.StackFrames.Builder clear()
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;
public StackTrace.StackFrames.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public StackTrace.StackFrames.Builder clearFrame()
Stack frames in this call stack.
repeated .google.devtools.cloudtrace.v2.StackTrace.StackFrame frame = 1;
public StackTrace.StackFrames.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public StackTrace.StackFrames.Builder clone()
Overrides
public StackTrace.StackFrames getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
Name |
Description |
index |
int
|
public StackTrace.StackFrame.Builder getFrameBuilder(int index)
Stack frames in this call stack.
repeated .google.devtools.cloudtrace.v2.StackTrace.StackFrame frame = 1;
Parameter |
Name |
Description |
index |
int
|
public List<StackTrace.StackFrame.Builder> getFrameBuilderList()
Stack frames in this call stack.
repeated .google.devtools.cloudtrace.v2.StackTrace.StackFrame frame = 1;
public int getFrameCount()
Stack frames in this call stack.
repeated .google.devtools.cloudtrace.v2.StackTrace.StackFrame frame = 1;
Returns |
Type |
Description |
int |
|
public List<StackTrace.StackFrame> getFrameList()
Stack frames in this call stack.
repeated .google.devtools.cloudtrace.v2.StackTrace.StackFrame frame = 1;
public StackTrace.StackFrameOrBuilder getFrameOrBuilder(int index)
Stack frames in this call stack.
repeated .google.devtools.cloudtrace.v2.StackTrace.StackFrame frame = 1;
Parameter |
Name |
Description |
index |
int
|
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()
Overrides
public final boolean isInitialized()
Overrides
public StackTrace.StackFrames.Builder mergeFrom(StackTrace.StackFrames other)
public StackTrace.StackFrames.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public StackTrace.StackFrames.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final StackTrace.StackFrames.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public StackTrace.StackFrames.Builder removeFrame(int index)
Stack frames in this call stack.
repeated .google.devtools.cloudtrace.v2.StackTrace.StackFrame frame = 1;
Parameter |
Name |
Description |
index |
int
|
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.
|
public StackTrace.StackFrames.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
public StackTrace.StackFrames.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final StackTrace.StackFrames.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides