@java.lang.Override
      public com.google.devtools.cloudtrace.v2.Span.TimeEvent.AnnotationOrBuilder
          getAnnotationOrBuilder() {
        if ((valueCase_ == 2) && (annotationBuilder_ != null)) {
          return annotationBuilder_.getMessageOrBuilder();
        } else {
          if (valueCase_ == 2) {
            return (com.google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation) value_;
          }
          return com.google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation.getDefaultInstance();
        }
      }
<pre>
Text annotation with a set of attributes.
</pre>

<code>.google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation annotation = 2;</code>
java-trace/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/Span.java