@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (((bitField0_ & 0x00000001) != 0)) {
      output.writeMessage(1, getTranscript());
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vttCaptions_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, vttCaptions_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(srtCaptions_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, srtCaptions_);
    }
    getUnknownFields().writeTo(output);
  }
<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