@java.lang.Override
        public com.google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent.Type getType() {
          com.google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent.Type result =
              com.google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent.Type.forNumber(type_);
          return result == null
              ? com.google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent.Type.UNRECOGNIZED
              : result;
        }
<pre>
Type of MessageEvent. Indicates whether the message was sent or
received.
</pre>

<code>.google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent.Type type = 1;</code>

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