Rev 12256 | 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.catalog;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 CompetitorPricing implements org.apache.thrift.TBase<CompetitorPricing, CompetitorPricing._Fields>, java.io.Serializable, Cloneable {private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("CompetitorPricing");private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("item_id", org.apache.thrift.protocol.TType.I64, (short)1);private static final org.apache.thrift.protocol.TField IS_SNAPDEAL_FIELD_DESC = new org.apache.thrift.protocol.TField("isSnapdeal", org.apache.thrift.protocol.TType.BOOL, (short)2);private static final org.apache.thrift.protocol.TField IS_FLIPKART_FIELD_DESC = new org.apache.thrift.protocol.TField("isFlipkart", org.apache.thrift.protocol.TType.BOOL, (short)3);private static final org.apache.thrift.protocol.TField IS_AMAZON_FIELD_DESC = new org.apache.thrift.protocol.TField("isAmazon", org.apache.thrift.protocol.TType.BOOL, (short)4);private static final org.apache.thrift.protocol.TField LOWEST_SNAPDEAL_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("lowestSnapdealPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)5);private static final org.apache.thrift.protocol.TField LOWEST_FLIPKART_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("lowestFlipkartPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)6);private static final org.apache.thrift.protocol.TField PROCESSED_FIELD_DESC = new org.apache.thrift.protocol.TField("processed", org.apache.thrift.protocol.TType.BOOL, (short)7);private static final org.apache.thrift.protocol.TField UPLOAD_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("uploadId", org.apache.thrift.protocol.TType.I64, (short)8);private static final org.apache.thrift.protocol.TField USER_EMAIL_FIELD_DESC = new org.apache.thrift.protocol.TField("userEmail", org.apache.thrift.protocol.TType.STRING, (short)9);private static final org.apache.thrift.protocol.TField OUR_SNAPDEAL_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("ourSnapdealPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)10);private static final org.apache.thrift.protocol.TField OUR_SNAPDEAL_OFFER_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("ourSnapdealOfferPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)11);private static final org.apache.thrift.protocol.TField OUR_SNAPDEAL_INVENTORY_FIELD_DESC = new org.apache.thrift.protocol.TField("ourSnapdealInventory", org.apache.thrift.protocol.TType.I64, (short)12);private static final org.apache.thrift.protocol.TField LOWEST_SNAPDEAL_OFFER_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("lowestSnapdealOfferPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)13);private static final org.apache.thrift.protocol.TField LOWEST_SNAPDEAL_SELLER_FIELD_DESC = new org.apache.thrift.protocol.TField("lowestSnapdealSeller", org.apache.thrift.protocol.TType.STRING, (short)14);private static final org.apache.thrift.protocol.TField LOWEST_SNAPDEAL_SELLER_INVENTORY_FIELD_DESC = new org.apache.thrift.protocol.TField("lowestSnapdealSellerInventory", org.apache.thrift.protocol.TType.I64, (short)15);private static final org.apache.thrift.protocol.TField OUR_FLIPKART_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("ourFlipkartPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)16);private static final org.apache.thrift.protocol.TField OUR_FLIPKART_INVENTORY_FIELD_DESC = new org.apache.thrift.protocol.TField("ourFlipkartInventory", org.apache.thrift.protocol.TType.I64, (short)17);private static final org.apache.thrift.protocol.TField LOWEST_FLIPKART_SELLER_FIELD_DESC = new org.apache.thrift.protocol.TField("lowestFlipkartSeller", org.apache.thrift.protocol.TType.STRING, (short)18);private static final org.apache.thrift.protocol.TField OUR_AMAZON_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("ourAmazonPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)19);private static final org.apache.thrift.protocol.TField LOWEST_AMAZON_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("lowestAmazonPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)20);private static final org.apache.thrift.protocol.TField LOWEST_AMAZON_SELLER_FIELD_DESC = new org.apache.thrift.protocol.TField("lowestAmazonSeller", org.apache.thrift.protocol.TType.STRING, (short)21);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)22);private long item_id; // requiredprivate boolean isSnapdeal; // requiredprivate boolean isFlipkart; // requiredprivate boolean isAmazon; // requiredprivate double lowestSnapdealPrice; // requiredprivate double lowestFlipkartPrice; // requiredprivate boolean processed; // requiredprivate long uploadId; // requiredprivate String userEmail; // requiredprivate double ourSnapdealPrice; // requiredprivate double ourSnapdealOfferPrice; // requiredprivate long ourSnapdealInventory; // requiredprivate double lowestSnapdealOfferPrice; // requiredprivate String lowestSnapdealSeller; // requiredprivate long lowestSnapdealSellerInventory; // requiredprivate double ourFlipkartPrice; // requiredprivate long ourFlipkartInventory; // requiredprivate String lowestFlipkartSeller; // requiredprivate double ourAmazonPrice; // requiredprivate double lowestAmazonPrice; // requiredprivate String lowestAmazonSeller; // requiredprivate String productName; // 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 {ITEM_ID((short)1, "item_id"),IS_SNAPDEAL((short)2, "isSnapdeal"),IS_FLIPKART((short)3, "isFlipkart"),IS_AMAZON((short)4, "isAmazon"),LOWEST_SNAPDEAL_PRICE((short)5, "lowestSnapdealPrice"),LOWEST_FLIPKART_PRICE((short)6, "lowestFlipkartPrice"),PROCESSED((short)7, "processed"),UPLOAD_ID((short)8, "uploadId"),USER_EMAIL((short)9, "userEmail"),OUR_SNAPDEAL_PRICE((short)10, "ourSnapdealPrice"),OUR_SNAPDEAL_OFFER_PRICE((short)11, "ourSnapdealOfferPrice"),OUR_SNAPDEAL_INVENTORY((short)12, "ourSnapdealInventory"),LOWEST_SNAPDEAL_OFFER_PRICE((short)13, "lowestSnapdealOfferPrice"),LOWEST_SNAPDEAL_SELLER((short)14, "lowestSnapdealSeller"),LOWEST_SNAPDEAL_SELLER_INVENTORY((short)15, "lowestSnapdealSellerInventory"),OUR_FLIPKART_PRICE((short)16, "ourFlipkartPrice"),OUR_FLIPKART_INVENTORY((short)17, "ourFlipkartInventory"),LOWEST_FLIPKART_SELLER((short)18, "lowestFlipkartSeller"),OUR_AMAZON_PRICE((short)19, "ourAmazonPrice"),LOWEST_AMAZON_PRICE((short)20, "lowestAmazonPrice"),LOWEST_AMAZON_SELLER((short)21, "lowestAmazonSeller"),PRODUCT_NAME((short)22, "productName");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: // ITEM_IDreturn ITEM_ID;case 2: // IS_SNAPDEALreturn IS_SNAPDEAL;case 3: // IS_FLIPKARTreturn IS_FLIPKART;case 4: // IS_AMAZONreturn IS_AMAZON;case 5: // LOWEST_SNAPDEAL_PRICEreturn LOWEST_SNAPDEAL_PRICE;case 6: // LOWEST_FLIPKART_PRICEreturn LOWEST_FLIPKART_PRICE;case 7: // PROCESSEDreturn PROCESSED;case 8: // UPLOAD_IDreturn UPLOAD_ID;case 9: // USER_EMAILreturn USER_EMAIL;case 10: // OUR_SNAPDEAL_PRICEreturn OUR_SNAPDEAL_PRICE;case 11: // OUR_SNAPDEAL_OFFER_PRICEreturn OUR_SNAPDEAL_OFFER_PRICE;case 12: // OUR_SNAPDEAL_INVENTORYreturn OUR_SNAPDEAL_INVENTORY;case 13: // LOWEST_SNAPDEAL_OFFER_PRICEreturn LOWEST_SNAPDEAL_OFFER_PRICE;case 14: // LOWEST_SNAPDEAL_SELLERreturn LOWEST_SNAPDEAL_SELLER;case 15: // LOWEST_SNAPDEAL_SELLER_INVENTORYreturn LOWEST_SNAPDEAL_SELLER_INVENTORY;case 16: // OUR_FLIPKART_PRICEreturn OUR_FLIPKART_PRICE;case 17: // OUR_FLIPKART_INVENTORYreturn OUR_FLIPKART_INVENTORY;case 18: // LOWEST_FLIPKART_SELLERreturn LOWEST_FLIPKART_SELLER;case 19: // OUR_AMAZON_PRICEreturn OUR_AMAZON_PRICE;case 20: // LOWEST_AMAZON_PRICEreturn LOWEST_AMAZON_PRICE;case 21: // LOWEST_AMAZON_SELLERreturn LOWEST_AMAZON_SELLER;case 22: // PRODUCT_NAMEreturn PRODUCT_NAME;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 __ITEM_ID_ISSET_ID = 0;private static final int __ISSNAPDEAL_ISSET_ID = 1;private static final int __ISFLIPKART_ISSET_ID = 2;private static final int __ISAMAZON_ISSET_ID = 3;private static final int __LOWESTSNAPDEALPRICE_ISSET_ID = 4;private static final int __LOWESTFLIPKARTPRICE_ISSET_ID = 5;private static final int __PROCESSED_ISSET_ID = 6;private static final int __UPLOADID_ISSET_ID = 7;private static final int __OURSNAPDEALPRICE_ISSET_ID = 8;private static final int __OURSNAPDEALOFFERPRICE_ISSET_ID = 9;private static final int __OURSNAPDEALINVENTORY_ISSET_ID = 10;private static final int __LOWESTSNAPDEALOFFERPRICE_ISSET_ID = 11;private static final int __LOWESTSNAPDEALSELLERINVENTORY_ISSET_ID = 12;private static final int __OURFLIPKARTPRICE_ISSET_ID = 13;private static final int __OURFLIPKARTINVENTORY_ISSET_ID = 14;private static final int __OURAMAZONPRICE_ISSET_ID = 15;private static final int __LOWESTAMAZONPRICE_ISSET_ID = 16;private BitSet __isset_bit_vector = new BitSet(17);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.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("item_id", org.apache.thrift.TFieldRequirementType.DEFAULT,new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));tmpMap.put(_Fields.IS_SNAPDEAL, new org.apache.thrift.meta_data.FieldMetaData("isSnapdeal", org.apache.thrift.TFieldRequirementType.DEFAULT,new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));tmpMap.put(_Fields.IS_FLIPKART, new org.apache.thrift.meta_data.FieldMetaData("isFlipkart", org.apache.thrift.TFieldRequirementType.DEFAULT,new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));tmpMap.put(_Fields.IS_AMAZON, new org.apache.thrift.meta_data.FieldMetaData("isAmazon", org.apache.thrift.TFieldRequirementType.DEFAULT,new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));tmpMap.put(_Fields.LOWEST_SNAPDEAL_PRICE, new org.apache.thrift.meta_data.FieldMetaData("lowestSnapdealPrice", org.apache.thrift.TFieldRequirementType.DEFAULT,new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));tmpMap.put(_Fields.LOWEST_FLIPKART_PRICE, new org.apache.thrift.meta_data.FieldMetaData("lowestFlipkartPrice", org.apache.thrift.TFieldRequirementType.DEFAULT,new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));tmpMap.put(_Fields.PROCESSED, new org.apache.thrift.meta_data.FieldMetaData("processed", org.apache.thrift.TFieldRequirementType.DEFAULT,new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));tmpMap.put(_Fields.UPLOAD_ID, new org.apache.thrift.meta_data.FieldMetaData("uploadId", org.apache.thrift.TFieldRequirementType.DEFAULT,new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));tmpMap.put(_Fields.USER_EMAIL, new org.apache.thrift.meta_data.FieldMetaData("userEmail", org.apache.thrift.TFieldRequirementType.DEFAULT,new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));tmpMap.put(_Fields.OUR_SNAPDEAL_PRICE, new org.apache.thrift.meta_data.FieldMetaData("ourSnapdealPrice", org.apache.thrift.TFieldRequirementType.DEFAULT,new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));tmpMap.put(_Fields.OUR_SNAPDEAL_OFFER_PRICE, new org.apache.thrift.meta_data.FieldMetaData("ourSnapdealOfferPrice", org.apache.thrift.TFieldRequirementType.DEFAULT,new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));tmpMap.put(_Fields.OUR_SNAPDEAL_INVENTORY, new org.apache.thrift.meta_data.FieldMetaData("ourSnapdealInventory", org.apache.thrift.TFieldRequirementType.DEFAULT,new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));tmpMap.put(_Fields.LOWEST_SNAPDEAL_OFFER_PRICE, new org.apache.thrift.meta_data.FieldMetaData("lowestSnapdealOfferPrice", org.apache.thrift.TFieldRequirementType.DEFAULT,new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));tmpMap.put(_Fields.LOWEST_SNAPDEAL_SELLER, new org.apache.thrift.meta_data.FieldMetaData("lowestSnapdealSeller", org.apache.thrift.TFieldRequirementType.DEFAULT,new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));tmpMap.put(_Fields.LOWEST_SNAPDEAL_SELLER_INVENTORY, new org.apache.thrift.meta_data.FieldMetaData("lowestSnapdealSellerInventory", org.apache.thrift.TFieldRequirementType.DEFAULT,new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));tmpMap.put(_Fields.OUR_FLIPKART_PRICE, new org.apache.thrift.meta_data.FieldMetaData("ourFlipkartPrice", org.apache.thrift.TFieldRequirementType.DEFAULT,new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));tmpMap.put(_Fields.OUR_FLIPKART_INVENTORY, new org.apache.thrift.meta_data.FieldMetaData("ourFlipkartInventory", org.apache.thrift.TFieldRequirementType.DEFAULT,new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));tmpMap.put(_Fields.LOWEST_FLIPKART_SELLER, new org.apache.thrift.meta_data.FieldMetaData("lowestFlipkartSeller", org.apache.thrift.TFieldRequirementType.DEFAULT,new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));tmpMap.put(_Fields.OUR_AMAZON_PRICE, new org.apache.thrift.meta_data.FieldMetaData("ourAmazonPrice", org.apache.thrift.TFieldRequirementType.DEFAULT,new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));tmpMap.put(_Fields.LOWEST_AMAZON_PRICE, new org.apache.thrift.meta_data.FieldMetaData("lowestAmazonPrice", org.apache.thrift.TFieldRequirementType.DEFAULT,new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));tmpMap.put(_Fields.LOWEST_AMAZON_SELLER, new org.apache.thrift.meta_data.FieldMetaData("lowestAmazonSeller", org.apache.thrift.TFieldRequirementType.DEFAULT,new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));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)));metaDataMap = Collections.unmodifiableMap(tmpMap);org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(CompetitorPricing.class, metaDataMap);}public CompetitorPricing() {}public CompetitorPricing(long item_id,boolean isSnapdeal,boolean isFlipkart,boolean isAmazon,double lowestSnapdealPrice,double lowestFlipkartPrice,boolean processed,long uploadId,String userEmail,double ourSnapdealPrice,double ourSnapdealOfferPrice,long ourSnapdealInventory,double lowestSnapdealOfferPrice,String lowestSnapdealSeller,long lowestSnapdealSellerInventory,double ourFlipkartPrice,long ourFlipkartInventory,String lowestFlipkartSeller,double ourAmazonPrice,double lowestAmazonPrice,String lowestAmazonSeller,String productName){this();this.item_id = item_id;setItem_idIsSet(true);this.isSnapdeal = isSnapdeal;setIsSnapdealIsSet(true);this.isFlipkart = isFlipkart;setIsFlipkartIsSet(true);this.isAmazon = isAmazon;setIsAmazonIsSet(true);this.lowestSnapdealPrice = lowestSnapdealPrice;setLowestSnapdealPriceIsSet(true);this.lowestFlipkartPrice = lowestFlipkartPrice;setLowestFlipkartPriceIsSet(true);this.processed = processed;setProcessedIsSet(true);this.uploadId = uploadId;setUploadIdIsSet(true);this.userEmail = userEmail;this.ourSnapdealPrice = ourSnapdealPrice;setOurSnapdealPriceIsSet(true);this.ourSnapdealOfferPrice = ourSnapdealOfferPrice;setOurSnapdealOfferPriceIsSet(true);this.ourSnapdealInventory = ourSnapdealInventory;setOurSnapdealInventoryIsSet(true);this.lowestSnapdealOfferPrice = lowestSnapdealOfferPrice;setLowestSnapdealOfferPriceIsSet(true);this.lowestSnapdealSeller = lowestSnapdealSeller;this.lowestSnapdealSellerInventory = lowestSnapdealSellerInventory;setLowestSnapdealSellerInventoryIsSet(true);this.ourFlipkartPrice = ourFlipkartPrice;setOurFlipkartPriceIsSet(true);this.ourFlipkartInventory = ourFlipkartInventory;setOurFlipkartInventoryIsSet(true);this.lowestFlipkartSeller = lowestFlipkartSeller;this.ourAmazonPrice = ourAmazonPrice;setOurAmazonPriceIsSet(true);this.lowestAmazonPrice = lowestAmazonPrice;setLowestAmazonPriceIsSet(true);this.lowestAmazonSeller = lowestAmazonSeller;this.productName = productName;}/*** Performs a deep copy on <i>other</i>.*/public CompetitorPricing(CompetitorPricing other) {__isset_bit_vector.clear();__isset_bit_vector.or(other.__isset_bit_vector);this.item_id = other.item_id;this.isSnapdeal = other.isSnapdeal;this.isFlipkart = other.isFlipkart;this.isAmazon = other.isAmazon;this.lowestSnapdealPrice = other.lowestSnapdealPrice;this.lowestFlipkartPrice = other.lowestFlipkartPrice;this.processed = other.processed;this.uploadId = other.uploadId;if (other.isSetUserEmail()) {this.userEmail = other.userEmail;}this.ourSnapdealPrice = other.ourSnapdealPrice;this.ourSnapdealOfferPrice = other.ourSnapdealOfferPrice;this.ourSnapdealInventory = other.ourSnapdealInventory;this.lowestSnapdealOfferPrice = other.lowestSnapdealOfferPrice;if (other.isSetLowestSnapdealSeller()) {this.lowestSnapdealSeller = other.lowestSnapdealSeller;}this.lowestSnapdealSellerInventory = other.lowestSnapdealSellerInventory;this.ourFlipkartPrice = other.ourFlipkartPrice;this.ourFlipkartInventory = other.ourFlipkartInventory;if (other.isSetLowestFlipkartSeller()) {this.lowestFlipkartSeller = other.lowestFlipkartSeller;}this.ourAmazonPrice = other.ourAmazonPrice;this.lowestAmazonPrice = other.lowestAmazonPrice;if (other.isSetLowestAmazonSeller()) {this.lowestAmazonSeller = other.lowestAmazonSeller;}if (other.isSetProductName()) {this.productName = other.productName;}}public CompetitorPricing deepCopy() {return new CompetitorPricing(this);}@Overridepublic void clear() {setItem_idIsSet(false);this.item_id = 0;setIsSnapdealIsSet(false);this.isSnapdeal = false;setIsFlipkartIsSet(false);this.isFlipkart = false;setIsAmazonIsSet(false);this.isAmazon = false;setLowestSnapdealPriceIsSet(false);this.lowestSnapdealPrice = 0.0;setLowestFlipkartPriceIsSet(false);this.lowestFlipkartPrice = 0.0;setProcessedIsSet(false);this.processed = false;setUploadIdIsSet(false);this.uploadId = 0;this.userEmail = null;setOurSnapdealPriceIsSet(false);this.ourSnapdealPrice = 0.0;setOurSnapdealOfferPriceIsSet(false);this.ourSnapdealOfferPrice = 0.0;setOurSnapdealInventoryIsSet(false);this.ourSnapdealInventory = 0;setLowestSnapdealOfferPriceIsSet(false);this.lowestSnapdealOfferPrice = 0.0;this.lowestSnapdealSeller = null;setLowestSnapdealSellerInventoryIsSet(false);this.lowestSnapdealSellerInventory = 0;setOurFlipkartPriceIsSet(false);this.ourFlipkartPrice = 0.0;setOurFlipkartInventoryIsSet(false);this.ourFlipkartInventory = 0;this.lowestFlipkartSeller = null;setOurAmazonPriceIsSet(false);this.ourAmazonPrice = 0.0;setLowestAmazonPriceIsSet(false);this.lowestAmazonPrice = 0.0;this.lowestAmazonSeller = null;this.productName = null;}public long getItem_id() {return this.item_id;}public void setItem_id(long item_id) {this.item_id = item_id;setItem_idIsSet(true);}public void unsetItem_id() {__isset_bit_vector.clear(__ITEM_ID_ISSET_ID);}/** Returns true if field item_id is set (has been assigned a value) and false otherwise */public boolean isSetItem_id() {return __isset_bit_vector.get(__ITEM_ID_ISSET_ID);}public void setItem_idIsSet(boolean value) {__isset_bit_vector.set(__ITEM_ID_ISSET_ID, value);}public boolean isIsSnapdeal() {return this.isSnapdeal;}public void setIsSnapdeal(boolean isSnapdeal) {this.isSnapdeal = isSnapdeal;setIsSnapdealIsSet(true);}public void unsetIsSnapdeal() {__isset_bit_vector.clear(__ISSNAPDEAL_ISSET_ID);}/** Returns true if field isSnapdeal is set (has been assigned a value) and false otherwise */public boolean isSetIsSnapdeal() {return __isset_bit_vector.get(__ISSNAPDEAL_ISSET_ID);}public void setIsSnapdealIsSet(boolean value) {__isset_bit_vector.set(__ISSNAPDEAL_ISSET_ID, value);}public boolean isIsFlipkart() {return this.isFlipkart;}public void setIsFlipkart(boolean isFlipkart) {this.isFlipkart = isFlipkart;setIsFlipkartIsSet(true);}public void unsetIsFlipkart() {__isset_bit_vector.clear(__ISFLIPKART_ISSET_ID);}/** Returns true if field isFlipkart is set (has been assigned a value) and false otherwise */public boolean isSetIsFlipkart() {return __isset_bit_vector.get(__ISFLIPKART_ISSET_ID);}public void setIsFlipkartIsSet(boolean value) {__isset_bit_vector.set(__ISFLIPKART_ISSET_ID, value);}public boolean isIsAmazon() {return this.isAmazon;}public void setIsAmazon(boolean isAmazon) {this.isAmazon = isAmazon;setIsAmazonIsSet(true);}public void unsetIsAmazon() {__isset_bit_vector.clear(__ISAMAZON_ISSET_ID);}/** Returns true if field isAmazon is set (has been assigned a value) and false otherwise */public boolean isSetIsAmazon() {return __isset_bit_vector.get(__ISAMAZON_ISSET_ID);}public void setIsAmazonIsSet(boolean value) {__isset_bit_vector.set(__ISAMAZON_ISSET_ID, value);}public double getLowestSnapdealPrice() {return this.lowestSnapdealPrice;}public void setLowestSnapdealPrice(double lowestSnapdealPrice) {this.lowestSnapdealPrice = lowestSnapdealPrice;setLowestSnapdealPriceIsSet(true);}public void unsetLowestSnapdealPrice() {__isset_bit_vector.clear(__LOWESTSNAPDEALPRICE_ISSET_ID);}/** Returns true if field lowestSnapdealPrice is set (has been assigned a value) and false otherwise */public boolean isSetLowestSnapdealPrice() {return __isset_bit_vector.get(__LOWESTSNAPDEALPRICE_ISSET_ID);}public void setLowestSnapdealPriceIsSet(boolean value) {__isset_bit_vector.set(__LOWESTSNAPDEALPRICE_ISSET_ID, value);}public double getLowestFlipkartPrice() {return this.lowestFlipkartPrice;}public void setLowestFlipkartPrice(double lowestFlipkartPrice) {this.lowestFlipkartPrice = lowestFlipkartPrice;setLowestFlipkartPriceIsSet(true);}public void unsetLowestFlipkartPrice() {__isset_bit_vector.clear(__LOWESTFLIPKARTPRICE_ISSET_ID);}/** Returns true if field lowestFlipkartPrice is set (has been assigned a value) and false otherwise */public boolean isSetLowestFlipkartPrice() {return __isset_bit_vector.get(__LOWESTFLIPKARTPRICE_ISSET_ID);}public void setLowestFlipkartPriceIsSet(boolean value) {__isset_bit_vector.set(__LOWESTFLIPKARTPRICE_ISSET_ID, value);}public boolean isProcessed() {return this.processed;}public void setProcessed(boolean processed) {this.processed = processed;setProcessedIsSet(true);}public void unsetProcessed() {__isset_bit_vector.clear(__PROCESSED_ISSET_ID);}/** Returns true if field processed is set (has been assigned a value) and false otherwise */public boolean isSetProcessed() {return __isset_bit_vector.get(__PROCESSED_ISSET_ID);}public void setProcessedIsSet(boolean value) {__isset_bit_vector.set(__PROCESSED_ISSET_ID, value);}public long getUploadId() {return this.uploadId;}public void setUploadId(long uploadId) {this.uploadId = uploadId;setUploadIdIsSet(true);}public void unsetUploadId() {__isset_bit_vector.clear(__UPLOADID_ISSET_ID);}/** Returns true if field uploadId is set (has been assigned a value) and false otherwise */public boolean isSetUploadId() {return __isset_bit_vector.get(__UPLOADID_ISSET_ID);}public void setUploadIdIsSet(boolean value) {__isset_bit_vector.set(__UPLOADID_ISSET_ID, value);}public String getUserEmail() {return this.userEmail;}public void setUserEmail(String userEmail) {this.userEmail = userEmail;}public void unsetUserEmail() {this.userEmail = null;}/** Returns true if field userEmail is set (has been assigned a value) and false otherwise */public boolean isSetUserEmail() {return this.userEmail != null;}public void setUserEmailIsSet(boolean value) {if (!value) {this.userEmail = null;}}public double getOurSnapdealPrice() {return this.ourSnapdealPrice;}public void setOurSnapdealPrice(double ourSnapdealPrice) {this.ourSnapdealPrice = ourSnapdealPrice;setOurSnapdealPriceIsSet(true);}public void unsetOurSnapdealPrice() {__isset_bit_vector.clear(__OURSNAPDEALPRICE_ISSET_ID);}/** Returns true if field ourSnapdealPrice is set (has been assigned a value) and false otherwise */public boolean isSetOurSnapdealPrice() {return __isset_bit_vector.get(__OURSNAPDEALPRICE_ISSET_ID);}public void setOurSnapdealPriceIsSet(boolean value) {__isset_bit_vector.set(__OURSNAPDEALPRICE_ISSET_ID, value);}public double getOurSnapdealOfferPrice() {return this.ourSnapdealOfferPrice;}public void setOurSnapdealOfferPrice(double ourSnapdealOfferPrice) {this.ourSnapdealOfferPrice = ourSnapdealOfferPrice;setOurSnapdealOfferPriceIsSet(true);}public void unsetOurSnapdealOfferPrice() {__isset_bit_vector.clear(__OURSNAPDEALOFFERPRICE_ISSET_ID);}/** Returns true if field ourSnapdealOfferPrice is set (has been assigned a value) and false otherwise */public boolean isSetOurSnapdealOfferPrice() {return __isset_bit_vector.get(__OURSNAPDEALOFFERPRICE_ISSET_ID);}public void setOurSnapdealOfferPriceIsSet(boolean value) {__isset_bit_vector.set(__OURSNAPDEALOFFERPRICE_ISSET_ID, value);}public long getOurSnapdealInventory() {return this.ourSnapdealInventory;}public void setOurSnapdealInventory(long ourSnapdealInventory) {this.ourSnapdealInventory = ourSnapdealInventory;setOurSnapdealInventoryIsSet(true);}public void unsetOurSnapdealInventory() {__isset_bit_vector.clear(__OURSNAPDEALINVENTORY_ISSET_ID);}/** Returns true if field ourSnapdealInventory is set (has been assigned a value) and false otherwise */public boolean isSetOurSnapdealInventory() {return __isset_bit_vector.get(__OURSNAPDEALINVENTORY_ISSET_ID);}public void setOurSnapdealInventoryIsSet(boolean value) {__isset_bit_vector.set(__OURSNAPDEALINVENTORY_ISSET_ID, value);}public double getLowestSnapdealOfferPrice() {return this.lowestSnapdealOfferPrice;}public void setLowestSnapdealOfferPrice(double lowestSnapdealOfferPrice) {this.lowestSnapdealOfferPrice = lowestSnapdealOfferPrice;setLowestSnapdealOfferPriceIsSet(true);}public void unsetLowestSnapdealOfferPrice() {__isset_bit_vector.clear(__LOWESTSNAPDEALOFFERPRICE_ISSET_ID);}/** Returns true if field lowestSnapdealOfferPrice is set (has been assigned a value) and false otherwise */public boolean isSetLowestSnapdealOfferPrice() {return __isset_bit_vector.get(__LOWESTSNAPDEALOFFERPRICE_ISSET_ID);}public void setLowestSnapdealOfferPriceIsSet(boolean value) {__isset_bit_vector.set(__LOWESTSNAPDEALOFFERPRICE_ISSET_ID, value);}public String getLowestSnapdealSeller() {return this.lowestSnapdealSeller;}public void setLowestSnapdealSeller(String lowestSnapdealSeller) {this.lowestSnapdealSeller = lowestSnapdealSeller;}public void unsetLowestSnapdealSeller() {this.lowestSnapdealSeller = null;}/** Returns true if field lowestSnapdealSeller is set (has been assigned a value) and false otherwise */public boolean isSetLowestSnapdealSeller() {return this.lowestSnapdealSeller != null;}public void setLowestSnapdealSellerIsSet(boolean value) {if (!value) {this.lowestSnapdealSeller = null;}}public long getLowestSnapdealSellerInventory() {return this.lowestSnapdealSellerInventory;}public void setLowestSnapdealSellerInventory(long lowestSnapdealSellerInventory) {this.lowestSnapdealSellerInventory = lowestSnapdealSellerInventory;setLowestSnapdealSellerInventoryIsSet(true);}public void unsetLowestSnapdealSellerInventory() {__isset_bit_vector.clear(__LOWESTSNAPDEALSELLERINVENTORY_ISSET_ID);}/** Returns true if field lowestSnapdealSellerInventory is set (has been assigned a value) and false otherwise */public boolean isSetLowestSnapdealSellerInventory() {return __isset_bit_vector.get(__LOWESTSNAPDEALSELLERINVENTORY_ISSET_ID);}public void setLowestSnapdealSellerInventoryIsSet(boolean value) {__isset_bit_vector.set(__LOWESTSNAPDEALSELLERINVENTORY_ISSET_ID, value);}public double getOurFlipkartPrice() {return this.ourFlipkartPrice;}public void setOurFlipkartPrice(double ourFlipkartPrice) {this.ourFlipkartPrice = ourFlipkartPrice;setOurFlipkartPriceIsSet(true);}public void unsetOurFlipkartPrice() {__isset_bit_vector.clear(__OURFLIPKARTPRICE_ISSET_ID);}/** Returns true if field ourFlipkartPrice is set (has been assigned a value) and false otherwise */public boolean isSetOurFlipkartPrice() {return __isset_bit_vector.get(__OURFLIPKARTPRICE_ISSET_ID);}public void setOurFlipkartPriceIsSet(boolean value) {__isset_bit_vector.set(__OURFLIPKARTPRICE_ISSET_ID, value);}public long getOurFlipkartInventory() {return this.ourFlipkartInventory;}public void setOurFlipkartInventory(long ourFlipkartInventory) {this.ourFlipkartInventory = ourFlipkartInventory;setOurFlipkartInventoryIsSet(true);}public void unsetOurFlipkartInventory() {__isset_bit_vector.clear(__OURFLIPKARTINVENTORY_ISSET_ID);}/** Returns true if field ourFlipkartInventory is set (has been assigned a value) and false otherwise */public boolean isSetOurFlipkartInventory() {return __isset_bit_vector.get(__OURFLIPKARTINVENTORY_ISSET_ID);}public void setOurFlipkartInventoryIsSet(boolean value) {__isset_bit_vector.set(__OURFLIPKARTINVENTORY_ISSET_ID, value);}public String getLowestFlipkartSeller() {return this.lowestFlipkartSeller;}public void setLowestFlipkartSeller(String lowestFlipkartSeller) {this.lowestFlipkartSeller = lowestFlipkartSeller;}public void unsetLowestFlipkartSeller() {this.lowestFlipkartSeller = null;}/** Returns true if field lowestFlipkartSeller is set (has been assigned a value) and false otherwise */public boolean isSetLowestFlipkartSeller() {return this.lowestFlipkartSeller != null;}public void setLowestFlipkartSellerIsSet(boolean value) {if (!value) {this.lowestFlipkartSeller = null;}}public double getOurAmazonPrice() {return this.ourAmazonPrice;}public void setOurAmazonPrice(double ourAmazonPrice) {this.ourAmazonPrice = ourAmazonPrice;setOurAmazonPriceIsSet(true);}public void unsetOurAmazonPrice() {__isset_bit_vector.clear(__OURAMAZONPRICE_ISSET_ID);}/** Returns true if field ourAmazonPrice is set (has been assigned a value) and false otherwise */public boolean isSetOurAmazonPrice() {return __isset_bit_vector.get(__OURAMAZONPRICE_ISSET_ID);}public void setOurAmazonPriceIsSet(boolean value) {__isset_bit_vector.set(__OURAMAZONPRICE_ISSET_ID, value);}public double getLowestAmazonPrice() {return this.lowestAmazonPrice;}public void setLowestAmazonPrice(double lowestAmazonPrice) {this.lowestAmazonPrice = lowestAmazonPrice;setLowestAmazonPriceIsSet(true);}public void unsetLowestAmazonPrice() {__isset_bit_vector.clear(__LOWESTAMAZONPRICE_ISSET_ID);}/** Returns true if field lowestAmazonPrice is set (has been assigned a value) and false otherwise */public boolean isSetLowestAmazonPrice() {return __isset_bit_vector.get(__LOWESTAMAZONPRICE_ISSET_ID);}public void setLowestAmazonPriceIsSet(boolean value) {__isset_bit_vector.set(__LOWESTAMAZONPRICE_ISSET_ID, value);}public String getLowestAmazonSeller() {return this.lowestAmazonSeller;}public void setLowestAmazonSeller(String lowestAmazonSeller) {this.lowestAmazonSeller = lowestAmazonSeller;}public void unsetLowestAmazonSeller() {this.lowestAmazonSeller = null;}/** Returns true if field lowestAmazonSeller is set (has been assigned a value) and false otherwise */public boolean isSetLowestAmazonSeller() {return this.lowestAmazonSeller != null;}public void setLowestAmazonSellerIsSet(boolean value) {if (!value) {this.lowestAmazonSeller = null;}}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 void setFieldValue(_Fields field, Object value) {switch (field) {case ITEM_ID:if (value == null) {unsetItem_id();} else {setItem_id((Long)value);}break;case IS_SNAPDEAL:if (value == null) {unsetIsSnapdeal();} else {setIsSnapdeal((Boolean)value);}break;case IS_FLIPKART:if (value == null) {unsetIsFlipkart();} else {setIsFlipkart((Boolean)value);}break;case IS_AMAZON:if (value == null) {unsetIsAmazon();} else {setIsAmazon((Boolean)value);}break;case LOWEST_SNAPDEAL_PRICE:if (value == null) {unsetLowestSnapdealPrice();} else {setLowestSnapdealPrice((Double)value);}break;case LOWEST_FLIPKART_PRICE:if (value == null) {unsetLowestFlipkartPrice();} else {setLowestFlipkartPrice((Double)value);}break;case PROCESSED:if (value == null) {unsetProcessed();} else {setProcessed((Boolean)value);}break;case UPLOAD_ID:if (value == null) {unsetUploadId();} else {setUploadId((Long)value);}break;case USER_EMAIL:if (value == null) {unsetUserEmail();} else {setUserEmail((String)value);}break;case OUR_SNAPDEAL_PRICE:if (value == null) {unsetOurSnapdealPrice();} else {setOurSnapdealPrice((Double)value);}break;case OUR_SNAPDEAL_OFFER_PRICE:if (value == null) {unsetOurSnapdealOfferPrice();} else {setOurSnapdealOfferPrice((Double)value);}break;case OUR_SNAPDEAL_INVENTORY:if (value == null) {unsetOurSnapdealInventory();} else {setOurSnapdealInventory((Long)value);}break;case LOWEST_SNAPDEAL_OFFER_PRICE:if (value == null) {unsetLowestSnapdealOfferPrice();} else {setLowestSnapdealOfferPrice((Double)value);}break;case LOWEST_SNAPDEAL_SELLER:if (value == null) {unsetLowestSnapdealSeller();} else {setLowestSnapdealSeller((String)value);}break;case LOWEST_SNAPDEAL_SELLER_INVENTORY:if (value == null) {unsetLowestSnapdealSellerInventory();} else {setLowestSnapdealSellerInventory((Long)value);}break;case OUR_FLIPKART_PRICE:if (value == null) {unsetOurFlipkartPrice();} else {setOurFlipkartPrice((Double)value);}break;case OUR_FLIPKART_INVENTORY:if (value == null) {unsetOurFlipkartInventory();} else {setOurFlipkartInventory((Long)value);}break;case LOWEST_FLIPKART_SELLER:if (value == null) {unsetLowestFlipkartSeller();} else {setLowestFlipkartSeller((String)value);}break;case OUR_AMAZON_PRICE:if (value == null) {unsetOurAmazonPrice();} else {setOurAmazonPrice((Double)value);}break;case LOWEST_AMAZON_PRICE:if (value == null) {unsetLowestAmazonPrice();} else {setLowestAmazonPrice((Double)value);}break;case LOWEST_AMAZON_SELLER:if (value == null) {unsetLowestAmazonSeller();} else {setLowestAmazonSeller((String)value);}break;case PRODUCT_NAME:if (value == null) {unsetProductName();} else {setProductName((String)value);}break;}}public Object getFieldValue(_Fields field) {switch (field) {case ITEM_ID:return Long.valueOf(getItem_id());case IS_SNAPDEAL:return Boolean.valueOf(isIsSnapdeal());case IS_FLIPKART:return Boolean.valueOf(isIsFlipkart());case IS_AMAZON:return Boolean.valueOf(isIsAmazon());case LOWEST_SNAPDEAL_PRICE:return Double.valueOf(getLowestSnapdealPrice());case LOWEST_FLIPKART_PRICE:return Double.valueOf(getLowestFlipkartPrice());case PROCESSED:return Boolean.valueOf(isProcessed());case UPLOAD_ID:return Long.valueOf(getUploadId());case USER_EMAIL:return getUserEmail();case OUR_SNAPDEAL_PRICE:return Double.valueOf(getOurSnapdealPrice());case OUR_SNAPDEAL_OFFER_PRICE:return Double.valueOf(getOurSnapdealOfferPrice());case OUR_SNAPDEAL_INVENTORY:return Long.valueOf(getOurSnapdealInventory());case LOWEST_SNAPDEAL_OFFER_PRICE:return Double.valueOf(getLowestSnapdealOfferPrice());case LOWEST_SNAPDEAL_SELLER:return getLowestSnapdealSeller();case LOWEST_SNAPDEAL_SELLER_INVENTORY:return Long.valueOf(getLowestSnapdealSellerInventory());case OUR_FLIPKART_PRICE:return Double.valueOf(getOurFlipkartPrice());case OUR_FLIPKART_INVENTORY:return Long.valueOf(getOurFlipkartInventory());case LOWEST_FLIPKART_SELLER:return getLowestFlipkartSeller();case OUR_AMAZON_PRICE:return Double.valueOf(getOurAmazonPrice());case LOWEST_AMAZON_PRICE:return Double.valueOf(getLowestAmazonPrice());case LOWEST_AMAZON_SELLER:return getLowestAmazonSeller();case PRODUCT_NAME:return getProductName();}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 ITEM_ID:return isSetItem_id();case IS_SNAPDEAL:return isSetIsSnapdeal();case IS_FLIPKART:return isSetIsFlipkart();case IS_AMAZON:return isSetIsAmazon();case LOWEST_SNAPDEAL_PRICE:return isSetLowestSnapdealPrice();case LOWEST_FLIPKART_PRICE:return isSetLowestFlipkartPrice();case PROCESSED:return isSetProcessed();case UPLOAD_ID:return isSetUploadId();case USER_EMAIL:return isSetUserEmail();case OUR_SNAPDEAL_PRICE:return isSetOurSnapdealPrice();case OUR_SNAPDEAL_OFFER_PRICE:return isSetOurSnapdealOfferPrice();case OUR_SNAPDEAL_INVENTORY:return isSetOurSnapdealInventory();case LOWEST_SNAPDEAL_OFFER_PRICE:return isSetLowestSnapdealOfferPrice();case LOWEST_SNAPDEAL_SELLER:return isSetLowestSnapdealSeller();case LOWEST_SNAPDEAL_SELLER_INVENTORY:return isSetLowestSnapdealSellerInventory();case OUR_FLIPKART_PRICE:return isSetOurFlipkartPrice();case OUR_FLIPKART_INVENTORY:return isSetOurFlipkartInventory();case LOWEST_FLIPKART_SELLER:return isSetLowestFlipkartSeller();case OUR_AMAZON_PRICE:return isSetOurAmazonPrice();case LOWEST_AMAZON_PRICE:return isSetLowestAmazonPrice();case LOWEST_AMAZON_SELLER:return isSetLowestAmazonSeller();case PRODUCT_NAME:return isSetProductName();}throw new IllegalStateException();}@Overridepublic boolean equals(Object that) {if (that == null)return false;if (that instanceof CompetitorPricing)return this.equals((CompetitorPricing)that);return false;}public boolean equals(CompetitorPricing that) {if (that == null)return false;boolean this_present_item_id = true;boolean that_present_item_id = true;if (this_present_item_id || that_present_item_id) {if (!(this_present_item_id && that_present_item_id))return false;if (this.item_id != that.item_id)return false;}boolean this_present_isSnapdeal = true;boolean that_present_isSnapdeal = true;if (this_present_isSnapdeal || that_present_isSnapdeal) {if (!(this_present_isSnapdeal && that_present_isSnapdeal))return false;if (this.isSnapdeal != that.isSnapdeal)return false;}boolean this_present_isFlipkart = true;boolean that_present_isFlipkart = true;if (this_present_isFlipkart || that_present_isFlipkart) {if (!(this_present_isFlipkart && that_present_isFlipkart))return false;if (this.isFlipkart != that.isFlipkart)return false;}boolean this_present_isAmazon = true;boolean that_present_isAmazon = true;if (this_present_isAmazon || that_present_isAmazon) {if (!(this_present_isAmazon && that_present_isAmazon))return false;if (this.isAmazon != that.isAmazon)return false;}boolean this_present_lowestSnapdealPrice = true;boolean that_present_lowestSnapdealPrice = true;if (this_present_lowestSnapdealPrice || that_present_lowestSnapdealPrice) {if (!(this_present_lowestSnapdealPrice && that_present_lowestSnapdealPrice))return false;if (this.lowestSnapdealPrice != that.lowestSnapdealPrice)return false;}boolean this_present_lowestFlipkartPrice = true;boolean that_present_lowestFlipkartPrice = true;if (this_present_lowestFlipkartPrice || that_present_lowestFlipkartPrice) {if (!(this_present_lowestFlipkartPrice && that_present_lowestFlipkartPrice))return false;if (this.lowestFlipkartPrice != that.lowestFlipkartPrice)return false;}boolean this_present_processed = true;boolean that_present_processed = true;if (this_present_processed || that_present_processed) {if (!(this_present_processed && that_present_processed))return false;if (this.processed != that.processed)return false;}boolean this_present_uploadId = true;boolean that_present_uploadId = true;if (this_present_uploadId || that_present_uploadId) {if (!(this_present_uploadId && that_present_uploadId))return false;if (this.uploadId != that.uploadId)return false;}boolean this_present_userEmail = true && this.isSetUserEmail();boolean that_present_userEmail = true && that.isSetUserEmail();if (this_present_userEmail || that_present_userEmail) {if (!(this_present_userEmail && that_present_userEmail))return false;if (!this.userEmail.equals(that.userEmail))return false;}boolean this_present_ourSnapdealPrice = true;boolean that_present_ourSnapdealPrice = true;if (this_present_ourSnapdealPrice || that_present_ourSnapdealPrice) {if (!(this_present_ourSnapdealPrice && that_present_ourSnapdealPrice))return false;if (this.ourSnapdealPrice != that.ourSnapdealPrice)return false;}boolean this_present_ourSnapdealOfferPrice = true;boolean that_present_ourSnapdealOfferPrice = true;if (this_present_ourSnapdealOfferPrice || that_present_ourSnapdealOfferPrice) {if (!(this_present_ourSnapdealOfferPrice && that_present_ourSnapdealOfferPrice))return false;if (this.ourSnapdealOfferPrice != that.ourSnapdealOfferPrice)return false;}boolean this_present_ourSnapdealInventory = true;boolean that_present_ourSnapdealInventory = true;if (this_present_ourSnapdealInventory || that_present_ourSnapdealInventory) {if (!(this_present_ourSnapdealInventory && that_present_ourSnapdealInventory))return false;if (this.ourSnapdealInventory != that.ourSnapdealInventory)return false;}boolean this_present_lowestSnapdealOfferPrice = true;boolean that_present_lowestSnapdealOfferPrice = true;if (this_present_lowestSnapdealOfferPrice || that_present_lowestSnapdealOfferPrice) {if (!(this_present_lowestSnapdealOfferPrice && that_present_lowestSnapdealOfferPrice))return false;if (this.lowestSnapdealOfferPrice != that.lowestSnapdealOfferPrice)return false;}boolean this_present_lowestSnapdealSeller = true && this.isSetLowestSnapdealSeller();boolean that_present_lowestSnapdealSeller = true && that.isSetLowestSnapdealSeller();if (this_present_lowestSnapdealSeller || that_present_lowestSnapdealSeller) {if (!(this_present_lowestSnapdealSeller && that_present_lowestSnapdealSeller))return false;if (!this.lowestSnapdealSeller.equals(that.lowestSnapdealSeller))return false;}boolean this_present_lowestSnapdealSellerInventory = true;boolean that_present_lowestSnapdealSellerInventory = true;if (this_present_lowestSnapdealSellerInventory || that_present_lowestSnapdealSellerInventory) {if (!(this_present_lowestSnapdealSellerInventory && that_present_lowestSnapdealSellerInventory))return false;if (this.lowestSnapdealSellerInventory != that.lowestSnapdealSellerInventory)return false;}boolean this_present_ourFlipkartPrice = true;boolean that_present_ourFlipkartPrice = true;if (this_present_ourFlipkartPrice || that_present_ourFlipkartPrice) {if (!(this_present_ourFlipkartPrice && that_present_ourFlipkartPrice))return false;if (this.ourFlipkartPrice != that.ourFlipkartPrice)return false;}boolean this_present_ourFlipkartInventory = true;boolean that_present_ourFlipkartInventory = true;if (this_present_ourFlipkartInventory || that_present_ourFlipkartInventory) {if (!(this_present_ourFlipkartInventory && that_present_ourFlipkartInventory))return false;if (this.ourFlipkartInventory != that.ourFlipkartInventory)return false;}boolean this_present_lowestFlipkartSeller = true && this.isSetLowestFlipkartSeller();boolean that_present_lowestFlipkartSeller = true && that.isSetLowestFlipkartSeller();if (this_present_lowestFlipkartSeller || that_present_lowestFlipkartSeller) {if (!(this_present_lowestFlipkartSeller && that_present_lowestFlipkartSeller))return false;if (!this.lowestFlipkartSeller.equals(that.lowestFlipkartSeller))return false;}boolean this_present_ourAmazonPrice = true;boolean that_present_ourAmazonPrice = true;if (this_present_ourAmazonPrice || that_present_ourAmazonPrice) {if (!(this_present_ourAmazonPrice && that_present_ourAmazonPrice))return false;if (this.ourAmazonPrice != that.ourAmazonPrice)return false;}boolean this_present_lowestAmazonPrice = true;boolean that_present_lowestAmazonPrice = true;if (this_present_lowestAmazonPrice || that_present_lowestAmazonPrice) {if (!(this_present_lowestAmazonPrice && that_present_lowestAmazonPrice))return false;if (this.lowestAmazonPrice != that.lowestAmazonPrice)return false;}boolean this_present_lowestAmazonSeller = true && this.isSetLowestAmazonSeller();boolean that_present_lowestAmazonSeller = true && that.isSetLowestAmazonSeller();if (this_present_lowestAmazonSeller || that_present_lowestAmazonSeller) {if (!(this_present_lowestAmazonSeller && that_present_lowestAmazonSeller))return false;if (!this.lowestAmazonSeller.equals(that.lowestAmazonSeller))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;}return true;}@Overridepublic int hashCode() {return 0;}public int compareTo(CompetitorPricing other) {if (!getClass().equals(other.getClass())) {return getClass().getName().compareTo(other.getClass().getName());}int lastComparison = 0;CompetitorPricing typedOther = (CompetitorPricing)other;lastComparison = Boolean.valueOf(isSetItem_id()).compareTo(typedOther.isSetItem_id());if (lastComparison != 0) {return lastComparison;}if (isSetItem_id()) {lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.item_id, typedOther.item_id);if (lastComparison != 0) {return lastComparison;}}lastComparison = Boolean.valueOf(isSetIsSnapdeal()).compareTo(typedOther.isSetIsSnapdeal());if (lastComparison != 0) {return lastComparison;}if (isSetIsSnapdeal()) {lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isSnapdeal, typedOther.isSnapdeal);if (lastComparison != 0) {return lastComparison;}}lastComparison = Boolean.valueOf(isSetIsFlipkart()).compareTo(typedOther.isSetIsFlipkart());if (lastComparison != 0) {return lastComparison;}if (isSetIsFlipkart()) {lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isFlipkart, typedOther.isFlipkart);if (lastComparison != 0) {return lastComparison;}}lastComparison = Boolean.valueOf(isSetIsAmazon()).compareTo(typedOther.isSetIsAmazon());if (lastComparison != 0) {return lastComparison;}if (isSetIsAmazon()) {lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isAmazon, typedOther.isAmazon);if (lastComparison != 0) {return lastComparison;}}lastComparison = Boolean.valueOf(isSetLowestSnapdealPrice()).compareTo(typedOther.isSetLowestSnapdealPrice());if (lastComparison != 0) {return lastComparison;}if (isSetLowestSnapdealPrice()) {lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lowestSnapdealPrice, typedOther.lowestSnapdealPrice);if (lastComparison != 0) {return lastComparison;}}lastComparison = Boolean.valueOf(isSetLowestFlipkartPrice()).compareTo(typedOther.isSetLowestFlipkartPrice());if (lastComparison != 0) {return lastComparison;}if (isSetLowestFlipkartPrice()) {lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lowestFlipkartPrice, typedOther.lowestFlipkartPrice);if (lastComparison != 0) {return lastComparison;}}lastComparison = Boolean.valueOf(isSetProcessed()).compareTo(typedOther.isSetProcessed());if (lastComparison != 0) {return lastComparison;}if (isSetProcessed()) {lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.processed, typedOther.processed);if (lastComparison != 0) {return lastComparison;}}lastComparison = Boolean.valueOf(isSetUploadId()).compareTo(typedOther.isSetUploadId());if (lastComparison != 0) {return lastComparison;}if (isSetUploadId()) {lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.uploadId, typedOther.uploadId);if (lastComparison != 0) {return lastComparison;}}lastComparison = Boolean.valueOf(isSetUserEmail()).compareTo(typedOther.isSetUserEmail());if (lastComparison != 0) {return lastComparison;}if (isSetUserEmail()) {lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userEmail, typedOther.userEmail);if (lastComparison != 0) {return lastComparison;}}lastComparison = Boolean.valueOf(isSetOurSnapdealPrice()).compareTo(typedOther.isSetOurSnapdealPrice());if (lastComparison != 0) {return lastComparison;}if (isSetOurSnapdealPrice()) {lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ourSnapdealPrice, typedOther.ourSnapdealPrice);if (lastComparison != 0) {return lastComparison;}}lastComparison = Boolean.valueOf(isSetOurSnapdealOfferPrice()).compareTo(typedOther.isSetOurSnapdealOfferPrice());if (lastComparison != 0) {return lastComparison;}if (isSetOurSnapdealOfferPrice()) {lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ourSnapdealOfferPrice, typedOther.ourSnapdealOfferPrice);if (lastComparison != 0) {return lastComparison;}}lastComparison = Boolean.valueOf(isSetOurSnapdealInventory()).compareTo(typedOther.isSetOurSnapdealInventory());if (lastComparison != 0) {return lastComparison;}if (isSetOurSnapdealInventory()) {lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ourSnapdealInventory, typedOther.ourSnapdealInventory);if (lastComparison != 0) {return lastComparison;}}lastComparison = Boolean.valueOf(isSetLowestSnapdealOfferPrice()).compareTo(typedOther.isSetLowestSnapdealOfferPrice());if (lastComparison != 0) {return lastComparison;}if (isSetLowestSnapdealOfferPrice()) {lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lowestSnapdealOfferPrice, typedOther.lowestSnapdealOfferPrice);if (lastComparison != 0) {return lastComparison;}}lastComparison = Boolean.valueOf(isSetLowestSnapdealSeller()).compareTo(typedOther.isSetLowestSnapdealSeller());if (lastComparison != 0) {return lastComparison;}if (isSetLowestSnapdealSeller()) {lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lowestSnapdealSeller, typedOther.lowestSnapdealSeller);if (lastComparison != 0) {return lastComparison;}}lastComparison = Boolean.valueOf(isSetLowestSnapdealSellerInventory()).compareTo(typedOther.isSetLowestSnapdealSellerInventory());if (lastComparison != 0) {return lastComparison;}if (isSetLowestSnapdealSellerInventory()) {lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lowestSnapdealSellerInventory, typedOther.lowestSnapdealSellerInventory);if (lastComparison != 0) {return lastComparison;}}lastComparison = Boolean.valueOf(isSetOurFlipkartPrice()).compareTo(typedOther.isSetOurFlipkartPrice());if (lastComparison != 0) {return lastComparison;}if (isSetOurFlipkartPrice()) {lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ourFlipkartPrice, typedOther.ourFlipkartPrice);if (lastComparison != 0) {return lastComparison;}}lastComparison = Boolean.valueOf(isSetOurFlipkartInventory()).compareTo(typedOther.isSetOurFlipkartInventory());if (lastComparison != 0) {return lastComparison;}if (isSetOurFlipkartInventory()) {lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ourFlipkartInventory, typedOther.ourFlipkartInventory);if (lastComparison != 0) {return lastComparison;}}lastComparison = Boolean.valueOf(isSetLowestFlipkartSeller()).compareTo(typedOther.isSetLowestFlipkartSeller());if (lastComparison != 0) {return lastComparison;}if (isSetLowestFlipkartSeller()) {lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lowestFlipkartSeller, typedOther.lowestFlipkartSeller);if (lastComparison != 0) {return lastComparison;}}lastComparison = Boolean.valueOf(isSetOurAmazonPrice()).compareTo(typedOther.isSetOurAmazonPrice());if (lastComparison != 0) {return lastComparison;}if (isSetOurAmazonPrice()) {lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ourAmazonPrice, typedOther.ourAmazonPrice);if (lastComparison != 0) {return lastComparison;}}lastComparison = Boolean.valueOf(isSetLowestAmazonPrice()).compareTo(typedOther.isSetLowestAmazonPrice());if (lastComparison != 0) {return lastComparison;}if (isSetLowestAmazonPrice()) {lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lowestAmazonPrice, typedOther.lowestAmazonPrice);if (lastComparison != 0) {return lastComparison;}}lastComparison = Boolean.valueOf(isSetLowestAmazonSeller()).compareTo(typedOther.isSetLowestAmazonSeller());if (lastComparison != 0) {return lastComparison;}if (isSetLowestAmazonSeller()) {lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lowestAmazonSeller, typedOther.lowestAmazonSeller);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;}}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: // ITEM_IDif (field.type == org.apache.thrift.protocol.TType.I64) {this.item_id = iprot.readI64();setItem_idIsSet(true);} else {org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);}break;case 2: // IS_SNAPDEALif (field.type == org.apache.thrift.protocol.TType.BOOL) {this.isSnapdeal = iprot.readBool();setIsSnapdealIsSet(true);} else {org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);}break;case 3: // IS_FLIPKARTif (field.type == org.apache.thrift.protocol.TType.BOOL) {this.isFlipkart = iprot.readBool();setIsFlipkartIsSet(true);} else {org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);}break;case 4: // IS_AMAZONif (field.type == org.apache.thrift.protocol.TType.BOOL) {this.isAmazon = iprot.readBool();setIsAmazonIsSet(true);} else {org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);}break;case 5: // LOWEST_SNAPDEAL_PRICEif (field.type == org.apache.thrift.protocol.TType.DOUBLE) {this.lowestSnapdealPrice = iprot.readDouble();setLowestSnapdealPriceIsSet(true);} else {org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);}break;case 6: // LOWEST_FLIPKART_PRICEif (field.type == org.apache.thrift.protocol.TType.DOUBLE) {this.lowestFlipkartPrice = iprot.readDouble();setLowestFlipkartPriceIsSet(true);} else {org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);}break;case 7: // PROCESSEDif (field.type == org.apache.thrift.protocol.TType.BOOL) {this.processed = iprot.readBool();setProcessedIsSet(true);} else {org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);}break;case 8: // UPLOAD_IDif (field.type == org.apache.thrift.protocol.TType.I64) {this.uploadId = iprot.readI64();setUploadIdIsSet(true);} else {org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);}break;case 9: // USER_EMAILif (field.type == org.apache.thrift.protocol.TType.STRING) {this.userEmail = iprot.readString();} else {org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);}break;case 10: // OUR_SNAPDEAL_PRICEif (field.type == org.apache.thrift.protocol.TType.DOUBLE) {this.ourSnapdealPrice = iprot.readDouble();setOurSnapdealPriceIsSet(true);} else {org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);}break;case 11: // OUR_SNAPDEAL_OFFER_PRICEif (field.type == org.apache.thrift.protocol.TType.DOUBLE) {this.ourSnapdealOfferPrice = iprot.readDouble();setOurSnapdealOfferPriceIsSet(true);} else {org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);}break;case 12: // OUR_SNAPDEAL_INVENTORYif (field.type == org.apache.thrift.protocol.TType.I64) {this.ourSnapdealInventory = iprot.readI64();setOurSnapdealInventoryIsSet(true);} else {org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);}break;case 13: // LOWEST_SNAPDEAL_OFFER_PRICEif (field.type == org.apache.thrift.protocol.TType.DOUBLE) {this.lowestSnapdealOfferPrice = iprot.readDouble();setLowestSnapdealOfferPriceIsSet(true);} else {org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);}break;case 14: // LOWEST_SNAPDEAL_SELLERif (field.type == org.apache.thrift.protocol.TType.STRING) {this.lowestSnapdealSeller = iprot.readString();} else {org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);}break;case 15: // LOWEST_SNAPDEAL_SELLER_INVENTORYif (field.type == org.apache.thrift.protocol.TType.I64) {this.lowestSnapdealSellerInventory = iprot.readI64();setLowestSnapdealSellerInventoryIsSet(true);} else {org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);}break;case 16: // OUR_FLIPKART_PRICEif (field.type == org.apache.thrift.protocol.TType.DOUBLE) {this.ourFlipkartPrice = iprot.readDouble();setOurFlipkartPriceIsSet(true);} else {org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);}break;case 17: // OUR_FLIPKART_INVENTORYif (field.type == org.apache.thrift.protocol.TType.I64) {this.ourFlipkartInventory = iprot.readI64();setOurFlipkartInventoryIsSet(true);} else {org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);}break;case 18: // LOWEST_FLIPKART_SELLERif (field.type == org.apache.thrift.protocol.TType.STRING) {this.lowestFlipkartSeller = iprot.readString();} else {org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);}break;case 19: // OUR_AMAZON_PRICEif (field.type == org.apache.thrift.protocol.TType.DOUBLE) {this.ourAmazonPrice = iprot.readDouble();setOurAmazonPriceIsSet(true);} else {org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);}break;case 20: // LOWEST_AMAZON_PRICEif (field.type == org.apache.thrift.protocol.TType.DOUBLE) {this.lowestAmazonPrice = iprot.readDouble();setLowestAmazonPriceIsSet(true);} else {org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);}break;case 21: // LOWEST_AMAZON_SELLERif (field.type == org.apache.thrift.protocol.TType.STRING) {this.lowestAmazonSeller = iprot.readString();} else {org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);}break;case 22: // 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;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(ITEM_ID_FIELD_DESC);oprot.writeI64(this.item_id);oprot.writeFieldEnd();oprot.writeFieldBegin(IS_SNAPDEAL_FIELD_DESC);oprot.writeBool(this.isSnapdeal);oprot.writeFieldEnd();oprot.writeFieldBegin(IS_FLIPKART_FIELD_DESC);oprot.writeBool(this.isFlipkart);oprot.writeFieldEnd();oprot.writeFieldBegin(IS_AMAZON_FIELD_DESC);oprot.writeBool(this.isAmazon);oprot.writeFieldEnd();oprot.writeFieldBegin(LOWEST_SNAPDEAL_PRICE_FIELD_DESC);oprot.writeDouble(this.lowestSnapdealPrice);oprot.writeFieldEnd();oprot.writeFieldBegin(LOWEST_FLIPKART_PRICE_FIELD_DESC);oprot.writeDouble(this.lowestFlipkartPrice);oprot.writeFieldEnd();oprot.writeFieldBegin(PROCESSED_FIELD_DESC);oprot.writeBool(this.processed);oprot.writeFieldEnd();oprot.writeFieldBegin(UPLOAD_ID_FIELD_DESC);oprot.writeI64(this.uploadId);oprot.writeFieldEnd();if (this.userEmail != null) {oprot.writeFieldBegin(USER_EMAIL_FIELD_DESC);oprot.writeString(this.userEmail);oprot.writeFieldEnd();}oprot.writeFieldBegin(OUR_SNAPDEAL_PRICE_FIELD_DESC);oprot.writeDouble(this.ourSnapdealPrice);oprot.writeFieldEnd();oprot.writeFieldBegin(OUR_SNAPDEAL_OFFER_PRICE_FIELD_DESC);oprot.writeDouble(this.ourSnapdealOfferPrice);oprot.writeFieldEnd();oprot.writeFieldBegin(OUR_SNAPDEAL_INVENTORY_FIELD_DESC);oprot.writeI64(this.ourSnapdealInventory);oprot.writeFieldEnd();oprot.writeFieldBegin(LOWEST_SNAPDEAL_OFFER_PRICE_FIELD_DESC);oprot.writeDouble(this.lowestSnapdealOfferPrice);oprot.writeFieldEnd();if (this.lowestSnapdealSeller != null) {oprot.writeFieldBegin(LOWEST_SNAPDEAL_SELLER_FIELD_DESC);oprot.writeString(this.lowestSnapdealSeller);oprot.writeFieldEnd();}oprot.writeFieldBegin(LOWEST_SNAPDEAL_SELLER_INVENTORY_FIELD_DESC);oprot.writeI64(this.lowestSnapdealSellerInventory);oprot.writeFieldEnd();oprot.writeFieldBegin(OUR_FLIPKART_PRICE_FIELD_DESC);oprot.writeDouble(this.ourFlipkartPrice);oprot.writeFieldEnd();oprot.writeFieldBegin(OUR_FLIPKART_INVENTORY_FIELD_DESC);oprot.writeI64(this.ourFlipkartInventory);oprot.writeFieldEnd();if (this.lowestFlipkartSeller != null) {oprot.writeFieldBegin(LOWEST_FLIPKART_SELLER_FIELD_DESC);oprot.writeString(this.lowestFlipkartSeller);oprot.writeFieldEnd();}oprot.writeFieldBegin(OUR_AMAZON_PRICE_FIELD_DESC);oprot.writeDouble(this.ourAmazonPrice);oprot.writeFieldEnd();oprot.writeFieldBegin(LOWEST_AMAZON_PRICE_FIELD_DESC);oprot.writeDouble(this.lowestAmazonPrice);oprot.writeFieldEnd();if (this.lowestAmazonSeller != null) {oprot.writeFieldBegin(LOWEST_AMAZON_SELLER_FIELD_DESC);oprot.writeString(this.lowestAmazonSeller);oprot.writeFieldEnd();}if (this.productName != null) {oprot.writeFieldBegin(PRODUCT_NAME_FIELD_DESC);oprot.writeString(this.productName);oprot.writeFieldEnd();}oprot.writeFieldStop();oprot.writeStructEnd();}@Overridepublic String toString() {StringBuilder sb = new StringBuilder("CompetitorPricing(");boolean first = true;sb.append("item_id:");sb.append(this.item_id);first = false;if (!first) sb.append(", ");sb.append("isSnapdeal:");sb.append(this.isSnapdeal);first = false;if (!first) sb.append(", ");sb.append("isFlipkart:");sb.append(this.isFlipkart);first = false;if (!first) sb.append(", ");sb.append("isAmazon:");sb.append(this.isAmazon);first = false;if (!first) sb.append(", ");sb.append("lowestSnapdealPrice:");sb.append(this.lowestSnapdealPrice);first = false;if (!first) sb.append(", ");sb.append("lowestFlipkartPrice:");sb.append(this.lowestFlipkartPrice);first = false;if (!first) sb.append(", ");sb.append("processed:");sb.append(this.processed);first = false;if (!first) sb.append(", ");sb.append("uploadId:");sb.append(this.uploadId);first = false;if (!first) sb.append(", ");sb.append("userEmail:");if (this.userEmail == null) {sb.append("null");} else {sb.append(this.userEmail);}first = false;if (!first) sb.append(", ");sb.append("ourSnapdealPrice:");sb.append(this.ourSnapdealPrice);first = false;if (!first) sb.append(", ");sb.append("ourSnapdealOfferPrice:");sb.append(this.ourSnapdealOfferPrice);first = false;if (!first) sb.append(", ");sb.append("ourSnapdealInventory:");sb.append(this.ourSnapdealInventory);first = false;if (!first) sb.append(", ");sb.append("lowestSnapdealOfferPrice:");sb.append(this.lowestSnapdealOfferPrice);first = false;if (!first) sb.append(", ");sb.append("lowestSnapdealSeller:");if (this.lowestSnapdealSeller == null) {sb.append("null");} else {sb.append(this.lowestSnapdealSeller);}first = false;if (!first) sb.append(", ");sb.append("lowestSnapdealSellerInventory:");sb.append(this.lowestSnapdealSellerInventory);first = false;if (!first) sb.append(", ");sb.append("ourFlipkartPrice:");sb.append(this.ourFlipkartPrice);first = false;if (!first) sb.append(", ");sb.append("ourFlipkartInventory:");sb.append(this.ourFlipkartInventory);first = false;if (!first) sb.append(", ");sb.append("lowestFlipkartSeller:");if (this.lowestFlipkartSeller == null) {sb.append("null");} else {sb.append(this.lowestFlipkartSeller);}first = false;if (!first) sb.append(", ");sb.append("ourAmazonPrice:");sb.append(this.ourAmazonPrice);first = false;if (!first) sb.append(", ");sb.append("lowestAmazonPrice:");sb.append(this.lowestAmazonPrice);first = false;if (!first) sb.append(", ");sb.append("lowestAmazonSeller:");if (this.lowestAmazonSeller == null) {sb.append("null");} else {sb.append(this.lowestAmazonSeller);}first = false;if (!first) sb.append(", ");sb.append("productName:");if (this.productName == null) {sb.append("null");} else {sb.append(this.productName);}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);}}}