public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder(
            this.getUnknownFields());
        while (true) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              this.setUnknownFields(unknownFields.build());
              onChanged();
              return this;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                this.setUnknownFields(unknownFields.build());
                onChanged();
                return this;
              }
              break;
            }
            case 10: {
              JSystemPiqi.buy_item_request.Builder subBuilder = JSystemPiqi.buy_item_request.newBuilder();
              if (hasBuyItem()) {
                subBuilder.mergeFrom(getBuyItem());
              }
              input.readMessage(subBuilder, extensionRegistry);
              setBuyItem(subBuilder.buildPartial());
              break;
            }
            case 18: {
              JSystemPiqi.grant_coins_request.Builder subBuilder = JSystemPiqi.grant_coins_request.newBuilder();
              if (hasGrantCoins()) {
                subBuilder.mergeFrom(getGrantCoins());
              }
              input.readMessage(subBuilder, extensionRegistry);
              setGrantCoins(subBuilder.buildPartial());
              break;
            }
          }
        }
      }