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

    if (!getName().equals(other.getName())) return false;
    if (!getKey().equals(other.getKey())) return false;
    if (hasSchemaDetails() != other.hasSchemaDetails()) return false;
    if (hasSchemaDetails()) {
      if (!getSchemaDetails().equals(other.getSchemaDetails())) return false;
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
The schema details mapping to the key.
</pre>

<code>.google.cloud.visionai.v1.DataSchemaDetails schema_details = 3;</code>
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/DataSchema.java