public com.google.devtools.cloudtrace.v2.Span.Attributes getAttributes() {
        if (attributesBuilder_ == null) {
          return attributes_ == null
              ? com.google.devtools.cloudtrace.v2.Span.Attributes.getDefaultInstance()
              : attributes_;
        } else {
          return attributesBuilder_.getMessage();
        }
      }
<pre>
A set of attributes on the link. Up to 32 attributes can be
specified per link.
</pre>

<code>.google.devtools.cloudtrace.v2.Span.Attributes attributes = 4;</code>

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