struct.host = new Endpoint(); struct.host.read(iprot); struct.setHostIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, BinaryAnnotation struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { struct.key = iprot.readString(); struct.setKeyIsSet(true); } if (incoming.get(1)) { struct.value = iprot.readBinary(); struct.setValueIsSet(true); } if (incoming.get(2)) { struct.annotation_type = AnnotationType.findByValue(iprot.readI32()); struct.setAnnotation_typeIsSet(true); } if (incoming.get(3)) { struct.host = new Endpoint(); struct.host.read(iprot); struct.setHostIsSet(true); } } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, BinaryAnnotation struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { struct.key = iprot.readString(); struct.setKeyIsSet(true); } if (incoming.get(1)) { struct.value = iprot.readBinary(); struct.setValueIsSet(true); } if (incoming.get(2)) { struct.annotation_type = AnnotationType.findByValue(iprot.readI32()); struct.setAnnotation_typeIsSet(true); } if (incoming.get(3)) { struct.host = new Endpoint(); struct.host.read(iprot); struct.setHostIsSet(true); } } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, BinaryAnnotation struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { struct.key = iprot.readString(); struct.setKeyIsSet(true); } if (incoming.get(1)) { struct.value = iprot.readBinary(); struct.setValueIsSet(true); } if (incoming.get(2)) { struct.annotation_type = AnnotationType.findByValue(iprot.readI32()); struct.setAnnotation_typeIsSet(true); } if (incoming.get(3)) { struct.host = new Endpoint(); struct.host.read(iprot); struct.setHostIsSet(true); } } }
struct.host = new Endpoint(); struct.host.read(iprot); struct.setHostIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
struct.host = new Endpoint(); struct.host.read(iprot); struct.setHostIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);