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

    if (hasOutputFormatConfig() != other.hasOutputFormatConfig()) return false;
    if (hasOutputFormatConfig()) {
      if (!getOutputFormatConfig().equals(other.getOutputFormatConfig())) return false;
    }
    if (!getOutputCase().equals(other.getOutputCase())) return false;
    switch (outputCase_) {
      case 1:
        if (!getGcsOutputConfig().equals(other.getGcsOutputConfig())) return false;
        break;
      case 2:
        if (!getInlineResponseConfig().equals(other.getInlineResponseConfig())) return false;
        break;
      case 0:
      default:
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Optional. Configuration for the format of the results stored to `output`.
If unspecified transcripts will be written in the `NATIVE` format only.
</pre>

<code>
.google.cloud.speech.v2.OutputFormatConfig output_format_config = 3 [(.google.api.field_behavior) = OPTIONAL];
</code>
java-speech/proto-google-cloud-speech-v2/src/main/java/com/google/cloud/speech/v2/RecognitionOutputConfig.java