@Override
    public void read(org.apache.thrift.protocol.TProtocol prot, ForeignKeysRequest struct) throws org.apache.thrift.TException {
      org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
      java.util.BitSet incoming = iprot.readBitSet(7);
      if (incoming.get(0)) {
        struct.parent_db_name = iprot.readString();
        struct.setParent_db_nameIsSet(true);
      }
      if (incoming.get(1)) {
        struct.parent_tbl_name = iprot.readString();
        struct.setParent_tbl_nameIsSet(true);
      }
      if (incoming.get(2)) {
        struct.foreign_db_name = iprot.readString();
        struct.setForeign_db_nameIsSet(true);
      }
      if (incoming.get(3)) {
        struct.foreign_tbl_name = iprot.readString();
        struct.setForeign_tbl_nameIsSet(true);
      }
      if (incoming.get(4)) {
        struct.catName = iprot.readString();
        struct.setCatNameIsSet(true);
      }
      if (incoming.get(5)) {
        struct.validWriteIdList = iprot.readString();
        struct.setValidWriteIdListIsSet(true);
      }
      if (incoming.get(6)) {
        struct.tableId = iprot.readI64();
        struct.setTableIdIsSet(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/ForeignKeysRequest.java