public void read(org.apache.thrift.protocol.TProtocol iprot, WMFullResourcePlan struct) throws org.apache.thrift.TException {
      org.apache.thrift.protocol.TField schemeField;
      iprot.readStructBegin();
      while (true)
      {
        schemeField = iprot.readFieldBegin();
        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
          break;
        }
        switch (schemeField.id) {
          case 1: // PLAN
            if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
              struct.plan = new WMResourcePlan();
              struct.plan.read(iprot);
              struct.setPlanIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 2: // POOLS
            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
              {
                org.apache.thrift.protocol.TList _list1270 = iprot.readListBegin();
                struct.pools = new java.util.ArrayList<WMPool>(_list1270.size);
                @org.apache.thrift.annotation.Nullable WMPool _elem1271;
                for (int _i1272 = 0; _i1272 < _list1270.size; ++_i1272)
                {
                  _elem1271 = new WMPool();
                  _elem1271.read(iprot);
                  struct.pools.add(_elem1271);
                }
                iprot.readListEnd();
              }
              struct.setPoolsIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 3: // MAPPINGS
            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
              {
                org.apache.thrift.protocol.TList _list1273 = iprot.readListBegin();
                struct.mappings = new java.util.ArrayList<WMMapping>(_list1273.size);
                @org.apache.thrift.annotation.Nullable WMMapping _elem1274;
                for (int _i1275 = 0; _i1275 < _list1273.size; ++_i1275)
                {
                  _elem1274 = new WMMapping();
                  _elem1274.read(iprot);
                  struct.mappings.add(_elem1274);
                }
                iprot.readListEnd();
              }
              struct.setMappingsIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 4: // TRIGGERS
            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
              {
                org.apache.thrift.protocol.TList _list1276 = iprot.readListBegin();
                struct.triggers = new java.util.ArrayList<WMTrigger>(_list1276.size);
                @org.apache.thrift.annotation.Nullable WMTrigger _elem1277;
                for (int _i1278 = 0; _i1278 < _list1276.size; ++_i1278)
                {
                  _elem1277 = new WMTrigger();
                  _elem1277.read(iprot);
                  struct.triggers.add(_elem1277);
                }
                iprot.readListEnd();
              }
              struct.setTriggersIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 5: // POOL_TRIGGERS
            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
              {
                org.apache.thrift.protocol.TList _list1279 = iprot.readListBegin();
                struct.poolTriggers = new java.util.ArrayList<WMPoolTrigger>(_list1279.size);
                @org.apache.thrift.annotation.Nullable WMPoolTrigger _elem1280;
                for (int _i1281 = 0; _i1281 < _list1279.size; ++_i1281)
                {
                  _elem1280 = new WMPoolTrigger();
                  _elem1280.read(iprot);
                  struct.poolTriggers.add(_elem1280);
                }
                iprot.readListEnd();
              }
              struct.setPoolTriggersIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          default:
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
        }
        iprot.readFieldEnd();
      }
      iprot.readStructEnd();
      struct.validate();
    }
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/WMFullResourcePlan.java