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

    boolean this_present_sIntString = true && this.isSetSIntString();
    boolean that_present_sIntString = true && that.isSetSIntString();
    if (this_present_sIntString || that_present_sIntString) {
      if (!(this_present_sIntString && that_present_sIntString))
        return false;
      if (!this.sIntString.equals(that.sIntString))
        return false;
    }

    boolean this_present_aString = true && this.isSetAString();
    boolean that_present_aString = true && that.isSetAString();
    if (this_present_aString || that_present_aString) {
      if (!(this_present_aString && that_present_aString))
        return false;
      if (!this.aString.equals(that.aString))
        return false;
    }

    return true;
  }
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/SetIntString.java