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.creds = new Credentials(); struct.creds.read(iprot); struct.set_creds_isSet(true); } else {
@Override public void read(org.apache.thrift.protocol.TProtocol prot, SubmitOptions struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.initial_status = backtype.storm.generated.TopologyInitialStatus.findByValue(iprot.readI32()); struct.set_initial_status_isSet(true); BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.creds = new Credentials(); struct.creds.read(iprot); struct.set_creds_isSet(true); } } }
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); } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, SubmitOptions struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.initial_status = backtype.storm.generated.TopologyInitialStatus.findByValue(iprot.readI32()); struct.set_initial_status_isSet(true); BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.creds = new Credentials(); struct.creds.read(iprot); struct.set_creds_isSet(true); } } }
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new Credentials(); struct.creds.read(iprot); struct.set_creds_isSet(true); } else {