public com.google.protobuf.Duration getSpeechEndTimeout() {
        if (speechEndTimeoutBuilder_ == null) {
          return speechEndTimeout_ == null
              ? com.google.protobuf.Duration.getDefaultInstance()
              : speechEndTimeout_;
        } else {
          return speechEndTimeoutBuilder_.getMessage();
        }
      }
<pre>
Duration to timeout the stream after speech ends. If this is set and no
speech is detected in this duration after speech was detected, the server
will close the stream.
</pre>

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

@return The speechEndTimeout.
java-speech/proto-google-cloud-speech-v2/src/main/java/com/google/cloud/speech/v2/StreamingRecognitionFeatures.java