// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: recommended_game.proto

package com.kfzs.duanduan.proto;

public final class RecommendedGameOuterClass {
  private RecommendedGameOuterClass() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface RecommendedGameOrBuilder extends
      // @@protoc_insertion_point(interface_extends:protobuf.RecommendedGame)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>int32 Id = 1;</code>
     */
    int getId();

    /**
     * <code>int32 GameId = 2;</code>
     */
    int getGameId();

    /**
     * <code>int32 Order = 3;</code>
     */
    int getOrder();

    /**
     * <code>string Title = 4;</code>
     */
    java.lang.String getTitle();
    /**
     * <code>string Title = 4;</code>
     */
    com.google.protobuf.ByteString
        getTitleBytes();

    /**
     * <code>string ImageUrl = 5;</code>
     */
    java.lang.String getImageUrl();
    /**
     * <code>string ImageUrl = 5;</code>
     */
    com.google.protobuf.ByteString
        getImageUrlBytes();

    /**
     * <code>.protobuf.Game Game = 6;</code>
     */
    boolean hasGame();
    /**
     * <code>.protobuf.Game Game = 6;</code>
     */
    com.kfzs.duanduan.proto.GameOuterClass.Game getGame();
    /**
     * <code>.protobuf.Game Game = 6;</code>
     */
    com.kfzs.duanduan.proto.GameOuterClass.GameOrBuilder getGameOrBuilder();

    /**
     * <pre>
     *是否可以预下载
     * </pre>
     *
     * <code>int32 IsCanDownload = 7;</code>
     */
    int getIsCanDownload();

    /**
     * <code>int32 BookId = 8;</code>
     */
    int getBookId();

    /**
     * <code>string Url = 9;</code>
     */
    java.lang.String getUrl();
    /**
     * <code>string Url = 9;</code>
     */
    com.google.protobuf.ByteString
        getUrlBytes();

