@Override
    public void read(org.apache.thrift.protocol.TProtocol prot, AllocateTableWriteIdsRequest struct) throws org.apache.thrift.TException {
      org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
      struct.dbName = iprot.readString();
      struct.setDbNameIsSet(true);
      struct.tableName = iprot.readString();
      struct.setTableNameIsSet(true);
      java.util.BitSet incoming = iprot.readBitSet(4);
      if (incoming.get(0)) {
        {
          org.apache.thrift.protocol.TList _list878 = iprot.readListBegin(org.apache.thrift.protocol.TType.I64);
          struct.txnIds = new java.util.ArrayList<java.lang.Long>(_list878.size);
          long _elem879;
          for (int _i880 = 0; _i880 < _list878.size; ++_i880)
          {
            _elem879 = iprot.readI64();
            struct.txnIds.add(_elem879);
          }
        }
        struct.setTxnIdsIsSet(true);
      }
      if (incoming.get(1)) {
        struct.replPolicy = iprot.readString();
        struct.setReplPolicyIsSet(true);
      }
      if (incoming.get(2)) {
        {
          org.apache.thrift.protocol.TList _list881 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT);
          struct.srcTxnToWriteIdList = new java.util.ArrayList<TxnToWriteId>(_list881.size);
          @org.apache.thrift.annotation.Nullable TxnToWriteId _elem882;
          for (int _i883 = 0; _i883 < _list881.size; ++_i883)
          {
            _elem882 = new TxnToWriteId();
            _elem882.read(iprot);
            struct.srcTxnToWriteIdList.add(_elem882);
          }
        }
        struct.setSrcTxnToWriteIdListIsSet(true);
      }
      if (incoming.get(3)) {
        struct.reallocate = iprot.readBool();
        struct.setReallocateIsSet(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/AllocateTableWriteIdsRequest.java