public com.google.protobuf.ByteString getSrtCaptionsBytes() {
      java.lang.Object ref = srtCaptions_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        srtCaptions_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
<pre>
The transcript for the audio file as SRT formatted captions. This is
populated only when `SRT` output is requested.
</pre>

<code>string srt_captions = 3;</code>

@return The bytes for srtCaptions.
java-speech/proto-google-cloud-speech-v2/src/main/java/com/google/cloud/speech/v2/InlineResult.java