public void setUnionField1IsSet(boolean value) {
    if (!value) {
      this.unionField1 = null;
    }
  }
Returns true if field unionField1 is set (has been assigned a value) and false otherwise
serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/Complex.java