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

    boolean this_present_field0 = true;
    boolean that_present_field0 = true;
    if (this_present_field0 || that_present_field0) {
      if (!(this_present_field0 && that_present_field0))
        return false;
      if (this.field0 != that.field0)
        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/serde/test/InnerStruct.java