public int getLinkCount() {
        if (linkBuilder_ == null) {
          return link_.size();
        } else {
          return linkBuilder_.getCount();
        }
      }
<pre>
A collection of links.
</pre>

<code>repeated .google.devtools.cloudtrace.v2.Span.Link link = 1;</code>
java-trace/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/Span.java