if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.hostName = iprot.readString(); struct.setHostNameIsSet(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); } } }
if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.hostName = iprot.readString(); struct.setHostNameIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.hostName = iprot.readString(); struct.setHostNameIsSet(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); } } }