@Override
    public void read(org.apache.thrift.protocol.TProtocol prot, Partition struct) throws org.apache.thrift.TException {
      org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
      java.util.BitSet incoming = iprot.readBitSet(13);
      if (incoming.get(0)) {
        {
          org.apache.thrift.protocol.TList _list405 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING);
          struct.values = new java.util.ArrayList<java.lang.String>(_list405.size);
          @org.apache.thrift.annotation.Nullable java.lang.String _elem406;
          for (int _i407 = 0; _i407 < _list405.size; ++_i407)
          {
            _elem406 = iprot.readString();
            struct.values.add(_elem406);
          }
        }
        struct.setValuesIsSet(true);
      }
      if (incoming.get(1)) {
        struct.dbName = org.apache.hadoop.hive.metastore.utils.StringUtils.intern(iprot.readString());
        struct.setDbNameIsSet(true);
      }
      if (incoming.get(2)) {
        struct.tableName = org.apache.hadoop.hive.metastore.utils.StringUtils.intern(iprot.readString());
        struct.setTableNameIsSet(true);
      }
      if (incoming.get(3)) {
        struct.createTime = iprot.readI32();
        struct.setCreateTimeIsSet(true);
      }
      if (incoming.get(4)) {
        struct.lastAccessTime = iprot.readI32();
        struct.setLastAccessTimeIsSet(true);
      }
      if (incoming.get(5)) {
        struct.sd = new StorageDescriptor();
        struct.sd.read(iprot);
        struct.setSdIsSet(true);
      }
      if (incoming.get(6)) {
        {
          org.apache.thrift.protocol.TMap _map408 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); 
          struct.parameters = new java.util.HashMap<java.lang.String,java.lang.String>(2*_map408.size);
          @org.apache.thrift.annotation.Nullable java.lang.String _key409;
          @org.apache.thrift.annotation.Nullable java.lang.String _val410;
          for (int _i411 = 0; _i411 < _map408.size; ++_i411)
          {
            _key409 = iprot.readString();
            _val410 = iprot.readString();
            struct.parameters.put(_key409, _val410);
          }
        }
        struct.parameters = org.apache.hadoop.hive.metastore.utils.StringUtils.intern(struct.parameters); struct.setParametersIsSet(true);
      }
      if (incoming.get(7)) {
        struct.privileges = new PrincipalPrivilegeSet();
        struct.privileges.read(iprot);
        struct.setPrivilegesIsSet(true);
      }
      if (incoming.get(8)) {
        struct.catName = org.apache.hadoop.hive.metastore.utils.StringUtils.intern(iprot.readString());
        struct.setCatNameIsSet(true);
      }
      if (incoming.get(9)) {
        struct.writeId = iprot.readI64();
        struct.setWriteIdIsSet(true);
      }
      if (incoming.get(10)) {
        struct.isStatsCompliant = iprot.readBool();
        struct.setIsStatsCompliantIsSet(true);
      }
      if (incoming.get(11)) {
        struct.colStats = new ColumnStatistics();
        struct.colStats.read(iprot);
        struct.setColStatsIsSet(true);
      }
      if (incoming.get(12)) {
        struct.fileMetadata = new FileMetadata();
        struct.fileMetadata.read(iprot);
        struct.setFileMetadataIsSet(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/Partition.java