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

package com.kfzs.duanduan.proto;

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

    /**
     * <code>repeated .protobuf.IndexBanner indexBanners = 1;</code>
     */
    java.util.List<com.kfzs.duanduan.proto.IndexBannerOuterClass.IndexBanner> 
        getIndexBannersList();
    /**
     * <code>repeated .protobuf.IndexBanner indexBanners = 1;</code>
     */
    com.kfzs.duanduan.proto.IndexBannerOuterClass.IndexBanner getIndexBanners(int index);
    /**
     * <code>repeated .protobuf.IndexBanner indexBanners = 1;</code>
     */
    int getIndexBannersCount();
    /**
     * <code>repeated .protobuf.IndexBanner indexBanners = 1;</code>
     */
    java.util.List<? extends com.kfzs.duanduan.proto.IndexBannerOuterClass.IndexBannerOrBuilder> 
        getIndexBannersOrBuilderList();
    /**
     * <code>repeated .protobuf.IndexBanner indexBanners = 1;</code>
     */
    com.kfzs.duanduan.proto.IndexBannerOuterClass.IndexBannerOrBuilder getIndexBannersOrBuilder(
        int index);

    /**
     * <code>repeated .protobuf.Game games = 2;</code>
     */
    java.util.List<com.kfzs.duanduan.proto.GameOuterClass.Game> 
        getGamesList();
    /**
     * <code>repeated .protobuf.Game games = 2;</code>
     */
    com.kfzs.duanduan.proto.GameOuterClass.Game getGames(int index);
    /**
     * <code>repeated .protobuf.Game games = 2;</code>
     */
    int getGamesCount();
    /**
     * <code>repeated .protobuf.Game games = 2;</code>
     */
    java.util.List<? extends com.kfzs.duanduan.proto.GameOuterClass.GameOrBuilder> 
        getGamesOrBuilderList();
    /**
     * <code>repeated .protobuf.Game games = 2;</code>
     */
    com.kfzs.duanduan.proto.GameOuterClass.GameOrBuilder getGamesOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code protobuf.Index}
   */
  public  static final class Index extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:protobuf.Index)
      IndexOrBuilder {
    // Use Index.newBuilder() to construct.
    private Index(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private Index() {
      indexBanners_ = java.util.Collections.emptyList();
      games_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
    }
    private Index(
        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 10: {
              if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
                indexBanners_ = new java.util.ArrayList<com.kfzs.duanduan.proto.IndexBannerOuterClass.IndexBanner>();
                mutable_bitField0_ |= 0x00000001;
              }
              indexBanners_.add(
                  input.readMessage(com.kfzs.duanduan.proto.IndexBannerOuterClass.IndexBanner.parser(), extensionRegistry));
              break;
            }
            case 18: {
              if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
                games_ = new java.util.ArrayList<com.kfzs.duanduan.proto.GameOuterClass.Game>();
                mutable_bitField0_ |= 0x00000002;
              }
              games_.add(
                  input.readMessage(com.kfzs.duanduan.proto.GameOuterClass.Game.parser(), extensionRegistry));
              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 {
        if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
          indexBanners_ = java.util.Collections.unmodifiableList(indexBanners_);
        }
        if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
          games_ = java.util.Collections.unmodifiableList(games_);
        }
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.kfzs.duanduan.proto.IndexOuterClass.internal_static_protobuf_Index_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.kfzs.duanduan.proto.IndexOuterClass.internal_static_protobuf_Index_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.kfzs.duanduan.proto.IndexOuterClass.Index.class, com.kfzs.duanduan.proto.IndexOuterClass.Index.Builder.class);
    }

    public static final int INDEXBANNERS_FIELD_NUMBER = 1;
    private java.util.List<com.kfzs.duanduan.proto.IndexBannerOuterClass.IndexBanner> indexBanners_;
    /**
     * <code>repeated .protobuf.IndexBanner indexBanners = 1;</code>
     */
    public java.util.List<com.kfzs.duanduan.proto.IndexBannerOuterClass.IndexBanner> getIndexBannersList() {
      return indexBanners_;
    }
    /**
     * <code>repeated .protobuf.IndexBanner indexBanners = 1;</code>
     */
    public java.util.List<? extends com.kfzs.duanduan.proto.IndexBannerOuterClass.IndexBannerOrBuilder> 
        getIndexBannersOrBuilderList() {
      return indexBanners_;
    }
    /**
     * <code>repeated .protobuf.IndexBanner indexBanners = 1;</code>
     */
    public int getIndexBannersCount() {
      return indexBanners_.size();
    }
    /**
     * <code>repeated .protobuf.IndexBanner indexBanners = 1;</code>
     */
    public com.kfzs.duanduan.proto.IndexBannerOuterClass.IndexBanner getIndexBanners(int index) {
      return indexBanners_.get(index);
    }
    /**
     * <code>repeated .protobuf.IndexBanner indexBanners = 1;</code>
     */
    public com.kfzs.duanduan.proto.IndexBannerOuterClass.IndexBannerOrBuilder getIndexBannersOrBuilder(
        int index) {
      return indexBanners_.get(index);
    }

    public static final int GAMES_FIELD_NUMBER = 2;
    private java.util.List<com.kfzs.duanduan.proto.GameOuterClass.Game> games_;
    /**
     * <code>repeated .protobuf.Game games = 2;</code>
     */
    public java.util.List<com.kfzs.duanduan.proto.GameOuterClass.Game> getGamesList() {
      return games_;
    }
    /**
     * <code>repeated .protobuf.Game games = 2;</code>
     */
    public java.util.List<? extends com.kfzs.duanduan.proto.GameOuterClass.GameOrBuilder> 
        getGamesOrBuilderList() {
      return games_;
    }
    /**
     * <code>repeated .protobuf.Game games = 2;</code>
     */
    public int getGamesCount() {
      return games_.size();
    }
    /**
     * <code>repeated .protobuf.Game games = 2;</code>
     */
    public com.kfzs.duanduan.proto.GameOuterClass.Game getGames(int index) {
      return games_.get(index);
    }
    /**
     * <code>repeated .protobuf.Game games = 2;</code>
     */
    public com.kfzs.duanduan.proto.GameOuterClass.GameOrBuilder getGamesOrBuilder(
        int index) {
      return games_.get(index);
    }

    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 {
      for (int i = 0; i < indexBanners_.size(); i++) {
        output.writeMessage(1, indexBanners_.get(i));
      }
      for (int i = 0; i < games_.size(); i++) {
        output.writeMessage(2, games_.get(i));
      }
    }

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

      size = 0;
      for (int i = 0; i < indexBanners_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, indexBanners_.get(i));
      }
      for (int i = 0; i < games_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, games_.get(i));
      }
      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.IndexOuterClass.Index)) {
        return super.equals(obj);
      }
      com.kfzs.duanduan.proto.IndexOuterClass.Index other = (com.kfzs.duanduan.proto.IndexOuterClass.Index) obj;

      boolean result = true;
      result = result && getIndexBannersList()
          .equals(other.getIndexBannersList());
      result = result && getGamesList()
          .equals(other.getGamesList());
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (getIndexBannersCount() > 0) {
        hash = (37 * hash) + INDEXBANNERS_FIELD_NUMBER;
        hash = (53 * hash) + getIndexBannersList().hashCode();
      }
      if (getGamesCount() > 0) {
        hash = (37 * hash) + GAMES_FIELD_NUMBER;
        hash = (53 * hash) + getGamesList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.kfzs.duanduan.proto.IndexOuterClass.internal_static_protobuf_Index_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.kfzs.duanduan.proto.IndexOuterClass.Index.class, com.kfzs.duanduan.proto.IndexOuterClass.Index.Builder.class);
      }

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

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getIndexBannersFieldBuilder();
          getGamesFieldBuilder();
        }
      }
      public Builder clear() {
        super.clear();
        if (indexBannersBuilder_ == null) {
          indexBanners_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          indexBannersBuilder_.clear();
        }
        if (gamesBuilder_ == null) {
          games_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
        } else {
          gamesBuilder_.clear();
        }
        return this;
      }

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

      public com.kfzs.duanduan.proto.IndexOuterClass.Index getDefaultInstanceForType() {
        return com.kfzs.duanduan.proto.IndexOuterClass.Index.getDefaultInstance();
      }

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

      public com.kfzs.duanduan.proto.IndexOuterClass.Index buildPartial() {
        com.kfzs.duanduan.proto.IndexOuterClass.Index result = new com.kfzs.duanduan.proto.IndexOuterClass.Index(this);
        int from_bitField0_ = bitField0_;
        if (indexBannersBuilder_ == null) {
          if (((bitField0_ & 0x00000001) == 0x00000001)) {
            indexBanners_ = java.util.Collections.unmodifiableList(indexBanners_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.indexBanners_ = indexBanners_;
        } else {
          result.indexBanners_ = indexBannersBuilder_.build();
        }
        if (gamesBuilder_ == null) {
          if (((bitField0_ & 0x00000002) == 0x00000002)) {
            games_ = java.util.Collections.unmodifiableList(games_);
            bitField0_ = (bitField0_ & ~0x00000002);
          }
          result.games_ = games_;
        } else {
          result.games_ = gamesBuilder_.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.IndexOuterClass.Index) {
          return mergeFrom((com.kfzs.duanduan.proto.IndexOuterClass.Index)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.kfzs.duanduan.proto.IndexOuterClass.Index other) {
        if (other == com.kfzs.duanduan.proto.IndexOuterClass.Index.getDefaultInstance()) return this;
        if (indexBannersBuilder_ == null) {
          if (!other.indexBanners_.isEmpty()) {
            if (indexBanners_.isEmpty()) {
              indexBanners_ = other.indexBanners_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureIndexBannersIsMutable();
              indexBanners_.addAll(other.indexBanners_);
            }
            onChanged();
          }
        } else {
          if (!other.indexBanners_.isEmpty()) {
            if (indexBannersBuilder_.isEmpty()) {
              indexBannersBuilder_.dispose();
              indexBannersBuilder_ = null;
              indexBanners_ = other.indexBanners_;
              bitField0_ = (bitField0_ & ~0x00000001);
              indexBannersBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getIndexBannersFieldBuilder() : null;
            } else {
              indexBannersBuilder_.addAllMessages(other.indexBanners_);
            }
          }
        }
        if (gamesBuilder_ == null) {
          if (!other.games_.isEmpty()) {
            if (games_.isEmpty()) {
              games_ = other.games_;
              bitField0_ = (bitField0_ & ~0x00000002);
            } else {
              ensureGamesIsMutable();
              games_.addAll(other.games_);
            }
            onChanged();
          }
        } else {
          if (!other.games_.isEmpty()) {
            if (gamesBuilder_.isEmpty()) {
              gamesBuilder_.dispose();
              gamesBuilder_ = null;
              games_ = other.games_;
              bitField0_ = (bitField0_ & ~0x00000002);
              gamesBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getGamesFieldBuilder() : null;
            } else {
              gamesBuilder_.addAllMessages(other.games_);
            }
          }
        }
        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.IndexOuterClass.Index parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.kfzs.duanduan.proto.IndexOuterClass.Index) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.util.List<com.kfzs.duanduan.proto.IndexBannerOuterClass.IndexBanner> indexBanners_ =
        java.util.Collections.emptyList();
      private void ensureIndexBannersIsMutable() {
        if (!((bitField0_ & 0x00000001) == 0x00000001)) {
          indexBanners_ = new java.util.ArrayList<com.kfzs.duanduan.proto.IndexBannerOuterClass.IndexBanner>(indexBanners_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.kfzs.duanduan.proto.IndexBannerOuterClass.IndexBanner, com.kfzs.duanduan.proto.IndexBannerOuterClass.IndexBanner.Builder, com.kfzs.duanduan.proto.IndexBannerOuterClass.IndexBannerOrBuilder> indexBannersBuilder_;

      /**
       * <code>repeated .protobuf.IndexBanner indexBanners = 1;</code>
       */
      public java.util.List<com.kfzs.duanduan.proto.IndexBannerOuterClass.IndexBanner> getIndexBannersList() {
        if (indexBannersBuilder_ == null) {
          return java.util.Collections.unmodifiableList(indexBanners_);
        } else {
          return indexBannersBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .protobuf.IndexBanner indexBanners = 1;</code>
       */
      public int getIndexBannersCount() {
        if (indexBannersBuilder_ == null) {
          return indexBanners_.size();
        } else {
          return indexBannersBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .protobuf.IndexBanner indexBanners = 1;</code>
       */
      public com.kfzs.duanduan.proto.IndexBannerOuterClass.IndexBanner getIndexBanners(int index) {
        if (indexBannersBuilder_ == null) {
          return indexBanners_.get(index);
        } else {
          return indexBannersBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .protobuf.IndexBanner indexBanners = 1;</code>
       */
      public Builder setIndexBanners(
          int index, com.kfzs.duanduan.proto.IndexBannerOuterClass.IndexBanner value) {
        if (indexBannersBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureIndexBannersIsMutable();
          indexBanners_.set(index, value);
          onChanged();
        } else {
          indexBannersBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .protobuf.IndexBanner indexBanners = 1;</code>
       */
      public Builder setIndexBanners(
          int index, com.kfzs.duanduan.proto.IndexBannerOuterClass.IndexBanner.Builder builderForValue) {
        if (indexBannersBuilder_ == null) {
          ensureIndexBannersIsMutable();
          indexBanners_.set(index, builderForValue.build());
          onChanged();
        } else {
          indexBannersBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .protobuf.IndexBanner indexBanners = 1;</code>
       */
      public Builder addIndexBanners(com.kfzs.duanduan.proto.IndexBannerOuterClass.IndexBanner value) {
        if (indexBannersBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureIndexBannersIsMutable();
          indexBanners_.add(value);
          onChanged();
        } else {
          indexBannersBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .protobuf.IndexBanner indexBanners = 1;</code>
       */
      public Builder addIndexBanners(
          int index, com.kfzs.duanduan.proto.IndexBannerOuterClass.IndexBanner value) {
        if (indexBannersBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureIndexBannersIsMutable();
          indexBanners_.add(index, value);
          onChanged();
        } else {
          indexBannersBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .protobuf.IndexBanner indexBanners = 1;</code>
       */
      public Builder addIndexBanners(
          com.kfzs.duanduan.proto.IndexBannerOuterClass.IndexBanner.Builder builderForValue) {
        if (indexBannersBuilder_ == null) {
          ensureIndexBannersIsMutable();
          indexBanners_.add(builderForValue.build());
          onChanged();
        } else {
          indexBannersBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .protobuf.IndexBanner indexBanners = 1;</code>
       */
      public Builder addIndexBanners(
          int index, com.kfzs.duanduan.proto.IndexBannerOuterClass.IndexBanner.Builder builderForValue) {
        if (indexBannersBuilder_ == null) {
          ensureIndexBannersIsMutable();
          indexBanners_.add(index, builderForValue.build());
          onChanged();
        } else {
          indexBannersBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .protobuf.IndexBanner indexBanners = 1;</code>
       */
      public Builder addAllIndexBanners(
          java.lang.Iterable<? extends com.kfzs.duanduan.proto.IndexBannerOuterClass.IndexBanner> values) {
        if (indexBannersBuilder_ == null) {
          ensureIndexBannersIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, indexBanners_);
          onChanged();
        } else {
          indexBannersBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .protobuf.IndexBanner indexBanners = 1;</code>
       */
      public Builder clearIndexBanners() {
        if (indexBannersBuilder_ == null) {
          indexBanners_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          indexBannersBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .protobuf.IndexBanner indexBanners = 1;</code>
       */
      public Builder removeIndexBanners(int index) {
        if (indexBannersBuilder_ == null) {
          ensureIndexBannersIsMutable();
          indexBanners_.remove(index);
          onChanged();
        } else {
          indexBannersBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .protobuf.IndexBanner indexBanners = 1;</code>
       */
      public com.kfzs.duanduan.proto.IndexBannerOuterClass.IndexBanner.Builder getIndexBannersBuilder(
          int index) {
        return getIndexBannersFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .protobuf.IndexBanner indexBanners = 1;</code>
       */
      public com.kfzs.duanduan.proto.IndexBannerOuterClass.IndexBannerOrBuilder getIndexBannersOrBuilder(
          int index) {
        if (indexBannersBuilder_ == null) {
          return indexBanners_.get(index);  } else {
          return indexBannersBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .protobuf.IndexBanner indexBanners = 1;</code>
       */
      public java.util.List<? extends com.kfzs.duanduan.proto.IndexBannerOuterClass.IndexBannerOrBuilder> 
           getIndexBannersOrBuilderList() {
        if (indexBannersBuilder_ != null) {
          return indexBannersBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(indexBanners_);
        }
      }
      /**
       * <code>repeated .protobuf.IndexBanner indexBanners = 1;</code>
       */
      public com.kfzs.duanduan.proto.IndexBannerOuterClass.IndexBanner.Builder addIndexBannersBuilder() {
        return getIndexBannersFieldBuilder().addBuilder(
            com.kfzs.duanduan.proto.IndexBannerOuterClass.IndexBanner.getDefaultInstance());
      }
      /**
       * <code>repeated .protobuf.IndexBanner indexBanners = 1;</code>
       */
      public com.kfzs.duanduan.proto.IndexBannerOuterClass.IndexBanner.Builder addIndexBannersBuilder(
          int index) {
        return getIndexBannersFieldBuilder().addBuilder(
            index, com.kfzs.duanduan.proto.IndexBannerOuterClass.IndexBanner.getDefaultInstance());
      }
      /**
       * <code>repeated .protobuf.IndexBanner indexBanners = 1;</code>
       */
      public java.util.List<com.kfzs.duanduan.proto.IndexBannerOuterClass.IndexBanner.Builder> 
           getIndexBannersBuilderList() {
        return getIndexBannersFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.kfzs.duanduan.proto.IndexBannerOuterClass.IndexBanner, com.kfzs.duanduan.proto.IndexBannerOuterClass.IndexBanner.Builder, com.kfzs.duanduan.proto.IndexBannerOuterClass.IndexBannerOrBuilder> 
          getIndexBannersFieldBuilder() {
        if (indexBannersBuilder_ == null) {
          indexBannersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              com.kfzs.duanduan.proto.IndexBannerOuterClass.IndexBanner, com.kfzs.duanduan.proto.IndexBannerOuterClass.IndexBanner.Builder, com.kfzs.duanduan.proto.IndexBannerOuterClass.IndexBannerOrBuilder>(
                  indexBanners_,
                  ((bitField0_ & 0x00000001) == 0x00000001),
                  getParentForChildren(),
                  isClean());
          indexBanners_ = null;
        }
        return indexBannersBuilder_;
      }

      private java.util.List<com.kfzs.duanduan.proto.GameOuterClass.Game> games_ =
        java.util.Collections.emptyList();
      private void ensureGamesIsMutable() {
        if (!((bitField0_ & 0x00000002) == 0x00000002)) {
          games_ = new java.util.ArrayList<com.kfzs.duanduan.proto.GameOuterClass.Game>(games_);
          bitField0_ |= 0x00000002;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.kfzs.duanduan.proto.GameOuterClass.Game, com.kfzs.duanduan.proto.GameOuterClass.Game.Builder, com.kfzs.duanduan.proto.GameOuterClass.GameOrBuilder> gamesBuilder_;

      /**
       * <code>repeated .protobuf.Game games = 2;</code>
       */
      public java.util.List<com.kfzs.duanduan.proto.GameOuterClass.Game> getGamesList() {
        if (gamesBuilder_ == null) {
          return java.util.Collections.unmodifiableList(games_);
        } else {
          return gamesBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .protobuf.Game games = 2;</code>
       */
      public int getGamesCount() {
        if (gamesBuilder_ == null) {
          return games_.size();
        } else {
          return gamesBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .protobuf.Game games = 2;</code>
       */
      public com.kfzs.duanduan.proto.GameOuterClass.Game getGames(int index) {
        if (gamesBuilder_ == null) {
          return games_.get(index);
        } else {
          return gamesBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .protobuf.Game games = 2;</code>
       */
      public Builder setGames(
          int index, com.kfzs.duanduan.proto.GameOuterClass.Game value) {
        if (gamesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureGamesIsMutable();
          games_.set(index, value);
          onChanged();
        } else {
          gamesBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .protobuf.Game games = 2;</code>
       */
      public Builder setGames(
          int index, com.kfzs.duanduan.proto.GameOuterClass.Game.Builder builderForValue) {
        if (gamesBuilder_ == null) {
          ensureGamesIsMutable();
          games_.set(index, builderForValue.build());
          onChanged();
        } else {
          gamesBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .protobuf.Game games = 2;</code>
       */
      public Builder addGames(com.kfzs.duanduan.proto.GameOuterClass.Game value) {
        if (gamesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureGamesIsMutable();
          games_.add(value);
          onChanged();
        } else {
          gamesBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .protobuf.Game games = 2;</code>
       */
      public Builder addGames(
          int index, com.kfzs.duanduan.proto.GameOuterClass.Game value) {
        if (gamesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureGamesIsMutable();
          games_.add(index, value);
          onChanged();
        } else {
          gamesBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .protobuf.Game games = 2;</code>
       */
      public Builder addGames(
          com.kfzs.duanduan.proto.GameOuterClass.Game.Builder builderForValue) {
        if (gamesBuilder_ == null) {
          ensureGamesIsMutable();
          games_.add(builderForValue.build());
          onChanged();
        } else {
          gamesBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .protobuf.Game games = 2;</code>
       */
      public Builder addGames(
          int index, com.kfzs.duanduan.proto.GameOuterClass.Game.Builder builderForValue) {
        if (gamesBuilder_ == null) {
          ensureGamesIsMutable();
          games_.add(index, builderForValue.build());
          onChanged();
        } else {
          gamesBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .protobuf.Game games = 2;</code>
       */
      public Builder addAllGames(
          java.lang.Iterable<? extends com.kfzs.duanduan.proto.GameOuterClass.Game> values) {
        if (gamesBuilder_ == null) {
          ensureGamesIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, games_);
          onChanged();
        } else {
          gamesBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .protobuf.Game games = 2;</code>
       */
      public Builder clearGames() {
        if (gamesBuilder_ == null) {
          games_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
          onChanged();
        } else {
          gamesBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .protobuf.Game games = 2;</code>
       */
      public Builder removeGames(int index) {
        if (gamesBuilder_ == null) {
          ensureGamesIsMutable();
          games_.remove(index);
          onChanged();
        } else {
          gamesBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .protobuf.Game games = 2;</code>
       */
      public com.kfzs.duanduan.proto.GameOuterClass.Game.Builder getGamesBuilder(
          int index) {
        return getGamesFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .protobuf.Game games = 2;</code>
       */
      public com.kfzs.duanduan.proto.GameOuterClass.GameOrBuilder getGamesOrBuilder(
          int index) {
        if (gamesBuilder_ == null) {
          return games_.get(index);  } else {
          return gamesBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .protobuf.Game games = 2;</code>
       */
      public java.util.List<? extends com.kfzs.duanduan.proto.GameOuterClass.GameOrBuilder> 
           getGamesOrBuilderList() {
        if (gamesBuilder_ != null) {
          return gamesBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(games_);
        }
      }
      /**
       * <code>repeated .protobuf.Game games = 2;</code>
       */
      public com.kfzs.duanduan.proto.GameOuterClass.Game.Builder addGamesBuilder() {
        return getGamesFieldBuilder().addBuilder(
            com.kfzs.duanduan.proto.GameOuterClass.Game.getDefaultInstance());
      }
      /**
       * <code>repeated .protobuf.Game games = 2;</code>
       */
      public com.kfzs.duanduan.proto.GameOuterClass.Game.Builder addGamesBuilder(
          int index) {
        return getGamesFieldBuilder().addBuilder(
            index, com.kfzs.duanduan.proto.GameOuterClass.Game.getDefaultInstance());
      }
      /**
       * <code>repeated .protobuf.Game games = 2;</code>
       */
      public java.util.List<com.kfzs.duanduan.proto.GameOuterClass.Game.Builder> 
           getGamesBuilderList() {
        return getGamesFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.kfzs.duanduan.proto.GameOuterClass.Game, com.kfzs.duanduan.proto.GameOuterClass.Game.Builder, com.kfzs.duanduan.proto.GameOuterClass.GameOrBuilder> 
          getGamesFieldBuilder() {
        if (gamesBuilder_ == null) {
          gamesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              com.kfzs.duanduan.proto.GameOuterClass.Game, com.kfzs.duanduan.proto.GameOuterClass.Game.Builder, com.kfzs.duanduan.proto.GameOuterClass.GameOrBuilder>(
                  games_,
                  ((bitField0_ & 0x00000002) == 0x00000002),
                  getParentForChildren(),
                  isClean());
          games_ = null;
        }
        return gamesBuilder_;
      }
      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.Index)
    }

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

    public static com.kfzs.duanduan.proto.IndexOuterClass.Index getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.kfzs.duanduan.proto.IndexOuterClass.Index getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_protobuf_Index_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_protobuf_Index_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\013index.proto\022\010protobuf\032\022index_banner.pr" +
      "oto\032\ngame.proto\"S\n\005Index\022+\n\014indexBanners" +
      "\030\001 \003(\0132\025.protobuf.IndexBanner\022\035\n\005games\030\002" +
      " \003(\0132\016.protobuf.GameB\031\n\027com.kfzs.duandua" +
      "n.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.IndexBannerOuterClass.getDescriptor(),
          com.kfzs.duanduan.proto.GameOuterClass.getDescriptor(),
        }, assigner);
    internal_static_protobuf_Index_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_protobuf_Index_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_protobuf_Index_descriptor,
        new java.lang.String[] { "IndexBanners", "Games", });
    com.kfzs.duanduan.proto.IndexBannerOuterClass.getDescriptor();
    com.kfzs.duanduan.proto.GameOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
