@Override
    public void read(org.apache.thrift.protocol.TProtocol prot, Task struct) throws org.apache.thrift.TException {
      org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
      java.util.BitSet incoming = iprot.readBitSet(8);
      if (incoming.get(0)) {
        struct.taskId = iprot.readString();
        struct.setTaskIdIsSet(true);
      }
      if (incoming.get(1)) {
        struct.taskType = org.apache.hadoop.hive.ql.plan.api.TaskType.findByValue(iprot.readI32());
        struct.setTaskTypeIsSet(true);
      }
      if (incoming.get(2)) {
        {
          org.apache.thrift.protocol.TMap _map61 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); 
          struct.taskAttributes = new java.util.HashMap<java.lang.String,java.lang.String>(2*_map61.size);
          @org.apache.thrift.annotation.Nullable java.lang.String _key62;
          @org.apache.thrift.annotation.Nullable java.lang.String _val63;
          for (int _i64 = 0; _i64 < _map61.size; ++_i64)
          {
            _key62 = iprot.readString();
            _val63 = iprot.readString();
            struct.taskAttributes.put(_key62, _val63);
          }
        }
        struct.setTaskAttributesIsSet(true);
      }
      if (incoming.get(3)) {
        {
          org.apache.thrift.protocol.TMap _map65 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.I64); 
          struct.taskCounters = new java.util.HashMap<java.lang.String,java.lang.Long>(2*_map65.size);
          @org.apache.thrift.annotation.Nullable java.lang.String _key66;
          long _val67;
          for (int _i68 = 0; _i68 < _map65.size; ++_i68)
          {
            _key66 = iprot.readString();
            _val67 = iprot.readI64();
            struct.taskCounters.put(_key66, _val67);
          }
        }
        struct.setTaskCountersIsSet(true);
      }
      if (incoming.get(4)) {
        struct.operatorGraph = new Graph();
        struct.operatorGraph.read(iprot);
        struct.setOperatorGraphIsSet(true);
      }
      if (incoming.get(5)) {
        {
          org.apache.thrift.protocol.TList _list69 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT);
          struct.operatorList = new java.util.ArrayList<Operator>(_list69.size);
          @org.apache.thrift.annotation.Nullable Operator _elem70;
          for (int _i71 = 0; _i71 < _list69.size; ++_i71)
          {
            _elem70 = new Operator();
            _elem70.read(iprot);
            struct.operatorList.add(_elem70);
          }
        }
        struct.setOperatorListIsSet(true);
      }
      if (incoming.get(6)) {
        struct.done = iprot.readBool();
        struct.setDoneIsSet(true);
      }
      if (incoming.get(7)) {
        struct.started = iprot.readBool();
        struct.setStartedIsSet(true);
      }
    }
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Task.java