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

    if (hasError() != other.hasError()) return false;
    if (hasError()) {
      if (!getError().equals(other.getError())) return false;
    }
    if (hasMetadata() != other.hasMetadata()) return false;
    if (hasMetadata()) {
      if (!getMetadata().equals(other.getMetadata())) return false;
    }
    if (!getUri().equals(other.getUri())) return false;
    if (hasTranscript() != other.hasTranscript()) return false;
    if (hasTranscript()) {
      if (!getTranscript().equals(other.getTranscript())) return false;
    }
    if (!getResultCase().equals(other.getResultCase())) return false;
    switch (resultCase_) {
      case 5:
        if (!getCloudStorageResult().equals(other.getCloudStorageResult())) return false;
        break;
      case 6:
        if (!getInlineResult().equals(other.getInlineResult())) return false;
        break;
      case 0:
      default:
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Deprecated. Use `inline_result.transcript` instead.
</pre>

<code>.google.cloud.speech.v2.BatchRecognizeResults transcript = 4 [deprecated = true];</code>
java-speech/proto-google-cloud-speech-v2/src/main/java/com/google/cloud/speech/v2/BatchRecognizeFileResult.java