public boolean equals(SchemaVersion that) {
    if (that == null)
      return false;
    if (this == that)
      return true;

    boolean this_present_schema = true && this.isSetSchema();
    boolean that_present_schema = true && that.isSetSchema();
    if (this_present_schema || that_present_schema) {
      if (!(this_present_schema && that_present_schema))
        return false;
      if (!this.schema.equals(that.schema))
        return false;
    }

    boolean this_present_version = true;
    boolean that_present_version = true;
    if (this_present_version || that_present_version) {
      if (!(this_present_version && that_present_version))
        return false;
      if (this.version != that.version)
        return false;
    }

    boolean this_present_createdAt = true;
    boolean that_present_createdAt = true;
    if (this_present_createdAt || that_present_createdAt) {
      if (!(this_present_createdAt && that_present_createdAt))
        return false;
      if (this.createdAt != that.createdAt)
        return false;
    }

    boolean this_present_cols = true && this.isSetCols();
    boolean that_present_cols = true && that.isSetCols();
    if (this_present_cols || that_present_cols) {
      if (!(this_present_cols && that_present_cols))
        return false;
      if (!this.cols.equals(that.cols))
        return false;
    }

    boolean this_present_state = true && this.isSetState();
    boolean that_present_state = true && that.isSetState();
    if (this_present_state || that_present_state) {
      if (!(this_present_state && that_present_state))
        return false;
      if (!this.state.equals(that.state))
        return false;
    }

    boolean this_present_description = true && this.isSetDescription();
    boolean that_present_description = true && that.isSetDescription();
    if (this_present_description || that_present_description) {
      if (!(this_present_description && that_present_description))
        return false;
      if (!this.description.equals(that.description))
        return false;
    }

    boolean this_present_schemaText = true && this.isSetSchemaText();
    boolean that_present_schemaText = true && that.isSetSchemaText();
    if (this_present_schemaText || that_present_schemaText) {
      if (!(this_present_schemaText && that_present_schemaText))
        return false;
      if (!this.schemaText.equals(that.schemaText))
        return false;
    }

    boolean this_present_fingerprint = true && this.isSetFingerprint();
    boolean that_present_fingerprint = true && that.isSetFingerprint();
    if (this_present_fingerprint || that_present_fingerprint) {
      if (!(this_present_fingerprint && that_present_fingerprint))
        return false;
      if (!this.fingerprint.equals(that.fingerprint))
        return false;
    }

    boolean this_present_name = true && this.isSetName();
    boolean that_present_name = true && that.isSetName();
    if (this_present_name || that_present_name) {
      if (!(this_present_name && that_present_name))
        return false;
      if (!this.name.equals(that.name))
        return false;
    }

    boolean this_present_serDe = true && this.isSetSerDe();
    boolean that_present_serDe = true && that.isSetSerDe();
    if (this_present_serDe || that_present_serDe) {
      if (!(this_present_serDe && that_present_serDe))
        return false;
      if (!this.serDe.equals(that.serDe))
        return false;
    }

    return true;
  }
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SchemaVersion.java