private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } }
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } }
struct.returnDef.write(oprot); oprot.writeFieldEnd();
struct.returnDef.write(oprot); oprot.writeFieldEnd();
@Override public void write(org.apache.thrift.protocol.TProtocol prot, PluginOperation struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; oprot.writeString(struct.pluginName); oprot.writeString(struct.operationName); { oprot.writeI32(struct.paramDefs.size()); for (PluginOperationParamDef _iter36 : struct.paramDefs) { _iter36.write(oprot); } } struct.returnDef.write(oprot); BitSet optionals = new BitSet(); if (struct.isSetComment()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.isSetComment()) { struct.comment.write(oprot); } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, PluginOperation struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; oprot.writeString(struct.pluginName); oprot.writeString(struct.operationName); { oprot.writeI32(struct.paramDefs.size()); for (PluginOperationParamDef _iter28 : struct.paramDefs) { _iter28.write(oprot); } } struct.returnDef.write(oprot); BitSet optionals = new BitSet(); if (struct.isSetComment()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.isSetComment()) { struct.comment.write(oprot); } }