Class StackTrace.StackFrames (2.40.0)

public static final class StackTrace.StackFrames extends GeneratedMessageV3 implements StackTrace.StackFramesOrBuilder

A collection of stack frames, which can be truncated.

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

Static Fields

DROPPED_FRAMES_COUNT_FIELD_NUMBER

public static final int DROPPED_FRAMES_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

FRAME_FIELD_NUMBER

public static final int FRAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static StackTrace.StackFrames getDefaultInstance()
Returns
TypeDescription
StackTrace.StackFrames

getDescriptor()

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

newBuilder()

public static StackTrace.StackFrames.Builder newBuilder()
Returns
TypeDescription
StackTrace.StackFrames.Builder

newBuilder(StackTrace.StackFrames prototype)

public static StackTrace.StackFrames.Builder newBuilder(StackTrace.StackFrames prototype)
Parameter
NameDescription
prototypeStackTrace.StackFrames
Returns
TypeDescription
StackTrace.StackFrames.Builder

parseDelimitedFrom(InputStream input)

public static StackTrace.StackFrames parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StackTrace.StackFrames
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StackTrace.StackFrames parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StackTrace.StackFrames
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static StackTrace.StackFrames parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
StackTrace.StackFrames
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StackTrace.StackFrames parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StackTrace.StackFrames
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StackTrace.StackFrames parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
StackTrace.StackFrames
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StackTrace.StackFrames parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StackTrace.StackFrames
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StackTrace.StackFrames parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
StackTrace.StackFrames
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StackTrace.StackFrames parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StackTrace.StackFrames
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static StackTrace.StackFrames parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StackTrace.StackFrames
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StackTrace.StackFrames parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StackTrace.StackFrames
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static StackTrace.StackFrames parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
StackTrace.StackFrames
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StackTrace.StackFrames parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StackTrace.StackFrames
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<StackTrace.StackFrames> parser()
Returns
TypeDescription
Parser<StackFrames>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

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

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>

getParserForType()

public Parser<StackTrace.StackFrames> getParserForType()
Returns
TypeDescription
Parser<StackFrames>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public StackTrace.StackFrames.Builder newBuilderForType()
Returns
TypeDescription
StackTrace.StackFrames.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StackTrace.StackFrames.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
StackTrace.StackFrames.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public StackTrace.StackFrames.Builder toBuilder()
Returns
TypeDescription
StackTrace.StackFrames.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException