Rev 9456 | Blame | Compare with Previous | Last modification | View Log | RSS feed
/*** Autogenerated by Thrift Compiler (0.7.0)** DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING*/package in.shop2020.model.v1.order;import java.util.List;import java.util.ArrayList;import java.util.Map;import java.util.HashMap;import java.util.EnumMap;import java.util.Set;import java.util.HashSet;import java.util.EnumSet;import java.util.Collections;import java.util.BitSet;import java.nio.ByteBuffer;import java.util.Arrays;import org.slf4j.Logger;import org.slf4j.LoggerFactory;public class SnapdealOrder implements org.apache.thrift.TBase<SnapdealOrder, SnapdealOrder._Fields>, java.io.Serializable, Cloneable {private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("SnapdealOrder");private static final org.apache.thrift.protocol.TField ORDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("orderId", org.apache.thrift.protocol.TType.I64, (short)1);private static final org.apache.thrift.protocol.TField REFERENCE_CODE_FIELD_DESC = new org.apache.thrift.protocol.TField("referenceCode", org.apache.thrift.protocol.TType.STRING, (short)2);private static final org.apache.thrift.protocol.TField SUB_ORDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("subOrderId", org.apache.thrift.protocol.TType.STRING, (short)3);private static final org.apache.thrift.protocol.TField LISTING_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("listingPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)4);private static final org.apache.thrift.protocol.TField PRODUCT_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("productName", org.apache.thrift.protocol.TType.STRING, (short)5);private static final org.apache.thrift.protocol.TField SNAPDEAL_TXN_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("snapdealTxnDate", org.apache.thrift.protocol.TType.I64, (short)6);private static final org.apache.thrift.protocol.TField MAX_NLC_FIELD_DESC = new org.apache.thrift.protocol.TField("maxNlc", org.apache.thrift.protocol.TType.DOUBLE, (short)7);private long orderId; // requiredprivate String referenceCode; // requiredprivate String subOrderId; // requiredprivate double listingPrice; // requiredprivate String productName; // requiredprivate long snapdealTxnDate; // requiredprivate double maxNlc; // required/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */public enum _Fields implements org.apache.thrift.TFieldIdEnum {ORDER_ID((short)1, "orderId"),REFERENCE_CODE((short)2, "referenceCode"),SUB_ORDER_ID((short)3, "subOrderId"),LISTING_PRICE((short)4, "listingPrice"),PRODUCT_NAME((short)5, "productName"),SNAPDEAL_TXN_DATE((short)6, "snapdealTxnDate"),MAX_NLC((short)7, "maxNlc");private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();static {for (_Fields field : EnumSet.allOf(_Fields.class)) {byName.put(field.getFieldName(), field);}}/*** Find the _Fields constant that matches fieldId, or null if its not found.*/public static _Fields findByThriftId(int fieldId) {switch(fieldId) {case 1: // ORDER_IDreturn ORDER_ID;case 2: // REFERENCE_CODEreturn REFERENCE_CODE;case 3: // SUB_ORDER_IDreturn SUB_ORDER_ID;case 4: // LISTING_PRICEreturn LISTING_PRICE;case 5: // PRODUCT_NAMEreturn PRODUCT_NAME;case 6: // SNAPDEAL_TXN_DATEreturn SNAPDEAL_TXN_DATE;case 7: // MAX_NLCreturn MAX_NLC;default:return null;}}/*** Find the _Fields constant that matches fieldId, throwing an exception* if it is not found.*/public static _Fields findByThriftIdOrThrow(int fieldId) {_Fields fields = findByThriftId(fieldId);if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");return fields;}/*** Find the _Fields constant that matches name, or null if its not found.*/public static _Fields findByName(String name) {return byName.get(name);}private final short _thriftId;private final String _fieldName;_Fields(short thriftId, String fieldName) {_thriftId = thriftId;_fieldName = fieldName;}public short getThriftFieldId() {return _thriftId;}public String getFieldName() {return _fieldName;}}// isset id assignmentsprivate static final int __ORDERID_ISSET_ID = 0;private static final int __LISTINGPRICE_ISSET_ID = 1;private static final int __SNAPDEALTXNDATE_ISSET_ID = 2;private static final int __MAXNLC_ISSET_ID = 3;private BitSet __isset_bit_vector = new BitSet(4);public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;static {Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);tmpMap.put(_Fields.ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("orderId", org.apache.thrift.TFieldRequirementType.DEFAULT,new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));tmpMap.put(_Fields.REFERENCE_CODE, new org.apache.thrift.meta_data.FieldMetaData("referenceCode", org.apache.thrift.TFieldRequirementType.DEFAULT,new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));tmpMap.put(_Fields.SUB_ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("subOrderId", org.apache.thrift.TFieldRequirementType.DEFAULT,new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));tmpMap.put(_Fields.LISTING_PRICE, new org.apache.thrift.meta_data.FieldMetaData("listingPrice", org.apache.thrift.TFieldRequirementType.DEFAULT,new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));tmpMap.put(_Fields.PRODUCT_NAME, new org.apache.thrift.meta_data.FieldMetaData("productName", org.apache.thrift.TFieldRequirementType.DEFAULT,new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));tmpMap.put(_Fields.SNAPDEAL_TXN_DATE, new org.apache.thrift.meta_data.FieldMetaData("snapdealTxnDate", org.apache.thrift.TFieldRequirementType.DEFAULT,new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));tmpMap.put(_Fields.MAX_NLC, new org.apache.thrift.meta_data.FieldMetaData("maxNlc", org.apache.thrift.TFieldRequirementType.DEFAULT,new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));metaDataMap = Collections.unmodifiableMap(tmpMap);org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(SnapdealOrder.class, metaDataMap);}public SnapdealOrder() {}public SnapdealOrder(long orderId,String referenceCode,String subOrderId,double listingPrice,String productName,long snapdealTxnDate,double maxNlc){this();this.orderId = orderId;setOrderIdIsSet(true);this.referenceCode = referenceCode;this.subOrderId = subOrderId;this.listingPrice = listingPrice;setListingPriceIsSet(true);this.productName = productName;this.snapdealTxnDate = snapdealTxnDate;setSnapdealTxnDateIsSet(true);this.maxNlc = maxNlc;setMaxNlcIsSet(true);}/*** Performs a deep copy on <i>other</i>.*/public SnapdealOrder(SnapdealOrder other) {__isset_bit_vector.clear();__isset_bit_vector.or(other.__isset_bit_vector);this.orderId = other.orderId;if (other.isSetReferenceCode()) {this.referenceCode = other.referenceCode;}if (other.isSetSubOrderId()) {this.subOrderId = other.subOrderId;}this.listingPrice = other.listingPrice;if (other.isSetProductName()) {this.productName = other.productName;}this.snapdealTxnDate = other.snapdealTxnDate;this.maxNlc = other.maxNlc;}public SnapdealOrder deepCopy() {return new SnapdealOrder(this);}@Overridepublic void clear() {setOrderIdIsSet(false);this.orderId = 0;this.referenceCode = null;this.subOrderId = null;setListingPriceIsSet(false);this.listingPrice = 0.0;this.productName = null;setSnapdealTxnDateIsSet(false);this.snapdealTxnDate = 0;setMaxNlcIsSet(false);this.maxNlc = 0.0;}public long getOrderId() {return this.orderId;}public void setOrderId(long orderId) {this.orderId = orderId;setOrderIdIsSet(true);}public void unsetOrderId() {__isset_bit_vector.clear(__ORDERID_ISSET_ID);}/** Returns true if field orderId is set (has been assigned a value) and false otherwise */public boolean isSetOrderId() {return __isset_bit_vector.get(__ORDERID_ISSET_ID);}public void setOrderIdIsSet(boolean value) {__isset_bit_vector.set(__ORDERID_ISSET_ID, value);}public String getReferenceCode() {return this.referenceCode;}public void setReferenceCode(String referenceCode) {this.referenceCode = referenceCode;}public void unsetReferenceCode() {this.referenceCode = null;}/** Returns true if field referenceCode is set (has been assigned a value) and false otherwise */public boolean isSetReferenceCode() {return this.referenceCode != null;}public void setReferenceCodeIsSet(boolean value) {if (!value) {this.referenceCode = null;}}public String getSubOrderId() {return this.subOrderId;}public void setSubOrderId(String subOrderId) {this.subOrderId = subOrderId;}public void unsetSubOrderId() {this.subOrderId = null;}/** Returns true if field subOrderId is set (has been assigned a value) and false otherwise */public boolean isSetSubOrderId() {return this.subOrderId != null;}public void setSubOrderIdIsSet(boolean value) {if (!value) {this.subOrderId = null;}}public double getListingPrice() {return this.listingPrice;}public void setListingPrice(double listingPrice) {this.listingPrice = listingPrice;setListingPriceIsSet(true);}public void unsetListingPrice() {__isset_bit_vector.clear(__LISTINGPRICE_ISSET_ID);}/** Returns true if field listingPrice is set (has been assigned a value) and false otherwise */public boolean isSetListingPrice() {return __isset_bit_vector.get(__LISTINGPRICE_ISSET_ID);}public void setListingPriceIsSet(boolean value) {__isset_bit_vector.set(__LISTINGPRICE_ISSET_ID, value);}public String getProductName() {return this.productName;}public void setProductName(String productName) {this.productName = productName;}public void unsetProductName() {this.productName = null;}/** Returns true if field productName is set (has been assigned a value) and false otherwise */public boolean isSetProductName() {return this.productName != null;}public void setProductNameIsSet(boolean value) {if (!value) {this.productName = null;}}public long getSnapdealTxnDate() {return this.snapdealTxnDate;}public void setSnapdealTxnDate(long snapdealTxnDate) {this.snapdealTxnDate = snapdealTxnDate;setSnapdealTxnDateIsSet(true);}public void unsetSnapdealTxnDate() {__isset_bit_vector.clear(__SNAPDEALTXNDATE_ISSET_ID);}/** Returns true if field snapdealTxnDate is set (has been assigned a value) and false otherwise */public boolean isSetSnapdealTxnDate() {return __isset_bit_vector.get(__SNAPDEALTXNDATE_ISSET_ID);}public void setSnapdealTxnDateIsSet(boolean value) {__isset_bit_vector.set(__SNAPDEALTXNDATE_ISSET_ID, value);}public double getMaxNlc() {return this.maxNlc;}public void setMaxNlc(double maxNlc) {this.maxNlc = maxNlc;setMaxNlcIsSet(true);}public void unsetMaxNlc() {__isset_bit_vector.clear(__MAXNLC_ISSET_ID);}/** Returns true if field maxNlc is set (has been assigned a value) and false otherwise */public boolean isSetMaxNlc() {return __isset_bit_vector.get(__MAXNLC_ISSET_ID);}public void setMaxNlcIsSet(boolean value) {__isset_bit_vector.set(__MAXNLC_ISSET_ID, value);}public void setFieldValue(_Fields field, Object value) {switch (field) {case ORDER_ID:if (value == null) {unsetOrderId();} else {setOrderId((Long)value);}break;case REFERENCE_CODE:if (value == null) {unsetReferenceCode();} else {setReferenceCode((String)value);}break;case SUB_ORDER_ID:if (value == null) {unsetSubOrderId();} else {setSubOrderId((String)value);}break;case LISTING_PRICE:if (value == null) {unsetListingPrice();} else {setListingPrice((Double)value);}break;case PRODUCT_NAME:if (value == null) {unsetProductName();} else {setProductName((String)value);}break;case SNAPDEAL_TXN_DATE:if (value == null) {unsetSnapdealTxnDate();} else {setSnapdealTxnDate((Long)value);}break;case MAX_NLC:if (value == null) {unsetMaxNlc();} else {setMaxNlc((Double)value);}break;}}public Object getFieldValue(_Fields field) {switch (field) {case ORDER_ID:return Long.valueOf(getOrderId());case REFERENCE_CODE:return getReferenceCode();case SUB_ORDER_ID:return getSubOrderId();case LISTING_PRICE:return Double.valueOf(getListingPrice());case PRODUCT_NAME:return getProductName();case SNAPDEAL_TXN_DATE:return Long.valueOf(getSnapdealTxnDate());case MAX_NLC:return Double.valueOf(getMaxNlc());}throw new IllegalStateException();}/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */public boolean isSet(_Fields field) {if (field == null) {throw new IllegalArgumentException();}switch (field) {case ORDER_ID:return isSetOrderId();case REFERENCE_CODE:return isSetReferenceCode();case SUB_ORDER_ID:return isSetSubOrderId();case LISTING_PRICE:return isSetListingPrice();case PRODUCT_NAME:return isSetProductName();case SNAPDEAL_TXN_DATE:return isSetSnapdealTxnDate();case MAX_NLC:return isSetMaxNlc();}throw new IllegalStateException();}@Overridepublic boolean equals(Object that) {if (that == null)return false;if (that instanceof SnapdealOrder)return this.equals((SnapdealOrder)that);return false;}public boolean equals(SnapdealOrder that) {if (that == null)return false;boolean this_present_orderId = true;boolean that_present_orderId = true;if (this_present_orderId || that_present_orderId) {if (!(this_present_orderId && that_present_orderId))return false;if (this.orderId != that.orderId)return false;}boolean this_present_referenceCode = true && this.isSetReferenceCode();boolean that_present_referenceCode = true && that.isSetReferenceCode();if (this_present_referenceCode || that_present_referenceCode) {if (!(this_present_referenceCode && that_present_referenceCode))return false;if (!this.referenceCode.equals(that.referenceCode))return false;}boolean this_present_subOrderId = true && this.isSetSubOrderId();boolean that_present_subOrderId = true && that.isSetSubOrderId();if (this_present_subOrderId || that_present_subOrderId) {if (!(this_present_subOrderId && that_present_subOrderId))return false;if (!this.subOrderId.equals(that.subOrderId))return false;}boolean this_present_listingPrice = true;boolean that_present_listingPrice = true;if (this_present_listingPrice || that_present_listingPrice) {if (!(this_present_listingPrice && that_present_listingPrice))return false;if (this.listingPrice != that.listingPrice)return false;}boolean this_present_productName = true && this.isSetProductName();boolean that_present_productName = true && that.isSetProductName();if (this_present_productName || that_present_productName) {if (!(this_present_productName && that_present_productName))return false;if (!this.productName.equals(that.productName))return false;}boolean this_present_snapdealTxnDate = true;boolean that_present_snapdealTxnDate = true;if (this_present_snapdealTxnDate || that_present_snapdealTxnDate) {if (!(this_present_snapdealTxnDate && that_present_snapdealTxnDate))return false;if (this.snapdealTxnDate != that.snapdealTxnDate)return false;}boolean this_present_maxNlc = true;boolean that_present_maxNlc = true;if (this_present_maxNlc || that_present_maxNlc) {if (!(this_present_maxNlc && that_present_maxNlc))return false;if (this.maxNlc != that.maxNlc)return false;}return true;}@Overridepublic int hashCode() {return 0;}public int compareTo(SnapdealOrder other) {if (!getClass().equals(other.getClass())) {return getClass().getName().compareTo(other.getClass().getName());}int lastComparison = 0;SnapdealOrder typedOther = (SnapdealOrder)other;lastComparison = Boolean.valueOf(isSetOrderId()).compareTo(typedOther.isSetOrderId());if (lastComparison != 0) {return lastComparison;}if (isSetOrderId()) {lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.orderId, typedOther.orderId);if (lastComparison != 0) {return lastComparison;}}lastComparison = Boolean.valueOf(isSetReferenceCode()).compareTo(typedOther.isSetReferenceCode());if (lastComparison != 0) {return lastComparison;}if (isSetReferenceCode()) {lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.referenceCode, typedOther.referenceCode);if (lastComparison != 0) {return lastComparison;}}lastComparison = Boolean.valueOf(isSetSubOrderId()).compareTo(typedOther.isSetSubOrderId());if (lastComparison != 0) {return lastComparison;}if (isSetSubOrderId()) {lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.subOrderId, typedOther.subOrderId);if (lastComparison != 0) {return lastComparison;}}lastComparison = Boolean.valueOf(isSetListingPrice()).compareTo(typedOther.isSetListingPrice());if (lastComparison != 0) {return lastComparison;}if (isSetListingPrice()) {lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.listingPrice, typedOther.listingPrice);if (lastComparison != 0) {return lastComparison;}}lastComparison = Boolean.valueOf(isSetProductName()).compareTo(typedOther.isSetProductName());if (lastComparison != 0) {return lastComparison;}if (isSetProductName()) {lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.productName, typedOther.productName);if (lastComparison != 0) {return lastComparison;}}lastComparison = Boolean.valueOf(isSetSnapdealTxnDate()).compareTo(typedOther.isSetSnapdealTxnDate());if (lastComparison != 0) {return lastComparison;}if (isSetSnapdealTxnDate()) {lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.snapdealTxnDate, typedOther.snapdealTxnDate);if (lastComparison != 0) {return lastComparison;}}lastComparison = Boolean.valueOf(isSetMaxNlc()).compareTo(typedOther.isSetMaxNlc());if (lastComparison != 0) {return lastComparison;}if (isSetMaxNlc()) {lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maxNlc, typedOther.maxNlc);if (lastComparison != 0) {return lastComparison;}}return 0;}public _Fields fieldForId(int fieldId) {return _Fields.findByThriftId(fieldId);}public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {org.apache.thrift.protocol.TField field;iprot.readStructBegin();while (true){field = iprot.readFieldBegin();if (field.type == org.apache.thrift.protocol.TType.STOP) {break;}switch (field.id) {case 1: // ORDER_IDif (field.type == org.apache.thrift.protocol.TType.I64) {this.orderId = iprot.readI64();setOrderIdIsSet(true);} else {org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);}break;case 2: // REFERENCE_CODEif (field.type == org.apache.thrift.protocol.TType.STRING) {this.referenceCode = iprot.readString();} else {org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);}break;case 3: // SUB_ORDER_IDif (field.type == org.apache.thrift.protocol.TType.STRING) {this.subOrderId = iprot.readString();} else {org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);}break;case 4: // LISTING_PRICEif (field.type == org.apache.thrift.protocol.TType.DOUBLE) {this.listingPrice = iprot.readDouble();setListingPriceIsSet(true);} else {org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);}break;case 5: // PRODUCT_NAMEif (field.type == org.apache.thrift.protocol.TType.STRING) {this.productName = iprot.readString();} else {org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);}break;case 6: // SNAPDEAL_TXN_DATEif (field.type == org.apache.thrift.protocol.TType.I64) {this.snapdealTxnDate = iprot.readI64();setSnapdealTxnDateIsSet(true);} else {org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);}break;case 7: // MAX_NLCif (field.type == org.apache.thrift.protocol.TType.DOUBLE) {this.maxNlc = iprot.readDouble();setMaxNlcIsSet(true);} else {org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);}break;default:org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);}iprot.readFieldEnd();}iprot.readStructEnd();validate();}public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {validate();oprot.writeStructBegin(STRUCT_DESC);oprot.writeFieldBegin(ORDER_ID_FIELD_DESC);oprot.writeI64(this.orderId);oprot.writeFieldEnd();if (this.referenceCode != null) {oprot.writeFieldBegin(REFERENCE_CODE_FIELD_DESC);oprot.writeString(this.referenceCode);oprot.writeFieldEnd();}if (this.subOrderId != null) {oprot.writeFieldBegin(SUB_ORDER_ID_FIELD_DESC);oprot.writeString(this.subOrderId);oprot.writeFieldEnd();}oprot.writeFieldBegin(LISTING_PRICE_FIELD_DESC);oprot.writeDouble(this.listingPrice);oprot.writeFieldEnd();if (this.productName != null) {oprot.writeFieldBegin(PRODUCT_NAME_FIELD_DESC);oprot.writeString(this.productName);oprot.writeFieldEnd();}oprot.writeFieldBegin(SNAPDEAL_TXN_DATE_FIELD_DESC);oprot.writeI64(this.snapdealTxnDate);oprot.writeFieldEnd();oprot.writeFieldBegin(MAX_NLC_FIELD_DESC);oprot.writeDouble(this.maxNlc);oprot.writeFieldEnd();oprot.writeFieldStop();oprot.writeStructEnd();}@Overridepublic String toString() {StringBuilder sb = new StringBuilder("SnapdealOrder(");boolean first = true;sb.append("orderId:");sb.append(this.orderId);first = false;if (!first) sb.append(", ");sb.append("referenceCode:");if (this.referenceCode == null) {sb.append("null");} else {sb.append(this.referenceCode);}first = false;if (!first) sb.append(", ");sb.append("subOrderId:");if (this.subOrderId == null) {sb.append("null");} else {sb.append(this.subOrderId);}first = false;if (!first) sb.append(", ");sb.append("listingPrice:");sb.append(this.listingPrice);first = false;if (!first) sb.append(", ");sb.append("productName:");if (this.productName == null) {sb.append("null");} else {sb.append(this.productName);}first = false;if (!first) sb.append(", ");sb.append("snapdealTxnDate:");sb.append(this.snapdealTxnDate);first = false;if (!first) sb.append(", ");sb.append("maxNlc:");sb.append(this.maxNlc);first = false;sb.append(")");return sb.toString();}public void validate() throws org.apache.thrift.TException {// check for required fields}private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {try {write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));} catch (org.apache.thrift.TException te) {throw new java.io.IOException(te);}}private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {try {// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.__isset_bit_vector = new BitSet(1);read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));} catch (org.apache.thrift.TException te) {throw new java.io.IOException(te);}}}