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.returnDef = new PluginOperationReturnDef(); struct.returnDef.read(iprot); struct.setReturnDefIsSet(true); } else {
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.returnDef = new PluginOperationReturnDef(); struct.returnDef.read(iprot); struct.setReturnDefIsSet(true); } else {
@Override public void read(org.apache.thrift.protocol.TProtocol prot, PluginOperation struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.pluginName = iprot.readString(); struct.setPluginNameIsSet(true); struct.operationName = iprot.readString(); struct.setOperationNameIsSet(true); { org.apache.thrift.protocol.TList _list37 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.paramDefs = new ArrayList<PluginOperationParamDef>(_list37.size); PluginOperationParamDef _elem38; for (int _i39 = 0; _i39 < _list37.size; ++_i39) { _elem38 = new PluginOperationParamDef(); _elem38.read(iprot); struct.paramDefs.add(_elem38); } } struct.setParamDefsIsSet(true); struct.returnDef = new PluginOperationReturnDef(); struct.returnDef.read(iprot); struct.setReturnDefIsSet(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, PluginOperation struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.pluginName = iprot.readString(); struct.setPluginNameIsSet(true); struct.operationName = iprot.readString(); struct.setOperationNameIsSet(true); { org.apache.thrift.protocol.TList _list29 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.paramDefs = new ArrayList<PluginOperationParamDef>(_list29.size); PluginOperationParamDef _elem30; for (int _i31 = 0; _i31 < _list29.size; ++_i31) { _elem30 = new PluginOperationParamDef(); _elem30.read(iprot); struct.paramDefs.add(_elem30); } } struct.setParamDefsIsSet(true); struct.returnDef = new PluginOperationReturnDef(); struct.returnDef.read(iprot); struct.setReturnDefIsSet(true); BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.comment = new Comment(); struct.comment.read(iprot); struct.setCommentIsSet(true); } } }