@Override
    public void read(org.apache.thrift.protocol.TProtocol prot, Type struct) throws org.apache.thrift.TException {
      org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
      java.util.BitSet incoming = iprot.readBitSet(4);
      if (incoming.get(0)) {
        struct.name = iprot.readString();
        struct.setNameIsSet(true);
      }
      if (incoming.get(1)) {
        struct.type1 = iprot.readString();
        struct.setType1IsSet(true);
      }
      if (incoming.get(2)) {
        struct.type2 = iprot.readString();
        struct.setType2IsSet(true);
      }
      if (incoming.get(3)) {
        {
          org.apache.thrift.protocol.TList _list63 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT);
          struct.fields = new java.util.ArrayList<FieldSchema>(_list63.size);
          @org.apache.thrift.annotation.Nullable FieldSchema _elem64;
          for (int _i65 = 0; _i65 < _list63.size; ++_i65)
          {
            _elem64 = new FieldSchema();
            _elem64.read(iprot);
            struct.fields.add(_elem64);
          }
        }
        struct.setFieldsIsSet(true);
      }
    }
Returns true if field corresponding to fieldID 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