@Override
    public void read(org.apache.thrift.protocol.TProtocol prot, CompactionRequest struct) throws org.apache.thrift.TException {
      org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
      struct.dbname = iprot.readString();
      struct.setDbnameIsSet(true);
      struct.tablename = iprot.readString();
      struct.setTablenameIsSet(true);
      struct.type = org.apache.hadoop.hive.metastore.api.CompactionType.findByValue(iprot.readI32());
      struct.setTypeIsSet(true);
      java.util.BitSet incoming = iprot.readBitSet(8);
      if (incoming.get(0)) {
        struct.partitionname = iprot.readString();
        struct.setPartitionnameIsSet(true);
      }
      if (incoming.get(1)) {
        struct.runas = iprot.readString();
        struct.setRunasIsSet(true);
      }
      if (incoming.get(2)) {
        {
          org.apache.thrift.protocol.TMap _map930 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); 
          struct.properties = new java.util.HashMap<java.lang.String,java.lang.String>(2*_map930.size);
          @org.apache.thrift.annotation.Nullable java.lang.String _key931;
          @org.apache.thrift.annotation.Nullable java.lang.String _val932;
          for (int _i933 = 0; _i933 < _map930.size; ++_i933)
          {
            _key931 = iprot.readString();
            _val932 = iprot.readString();
            struct.properties.put(_key931, _val932);
          }
        }
        struct.setPropertiesIsSet(true);
      }
      if (incoming.get(3)) {
        struct.initiatorId = iprot.readString();
        struct.setInitiatorIdIsSet(true);
      }
      if (incoming.get(4)) {
        struct.initiatorVersion = iprot.readString();
        struct.setInitiatorVersionIsSet(true);
      }
      if (incoming.get(5)) {
        struct.poolName = iprot.readString();
        struct.setPoolNameIsSet(true);
      }
      if (incoming.get(6)) {
        struct.numberOfBuckets = iprot.readI32();
        struct.setNumberOfBucketsIsSet(true);
      }
      if (incoming.get(7)) {
        struct.orderByClause = iprot.readString();
        struct.setOrderByClauseIsSet(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/CompactionRequest.java