public void addToFields(FieldSchema elem) {
    if (this.fields == null) {
      this.fields = new java.util.ArrayList<FieldSchema>();
    }
    this.fields.add(elem);
  }
Returns true if field type2 is set (has been assigned a value) and false otherwise
standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Type.java