public Builder setType(com.google.devtools.cloudtrace.v2.Span.Link.Type value) {
        if (value == null) {
          throw new NullPointerException();
        }
        bitField0_ |= 0x00000004;
        type_ = value.getNumber();
        onChanged();
        return this;
      }
<pre>
The relationship of the current span relative to the linked span.
</pre>

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

@param value The type to set.
@return This builder for chaining.
java-trace/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/Span.java