private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } }
_elem60.read(iprot); struct.pathChanges.add(_elem60);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, TPathsUpdate struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.hasFullImage = iprot.readBool(); struct.setHasFullImageIsSet(true); struct.seqNum = iprot.readI64(); struct.setSeqNumIsSet(true); { org.apache.thrift.protocol.TList _list63 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.pathChanges = new ArrayList<TPathChanges>(_list63.size); for (int _i64 = 0; _i64 < _list63.size; ++_i64) { TPathChanges _elem65; // required _elem65 = new TPathChanges(); _elem65.read(iprot); struct.pathChanges.add(_elem65); } } struct.setPathChangesIsSet(true); BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.pathsDump = new TPathsDump(); struct.pathsDump.read(iprot); struct.setPathsDumpIsSet(true); } } }