@Override
    public void read(org.apache.thrift.protocol.TProtocol prot, WMNullableResourcePlan 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.name = iprot.readString();
        struct.setNameIsSet(true);
      }
      if (incoming.get(1)) {
        struct.status = org.apache.hadoop.hive.metastore.api.WMResourcePlanStatus.findByValue(iprot.readI32());
        struct.setStatusIsSet(true);
      }
      if (incoming.get(2)) {
        struct.queryParallelism = iprot.readI32();
        struct.setQueryParallelismIsSet(true);
      }
      if (incoming.get(3)) {
        struct.isSetQueryParallelism = iprot.readBool();
        struct.setIsSetQueryParallelismIsSet(true);
      }
      if (incoming.get(4)) {
        struct.defaultPoolPath = iprot.readString();
        struct.setDefaultPoolPathIsSet(true);
      }
      if (incoming.get(5)) {
        struct.isSetDefaultPoolPath = iprot.readBool();
        struct.setIsSetDefaultPoolPathIsSet(true);
      }
      if (incoming.get(6)) {
        struct.ns = iprot.readString();
        struct.setNsIsSet(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/WMNullableResourcePlan.java