if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.service_name = iprot.readString(); struct.setService_nameIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, Endpoint struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { struct.ipv4 = iprot.readI32(); struct.setIpv4IsSet(true); } if (incoming.get(1)) { struct.port = iprot.readI16(); struct.setPortIsSet(true); } if (incoming.get(2)) { struct.service_name = iprot.readString(); struct.setService_nameIsSet(true); } } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, Endpoint struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { struct.ipv4 = iprot.readI32(); struct.setIpv4IsSet(true); } if (incoming.get(1)) { struct.port = iprot.readI16(); struct.setPortIsSet(true); } if (incoming.get(2)) { struct.service_name = iprot.readString(); struct.setService_nameIsSet(true); } } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, Endpoint struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { struct.ipv4 = iprot.readI32(); struct.setIpv4IsSet(true); } if (incoming.get(1)) { struct.port = iprot.readI16(); struct.setPortIsSet(true); } if (incoming.get(2)) { struct.service_name = iprot.readString(); struct.setService_nameIsSet(true); } } }
if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.service_name = iprot.readString(); struct.setService_nameIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.service_name = iprot.readString(); struct.setService_nameIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);