@Override
    public void read(org.apache.thrift.protocol.TProtocol prot, WMMapping struct) throws org.apache.thrift.TException {
      org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
      struct.resourcePlanName = iprot.readString();
      struct.setResourcePlanNameIsSet(true);
      struct.entityType = iprot.readString();
      struct.setEntityTypeIsSet(true);
      struct.entityName = iprot.readString();
      struct.setEntityNameIsSet(true);
      java.util.BitSet incoming = iprot.readBitSet(3);
      if (incoming.get(0)) {
        struct.poolPath = iprot.readString();
        struct.setPoolPathIsSet(true);
      }
      if (incoming.get(1)) {
        struct.ordering = iprot.readI32();
        struct.setOrderingIsSet(true);
      }
      if (incoming.get(2)) {
        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/WMMapping.java