public com.google.protobuf.Duration getEndOffset() {
      if (endOffsetBuilder_ == null) {
        return endOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : endOffset_;
      } else {
        return endOffsetBuilder_.getMessage();
      }
    }
<pre>
Time offset relative to the beginning of the audio,
and corresponding to the end of the spoken word.
This field is only set if
[enable_word_time_offsets][google.cloud.speech.v2.RecognitionFeatures.enable_word_time_offsets]
is `true` and only in the top hypothesis. This is an experimental feature
and the accuracy of the time offset can vary.
</pre>

<code>.google.protobuf.Duration end_offset = 2;</code>

@return The endOffset.
java-speech/proto-google-cloud-speech-v2/src/main/java/com/google/cloud/speech/v2/WordInfo.java