@java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.cloud.speech.v2.InlineResult)) {
      return super.equals(obj);
    }
    com.google.cloud.speech.v2.InlineResult other = (com.google.cloud.speech.v2.InlineResult) obj;

    if (hasTranscript() != other.hasTranscript()) return false;
    if (hasTranscript()) {
      if (!getTranscript().equals(other.getTranscript())) return false;
    }
    if (!getVttCaptions().equals(other.getVttCaptions())) return false;
    if (!getSrtCaptions().equals(other.getSrtCaptions())) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<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