Package io.opencensus.proto.trace.v1
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.StackFramesgetStackFrames()Stack frames in this stack trace.StackTrace.StackFramesOrBuildergetStackFramesOrBuilder()Stack frames in this stack trace.longgetStackTraceHashId()The hash ID is used to conserve network bandwidth for duplicate stack traces within a single trace.booleanhasStackFrames()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.
.opencensus.proto.trace.v1.StackTrace.StackFrames stack_frames = 1;- Returns:
- Whether the stackFrames field is set.
-
getStackFrames
StackTrace.StackFrames getStackFrames()
Stack frames in this stack trace.
.opencensus.proto.trace.v1.StackTrace.StackFrames stack_frames = 1;- Returns:
- The stackFrames.
-
getStackFramesOrBuilder
StackTrace.StackFramesOrBuilder getStackFramesOrBuilder()
Stack frames in this stack trace.
.opencensus.proto.trace.v1.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 `stack_frames` and a value in `stack_trace_hash_id`. Subsequent spans within the same request can refer to that stack trace by setting only `stack_trace_hash_id`. TODO: describe how to deal with the case where stack_trace_hash_id is zero because it was not set.
uint64 stack_trace_hash_id = 2;- Returns:
- The stackTraceHashId.
-
-