@org.apache.thrift.annotation.Nullable
  public java.lang.Object getFieldValue(_Fields field) {
    switch (field) {
    case AINT:
      return getAint();

    case A_STRING:
      return getAString();

    case LINT:
      return getLint();

    case L_STRING:
      return getLString();

    case LINT_STRING:
      return getLintString();

    case M_STRING_STRING:
      return getMStringString();

    case ATTRIBUTES:
      return getAttributes();

    case UNION_FIELD1:
      return getUnionField1();

    case UNION_FIELD2:
      return getUnionField2();

    case UNION_FIELD3:
      return getUnionField3();

    }
    throw new java.lang.IllegalStateException();
  }
Returns true if field unionField3 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