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

package com.kfzs.duanduan.proto;

public final class IndexBannerGiftCenterOuterClass {
  private IndexBannerGiftCenterOuterClass() {}
  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 IndexBannerGiftCenterOrBuilder extends
      // @@protoc_insertion_point(interface_extends:protobuf.IndexBannerGiftCenter)
      com.google.protobuf.MessageOrBuilder {

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

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

    /**
     * <code>int32 type = 3;</code>
     */
    int getType();

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

    /**
     * <code>string HtmlUrl = 5;</code>
     */
    java.lang.String getHtmlUrl();
    /**
     * <code>string HtmlUrl = 5;</code>
     */
    com.google.protobuf.ByteString
        getHtmlUrlBytes();

    /**
     * <code>int32 Sort = 6;</code>
     */
    int getSort();

    /**
     * <code>string DownloadUrl = 7;</code>
     */
    java.lang.String getDownloadUrl();
    /**
     * <code>string DownloadUrl = 7;</code>
     */
    com.google.protobuf.ByteString
        getDownloadUrlBytes();

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

    /**
     * <code>int32 Status = 10;</code>
     */
    int getStatus();

    /**
     * <code>.protobuf.Game game = 9;</code>
     */
    boolean hasGame();
    /**
     * <code>.protobuf.Game game = 9;</code>
     */
    com.kfzs.duanduan.proto.GameOuterClass.Game getGame();
    /**
     * <code>.protobuf.Game game = 9;</code>
     */
    com.kfzs.duanduan.proto.GameOuterClass.GameOrBuilder getGameOrBuilder();
  }
  /**
   * Protobuf type {@code protobuf.IndexBannerGiftCenter}
   */
  public  static final class IndexBannerGiftCenter extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:protobuf.IndexBannerGiftCenter)
      IndexBannerGiftCenterOrBuilder {
    // Use IndexBannerGiftCenter.newBuilder() to construct.
    private IndexBannerGiftCenter(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private IndexBannerGiftCenter() {
      id_ = 0;
      imageUrl_ = "";
      type_ = 0;
      gameId_ = 0;
      htmlUrl_ = "";
      sort_ = 0;
      downloadUrl_ = "";
      title_ = "";
      status_ = 0;
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
    }
    private IndexBannerGiftCenter(
        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 18: {
              java.lang.String s = input.readStringRequireUtf8();

              imageUrl_ = s;
              break;
            }
            case 24: {

              type_ = input.readInt32();
              break;
            }
            case 32: {

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

              htmlUrl_ = s;
              break;
            }
            case 48: {

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

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

              title_ = s;
              break;
            }
            case 74: {
              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 80: {

              status_ = input.readInt32();
              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.IndexBannerGiftCenterOuterClass.internal_static_protobuf_IndexBannerGiftCenter_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.kfzs.duanduan.proto.IndexBannerGiftCenterOuterClass.internal_static_protobuf_IndexBannerGiftCenter_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.kfzs.duanduan.proto.IndexBannerGiftCenterOuterClass.IndexBannerGiftCenter.class, com.kfzs.duanduan.proto.IndexBannerGiftCenterOuterClass.IndexBannerGiftCenter.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 IMAGEURL_FIELD_NUMBER = 2;
    private volatile java.lang.Object imageUrl_;
    /**
     * <code>string ImageUrl = 2;</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 = 2;</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 TYPE_FIELD_NUMBER = 3;
    private int type_;
    /**
     * <code>int32 type = 3;</code>
     */
    public int getType() {
      return type_;
    }

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

    public static final int HTMLURL_FIELD_NUMBER = 5;
    private volatile java.lang.Object htmlUrl_;
    /**
     * <code>string HtmlUrl = 5;</code>
     */
    public java.lang.String getHtmlUrl() {
      java.lang.Object ref = htmlUrl_;
      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();
        htmlUrl_ = s;
        return s;
      }
    }
    /**
     * <code>string HtmlUrl = 5;</code>
     */
    public com.google.protobuf.ByteString
        getHtmlUrlBytes() {
      java.lang.Object ref = htmlUrl_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        htmlUrl_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int SORT_FIELD_NUMBER = 6;
    private int sort_;
    /**
     * <code>int32 Sort = 6;</code>
     */
    public int getSort() {
      return sort_;
    }

    public static final int DOWNLOADURL_FIELD_NUMBER = 7;
    private volatile java.lang.Object downloadUrl_;
    /**
     * <code>string DownloadUrl = 7;</code>
     */
    public java.lang.String getDownloadUrl() {
      java.lang.Object ref = downloadUrl_;
      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();
        downloadUrl_ = s;
        return s;
      }
    }
    /**
     * <code>string DownloadUrl = 7;</code>
     */
    public com.google.protobuf.ByteString
        getDownloadUrlBytes() {
      java.lang.Object ref = downloadUrl_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        downloadUrl_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int TITLE_FIELD_NUMBER = 8;
    private volatile java.lang.Object title_;
    /**
     * <code>string Title = 8;</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 = 8;</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 STATUS_FIELD_NUMBER = 10;
    private int status_;
    /**
     * <code>int32 Status = 10;</code>
     */
    public int getStatus() {
      return status_;
    }

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

    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 (!getImageUrlBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, imageUrl_);
      }
      if (type_ != 0) {
        output.writeInt32(3, type_);
      }
      if (gameId_ != 0) {
        output.writeInt32(4, gameId_);
      }
      if (!getHtmlUrlBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 5, htmlUrl_);
      }
      if (sort_ != 0) {
        output.writeInt32(6, sort_);
      }
      if (!getDownloadUrlBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 7, downloadUrl_);
      }
      if (!getTitleBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 8, title_);
      }
      if (game_ != null) {
        output.writeMessage(9, getGame());
      }
      if (status_ != 0) {
        output.writeInt32(10, status_);
      }
    }

    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 (!getImageUrlBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, imageUrl_);
      }
      if (type_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(3, type_);
      }
      if (gameId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(4, gameId_);
      }
      if (!getHtmlUrlBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, htmlUrl_);
      }
      if (sort_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(6, sort_);
      }
      if (!getDownloadUrlBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, downloadUrl_);
      }
      if (!getTitleBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, title_);
      }
      if (game_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(9, getGame());
      }
      if (status_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(10, status_);
      }
      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.IndexBannerGiftCenterOuterClass.IndexBannerGiftCenter)) {
        return super.equals(obj);
      }
      com.kfzs.duanduan.proto.IndexBannerGiftCenterOuterClass.IndexBannerGiftCenter other = (com.kfzs.duanduan.proto.IndexBannerGiftCenterOuterClass.IndexBannerGiftCenter) obj;

      boolean result = true;
      result = result && (getId()
          == other.getId());
      result = result && getImageUrl()
          .equals(other.getImageUrl());
      result = result && (getType()
          == other.getType());
      result = result && (getGameId()
          == other.getGameId());
      result = result && getHtmlUrl()
          .equals(other.getHtmlUrl());
      result = result && (getSort()
          == other.getSort());
      result = result && getDownloadUrl()
          .equals(other.getDownloadUrl());
      result = result && getTitle()
          .equals(other.getTitle());
      result = result && (getStatus()
          == other.getStatus());
      result = result && (hasGame() == other.hasGame());
      if (hasGame()) {
        result = result && getGame()
            .equals(other.getGame());
      }
      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) + IMAGEURL_FIELD_NUMBER;
      hash = (53 * hash) + getImageUrl().hashCode();
      hash = (37 * hash) + TYPE_FIELD_NUMBER;
      hash = (53 * hash) + getType();
      hash = (37 * hash) + GAMEID_FIELD_NUMBER;
      hash = (53 * hash) + getGameId();
      hash = (37 * hash) + HTMLURL_FIELD_NUMBER;
      hash = (53 * hash) + getHtmlUrl().hashCode();
      hash = (37 * hash) + SORT_FIELD_NUMBER;
      hash = (53 * hash) + getSort();
      hash = (37 * hash) + DOWNLOADURL_FIELD_NUMBER;
      hash = (53 * hash) + getDownloadUrl().hashCode();
      hash = (37 * hash) + TITLE_FIELD_NUMBER;
      hash = (53 * hash) + getTitle().hashCode();
      hash = (37 * hash) + STATUS_FIELD_NUMBER;
      hash = (53 * hash) + getStatus();
      if (hasGame()) {
        hash = (37 * hash) + GAME_FIELD_NUMBER;
        hash = (53 * hash) + getGame().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.kfzs.duanduan.proto.IndexBannerGiftCenterOuterClass.IndexBannerGiftCenter parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.kfzs.duanduan.proto.IndexBannerGiftCenterOuterClass.IndexBannerGiftCenter 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.IndexBannerGiftCenterOuterClass.IndexBannerGiftCenter parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.kfzs.duanduan.proto.IndexBannerGiftCenterOuterClass.IndexBannerGiftCenter parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.kfzs.duanduan.proto.IndexBannerGiftCenterOuterClass.IndexBannerGiftCenter parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.kfzs.duanduan.proto.IndexBannerGiftCenterOuterClass.IndexBannerGiftCenter 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.IndexBannerGiftCenterOuterClass.IndexBannerGiftCenter parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.kfzs.duanduan.proto.IndexBannerGiftCenterOuterClass.IndexBannerGiftCenter 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.IndexBannerGiftCenterOuterClass.IndexBannerGiftCenter parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.kfzs.duanduan.proto.IndexBannerGiftCenterOuterClass.IndexBannerGiftCenter 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.IndexBannerGiftCenterOuterClass.IndexBannerGiftCenter 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.IndexBannerGiftCenter}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:protobuf.IndexBannerGiftCenter)
        com.kfzs.duanduan.proto.IndexBannerGiftCenterOuterClass.IndexBannerGiftCenterOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.kfzs.duanduan.proto.IndexBannerGiftCenterOuterClass.internal_static_protobuf_IndexBannerGiftCenter_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.kfzs.duanduan.proto.IndexBannerGiftCenterOuterClass.internal_static_protobuf_IndexBannerGiftCenter_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.kfzs.duanduan.proto.IndexBannerGiftCenterOuterClass.IndexBannerGiftCenter.class, com.kfzs.duanduan.proto.IndexBannerGiftCenterOuterClass.IndexBannerGiftCenter.Builder.class);
      }

      // Construct using com.kfzs.duanduan.proto.IndexBannerGiftCenterOuterClass.IndexBannerGiftCenter.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;

        imageUrl_ = "";

        type_ = 0;

        gameId_ = 0;

        htmlUrl_ = "";

        sort_ = 0;

        downloadUrl_ = "";

        title_ = "";

        status_ = 0;

        if (gameBuilder_ == null) {
          game_ = null;
        } else {
          game_ = null;
          gameBuilder_ = null;
        }
        return this;
      }

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

      public com.kfzs.duanduan.proto.IndexBannerGiftCenterOuterClass.IndexBannerGiftCenter getDefaultInstanceForType() {
        return com.kfzs.duanduan.proto.IndexBannerGiftCenterOuterClass.IndexBannerGiftCenter.getDefaultInstance();
      }

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

      public com.kfzs.duanduan.proto.IndexBannerGiftCenterOuterClass.IndexBannerGiftCenter buildPartial() {
        com.kfzs.duanduan.proto.IndexBannerGiftCenterOuterClass.IndexBannerGiftCenter result = new com.kfzs.duanduan.proto.IndexBannerGiftCenterOuterClass.IndexBannerGiftCenter(this);
        result.id_ = id_;
        result.imageUrl_ = imageUrl_;
        result.type_ = type_;
        result.gameId_ = gameId_;
        result.htmlUrl_ = htmlUrl_;
        result.sort_ = sort_;
        result.downloadUrl_ = downloadUrl_;
        result.title_ = title_;
        result.status_ = status_;
        if (gameBuilder_ == null) {
          result.game_ = game_;
        } else {
          result.game_ = gameBuilder_.build();
        }
        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.IndexBannerGiftCenterOuterClass.IndexBannerGiftCenter) {
          return mergeFrom((com.kfzs.duanduan.proto.IndexBannerGiftCenterOuterClass.IndexBannerGiftCenter)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.kfzs.duanduan.proto.IndexBannerGiftCenterOuterClass.IndexBannerGiftCenter other) {
        if (other == com.kfzs.duanduan.proto.IndexBannerGiftCenterOuterClass.IndexBannerGiftCenter.getDefaultInstance()) return this;
        if (other.getId() != 0) {
          setId(other.getId());
        }
        if (!other.getImageUrl().isEmpty()) {
          imageUrl_ = other.imageUrl_;
          onChanged();
        }
        if (other.getType() != 0) {
          setType(other.getType());
        }
        if (other.getGameId() != 0) {
          setGameId(other.getGameId());
        }
        if (!other.getHtmlUrl().isEmpty()) {
          htmlUrl_ = other.htmlUrl_;
          onChanged();
        }
        if (other.getSort() != 0) {
          setSort(other.getSort());
        }
        if (!other.getDownloadUrl().isEmpty()) {
          downloadUrl_ = other.downloadUrl_;
          onChanged();
        }
        if (!other.getTitle().isEmpty()) {
          title_ = other.title_;
          onChanged();
        }
        if (other.getStatus() != 0) {
          setStatus(other.getStatus());
        }
        if (other.hasGame()) {
          mergeGame(other.getGame());
        }
        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.IndexBannerGiftCenterOuterClass.IndexBannerGiftCenter parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.kfzs.duanduan.proto.IndexBannerGiftCenterOuterClass.IndexBannerGiftCenter) 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 java.lang.Object imageUrl_ = "";
      /**
       * <code>string ImageUrl = 2;</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 = 2;</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 = 2;</code>
       */
      public Builder setImageUrl(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        imageUrl_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string ImageUrl = 2;</code>
       */
      public Builder clearImageUrl() {
        
        imageUrl_ = getDefaultInstance().getImageUrl();
        onChanged();
        return this;
      }
      /**
       * <code>string ImageUrl = 2;</code>
       */
      public Builder setImageUrlBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        imageUrl_ = value;
        onChanged();
        return this;
      }

      private int type_ ;
      /**
       * <code>int32 type = 3;</code>
       */
      public int getType() {
        return type_;
      }
      /**
       * <code>int32 type = 3;</code>
       */
      public Builder setType(int value) {
        
        type_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int32 type = 3;</code>
       */
      public Builder clearType() {
        
        type_ = 0;
        onChanged();
        return this;
      }

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

      private java.lang.Object htmlUrl_ = "";
      /**
       * <code>string HtmlUrl = 5;</code>
       */
      public java.lang.String getHtmlUrl() {
        java.lang.Object ref = htmlUrl_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          htmlUrl_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string HtmlUrl = 5;</code>
       */
      public com.google.protobuf.ByteString
          getHtmlUrlBytes() {
        java.lang.Object ref = htmlUrl_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          htmlUrl_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string HtmlUrl = 5;</code>
       */
      public Builder setHtmlUrl(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        htmlUrl_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string HtmlUrl = 5;</code>
       */
      public Builder clearHtmlUrl() {
        
        htmlUrl_ = getDefaultInstance().getHtmlUrl();
        onChanged();
        return this;
      }
      /**
       * <code>string HtmlUrl = 5;</code>
       */
      public Builder setHtmlUrlBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        htmlUrl_ = value;
        onChanged();
        return this;
      }

      private int sort_ ;
      /**
       * <code>int32 Sort = 6;</code>
       */
      public int getSort() {
        return sort_;
      }
      /**
       * <code>int32 Sort = 6;</code>
       */
      public Builder setSort(int value) {
        
        sort_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int32 Sort = 6;</code>
       */
      public Builder clearSort() {
        
        sort_ = 0;
        onChanged();
        return this;
      }

      private java.lang.Object downloadUrl_ = "";
      /**
       * <code>string DownloadUrl = 7;</code>
       */
      public java.lang.String getDownloadUrl() {
        java.lang.Object ref = downloadUrl_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          downloadUrl_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string DownloadUrl = 7;</code>
       */
      public com.google.protobuf.ByteString
          getDownloadUrlBytes() {
        java.lang.Object ref = downloadUrl_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          downloadUrl_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string DownloadUrl = 7;</code>
       */
      public Builder setDownloadUrl(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        downloadUrl_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string DownloadUrl = 7;</code>
       */
      public Builder clearDownloadUrl() {
        
        downloadUrl_ = getDefaultInstance().getDownloadUrl();
        onChanged();
        return this;
      }
      /**
       * <code>string DownloadUrl = 7;</code>
       */
      public Builder setDownloadUrlBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        downloadUrl_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object title_ = "";
      /**
       * <code>string Title = 8;</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 = 8;</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 = 8;</code>
       */
      public Builder setTitle(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        title_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string Title = 8;</code>
       */
      public Builder clearTitle() {
        
        title_ = getDefaultInstance().getTitle();
        onChanged();
        return this;
      }
      /**
       * <code>string Title = 8;</code>
       */
      public Builder setTitleBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        title_ = value;
        onChanged();
        return this;
      }

      private int status_ ;
      /**
       * <code>int32 Status = 10;</code>
       */
      public int getStatus() {
        return status_;
      }
      /**
       * <code>int32 Status = 10;</code>
       */
      public Builder setStatus(int value) {
        
        status_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int32 Status = 10;</code>
       */
      public Builder clearStatus() {
        
        status_ = 0;
        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 = 9;</code>
       */
      public boolean hasGame() {
        return gameBuilder_ != null || game_ != null;
      }
      /**
       * <code>.protobuf.Game game = 9;</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 = 9;</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 = 9;</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 = 9;</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 = 9;</code>
       */
      public Builder clearGame() {
        if (gameBuilder_ == null) {
          game_ = null;
          onChanged();
        } else {
          game_ = null;
          gameBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.protobuf.Game game = 9;</code>
       */
      public com.kfzs.duanduan.proto.GameOuterClass.Game.Builder getGameBuilder() {
        
        onChanged();
        return getGameFieldBuilder().getBuilder();
      }
      /**
       * <code>.protobuf.Game game = 9;</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 = 9;</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_;
      }
      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.IndexBannerGiftCenter)
    }

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

    public static com.kfzs.duanduan.proto.IndexBannerGiftCenterOuterClass.IndexBannerGiftCenter getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.kfzs.duanduan.proto.IndexBannerGiftCenterOuterClass.IndexBannerGiftCenter getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_protobuf_IndexBannerGiftCenter_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_protobuf_IndexBannerGiftCenter_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\036index_banner_gift_center.proto\022\010protob" +
      "uf\032\ngame.proto\"\304\001\n\025IndexBannerGiftCenter" +
      "\022\n\n\002Id\030\001 \001(\005\022\020\n\010ImageUrl\030\002 \001(\t\022\014\n\004type\030\003" +
      " \001(\005\022\016\n\006GameId\030\004 \001(\005\022\017\n\007HtmlUrl\030\005 \001(\t\022\014\n" +
      "\004Sort\030\006 \001(\005\022\023\n\013DownloadUrl\030\007 \001(\t\022\r\n\005Titl" +
      "e\030\010 \001(\t\022\016\n\006Status\030\n \001(\005\022\034\n\004game\030\t \001(\0132\016." +
      "protobuf.GameB\031\n\027com.kfzs.duanduan.proto" +
      "b\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_IndexBannerGiftCenter_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_protobuf_IndexBannerGiftCenter_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_protobuf_IndexBannerGiftCenter_descriptor,
        new java.lang.String[] { "Id", "ImageUrl", "Type", "GameId", "HtmlUrl", "Sort", "DownloadUrl", "Title", "Status", "Game", });
    com.kfzs.duanduan.proto.GameOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
