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, java.lang.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 protected java.lang.Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, short fieldID) throws org.apache.thrift.TException { _Fields setField = _Fields.findByThriftId(fieldID); if (setField != null) { switch (setField) { case MILLIS: MilliSeconds MILLIS; MILLIS = new MilliSeconds(); MILLIS.read(iprot); return MILLIS; case MICROS: MicroSeconds MICROS; MICROS = new MicroSeconds(); MICROS.read(iprot); return MICROS; case NANOS: NanoSeconds NANOS; NANOS = new NanoSeconds(); NANOS.read(iprot); return NANOS; default: throw new java.lang.IllegalStateException("setField wasn't null, but didn't match any of the case statements!"); } } else { throw new org.apache.thrift.protocol.TProtocolException("Couldn't find a field with field id " + fieldID); } }
@Override protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, short fieldID) throws org.apache.thrift.TException { _Fields setField = _Fields.findByThriftId(fieldID); if (setField != null) { switch (setField) { case MILLIS: MilliSeconds MILLIS; MILLIS = new MilliSeconds(); MILLIS.read(iprot); return MILLIS; case MICROS: MicroSeconds MICROS; MICROS = new MicroSeconds(); MICROS.read(iprot); return MICROS; case NANOS: NanoSeconds NANOS; NANOS = new NanoSeconds(); NANOS.read(iprot); return NANOS; default: throw new IllegalStateException("setField wasn't null, but didn't match any of the case statements!"); } } else { throw new TProtocolException("Couldn't find a field with field id " + fieldID); } }
MilliSeconds MILLIS; MILLIS = new MilliSeconds(); MILLIS.read(iprot); return MILLIS; } else {
MilliSeconds MILLIS; MILLIS = new MilliSeconds(); MILLIS.read(iprot); return MILLIS; } else {