@java.lang.Override
    public com.google.devtools.cloudtrace.v2.Span.Link.Type getType() {
      com.google.devtools.cloudtrace.v2.Span.Link.Type result =
          com.google.devtools.cloudtrace.v2.Span.Link.Type.forNumber(type_);
      return result == null
          ? com.google.devtools.cloudtrace.v2.Span.Link.Type.UNRECOGNIZED
          : result;
    }
<pre>
The relationship of the current span relative to the linked span.
</pre>

<code>.google.devtools.cloudtrace.v2.Span.Link.Type type = 3;</code>

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