public RecoveryStatus setRuntime(int runtime) { this.runtime = runtime; setRuntimeIsSet(true); return this; }
public RecoveryStatus( java.lang.String name, int runtime, double progress) { this(); this.name = name; this.runtime = runtime; setRuntimeIsSet(true); this.progress = progress; setProgressIsSet(true); }
@Override public void clear() { this.name = null; setRuntimeIsSet(false); this.runtime = 0; setProgressIsSet(false); this.progress = 0.0; }
if (schemeField.type == org.apache.thrift.protocol.TType.I32) { struct.runtime = iprot.readI32(); struct.setRuntimeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, RecoveryStatus struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { struct.name = iprot.readString(); struct.setNameIsSet(true); } if (incoming.get(1)) { struct.runtime = iprot.readI32(); struct.setRuntimeIsSet(true); } if (incoming.get(2)) { struct.progress = iprot.readDouble(); struct.setProgressIsSet(true); } } }
public RecoveryStatus setRuntime(int runtime) { this.runtime = runtime; setRuntimeIsSet(true); return this; }
public RecoveryStatus( String name, int runtime, double progress) { this(); this.name = name; this.runtime = runtime; setRuntimeIsSet(true); this.progress = progress; setProgressIsSet(true); }
@Override public void clear() { this.name = null; setRuntimeIsSet(false); this.runtime = 0; setProgressIsSet(false); this.progress = 0.0; }
if (schemeField.type == org.apache.thrift.protocol.TType.I32) { struct.runtime = iprot.readI32(); struct.setRuntimeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, RecoveryStatus struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { struct.name = iprot.readString(); struct.setNameIsSet(true); } if (incoming.get(1)) { struct.runtime = iprot.readI32(); struct.setRuntimeIsSet(true); } if (incoming.get(2)) { struct.progress = iprot.readDouble(); struct.setProgressIsSet(true); } } }