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 span. You can have up to 32 attributes per
span.
</pre>

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

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