Interface StackTraceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StackTrace
,StackTrace.Builder
public interface StackTraceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StackTrace.StackFrames
getStackFrames()
Stack frames in this stack trace.StackTrace.StackFramesOrBuilder
getStackFramesOrBuilder()
Stack frames in this stack trace.long
getStackTraceHashId()
The hash ID is used to conserve network bandwidth for duplicate stack traces within a single trace.boolean
hasStackFrames()
Stack frames in this stack trace.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasStackFrames
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:
- Whether the stackFrames field is set.
-
getStackFrames
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:
- The stackFrames.
-
getStackFramesOrBuilder
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;
-
getStackTraceHashId
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:
- The stackTraceHashId.
-
-