@Override
    public void read(org.apache.thrift.protocol.TProtocol prot, GetOpenTxnsRequest struct) throws org.apache.thrift.TException {
      org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
      java.util.BitSet incoming = iprot.readBitSet(1);
      if (incoming.get(0)) {
        {
          org.apache.thrift.protocol.TList _list1581 = iprot.readListBegin(org.apache.thrift.protocol.TType.I32);
          struct.excludeTxnTypes = new java.util.ArrayList<TxnType>(_list1581.size);
          @org.apache.thrift.annotation.Nullable TxnType _elem1582;
          for (int _i1583 = 0; _i1583 < _list1581.size; ++_i1583)
          {
            _elem1582 = org.apache.hadoop.hive.metastore.api.TxnType.findByValue(iprot.readI32());
            if (_elem1582 != null)
            {
              struct.excludeTxnTypes.add(_elem1582);
            }
          }
        }
        struct.setExcludeTxnTypesIsSet(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/GetOpenTxnsRequest.java