@Override public void clear() { setConnIdIsSet(false); this.connId = 0; this.clientHostName = null; this.clientID = null; this.userName = null; this.token = null; }
public ConnectionProperties setConnId(int connId) { this.connId = connId; setConnIdIsSet(true); return this; }
public ConnectionProperties( int connId, String clientHostName, String clientID) { this(); this.connId = connId; setConnIdIsSet(true); this.clientHostName = clientHostName; this.clientID = clientID; }
if (schemeField.type == org.apache.thrift.protocol.TType.I32) { struct.connId = iprot.readI32(); struct.setConnIdIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, ConnectionProperties struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.connId = iprot.readI32(); struct.setConnIdIsSet(true); struct.clientHostName = iprot.readString(); struct.setClientHostNameIsSet(true); struct.clientID = iprot.readString(); struct.setClientIDIsSet(true); BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { struct.userName = iprot.readString(); struct.setUserNameIsSet(true); } if (incoming.get(1)) { struct.token = iprot.readBinary(); struct.setTokenIsSet(true); } } }