public com.google.devtools.cloudtrace.v2.Span.Links getLinks() {
      if (linksBuilder_ == null) {
        return links_ == null
            ? com.google.devtools.cloudtrace.v2.Span.Links.getDefaultInstance()
            : links_;
      } else {
        return linksBuilder_.getMessage();
      }
    }
<pre>
Links associated with the span. You can have up to 128 links per Span.
</pre>

<code>.google.devtools.cloudtrace.v2.Span.Links links = 10;</code>

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