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

    if (hasLanguages() != other.hasLanguages()) return false;
    if (hasLanguages()) {
      if (!getLanguages().equals(other.getLanguages())) return false;
    }
    if (hasAccessMetadata() != other.hasAccessMetadata()) return false;
    if (hasAccessMetadata()) {
      if (!getAccessMetadata().equals(other.getAccessMetadata())) return false;
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Information about access metadata for the region and given project.
</pre>

<code>.google.cloud.speech.v2.AccessMetadata access_metadata = 2;</code>
java-speech/proto-google-cloud-speech-v2/src/main/java/com/google/cloud/speech/v2/LocationsMetadata.java