public TServerName setPort(int port) { this.port = port; setPortIsSet(true); return this; }
@Override public void clear() { this.hostName = null; setPortIsSet(false); this.port = 0; setStartCodeIsSet(false); this.startCode = 0; }
if (schemeField.type == org.apache.thrift.protocol.TType.I32) { struct.port = iprot.readI32(); struct.setPortIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, TServerName struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; struct.hostName = iprot.readString(); struct.setHostNameIsSet(true); java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { struct.port = iprot.readI32(); struct.setPortIsSet(true); } if (incoming.get(1)) { struct.startCode = iprot.readI64(); struct.setStartCodeIsSet(true); } } }
public TServerName setPort(int port) { this.port = port; setPortIsSet(true); return this; }
public TServerName setPort(int port) { this.port = port; setPortIsSet(true); return this; }
@Override public void clear() { this.hostName = null; setPortIsSet(false); this.port = 0; setStartCodeIsSet(false); this.startCode = 0; }
@Override public void clear() { this.hostName = null; setPortIsSet(false); this.port = 0; setStartCodeIsSet(false); this.startCode = 0; }
if (schemeField.type == org.apache.thrift.protocol.TType.I32) { struct.port = iprot.readI32(); struct.setPortIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
if (schemeField.type == org.apache.thrift.protocol.TType.I32) { struct.port = iprot.readI32(); struct.setPortIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, TServerName struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.hostName = iprot.readString(); struct.setHostNameIsSet(true); BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { struct.port = iprot.readI32(); struct.setPortIsSet(true); } if (incoming.get(1)) { struct.startCode = iprot.readI64(); struct.setStartCodeIsSet(true); } } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, TServerName struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.hostName = iprot.readString(); struct.setHostNameIsSet(true); BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { struct.port = iprot.readI32(); struct.setPortIsSet(true); } if (incoming.get(1)) { struct.startCode = iprot.readI64(); struct.setStartCodeIsSet(true); } } }