private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; 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); } }
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; 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); } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, WatchRepositoryResult struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.revision = new Revision(); struct.revision.read(iprot); struct.setRevisionIsSet(true); } } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, WatchRepositoryResult struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.revision = new Revision(); struct.revision.read(iprot); struct.setRevisionIsSet(true); } } }
public void read(org.apache.thrift.protocol.TProtocol iprot, WatchRepositoryResult struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 1: // REVISION if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.revision = new Revision(); struct.revision.read(iprot); struct.setRevisionIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); }
public void read(org.apache.thrift.protocol.TProtocol iprot, WatchRepositoryResult struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 1: // REVISION if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.revision = new Revision(); struct.revision.read(iprot); struct.setRevisionIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); }
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.revision = new Revision(); struct.revision.read(iprot); struct.setRevisionIsSet(true); } else {
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.revision = new Revision(); struct.revision.read(iprot); struct.setRevisionIsSet(true); } else {
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.revision = new Revision(); struct.revision.read(iprot); struct.setRevisionIsSet(true); } else {
@Override public void read(org.apache.thrift.protocol.TProtocol prot, WatchFileResult struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { struct.revision = new Revision(); struct.revision.read(iprot); struct.setRevisionIsSet(true); } if (incoming.get(1)) { struct.type = com.linecorp.centraldogma.internal.thrift.EntryType.findByValue(iprot.readI32()); struct.setTypeIsSet(true); } if (incoming.get(2)) { struct.content = iprot.readString(); struct.setContentIsSet(true); } } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, WatchFileResult struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { struct.revision = new Revision(); struct.revision.read(iprot); struct.setRevisionIsSet(true); } if (incoming.get(1)) { struct.type = com.linecorp.centraldogma.internal.thrift.EntryType.findByValue(iprot.readI32()); struct.setTypeIsSet(true); } if (incoming.get(2)) { struct.content = iprot.readString(); struct.setContentIsSet(true); } } }
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.revision = new Revision(); struct.revision.read(iprot); struct.setRevisionIsSet(true); } else {
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.revision = new Revision(); struct.revision.read(iprot); struct.setRevisionIsSet(true); } else {
@Override public void read(org.apache.thrift.protocol.TProtocol prot, MergedEntry struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.revision = new Revision(); struct.revision.read(iprot); struct.setRevisionIsSet(true); struct.type = com.linecorp.centraldogma.internal.thrift.EntryType.findByValue(iprot.readI32()); struct.setTypeIsSet(true); struct.content = iprot.readString(); struct.setContentIsSet(true); { org.apache.thrift.protocol.TList _list5 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.paths = new ArrayList<String>(_list5.size); String _elem6; for (int _i7 = 0; _i7 < _list5.size; ++_i7) { _elem6 = iprot.readString(); struct.paths.add(_elem6); } } struct.setPathsIsSet(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 _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); } }