@Override
    public void read(org.apache.thrift.protocol.TProtocol prot, RenamePartitionRequest 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);
      {
        org.apache.thrift.protocol.TList _list1445 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING);
        struct.partVals = new java.util.ArrayList<java.lang.String>(_list1445.size);
        @org.apache.thrift.annotation.Nullable java.lang.String _elem1446;
        for (int _i1447 = 0; _i1447 < _list1445.size; ++_i1447)
        {
          _elem1446 = iprot.readString();
          struct.partVals.add(_elem1446);
        }
      }
      struct.setPartValsIsSet(true);
      struct.newPart = new Partition();
      struct.newPart.read(iprot);
      struct.setNewPartIsSet(true);
      java.util.BitSet incoming = iprot.readBitSet(4);
      if (incoming.get(0)) {
        struct.catName = iprot.readString();
        struct.setCatNameIsSet(true);
      }
      if (incoming.get(1)) {
        struct.validWriteIdList = iprot.readString();
        struct.setValidWriteIdListIsSet(true);
      }
      if (incoming.get(2)) {
        struct.txnId = iprot.readI64();
        struct.setTxnIdIsSet(true);
      }
      if (incoming.get(3)) {
        struct.clonePart = iprot.readBool();
        struct.setClonePartIsSet(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/RenamePartitionRequest.java