Class StackTrace.StackFrames (2.51.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
Type Description
int

FRAME_FIELD_NUMBER

public static final int FRAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static StackTrace.StackFrames getDefaultInstance()
Returns
Type Description
StackTrace.StackFrames

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static StackTrace.StackFrames.Builder newBuilder()
Returns
Type Description
StackTrace.StackFrames.Builder

newBuilder(StackTrace.StackFrames prototype)

public static StackTrace.StackFrames.Builder newBuilder(StackTrace.StackFrames prototype)
Parameter
Name Description
prototype StackTrace.StackFrames
Returns
Type Description
StackTrace.StackFrames.Builder

parseDelimitedFrom(InputStream input)

public static StackTrace.StackFrames parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StackTrace.StackFrames
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StackTrace.StackFrames parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StackTrace.StackFrames
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static StackTrace.StackFrames parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
StackTrace.StackFrames
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StackTrace.StackFrames parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StackTrace.StackFrames
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StackTrace.StackFrames parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
StackTrace.StackFrames
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StackTrace.StackFrames parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StackTrace.StackFrames
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StackTrace.StackFrames parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
StackTrace.StackFrames
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StackTrace.StackFrames parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StackTrace.StackFrames
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static StackTrace.StackFrames parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StackTrace.StackFrames
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StackTrace.StackFrames parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StackTrace.StackFrames
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static StackTrace.StackFrames parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
StackTrace.StackFrames
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StackTrace.StackFrames parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StackTrace.StackFrames
Exceptions
Type Description
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public StackTrace.StackFrames getDefaultInstanceForType()
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
StackTrace.StackFrame

getFrameCount()

public int getFrameCount()

Stack frames in this call stack.

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

Returns
Type Description
int

getFrameList()

public List<StackTrace.StackFrame> getFrameList()

Stack frames in this call stack.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.devtools.cloudtrace.v2.StackTrace.StackFrameOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public StackTrace.StackFrames.Builder newBuilderForType()
Returns
Type Description
StackTrace.StackFrames.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StackTrace.StackFrames.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
StackTrace.StackFrames.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public StackTrace.StackFrames.Builder toBuilder()
Returns
Type Description
StackTrace.StackFrames.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException