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); } }
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.resourcePlan = new WMResourcePlan(); struct.resourcePlan.read(iprot); struct.setResourcePlanIsSet(true); } else {
_elem937.read(iprot); struct.resourcePlans.add(_elem937);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, WMGetAllResourcePlanResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { org.apache.thrift.protocol.TList _list941 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.resourcePlans = new ArrayList<WMResourcePlan>(_list941.size); WMResourcePlan _elem942; for (int _i943 = 0; _i943 < _list941.size; ++_i943) { _elem942 = new WMResourcePlan(); _elem942.read(iprot); struct.resourcePlans.add(_elem942); } } struct.setResourcePlansIsSet(true); } } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, WMCreateResourcePlanRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { struct.resourcePlan = new WMResourcePlan(); struct.resourcePlan.read(iprot); struct.setResourcePlanIsSet(true); } if (incoming.get(1)) { struct.copyFrom = iprot.readString(); struct.setCopyFromIsSet(true); } } }
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.plan = new WMResourcePlan(); struct.plan.read(iprot); struct.setPlanIsSet(true); } else {
TTupleProtocol iprot = (TTupleProtocol) prot; struct.plan = new WMResourcePlan(); struct.plan.read(iprot); struct.setPlanIsSet(true);
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); } }
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.plan = new WMResourcePlan(); struct.plan.read(iprot); struct.setPlanIsSet(true); } else {
TTupleProtocol iprot = (TTupleProtocol) prot; struct.plan = new WMResourcePlan(); struct.plan.read(iprot); struct.setPlanIsSet(true);