Send feedback
Class StackTrace (2.1.11)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.1.11 keyboard_arrow_down
public final class StackTrace extends GeneratedMessageV3 implements StackTraceOrBuilder
A call stack appearing in a trace.
Protobuf type google.devtools.cloudtrace.v2.StackTrace
Static Fields
public static final int STACK_FRAMES_FIELD_NUMBER
Field Value
public static final int STACK_TRACE_HASH_ID_FIELD_NUMBER
Field Value
Static Methods
public static StackTrace getDefaultInstance ()
Returns
public static final Descriptors . Descriptor getDescriptor ()
Returns
public static StackTrace . Builder newBuilder ()
Returns
public static StackTrace . Builder newBuilder ( StackTrace prototype )
Parameter
Returns
public static StackTrace parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static StackTrace parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static StackTrace parseFrom ( byte [] data )
Parameter
Name Description data byte []
Returns
Exceptions
public static StackTrace parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static StackTrace parseFrom ( ByteString data )
Parameter
Returns
Exceptions
public static StackTrace parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static StackTrace parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static StackTrace parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static StackTrace parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static StackTrace parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static StackTrace parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
public static StackTrace parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static Parser<StackTrace> parser ()
Returns
Methods
public boolean equals ( Object obj )
Parameter
Returns
Overrides
public StackTrace getDefaultInstanceForType ()
Returns
public Parser<StackTrace> getParserForType ()
Returns
Overrides
public int getSerializedSize ()
Returns
Overrides
public StackTrace . StackFrames getStackFrames ()
Stack frames in this stack trace. A maximum of 128 frames are allowed.
.google.devtools.cloudtrace.v2.StackTrace.StackFrames stack_frames = 1;
Returns
public StackTrace . StackFramesOrBuilder getStackFramesOrBuilder ()
Stack frames in this stack trace. A maximum of 128 frames are allowed.
.google.devtools.cloudtrace.v2.StackTrace.StackFrames stack_frames = 1;
Returns
public long getStackTraceHashId ()
The hash ID is used to conserve network bandwidth for duplicate
stack traces within a single trace.
Often multiple spans will have identical stack traces.
The first occurrence of a stack trace should contain both the
stackFrame
content and a value in stackTraceHashId
.
Subsequent spans within the same request can refer
to that stack trace by only setting stackTraceHashId
.
int64 stack_trace_hash_id = 2;
Returns
Type Description long The stackTraceHashId.
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
public boolean hasStackFrames ()
Stack frames in this stack trace. A maximum of 128 frames are allowed.
.google.devtools.cloudtrace.v2.StackTrace.StackFrames stack_frames = 1;
Returns
Type Description boolean Whether the stackFrames field is set.
Returns
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
public final boolean isInitialized ()
Returns
Overrides
public StackTrace . Builder newBuilderForType ()
Returns
protected StackTrace . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
public StackTrace . Builder toBuilder ()
Returns
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[],[]]