public com.xinqihd.sns.gameserver.proto.XinqiBseShopping.BseShopping buildPartial() { com.xinqihd.sns.gameserver.proto.XinqiBseShopping.BseShopping result = new com.xinqihd.sns.gameserver.proto.XinqiBseShopping.BseShopping(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.type_ = type_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.gender_ = gender_; if (goodsInfoBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004)) { goodsInfo_ = java.util.Collections.unmodifiableList(goodsInfo_); bitField0_ = (bitField0_ & ~0x00000004); } result.goodsInfo_ = goodsInfo_; } else { result.goodsInfo_ = goodsInfoBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; }