public Annotation( long timestamp, String value) { this(); this.timestamp = timestamp; setTimestampIsSet(true); this.value = value; }
public Annotation( long timestamp, String value) { this(); this.timestamp = timestamp; setTimestampIsSet(true); this.value = value; }
public Annotation setTimestamp(long timestamp) { this.timestamp = timestamp; setTimestampIsSet(true); return this; }
@Override public void clear() { setTimestampIsSet(false); this.timestamp = 0; this.value = null; this.host = null; }
public Annotation setTimestamp(long timestamp) { this.timestamp = timestamp; setTimestampIsSet(true); return this; }
@Override public void clear() { setTimestampIsSet(false); this.timestamp = 0; this.value = null; this.host = null; }
public Annotation( long timestamp, String value) { this(); this.timestamp = timestamp; setTimestampIsSet(true); this.value = value; }
public Annotation setTimestamp(long timestamp) { this.timestamp = timestamp; setTimestampIsSet(true); return this; }
@Override public void clear() { setTimestampIsSet(false); this.timestamp = 0; this.value = null; this.host = null; setDurationIsSet(false); this.duration = 0; }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, Annotation struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { struct.timestamp = iprot.readI64(); struct.setTimestampIsSet(true); } if (incoming.get(1)) { struct.value = iprot.readString(); struct.setValueIsSet(true); } if (incoming.get(2)) { struct.host = new Endpoint(); struct.host.read(iprot); struct.setHostIsSet(true); } } }
if (schemeField.type == org.apache.thrift.protocol.TType.I64) { struct.timestamp = iprot.readI64(); struct.setTimestampIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, Annotation struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { struct.timestamp = iprot.readI64(); struct.setTimestampIsSet(true); } if (incoming.get(1)) { struct.value = iprot.readString(); struct.setValueIsSet(true); } if (incoming.get(2)) { struct.host = new Endpoint(); struct.host.read(iprot); struct.setHostIsSet(true); } } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, Annotation struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { struct.timestamp = iprot.readI64(); struct.setTimestampIsSet(true); } if (incoming.get(1)) { struct.value = iprot.readString(); struct.setValueIsSet(true); } if (incoming.get(2)) { struct.host = new Endpoint(); struct.host.read(iprot); struct.setHostIsSet(true); } if (incoming.get(3)) { struct.duration = iprot.readI32(); struct.setDurationIsSet(true); } } }
if (schemeField.type == org.apache.thrift.protocol.TType.I64) { struct.timestamp = iprot.readI64(); struct.setTimestampIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
if (schemeField.type == org.apache.thrift.protocol.TType.I64) { struct.timestamp = iprot.readI64(); struct.setTimestampIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);