@Override
    public void read(org.apache.amoro.shade.thrift.org.apache.thrift.protocol.TProtocol prot, DataFile struct) throws org.apache.amoro.shade.thrift.org.apache.thrift.TException {
      org.apache.amoro.shade.thrift.org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.amoro.shade.thrift.org.apache.thrift.protocol.TTupleProtocol) prot;
      java.util.BitSet incoming = iprot.readBitSet(9);
      if (incoming.get(0)) {
        struct.fileType = iprot.readString();
        struct.setFileTypeIsSet(true);
      }
      if (incoming.get(1)) {
        struct.path = iprot.readString();
        struct.setPathIsSet(true);
      }
      if (incoming.get(2)) {
        struct.fileSize = iprot.readI64();
        struct.setFileSizeIsSet(true);
      }
      if (incoming.get(3)) {
        struct.mask = iprot.readI64();
        struct.setMaskIsSet(true);
      }
      if (incoming.get(4)) {
        struct.index = iprot.readI64();
        struct.setIndexIsSet(true);
      }
      if (incoming.get(5)) {
        struct.specId = iprot.readI64();
        struct.setSpecIdIsSet(true);
      }
      if (incoming.get(6)) {
        {
          org.apache.amoro.shade.thrift.org.apache.thrift.protocol.TList _list41 = iprot.readListBegin(org.apache.amoro.shade.thrift.org.apache.thrift.protocol.TType.STRUCT);
          struct.partition = new java.util.ArrayList<PartitionFieldData>(_list41.size);
          @org.apache.amoro.shade.thrift.org.apache.thrift.annotation.Nullable PartitionFieldData _elem42;
          for (int _i43 = 0; _i43 < _list41.size; ++_i43)
          {
            _elem42 = new PartitionFieldData();
            _elem42.read(iprot);
            struct.partition.add(_elem42);
          }
        }
        struct.setPartitionIsSet(true);
      }
      if (incoming.get(7)) {
        struct.recordCount = iprot.readI64();
        struct.setRecordCountIsSet(true);
      }
      if (incoming.get(8)) {
        {
          org.apache.amoro.shade.thrift.org.apache.thrift.protocol.TMap _map44 = iprot.readMapBegin(org.apache.amoro.shade.thrift.org.apache.thrift.protocol.TType.STRING, org.apache.amoro.shade.thrift.org.apache.thrift.protocol.TType.STRING); 
          struct.upperBounds = new java.util.HashMap<java.lang.String,java.nio.ByteBuffer>(2*_map44.size);
          @org.apache.amoro.shade.thrift.org.apache.thrift.annotation.Nullable java.lang.String _key45;
          @org.apache.amoro.shade.thrift.org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val46;
          for (int _i47 = 0; _i47 < _map44.size; ++_i47)
          {
            _key45 = iprot.readString();
            _val46 = iprot.readBinary();
            struct.upperBounds.put(_key45, _val46);
          }
        }
        struct.setUpperBoundsIsSet(true);
      }
    }
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
amoro-common/src/main/gen-java/org/apache/amoro/api/DataFile.java