@Override
  public int hashCode() {
    int hashCode = 1;

    hashCode = hashCode * 8191 + myint;

    hashCode = hashCode * 8191 + ((isSetMyString()) ? 131071 : 524287);
    if (isSetMyString())
      hashCode = hashCode * 8191 + myString.hashCode();

    hashCode = hashCode * 8191 + underscore_int;

    return hashCode;
  }
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/IntString.java