struct.detail = new Comment(); struct.detail.read(iprot); struct.setDetailIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
struct.detail = new Comment(); struct.detail.read(iprot); struct.setDetailIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, Commit struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.revision = new Revision(); struct.revision.read(iprot); struct.setRevisionIsSet(true); struct.author = new Author(); struct.author.read(iprot); struct.setAuthorIsSet(true); struct.timestamp = iprot.readString(); struct.setTimestampIsSet(true); struct.summary = iprot.readString(); struct.setSummaryIsSet(true); struct.detail = new Comment(); struct.detail.read(iprot); struct.setDetailIsSet(true); { org.apache.thrift.protocol.TList _list13 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.diffs = new ArrayList<Change>(_list13.size); Change _elem14; for (int _i15 = 0; _i15 < _list13.size; ++_i15) { _elem14 = new Change(); _elem14.read(iprot); struct.diffs.add(_elem14); } } struct.setDiffsIsSet(true); } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, Commit struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.revision = new Revision(); struct.revision.read(iprot); struct.setRevisionIsSet(true); struct.author = new Author(); struct.author.read(iprot); struct.setAuthorIsSet(true); struct.timestamp = iprot.readString(); struct.setTimestampIsSet(true); struct.summary = iprot.readString(); struct.setSummaryIsSet(true); struct.detail = new Comment(); struct.detail.read(iprot); struct.setDetailIsSet(true); { org.apache.thrift.protocol.TList _list5 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.diffs = new ArrayList<Change>(_list5.size); Change _elem6; for (int _i7 = 0; _i7 < _list5.size; ++_i7) { _elem6 = new Change(); _elem6.read(iprot); struct.diffs.add(_elem6); } } struct.setDiffsIsSet(true); } }