public com.xinqihd.sns.gameserver.proto.XinqiBseShopping.BseShopping build() {
   com.xinqihd.sns.gameserver.proto.XinqiBseShopping.BseShopping result = buildPartial();
   if (!result.isInitialized()) {
     throw newUninitializedMessageException(result);
   }
   return result;
 }
 private com.xinqihd.sns.gameserver.proto.XinqiBseShopping.BseShopping buildParsed()
     throws com.google.protobuf.InvalidProtocolBufferException {
   com.xinqihd.sns.gameserver.proto.XinqiBseShopping.BseShopping result = buildPartial();
   if (!result.isInitialized()) {
     throw newUninitializedMessageException(result).asInvalidProtocolBufferException();
   }
   return result;
 }
 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;
 }
 public Builder mergeFrom(
     com.xinqihd.sns.gameserver.proto.XinqiBseShopping.BseShopping other) {
   if (other
       == com.xinqihd.sns.gameserver.proto.XinqiBseShopping.BseShopping.getDefaultInstance())
     return this;
   if (other.hasType()) {
     setType(other.getType());
   }
   if (other.hasGender()) {
     setGender(other.getGender());
   }
   if (goodsInfoBuilder_ == null) {
     if (!other.goodsInfo_.isEmpty()) {
       if (goodsInfo_.isEmpty()) {
         goodsInfo_ = other.goodsInfo_;
         bitField0_ = (bitField0_ & ~0x00000004);
       } else {
         ensureGoodsInfoIsMutable();
         goodsInfo_.addAll(other.goodsInfo_);
       }
       onChanged();
     }
   } else {
     if (!other.goodsInfo_.isEmpty()) {
       if (goodsInfoBuilder_.isEmpty()) {
         goodsInfoBuilder_.dispose();
         goodsInfoBuilder_ = null;
         goodsInfo_ = other.goodsInfo_;
         bitField0_ = (bitField0_ & ~0x00000004);
         goodsInfoBuilder_ =
             com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders
                 ? getGoodsInfoFieldBuilder()
                 : null;
       } else {
         goodsInfoBuilder_.addAllMessages(other.goodsInfo_);
       }
     }
   }
   this.mergeUnknownFields(other.getUnknownFields());
   return this;
 }
 public com.xinqihd.sns.gameserver.proto.XinqiBseShopping.BseShopping
     getDefaultInstanceForType() {
   return com.xinqihd.sns.gameserver.proto.XinqiBseShopping.BseShopping.getDefaultInstance();
 }
 public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
   return com.xinqihd.sns.gameserver.proto.XinqiBseShopping.BseShopping.getDescriptor();
 }