@Override
    public void read(org.apache.thrift.protocol.TProtocol prot, LockRequest struct) throws org.apache.thrift.TException {
      org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
      {
        org.apache.thrift.protocol.TList _list897 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT);
        struct.component = new java.util.ArrayList<LockComponent>(_list897.size);
        @org.apache.thrift.annotation.Nullable LockComponent _elem898;
        for (int _i899 = 0; _i899 < _list897.size; ++_i899)
        {
          _elem898 = new LockComponent();
          _elem898.read(iprot);
          struct.component.add(_elem898);
        }
      }
      struct.setComponentIsSet(true);
      struct.user = iprot.readString();
      struct.setUserIsSet(true);
      struct.hostname = iprot.readString();
      struct.setHostnameIsSet(true);
      java.util.BitSet incoming = iprot.readBitSet(5);
      if (incoming.get(0)) {
        struct.txnid = iprot.readI64();
        struct.setTxnidIsSet(true);
      }
      if (incoming.get(1)) {
        struct.agentInfo = iprot.readString();
        struct.setAgentInfoIsSet(true);
      }
      if (incoming.get(2)) {
        struct.zeroWaitReadEnabled = iprot.readBool();
        struct.setZeroWaitReadEnabledIsSet(true);
      }
      if (incoming.get(3)) {
        struct.exclusiveCTAS = iprot.readBool();
        struct.setExclusiveCTASIsSet(true);
      }
      if (incoming.get(4)) {
        struct.locklessReadsEnabled = iprot.readBool();
        struct.setLocklessReadsEnabledIsSet(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/LockRequest.java