public void read(org.apache.thrift.protocol.TProtocol iprot, WMValidateResourcePlanResponse 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: // ERRORS
            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
              {
                org.apache.thrift.protocol.TList _list1310 = iprot.readListBegin();
                struct.errors = new java.util.ArrayList<java.lang.String>(_list1310.size);
                @org.apache.thrift.annotation.Nullable java.lang.String _elem1311;
                for (int _i1312 = 0; _i1312 < _list1310.size; ++_i1312)
                {
                  _elem1311 = iprot.readString();
                  struct.errors.add(_elem1311);
                }
                iprot.readListEnd();
              }
              struct.setErrorsIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 2: // WARNINGS
            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
              {
                org.apache.thrift.protocol.TList _list1313 = iprot.readListBegin();
                struct.warnings = new java.util.ArrayList<java.lang.String>(_list1313.size);
                @org.apache.thrift.annotation.Nullable java.lang.String _elem1314;
                for (int _i1315 = 0; _i1315 < _list1313.size; ++_i1315)
                {
                  _elem1314 = iprot.readString();
                  struct.warnings.add(_elem1314);
                }
                iprot.readListEnd();
              }
              struct.setWarningsIsSet(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/WMValidateResourcePlanResponse.java