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

package com.kfzs.duanduan.proto;

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

    /**
     * <code>repeated .protobuf.Game topThreeGames = 1;</code>
     */
    java.util.List<com.kfzs.duanduan.proto.GameOuterClass.Game> 
        getTopThreeGamesList();
    /**
     * <code>repeated .protobuf.Game topThreeGames = 1;</code>
     */
    com.kfzs.duanduan.proto.GameOuterClass.Game getTopThreeGames(int index);
    /**
     * <code>repeated .protobuf.Game topThreeGames = 1;</code>
     */
    int getTopThreeGamesCount();
    /**
     * <code>repeated .protobuf.Game topThreeGames = 1;</code>
     */
    java.util.List<? extends com.kfzs.duanduan.proto.GameOuterClass.GameOrBuilder> 
        getTopThreeGamesOrBuilderList();
    /**
     * <code>repeated .protobuf.Game topThreeGames = 1;</code>
     */
    com.kfzs.duanduan.proto.GameOuterClass.GameOrBuilder getTopThreeGamesOrBuilder(
        int index);

    /**
     * <code>repeated .protobuf.Game otherGames = 2;</code>
     */
    java.util.List<com.kfzs.duanduan.proto.GameOuterClass.Game> 
        getOtherGamesList();
    /**
     * <code>repeated .protobuf.Game otherGames = 2;</code>
     */
    com.kfzs.duanduan.proto.GameOuterClass.Game getOtherGames(int index);
    /**
     * <code>repeated .protobuf.Game otherGames = 2;</code>
     */
    int getOtherGamesCount();
    /**
     * <code>repeated .protobuf.Game otherGames = 2;</code>
     */
    java.util.List<? extends com.kfzs.duanduan.proto.GameOuterClass.GameOrBuilder> 
        getOtherGamesOrBuilderList();
    /**
     * <code>repeated .protobuf.Game otherGames = 2;</code>
     */
    com.kfzs.duanduan.proto.GameOuterClass.GameOrBuilder getOtherGamesOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code protobuf.GameList}
   */
  public  static final class GameList extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:protobuf.GameList)
      GameListOrBuilder {
    // Use GameList.newBuilder() to construct.
    private GameList(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private GameList() {
      topThreeGames_ = java.util.Collections.emptyList();
      otherGames_ = java.util.Collections.emptyList();
    }

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

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.kfzs.duanduan.proto.GamesList.internal_static_protobuf_GameList_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.kfzs.duanduan.proto.GamesList.GameList.class, com.kfzs.duanduan.proto.GamesList.GameList.Builder.class);
    }

    public static final int TOPTHREEGAMES_FIELD_NUMBER = 1;
    private java.util.List<com.kfzs.duanduan.proto.GameOuterClass.Game> topThreeGames_;
    /**
     * <code>repeated .protobuf.Game topThreeGames = 1;</code>
     */
    public java.util.List<com.kfzs.duanduan.proto.GameOuterClass.Game> getTopThreeGamesList() {
      return topThreeGames_;
    }
    /**
     * <code>repeated .protobuf.Game topThreeGames = 1;</code>
     */
    public java.util.List<? extends com.kfzs.duanduan.proto.GameOuterClass.GameOrBuilder> 
        getTopThreeGamesOrBuilderList() {
      return topThreeGames_;
    }
    /**
     * <code>repeated .protobuf.Game topThreeGames = 1;</code>
     */
    public int getTopThreeGamesCount() {
      return topThreeGames_.size();
    }
    /**
     * <code>repeated .protobuf.Game topThreeGames = 1;</code>
     */
    public com.kfzs.duanduan.proto.GameOuterClass.Game getTopThreeGames(int index) {
      return topThreeGames_.get(index);
    }
    /**
     * <code>repeated .protobuf.Game topThreeGames = 1;</code>
     */
    public com.kfzs.duanduan.proto.GameOuterClass.GameOrBuilder getTopThreeGamesOrBuilder(
        int index) {
      return topThreeGames_.get(index);
    }

    public static final int OTHERGAMES_FIELD_NUMBER = 2;
    private java.util.List<com.kfzs.duanduan.proto.GameOuterClass.Game> otherGames_;
    /**
     * <code>repeated .protobuf.Game otherGames = 2;</code>
     */
    public java.util.List<com.kfzs.duanduan.proto.GameOuterClass.Game> getOtherGamesList() {
      return otherGames_;
    }
    /**
     * <code>repeated .protobuf.Game otherGames = 2;</code>
     */
    public java.util.List<? extends com.kfzs.duanduan.proto.GameOuterClass.GameOrBuilder> 
        getOtherGamesOrBuilderList() {
      return otherGames_;
    }
    /**
     * <code>repeated .protobuf.Game otherGames = 2;</code>
     */
    public int getOtherGamesCount() {
      return otherGames_.size();
    }
    /**
     * <code>repeated .protobuf.Game otherGames = 2;</code>
     */
    public com.kfzs.duanduan.proto.GameOuterClass.Game getOtherGames(int index) {
      return otherGames_.get(index);
    }
    /**
     * <code>repeated .protobuf.Game otherGames = 2;</code>
     */
    public com.kfzs.duanduan.proto.GameOuterClass.GameOrBuilder getOtherGamesOrBuilder(
        int index) {
      return otherGames_.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 < topThreeGames_.size(); i++) {
        output.writeMessage(1, topThreeGames_.get(i));
      }
      for (int i = 0; i < otherGames_.size(); i++) {
        output.writeMessage(2, otherGames_.get(i));
      }
    }

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

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

      boolean result = true;
      result = result && getTopThreeGamesList()
          .equals(other.getTopThreeGamesList());
      result = result && getOtherGamesList()
          .equals(other.getOtherGamesList());
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (getTopThreeGamesCount() > 0) {
        hash = (37 * hash) + TOPTHREEGAMES_FIELD_NUMBER;
        hash = (53 * hash) + getTopThreeGamesList().hashCode();
      }
      if (getOtherGamesCount() > 0) {
        hash = (37 * hash) + OTHERGAMES_FIELD_NUMBER;
        hash = (53 * hash) + getOtherGamesList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.kfzs.duanduan.proto.GamesList.internal_static_protobuf_GameList_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.kfzs.duanduan.proto.GamesList.GameList.class, com.kfzs.duanduan.proto.GamesList.GameList.Builder.class);
      }

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

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getTopThreeGamesFieldBuilder();
          getOtherGamesFieldBuilder();
        }
      }
      public Builder clear() {
        super.clear();
        if (topThreeGamesBuilder_ == null) {
          topThreeGames_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          topThreeGamesBuilder_.clear();
        }
        if (otherGamesBuilder_ == null) {
          otherGames_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
        } else {
          otherGamesBuilder_.clear();
        }
        return this;
      }

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

      public com.kfzs.duanduan.proto.GamesList.GameList getDefaultInstanceForType() {
        return com.kfzs.duanduan.proto.GamesList.GameList.getDefaultInstance();
      }

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

      public com.kfzs.duanduan.proto.GamesList.GameList buildPartial() {
        com.kfzs.duanduan.proto.GamesList.GameList result = new com.kfzs.duanduan.proto.GamesList.GameList(this);
        int from_bitField0_ = bitField0_;
        if (topThreeGamesBuilder_ == null) {
          if (((bitField0_ & 0x00000001) == 0x00000001)) {
            topThreeGames_ = java.util.Collections.unmodifiableList(topThreeGames_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.topThreeGames_ = topThreeGames_;
        } else {
          result.topThreeGames_ = topThreeGamesBuilder_.build();
        }
        if (otherGamesBuilder_ == null) {
          if (((bitField0_ & 0x00000002) == 0x00000002)) {
            otherGames_ = java.util.Collections.unmodifiableList(otherGames_);
            bitField0_ = (bitField0_ & ~0x00000002);
          }
          result.otherGames_ = otherGames_;
        } else {
          result.otherGames_ = otherGamesBuilder_.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.GamesList.GameList) {
          return mergeFrom((com.kfzs.duanduan.proto.GamesList.GameList)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.kfzs.duanduan.proto.GamesList.GameList other) {
        if (other == com.kfzs.duanduan.proto.GamesList.GameList.getDefaultInstance()) return this;
        if (topThreeGamesBuilder_ == null) {
          if (!other.topThreeGames_.isEmpty()) {
            if (topThreeGames_.isEmpty()) {
              topThreeGames_ = other.topThreeGames_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureTopThreeGamesIsMutable();
              topThreeGames_.addAll(other.topThreeGames_);
            }
            onChanged();
          }
        } else {
          if (!other.topThreeGames_.isEmpty()) {
            if (topThreeGamesBuilder_.isEmpty()) {
              topThreeGamesBuilder_.dispose();
              topThreeGamesBuilder_ = null;
              topThreeGames_ = other.topThreeGames_;
              bitField0_ = (bitField0_ & ~0x00000001);
              topThreeGamesBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getTopThreeGamesFieldBuilder() : null;
            } else {
              topThreeGamesBuilder_.addAllMessages(other.topThreeGames_);
            }
          }
        }
        if (otherGamesBuilder_ == null) {
          if (!other.otherGames_.isEmpty()) {
            if (otherGames_.isEmpty()) {
              otherGames_ = other.otherGames_;
              bitField0_ = (bitField0_ & ~0x00000002);
            } else {
              ensureOtherGamesIsMutable();
              otherGames_.addAll(other.otherGames_);
            }
            onChanged();
          }
        } else {
          if (!other.otherGames_.isEmpty()) {
            if (otherGamesBuilder_.isEmpty()) {
              otherGamesBuilder_.dispose();
              otherGamesBuilder_ = null;
              otherGames_ = other.otherGames_;
              bitField0_ = (bitField0_ & ~0x00000002);
              otherGamesBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getOtherGamesFieldBuilder() : null;
            } else {
              otherGamesBuilder_.addAllMessages(other.otherGames_);
            }
          }
        }
        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.GamesList.GameList parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.kfzs.duanduan.proto.GamesList.GameList) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

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

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

      /**
       * <code>repeated .protobuf.Game topThreeGames = 1;</code>
       */
      public java.util.List<com.kfzs.duanduan.proto.GameOuterClass.Game> getTopThreeGamesList() {
        if (topThreeGamesBuilder_ == null) {
          return java.util.Collections.unmodifiableList(topThreeGames_);
        } else {
          return topThreeGamesBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .protobuf.Game topThreeGames = 1;</code>
       */
      public int getTopThreeGamesCount() {
        if (topThreeGamesBuilder_ == null) {
          return topThreeGames_.size();
        } else {
          return topThreeGamesBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .protobuf.Game topThreeGames = 1;</code>
       */
      public com.kfzs.duanduan.proto.GameOuterClass.Game getTopThreeGames(int index) {
        if (topThreeGamesBuilder_ == null) {
          return topThreeGames_.get(index);
        } else {
          return topThreeGamesBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .protobuf.Game topThreeGames = 1;</code>
       */
      public Builder setTopThreeGames(
          int index, com.kfzs.duanduan.proto.GameOuterClass.Game value) {
        if (topThreeGamesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureTopThreeGamesIsMutable();
          topThreeGames_.set(index, value);
          onChanged();
        } else {
          topThreeGamesBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .protobuf.Game topThreeGames = 1;</code>
       */
      public Builder setTopThreeGames(
          int index, com.kfzs.duanduan.proto.GameOuterClass.Game.Builder builderForValue) {
        if (topThreeGamesBuilder_ == null) {
          ensureTopThreeGamesIsMutable();
          topThreeGames_.set(index, builderForValue.build());
          onChanged();
        } else {
          topThreeGamesBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .protobuf.Game topThreeGames = 1;</code>
       */
      public Builder addTopThreeGames(com.kfzs.duanduan.proto.GameOuterClass.Game value) {
        if (topThreeGamesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureTopThreeGamesIsMutable();
          topThreeGames_.add(value);
          onChanged();
        } else {
          topThreeGamesBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .protobuf.Game topThreeGames = 1;</code>
       */
      public Builder addTopThreeGames(
          int index, com.kfzs.duanduan.proto.GameOuterClass.Game value) {
        if (topThreeGamesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureTopThreeGamesIsMutable();
          topThreeGames_.add(index, value);
          onChanged();
        } else {
          topThreeGamesBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .protobuf.Game topThreeGames = 1;</code>
       */
      public Builder addTopThreeGames(
          com.kfzs.duanduan.proto.GameOuterClass.Game.Builder builderForValue) {
        if (topThreeGamesBuilder_ == null) {
          ensureTopThreeGamesIsMutable();
          topThreeGames_.add(builderForValue.build());
          onChanged();
        } else {
          topThreeGamesBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .protobuf.Game topThreeGames = 1;</code>
       */
      public Builder addTopThreeGames(
          int index, com.kfzs.duanduan.proto.GameOuterClass.Game.Builder builderForValue) {
        if (topThreeGamesBuilder_ == null) {
          ensureTopThreeGamesIsMutable();
          topThreeGames_.add(index, builderForValue.build());
          onChanged();
        } else {
          topThreeGamesBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .protobuf.Game topThreeGames = 1;</code>
       */
      public Builder addAllTopThreeGames(
          java.lang.Iterable<? extends com.kfzs.duanduan.proto.GameOuterClass.Game> values) {
        if (topThreeGamesBuilder_ == null) {
          ensureTopThreeGamesIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, topThreeGames_);
          onChanged();
        } else {
          topThreeGamesBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .protobuf.Game topThreeGames = 1;</code>
       */
      public Builder clearTopThreeGames() {
        if (topThreeGamesBuilder_ == null) {
          topThreeGames_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          topThreeGamesBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .protobuf.Game topThreeGames = 1;</code>
       */
      public Builder removeTopThreeGames(int index) {
        if (topThreeGamesBuilder_ == null) {
          ensureTopThreeGamesIsMutable();
          topThreeGames_.remove(index);
          onChanged();
        } else {
          topThreeGamesBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .protobuf.Game topThreeGames = 1;</code>
       */
      public com.kfzs.duanduan.proto.GameOuterClass.Game.Builder getTopThreeGamesBuilder(
          int index) {
        return getTopThreeGamesFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .protobuf.Game topThreeGames = 1;</code>
       */
      public com.kfzs.duanduan.proto.GameOuterClass.GameOrBuilder getTopThreeGamesOrBuilder(
          int index) {
        if (topThreeGamesBuilder_ == null) {
          return topThreeGames_.get(index);  } else {
          return topThreeGamesBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .protobuf.Game topThreeGames = 1;</code>
       */
      public java.util.List<? extends com.kfzs.duanduan.proto.GameOuterClass.GameOrBuilder> 
           getTopThreeGamesOrBuilderList() {
        if (topThreeGamesBuilder_ != null) {
          return topThreeGamesBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(topThreeGames_);
        }
      }
      /**
       * <code>repeated .protobuf.Game topThreeGames = 1;</code>
       */
      public com.kfzs.duanduan.proto.GameOuterClass.Game.Builder addTopThreeGamesBuilder() {
        return getTopThreeGamesFieldBuilder().addBuilder(
            com.kfzs.duanduan.proto.GameOuterClass.Game.getDefaultInstance());
      }
      /**
       * <code>repeated .protobuf.Game topThreeGames = 1;</code>
       */
      public com.kfzs.duanduan.proto.GameOuterClass.Game.Builder addTopThreeGamesBuilder(
          int index) {
        return getTopThreeGamesFieldBuilder().addBuilder(
            index, com.kfzs.duanduan.proto.GameOuterClass.Game.getDefaultInstance());
      }
      /**
       * <code>repeated .protobuf.Game topThreeGames = 1;</code>
       */
      public java.util.List<com.kfzs.duanduan.proto.GameOuterClass.Game.Builder> 
           getTopThreeGamesBuilderList() {
        return getTopThreeGamesFieldBuilder().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> 
          getTopThreeGamesFieldBuilder() {
        if (topThreeGamesBuilder_ == null) {
          topThreeGamesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              com.kfzs.duanduan.proto.GameOuterClass.Game, com.kfzs.duanduan.proto.GameOuterClass.Game.Builder, com.kfzs.duanduan.proto.GameOuterClass.GameOrBuilder>(
                  topThreeGames_,
                  ((bitField0_ & 0x00000001) == 0x00000001),
                  getParentForChildren(),
                  isClean());
          topThreeGames_ = null;
        }
        return topThreeGamesBuilder_;
      }

      private java.util.List<com.kfzs.duanduan.proto.GameOuterClass.Game> otherGames_ =
        java.util.Collections.emptyList();
      private void ensureOtherGamesIsMutable() {
        if (!((bitField0_ & 0x00000002) == 0x00000002)) {
          otherGames_ = new java.util.ArrayList<com.kfzs.duanduan.proto.GameOuterClass.Game>(otherGames_);
          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> otherGamesBuilder_;

      /**
       * <code>repeated .protobuf.Game otherGames = 2;</code>
       */
      public java.util.List<com.kfzs.duanduan.proto.GameOuterClass.Game> getOtherGamesList() {
        if (otherGamesBuilder_ == null) {
          return java.util.Collections.unmodifiableList(otherGames_);
        } else {
          return otherGamesBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .protobuf.Game otherGames = 2;</code>
       */
      public int getOtherGamesCount() {
        if (otherGamesBuilder_ == null) {
          return otherGames_.size();
        } else {
          return otherGamesBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .protobuf.Game otherGames = 2;</code>
       */
      public com.kfzs.duanduan.proto.GameOuterClass.Game getOtherGames(int index) {
        if (otherGamesBuilder_ == null) {
          return otherGames_.get(index);
        } else {
          return otherGamesBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .protobuf.Game otherGames = 2;</code>
       */
      public Builder setOtherGames(
          int index, com.kfzs.duanduan.proto.GameOuterClass.Game value) {
        if (otherGamesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureOtherGamesIsMutable();
          otherGames_.set(index, value);
          onChanged();
        } else {
          otherGamesBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .protobuf.Game otherGames = 2;</code>
       */
      public Builder setOtherGames(
          int index, com.kfzs.duanduan.proto.GameOuterClass.Game.Builder builderForValue) {
        if (otherGamesBuilder_ == null) {
          ensureOtherGamesIsMutable();
          otherGames_.set(index, builderForValue.build());
          onChanged();
        } else {
          otherGamesBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .protobuf.Game otherGames = 2;</code>
       */
      public Builder addOtherGames(com.kfzs.duanduan.proto.GameOuterClass.Game value) {
        if (otherGamesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureOtherGamesIsMutable();
          otherGames_.add(value);
          onChanged();
        } else {
          otherGamesBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .protobuf.Game otherGames = 2;</code>
       */
      public Builder addOtherGames(
          int index, com.kfzs.duanduan.proto.GameOuterClass.Game value) {
        if (otherGamesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureOtherGamesIsMutable();
          otherGames_.add(index, value);
          onChanged();
        } else {
          otherGamesBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .protobuf.Game otherGames = 2;</code>
       */
      public Builder addOtherGames(
          com.kfzs.duanduan.proto.GameOuterClass.Game.Builder builderForValue) {
        if (otherGamesBuilder_ == null) {
          ensureOtherGamesIsMutable();
          otherGames_.add(builderForValue.build());
          onChanged();
        } else {
          otherGamesBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .protobuf.Game otherGames = 2;</code>
       */
      public Builder addOtherGames(
          int index, com.kfzs.duanduan.proto.GameOuterClass.Game.Builder builderForValue) {
        if (otherGamesBuilder_ == null) {
          ensureOtherGamesIsMutable();
          otherGames_.add(index, builderForValue.build());
          onChanged();
        } else {
          otherGamesBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .protobuf.Game otherGames = 2;</code>
       */
      public Builder addAllOtherGames(
          java.lang.Iterable<? extends com.kfzs.duanduan.proto.GameOuterClass.Game> values) {
        if (otherGamesBuilder_ == null) {
          ensureOtherGamesIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, otherGames_);
          onChanged();
        } else {
          otherGamesBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .protobuf.Game otherGames = 2;</code>
       */
      public Builder clearOtherGames() {
        if (otherGamesBuilder_ == null) {
          otherGames_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
          onChanged();
        } else {
          otherGamesBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .protobuf.Game otherGames = 2;</code>
       */
      public Builder removeOtherGames(int index) {
        if (otherGamesBuilder_ == null) {
          ensureOtherGamesIsMutable();
          otherGames_.remove(index);
          onChanged();
        } else {
          otherGamesBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .protobuf.Game otherGames = 2;</code>
       */
      public com.kfzs.duanduan.proto.GameOuterClass.Game.Builder getOtherGamesBuilder(
          int index) {
        return getOtherGamesFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .protobuf.Game otherGames = 2;</code>
       */
      public com.kfzs.duanduan.proto.GameOuterClass.GameOrBuilder getOtherGamesOrBuilder(
          int index) {
        if (otherGamesBuilder_ == null) {
          return otherGames_.get(index);  } else {
          return otherGamesBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .protobuf.Game otherGames = 2;</code>
       */
      public java.util.List<? extends com.kfzs.duanduan.proto.GameOuterClass.GameOrBuilder> 
           getOtherGamesOrBuilderList() {
        if (otherGamesBuilder_ != null) {
          return otherGamesBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(otherGames_);
        }
      }
      /**
       * <code>repeated .protobuf.Game otherGames = 2;</code>
       */
      public com.kfzs.duanduan.proto.GameOuterClass.Game.Builder addOtherGamesBuilder() {
        return getOtherGamesFieldBuilder().addBuilder(
            com.kfzs.duanduan.proto.GameOuterClass.Game.getDefaultInstance());
      }
      /**
       * <code>repeated .protobuf.Game otherGames = 2;</code>
       */
      public com.kfzs.duanduan.proto.GameOuterClass.Game.Builder addOtherGamesBuilder(
          int index) {
        return getOtherGamesFieldBuilder().addBuilder(
            index, com.kfzs.duanduan.proto.GameOuterClass.Game.getDefaultInstance());
      }
      /**
       * <code>repeated .protobuf.Game otherGames = 2;</code>
       */
      public java.util.List<com.kfzs.duanduan.proto.GameOuterClass.Game.Builder> 
           getOtherGamesBuilderList() {
        return getOtherGamesFieldBuilder().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> 
          getOtherGamesFieldBuilder() {
        if (otherGamesBuilder_ == null) {
          otherGamesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              com.kfzs.duanduan.proto.GameOuterClass.Game, com.kfzs.duanduan.proto.GameOuterClass.Game.Builder, com.kfzs.duanduan.proto.GameOuterClass.GameOrBuilder>(
                  otherGames_,
                  ((bitField0_ & 0x00000002) == 0x00000002),
                  getParentForChildren(),
                  isClean());
          otherGames_ = null;
        }
        return otherGamesBuilder_;
      }
      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.GameList)
    }

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

    public static com.kfzs.duanduan.proto.GamesList.GameList getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.kfzs.duanduan.proto.GamesList.GameList getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_protobuf_GameList_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_protobuf_GameList_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\020games_list.proto\022\010protobuf\032\ngame.proto" +
      "\"U\n\010GameList\022%\n\rtopThreeGames\030\001 \003(\0132\016.pr" +
      "otobuf.Game\022\"\n\notherGames\030\002 \003(\0132\016.protob" +
      "uf.GameB\031\n\027com.kfzs.duanduan.protob\006prot" +
      "o3"
    };
    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_GameList_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_protobuf_GameList_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_protobuf_GameList_descriptor,
        new java.lang.String[] { "TopThreeGames", "OtherGames", });
    com.kfzs.duanduan.proto.GameOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
