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

    if (hasNative() != other.hasNative()) return false;
    if (hasNative()) {
      if (!getNative().equals(other.getNative())) return false;
    }
    if (hasVtt() != other.hasVtt()) return false;
    if (hasVtt()) {
      if (!getVtt().equals(other.getVtt())) return false;
    }
    if (hasSrt() != other.hasSrt()) return false;
    if (hasSrt()) {
      if (!getSrt().equals(other.getSrt())) return false;
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Configuration for the SRT output format. If this field is set, then
transcripts will be written to the sink in the SRT format.
</pre>

<code>.google.cloud.speech.v2.SrtOutputFileFormatConfig srt = 3;</code>
java-speech/proto-google-cloud-speech-v2/src/main/java/com/google/cloud/speech/v2/OutputFormatConfig.java