public com.google.devtools.cloudtrace.v2.StackTrace getStackTrace() {
      if (stackTraceBuilder_ == null) {
        return stackTrace_ == null
            ? com.google.devtools.cloudtrace.v2.StackTrace.getDefaultInstance()
            : stackTrace_;
      } else {
        return stackTraceBuilder_.getMessage();
      }
    }
<pre>
Stack trace captured at the start of the span.
</pre>

<code>.google.devtools.cloudtrace.v2.StackTrace stack_trace = 8;</code>

@return The stackTrace.
java-trace/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/Span.java