public com.google.devtools.cloudtrace.v2.Span.AttributesOrBuilder getAttributesOrBuilder() {
      if (attributesBuilder_ != null) {
        return attributesBuilder_.getMessageOrBuilder();
      } else {
        return attributes_ == null
            ? com.google.devtools.cloudtrace.v2.Span.Attributes.getDefaultInstance()
            : attributes_;
      }
    }
<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>
java-trace/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/Span.java