    /**
     * <pre>
     *游戏包的下载地址
     * </pre>
     *
     * <code>string ApkUrl = 10;</code>
     */
    java.lang.String getApkUrl();
    /**
     * <pre>
     *游戏包的下载地址
     * </pre>
     *
     * <code>string ApkUrl = 10;</code>
     */
    com.google.protobuf.ByteString
        getApkUrlBytes();
  }
  /**
   * Protobuf type {@code protobuf.RecommendedGame}
   */
  public  static final class RecommendedGame extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:protobuf.RecommendedGame)
      RecommendedGameOrBuilder {
    // Use RecommendedGame.newBuilder() to construct.
    private RecommendedGame(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private RecommendedGame() {
      id_ = 0;
      gameId_ = 0;
      order_ = 0;
      title_ = "";
      imageUrl_ = "";
      isCanDownload_ = 0;
      bookId_ = 0;
      url_ = "";
      apkUrl_ = "";
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
    }
    private RecommendedGame(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      int mutable_bitField0_ = 0;
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!input.skipField(tag)) {
                done = true;
              }
              break;
            }
            case 8: {

              id_ = input.readInt32();
              break;
            }
            case 16: {

              gameId_ = input.readInt32();
              break;
            }
            case 24: {

              order_ = input.readInt32();
              break;
            }
            case 34: {
              java.lang.String s = input.readStringRequireUtf8();

              title_ = s;
              break;
            }
            case 42: {
              java.lang.String s = input.readStringRequireUtf8();

              imageUrl_ = s;
              break;
            }
            case 50: {
              com.kfzs.duanduan.proto.GameOuterClass.Game.Builder subBuilder = null;
              if (game_ != null) {
                subBuilder = game_.toBuilder();
              }
              game_ = input.readMessage(com.kfzs.duanduan.proto.GameOuterClass.Game.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(game_);
                game_ = subBuilder.buildPartial();
              }

              break;
            }
            case 56: {

              isCanDownload_ = input.readInt32();
              break;
            }
            case 64: {

              bookId_ = input.readInt32();
              break;
            }
            case 74: {
              java.lang.String s = input.readStringRequireUtf8();

              url_ = s;
              break;
            }
            case 82: {
              java.lang.String s = input.readStringRequireUtf8();

              apkUrl_ = s;
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.kfzs.duanduan.proto.RecommendedGameOuterClass.internal_static_protobuf_RecommendedGame_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.kfzs.duanduan.proto.RecommendedGameOuterClass.internal_static_protobuf_RecommendedGame_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.kfzs.duanduan.proto.RecommendedGameOuterClass.RecommendedGame.class, com.kfzs.duanduan.proto.RecommendedGameOuterClass.RecommendedGame.Builder.class);
    }

    public static final int ID_FIELD_NUMBER = 1;
    private int id_;
    /**
     * <code>int32 Id = 1;</code>
     */
    public int getId() {
      return id_;
    }

    public static final int GAMEID_FIELD_NUMBER = 2;
    private int gameId_;
    /**
     * <code>int32 GameId = 2;</code>
     */
    public int getGameId() {
      return gameId_;
    }

    public static final int ORDER_FIELD_NUMBER = 3;
    private int order_;
    /**
     * <code>int32 Order = 3;</code>
     */
    public int getOrder() {
      return order_;
    }

    public static final int TITLE_FIELD_NUMBER = 4;
    private volatile java.lang.Object title_;
    /**
     * <code>string Title = 4;</code>
     */
    public java.lang.String getTitle() {
      java.lang.Object ref = title_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        title_ = s;
        return s;
      }
    }
    /**
     * <code>string Title = 4;</code>
     */
    public com.google.protobuf.ByteString
        getTitleBytes() {
      java.lang.Object ref = title_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        title_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int IMAGEURL_FIELD_NUMBER = 5;
    private volatile java.lang.Object imageUrl_;
    /**
     * <code>string ImageUrl = 5;</code>
     */
    public java.lang.String getImageUrl() {
      java.lang.Object ref = imageUrl_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        imageUrl_ = s;
        return s;
      }
    }
    /**
     * <code>string ImageUrl = 5;</code>
     */
    public com.google.protobuf.ByteString
        getImageUrlBytes() {
      java.lang.Object ref = imageUrl_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        imageUrl_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int GAME_FIELD_NUMBER = 6;
    private com.kfzs.duanduan.proto.GameOuterClass.Game game_;
    /**
     * <code>.protobuf.Game Game = 6;</code>
     */
    public boolean hasGame() {
      return game_ != null;
    }
    /**
     * <code>.protobuf.Game Game = 6;</code>
     */
    public com.kfzs.duanduan.proto.GameOuterClass.Game getGame() {
      return game_ == null ? com.kfzs.duanduan.proto.GameOuterClass.Game.getDefaultInstance() : game_;
    }
    /**
     * <code>.protobuf.Game Game = 6;</code>
     */
    public com.kfzs.duanduan.proto.GameOuterClass.GameOrBuilder getGameOrBuilder() {
      return getGame();
    }

    public static final int ISCANDOWNLOAD_FIELD_NUMBER = 7;
    private int isCanDownload_;
    /**
     * <pre>
     *是否可以预下载
     * </pre>
     *
     * <code>int32 IsCanDownload = 7;</code>
     */
    public int getIsCanDownload() {
      return isCanDownload_;
    }

    public static final int BOOKID_FIELD_NUMBER = 8;
    private int bookId_;
    /**
     * <code>int32 BookId = 8;</code>
     */
    public int getBookId() {
      return bookId_;
    }

    public static final int URL_FIELD_NUMBER = 9;
    private volatile java.lang.Object url_;
    /**
     * <code>string Url = 9;</code>
     */
    public java.lang.String getUrl() {
      java.lang.Object ref = url_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        url_ = s;
        return s;
      }
    }
    /**
     * <code>string Url = 9;</code>
     */
    public com.google.protobuf.ByteString
        getUrlBytes() {
      java.lang.Object ref = url_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        url_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int APKURL_FIELD_NUMBER = 10;
    private volatile java.lang.Object apkUrl_;
    /**
     * <pre>
     *游戏包的下载地址
     * </pre>
     *
     * <code>string ApkUrl = 10;</code>
     */
    public java.lang.String getApkUrl() {
      java.lang.Object ref = apkUrl_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        apkUrl_ = s;
        return s;
      }
    }
    /**
     * <pre>
     *游戏包的下载地址
     * </pre>
     *
     * <code>string ApkUrl = 10;</code>
     */
    public com.google.protobuf.ByteString
        getApkUrlBytes() {
      java.lang.Object ref = apkUrl_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        apkUrl_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (id_ != 0) {
        output.writeInt32(1, id_);
      }
      if (gameId_ != 0) {
        output.writeInt32(2, gameId_);
      }
      if (order_ != 0) {
        output.writeInt32(3, order_);
      }
      if (!getTitleBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 4, title_);
      }
      if (!getImageUrlBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 5, imageUrl_);
      }
      if (game_ != null) {
        output.writeMessage(6, getGame());
      }
      if (isCanDownload_ != 0) {
        output.writeInt32(7, isCanDownload_);
      }
      if (bookId_ != 0) {
        output.writeInt32(8, bookId_);
      }
      if (!getUrlBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 9, url_);
      }
      if (!getApkUrlBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 10, apkUrl_);
      }
    }

    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (id_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(1, id_);
      }
      if (gameId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(2, gameId_);
      }
      if (order_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(3, order_);
      }
      if (!getTitleBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, title_);
      }
      if (!getImageUrlBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, imageUrl_);
      }
      if (game_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(6, getGame());
      }
      if (isCanDownload_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(7, isCanDownload_);
      }
      if (bookId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(8, bookId_);
      }
      if (!getUrlBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, url_);
      }
      if (!getApkUrlBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, apkUrl_);
      }
      memoizedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.kfzs.duanduan.proto.RecommendedGameOuterClass.RecommendedGame)) {
        return super.equals(obj);
      }
      com.kfzs.duanduan.proto.RecommendedGameOuterClass.RecommendedGame other = (com.kfzs.duanduan.proto.RecommendedGameOuterClass.RecommendedGame) obj;

      boolean result = true;
      result = result && (getId()
          == other.getId());
      result = result && (getGameId()
          == other.getGameId());
      result = result && (getOrder()
          == other.getOrder());
      result = result && getTitle()
          .equals(other.getTitle());
      result = result && getImageUrl()
          .equals(other.getImageUrl());
      result = result && (hasGame() == other.hasGame());
      if (hasGame()) {
        result = result && getGame()
            .equals(other.getGame());
      }
      result = result && (getIsCanDownload()
          == other.getIsCanDownload());
      result = result && (getBookId()
          == other.getBookId());
      result = result && getUrl()
          .equals(other.getUrl());
      result = result && getApkUrl()
          .equals(other.getApkUrl());
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + ID_FIELD_NUMBER;
      hash = (53 * hash) + getId();
      hash = (37 * hash) + GAMEID_FIELD_NUMBER;
      hash = (53 * hash) + getGameId();
      hash = (37 * hash) + ORDER_FIELD_NUMBER;
      hash = (53 * hash) + getOrder();
      hash = (37 * hash) + TITLE_FIELD_NUMBER;
      hash = (53 * hash) + getTitle().hashCode();
      hash = (37 * hash) + IMAGEURL_FIELD_NUMBER;
      hash = (53 * hash) + getImageUrl().hashCode();
      if (hasGame()) {
        hash = (37 * hash) + GAME_FIELD_NUMBER;
        hash = (53 * hash) + getGame().hashCode();
      }
      hash = (37 * hash) + ISCANDOWNLOAD_FIELD_NUMBER;
      hash = (53 * hash) + getIsCanDownload();
      hash = (37 * hash) + BOOKID_FIELD_NUMBER;
      hash = (53 * hash) + getBookId();
      hash = (37 * hash) + URL_FIELD_NUMBER;
      hash = (53 * hash) + getUrl().hashCode();
      hash = (37 * hash) + APKURL_FIELD_NUMBER;
      hash = (53 * hash) + getApkUrl().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.kfzs.duanduan.proto.RecommendedGameOuterClass.RecommendedGame parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.kfzs.duanduan.proto.RecommendedGameOuterClass.RecommendedGame parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.kfzs.duanduan.proto.RecommendedGameOuterClass.RecommendedGame parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.kfzs.duanduan.proto.RecommendedGameOuterClass.RecommendedGame parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.kfzs.duanduan.proto.RecommendedGameOuterClass.RecommendedGame parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.kfzs.duanduan.proto.RecommendedGameOuterClass.RecommendedGame parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.kfzs.duanduan.proto.RecommendedGameOuterClass.RecommendedGame parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.kfzs.duanduan.proto.RecommendedGameOuterClass.RecommendedGame parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.kfzs.duanduan.proto.RecommendedGameOuterClass.RecommendedGame parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.kfzs.duanduan.proto.RecommendedGameOuterClass.RecommendedGame parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.kfzs.duanduan.proto.RecommendedGameOuterClass.RecommendedGame prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code protobuf.RecommendedGame}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:protobuf.RecommendedGame)
        com.kfzs.duanduan.proto.RecommendedGameOuterClass.RecommendedGameOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.kfzs.duanduan.proto.RecommendedGameOuterClass.internal_static_protobuf_RecommendedGame_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.kfzs.duanduan.proto.RecommendedGameOuterClass.internal_static_protobuf_RecommendedGame_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.kfzs.duanduan.proto.RecommendedGameOuterClass.RecommendedGame.class, com.kfzs.duanduan.proto.RecommendedGameOuterClass.RecommendedGame.Builder.class);
      }

      // Construct using com.kfzs.duanduan.proto.RecommendedGameOuterClass.RecommendedGame.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      public Builder clear() {
        super.clear();
        id_ = 0;

        gameId_ = 0;

        order_ = 0;

        title_ = "";

        imageUrl_ = "";

        if (gameBuilder_ == null) {
          game_ = null;
        } else {
          game_ = null;
          gameBuilder_ = null;
        }
        isCanDownload_ = 0;

        bookId_ = 0;

        url_ = "";

        apkUrl_ = "";

        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.kfzs.duanduan.proto.RecommendedGameOuterClass.internal_static_protobuf_RecommendedGame_descriptor;
      }

      public com.kfzs.duanduan.proto.RecommendedGameOuterClass.RecommendedGame getDefaultInstanceForType() {
        return com.kfzs.duanduan.proto.RecommendedGameOuterClass.RecommendedGame.getDefaultInstance();
      }

      public com.kfzs.duanduan.proto.RecommendedGameOuterClass.RecommendedGame build() {
        com.kfzs.duanduan.proto.RecommendedGameOuterClass.RecommendedGame result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.kfzs.duanduan.proto.RecommendedGameOuterClass.RecommendedGame buildPartial() {
        com.kfzs.duanduan.proto.RecommendedGameOuterClass.RecommendedGame result = new com.kfzs.duanduan.proto.RecommendedGameOuterClass.RecommendedGame(this);
        result.id_ = id_;
        result.gameId_ = gameId_;
        result.order_ = order_;
        result.title_ = title_;
        result.imageUrl_ = imageUrl_;
        if (gameBuilder_ == null) {
          result.game_ = game_;
        } else {
          result.game_ = gameBuilder_.build();
        }
        result.isCanDownload_ = isCanDownload_;
        result.bookId_ = bookId_;
        result.url_ = url_;
        result.apkUrl_ = apkUrl_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return super.setField(field, value);
      }
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.kfzs.duanduan.proto.RecommendedGameOuterClass.RecommendedGame) {
          return mergeFrom((com.kfzs.duanduan.proto.RecommendedGameOuterClass.RecommendedGame)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.kfzs.duanduan.proto.RecommendedGameOuterClass.RecommendedGame other) {
        if (other == com.kfzs.duanduan.proto.RecommendedGameOuterClass.RecommendedGame.getDefaultInstance()) return this;
        if (other.getId() != 0) {
          setId(other.getId());
        }
        if (other.getGameId() != 0) {
          setGameId(other.getGameId());
        }
        if (other.getOrder() != 0) {
          setOrder(other.getOrder());
        }
        if (!other.getTitle().isEmpty()) {
          title_ = other.title_;
          onChanged();
        }
        if (!other.getImageUrl().isEmpty()) {
          imageUrl_ = other.imageUrl_;
          onChanged();
        }
        if (other.hasGame()) {
          mergeGame(other.getGame());
        }
        if (other.getIsCanDownload() != 0) {
          setIsCanDownload(other.getIsCanDownload());
        }
        if (other.getBookId() != 0) {
          setBookId(other.getBookId());
        }
        if (!other.getUrl().isEmpty()) {
          url_ = other.url_;
          onChanged();
        }
        if (!other.getApkUrl().isEmpty()) {
          apkUrl_ = other.apkUrl_;
          onChanged();
        }
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.kfzs.duanduan.proto.RecommendedGameOuterClass.RecommendedGame parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.kfzs.duanduan.proto.RecommendedGameOuterClass.RecommendedGame) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private int id_ ;
      /**
       * <code>int32 Id = 1;</code>
       */
      public int getId() {
        return id_;
      }
      /**
       * <code>int32 Id = 1;</code>
       */
      public Builder setId(int value) {
        
        id_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int32 Id = 1;</code>
       */
      public Builder clearId() {
        
        id_ = 0;
        onChanged();
        return this;
      }

      private int gameId_ ;
      /**
       * <code>int32 GameId = 2;</code>
       */
      public int getGameId() {
        return gameId_;
      }
      /**
       * <code>int32 GameId = 2;</code>
       */
      public Builder setGameId(int value) {
        
        gameId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int32 GameId = 2;</code>
       */
      public Builder clearGameId() {
        
        gameId_ = 0;
        onChanged();
        return this;
      }

      private int order_ ;
      /**
       * <code>int32 Order = 3;</code>
       */
      public int getOrder() {
        return order_;
      }
      /**
       * <code>int32 Order = 3;</code>
       */
      public Builder setOrder(int value) {
        
        order_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int32 Order = 3;</code>
       */
      public Builder clearOrder() {
        
        order_ = 0;
        onChanged();
        return this;
      }

      private java.lang.Object title_ = "";
      /**
       * <code>string Title = 4;</code>
       */
      public java.lang.String getTitle() {
        java.lang.Object ref = title_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          title_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string Title = 4;</code>
       */
      public com.google.protobuf.ByteString
          getTitleBytes() {
        java.lang.Object ref = title_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          title_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string Title = 4;</code>
       */
      public Builder setTitle(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        title_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string Title = 4;</code>
       */
      public Builder clearTitle() {
        
        title_ = getDefaultInstance().getTitle();
        onChanged();
        return this;
      }
      /**
       * <code>string Title = 4;</code>
       */
      public Builder setTitleBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        title_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object imageUrl_ = "";
      /**
       * <code>string ImageUrl = 5;</code>
       */
      public java.lang.String getImageUrl() {
        java.lang.Object ref = imageUrl_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          imageUrl_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string ImageUrl = 5;</code>
       */
      public com.google.protobuf.ByteString
          getImageUrlBytes() {
        java.lang.Object ref = imageUrl_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          imageUrl_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string ImageUrl = 5;</code>
       */
      public Builder setImageUrl(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        imageUrl_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string ImageUrl = 5;</code>
       */
      public Builder clearImageUrl() {
        
        imageUrl_ = getDefaultInstance().getImageUrl();
        onChanged();
        return this;
      }
      /**
       * <code>string ImageUrl = 5;</code>
       */
      public Builder setImageUrlBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        imageUrl_ = value;
        onChanged();
        return this;
      }

      private com.kfzs.duanduan.proto.GameOuterClass.Game game_ = null;
      private com.google.protobuf.SingleFieldBuilderV3<
          com.kfzs.duanduan.proto.GameOuterClass.Game, com.kfzs.duanduan.proto.GameOuterClass.Game.Builder, com.kfzs.duanduan.proto.GameOuterClass.GameOrBuilder> gameBuilder_;
      /**
       * <code>.protobuf.Game Game = 6;</code>
       */
      public boolean hasGame() {
        return gameBuilder_ != null || game_ != null;
      }
      /**
       * <code>.protobuf.Game Game = 6;</code>
       */
      public com.kfzs.duanduan.proto.GameOuterClass.Game getGame() {
        if (gameBuilder_ == null) {
          return game_ == null ? com.kfzs.duanduan.proto.GameOuterClass.Game.getDefaultInstance() : game_;
        } else {
          return gameBuilder_.getMessage();
        }
      }
      /**
       * <code>.protobuf.Game Game = 6;</code>
       */
      public Builder setGame(com.kfzs.duanduan.proto.GameOuterClass.Game value) {
        if (gameBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          game_ = value;
          onChanged();
        } else {
          gameBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.protobuf.Game Game = 6;</code>
       */
      public Builder setGame(
          com.kfzs.duanduan.proto.GameOuterClass.Game.Builder builderForValue) {
        if (gameBuilder_ == null) {
          game_ = builderForValue.build();
          onChanged();
        } else {
          gameBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.protobuf.Game Game = 6;</code>
       */
      public Builder mergeGame(com.kfzs.duanduan.proto.GameOuterClass.Game value) {
        if (gameBuilder_ == null) {
          if (game_ != null) {
            game_ =
              com.kfzs.duanduan.proto.GameOuterClass.Game.newBuilder(game_).mergeFrom(value).buildPartial();
          } else {
            game_ = value;
          }
          onChanged();
        } else {
          gameBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.protobuf.Game Game = 6;</code>
       */
      public Builder clearGame() {
        if (gameBuilder_ == null) {
          game_ = null;
          onChanged();
        } else {
          game_ = null;
          gameBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.protobuf.Game Game = 6;</code>
       */
      public com.kfzs.duanduan.proto.GameOuterClass.Game.Builder getGameBuilder() {
        
        onChanged();
        return getGameFieldBuilder().getBuilder();
      }
      /**
       * <code>.protobuf.Game Game = 6;</code>
       */
      public com.kfzs.duanduan.proto.GameOuterClass.GameOrBuilder getGameOrBuilder() {
        if (gameBuilder_ != null) {
          return gameBuilder_.getMessageOrBuilder();
        } else {
          return game_ == null ?
              com.kfzs.duanduan.proto.GameOuterClass.Game.getDefaultInstance() : game_;
        }
      }
      /**
       * <code>.protobuf.Game Game = 6;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          com.kfzs.duanduan.proto.GameOuterClass.Game, com.kfzs.duanduan.proto.GameOuterClass.Game.Builder, com.kfzs.duanduan.proto.GameOuterClass.GameOrBuilder> 
          getGameFieldBuilder() {
        if (gameBuilder_ == null) {
          gameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              com.kfzs.duanduan.proto.GameOuterClass.Game, com.kfzs.duanduan.proto.GameOuterClass.Game.Builder, com.kfzs.duanduan.proto.GameOuterClass.GameOrBuilder>(
                  getGame(),
                  getParentForChildren(),
                  isClean());
          game_ = null;
        }
        return gameBuilder_;
      }

      private int isCanDownload_ ;
      /**
       * <pre>
       *是否可以预下载
       * </pre>
       *
       * <code>int32 IsCanDownload = 7;</code>
       */
      public int getIsCanDownload() {
        return isCanDownload_;
      }
      /**
       * <pre>
       *是否可以预下载
       * </pre>
       *
       * <code>int32 IsCanDownload = 7;</code>
       */
      public Builder setIsCanDownload(int value) {
        
        isCanDownload_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *是否可以预下载
       * </pre>
       *
       * <code>int32 IsCanDownload = 7;</code>
       */
      public Builder clearIsCanDownload() {
        
        isCanDownload_ = 0;
        onChanged();
        return this;
      }

      private int bookId_ ;
      /**
       * <code>int32 BookId = 8;</code>
       */
      public int getBookId() {
        return bookId_;
      }
      /**
       * <code>int32 BookId = 8;</code>
       */
      public Builder setBookId(int value) {
        
        bookId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int32 BookId = 8;</code>
       */
      public Builder clearBookId() {
        
        bookId_ = 0;
        onChanged();
        return this;
      }

      private java.lang.Object url_ = "";
      /**
       * <code>string Url = 9;</code>
       */
      public java.lang.String getUrl() {
        java.lang.Object ref = url_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          url_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string Url = 9;</code>
       */
      public com.google.protobuf.ByteString
          getUrlBytes() {
        java.lang.Object ref = url_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          url_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string Url = 9;</code>
       */
      public Builder setUrl(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        url_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string Url = 9;</code>
       */
      public Builder clearUrl() {
        
        url_ = getDefaultInstance().getUrl();
        onChanged();
        return this;
      }
      /**
       * <code>string Url = 9;</code>
       */
      public Builder setUrlBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        url_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object apkUrl_ = "";
      /**
       * <pre>
       *游戏包的下载地址
       * </pre>
       *
       * <code>string ApkUrl = 10;</code>
       */
      public java.lang.String getApkUrl() {
        java.lang.Object ref = apkUrl_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          apkUrl_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <pre>
       *游戏包的下载地址
       * </pre>
       *
       * <code>string ApkUrl = 10;</code>
       */
      public com.google.protobuf.ByteString
          getApkUrlBytes() {
        java.lang.Object ref = apkUrl_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          apkUrl_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       *游戏包的下载地址
       * </pre>
       *
       * <code>string ApkUrl = 10;</code>
       */
      public Builder setApkUrl(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        apkUrl_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *游戏包的下载地址
       * </pre>
       *
       * <code>string ApkUrl = 10;</code>
       */
      public Builder clearApkUrl() {
        
        apkUrl_ = getDefaultInstance().getApkUrl();
        onChanged();
        return this;
      }
      /**
       * <pre>
       *游戏包的下载地址
       * </pre>
       *
       * <code>string ApkUrl = 10;</code>
       */
      public Builder setApkUrlBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        apkUrl_ = value;
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }

      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }


      // @@protoc_insertion_point(builder_scope:protobuf.RecommendedGame)
    }

    // @@protoc_insertion_point(class_scope:protobuf.RecommendedGame)
    private static final com.kfzs.duanduan.proto.RecommendedGameOuterClass.RecommendedGame DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.kfzs.duanduan.proto.RecommendedGameOuterClass.RecommendedGame();
    }

    public static com.kfzs.duanduan.proto.RecommendedGameOuterClass.RecommendedGame getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<RecommendedGame>
        PARSER = new com.google.protobuf.AbstractParser<RecommendedGame>() {
      public RecommendedGame parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
          return new RecommendedGame(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser<RecommendedGame> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<RecommendedGame> getParserForType() {
      return PARSER;
    }

    public com.kfzs.duanduan.proto.RecommendedGameOuterClass.RecommendedGame getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_protobuf_RecommendedGame_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_protobuf_RecommendedGame_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n\026recommended_game.proto\022\010protobuf\032\ngame" +
      ".proto\"\277\001\n\017RecommendedGame\022\n\n\002Id\030\001 \001(\005\022\016" +
      "\n\006GameId\030\002 \001(\005\022\r\n\005Order\030\003 \001(\005\022\r\n\005Title\030\004" +
      " \001(\t\022\020\n\010ImageUrl\030\005 \001(\t\022\034\n\004Game\030\006 \001(\0132\016.p" +
      "rotobuf.Game\022\025\n\rIsCanDownload\030\007 \001(\005\022\016\n\006B" +
      "ookId\030\010 \001(\005\022\013\n\003Url\030\t \001(\t\022\016\n\006ApkUrl\030\n \001(\t" +
      "B\031\n\027com.kfzs.duanduan.protob\006proto3"
    };
    com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
        new com.google.protobuf.Descriptors.FileDescriptor.    InternalDescriptorAssigner() {
          public com.google.protobuf.ExtensionRegistry assignDescriptors(
              com.google.protobuf.Descriptors.FileDescriptor root) {
            descriptor = root;
            return null;
          }
        };
    com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          com.kfzs.duanduan.proto.GameOuterClass.getDescriptor(),
        }, assigner);
    internal_static_protobuf_RecommendedGame_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_protobuf_RecommendedGame_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_protobuf_RecommendedGame_descriptor,
        new java.lang.String[] { "Id", "GameId", "Order", "Title", "ImageUrl", "Game", "IsCanDownload", "BookId", "Url", "ApkUrl", });
    com.kfzs.duanduan.proto.GameOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
