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); } }
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); } }
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.propertyFilter = new PropertyFilter(); struct.propertyFilter.read(iprot); struct.setPropertyFilterIsSet(true); } else {
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.propertyFilter = new PropertyFilter(); struct.propertyFilter.read(iprot); struct.setPropertyFilterIsSet(true); } else {
@Override public void read(org.apache.thrift.protocol.TProtocol prot, SchemaEntry struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.repositoryName = iprot.readString(); struct.setRepositoryNameIsSet(true); struct.path = iprot.readString(); struct.setPathIsSet(true); struct.propertyFilter = new PropertyFilter(); struct.propertyFilter.read(iprot); struct.setPropertyFilterIsSet(true); { org.apache.thrift.protocol.TList _list13 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32()); struct.types = new ArrayList<PropertyType>(_list13.size); PropertyType _elem14; for (int _i15 = 0; _i15 < _list13.size; ++_i15) { _elem14 = com.linecorp.centraldogma.internal.thrift.PropertyType.findByValue(iprot.readI32()); struct.types.add(_elem14); } } struct.setTypesIsSet(true); BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.comment = new Comment(); struct.comment.read(iprot); struct.setCommentIsSet(true); } } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, SchemaEntry struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.repositoryName = iprot.readString(); struct.setRepositoryNameIsSet(true); struct.path = iprot.readString(); struct.setPathIsSet(true); struct.propertyFilter = new PropertyFilter(); struct.propertyFilter.read(iprot); struct.setPropertyFilterIsSet(true); { org.apache.thrift.protocol.TList _list21 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32()); struct.types = new ArrayList<PropertyType>(_list21.size); PropertyType _elem22; for (int _i23 = 0; _i23 < _list21.size; ++_i23) { _elem22 = com.linecorp.centraldogma.internal.thrift.PropertyType.findByValue(iprot.readI32()); struct.types.add(_elem22); } } struct.setTypesIsSet(true); BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.comment = new Comment(); struct.comment.read(iprot); struct.setCommentIsSet(true); } } }