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

    if (!getResultsList().equals(other.getResultsList())) return false;
    if (hasMetadata() != other.hasMetadata()) return false;
    if (hasMetadata()) {
      if (!getMetadata().equals(other.getMetadata())) return false;
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Metadata about the recognition.
</pre>

<code>.google.cloud.speech.v2.RecognitionResponseMetadata metadata = 2;</code>
java-speech/proto-google-cloud-speech-v2/src/main/java/com/google/cloud/speech/v2/RecognizeResponse.java