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

package com.kfzs.duanduan.proto;

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

    /**
     * <code>int32 GameTypeId = 1;</code>
     */
    int getGameTypeId();

    /**
     * <code>string Icon = 2;</code>
     */
    String getIcon();
    /**
     * <code>string Icon = 2;</code>
     */
    com.google.protobuf.ByteString
        getIconBytes();

    /**
     * <code>string HighlightIcon = 3;</code>
     */
    String getHighlightIcon();
    /**
     * <code>string HighlightIcon = 3;</code>
     */
    com.google.protobuf.ByteString
        getHighlightIconBytes();
  }
  /**
   * <pre>
   * option java_outer_classname = "Game_type";
   * </pre>
   *
   * Protobuf type {@code protobuf.GameTypeSpecial}
   */
  public  static final class GameTypeSpecial extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:protobuf.GameTypeSpecial)
      GameTypeSpecialOrBuilder {
    // Use GameTypeSpecial.newBuilder() to construct.
    private GameTypeSpecial(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private GameTypeSpecial() {
      gameTypeId_ = 0;
      icon_ = "";
      highlightIcon_ = "";
    }

    @Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
    }
    private GameTypeSpecial(
        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: {

              gameTypeId_ = input.readInt32();
              break;
            }
            case 18: {
              String s = input.readStringRequireUtf8();

              icon_ = s;
              break;
            }
            case 26: {
              String s = input.readStringRequireUtf8();

              highlightIcon_ = s;
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return GameTypeSpecialOuterClass.internal_static_protobuf_GameTypeSpecial_descriptor;
    }

    protected FieldAccessorTable
        internalGetFieldAccessorTable() {
      return GameTypeSpecialOuterClass.internal_static_protobuf_GameTypeSpecial_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              GameTypeSpecial.class, Builder.class);
    }

    public static final int GAMETYPEID_FIELD_NUMBER = 1;
    private int gameTypeId_;
    /**
     * <code>int32 GameTypeId = 1;</code>
     */
    public int getGameTypeId() {
      return gameTypeId_;
    }

    public static final int ICON_FIELD_NUMBER = 2;
    private volatile Object icon_;
    /**
     * <code>string Icon = 2;</code>
     */
    public String getIcon() {
      Object ref = icon_;
      if (ref instanceof String) {
        return (String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        icon_ = s;
        return s;
      }
    }
    /**
     * <code>string Icon = 2;</code>
     */
    public com.google.protobuf.ByteString
        getIconBytes() {
      Object ref = icon_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        icon_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int HIGHLIGHTICON_FIELD_NUMBER = 3;
    private volatile Object highlightIcon_;
    /**
     * <code>string HighlightIcon = 3;</code>
     */
    public String getHighlightIcon() {
      Object ref = highlightIcon_;
      if (ref instanceof String) {
        return (String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        highlightIcon_ = s;
        return s;
      }
    }
    /**
     * <code>string HighlightIcon = 3;</code>
     */
    public com.google.protobuf.ByteString
        getHighlightIconBytes() {
      Object ref = highlightIcon_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        highlightIcon_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (gameTypeId_ != 0) {
        output.writeInt32(1, gameTypeId_);
      }
      if (!getIconBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, icon_);
      }
      if (!getHighlightIconBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, highlightIcon_);
      }
    }

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

      size = 0;
      if (gameTypeId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(1, gameTypeId_);
      }
      if (!getIconBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, icon_);
      }
      if (!getHighlightIconBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, highlightIcon_);
      }
      memoizedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @Override
    public boolean equals(final Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof GameTypeSpecial)) {
        return super.equals(obj);
      }
      GameTypeSpecial other = (GameTypeSpecial) obj;

      boolean result = true;
      result = result && (getGameTypeId()
          == other.getGameTypeId());
      result = result && getIcon()
          .equals(other.getIcon());
      result = result && getHighlightIcon()
          .equals(other.getHighlightIcon());
      return result;
    }

    @Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + GAMETYPEID_FIELD_NUMBER;
      hash = (53 * hash) + getGameTypeId();
      hash = (37 * hash) + ICON_FIELD_NUMBER;
      hash = (53 * hash) + getIcon().hashCode();
      hash = (37 * hash) + HIGHLIGHTICON_FIELD_NUMBER;
      hash = (53 * hash) + getHighlightIcon().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static GameTypeSpecial parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static GameTypeSpecial parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static GameTypeSpecial parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static GameTypeSpecial parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static GameTypeSpecial parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static GameTypeSpecial 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 GameTypeSpecial parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static GameTypeSpecial 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 GameTypeSpecial parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static GameTypeSpecial 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(GameTypeSpecial prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @Override
    protected Builder newBuilderForType(
        BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * <pre>
     * option java_outer_classname = "Game_type";
     * </pre>
     *
     * Protobuf type {@code protobuf.GameTypeSpecial}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:protobuf.GameTypeSpecial)
        GameTypeSpecialOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return GameTypeSpecialOuterClass.internal_static_protobuf_GameTypeSpecial_descriptor;
      }

      protected FieldAccessorTable
          internalGetFieldAccessorTable() {
        return GameTypeSpecialOuterClass.internal_static_protobuf_GameTypeSpecial_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                GameTypeSpecial.class, Builder.class);
      }

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

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

        icon_ = "";

        highlightIcon_ = "";

        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return GameTypeSpecialOuterClass.internal_static_protobuf_GameTypeSpecial_descriptor;
      }

      public GameTypeSpecial getDefaultInstanceForType() {
        return GameTypeSpecial.getDefaultInstance();
      }

      public GameTypeSpecial build() {
        GameTypeSpecial result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public GameTypeSpecial buildPartial() {
        GameTypeSpecial result = new GameTypeSpecial(this);
        result.gameTypeId_ = gameTypeId_;
        result.icon_ = icon_;
        result.highlightIcon_ = highlightIcon_;
        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 GameTypeSpecial) {
          return mergeFrom((GameTypeSpecial)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(GameTypeSpecial other) {
        if (other == GameTypeSpecial.getDefaultInstance()) return this;
        if (other.getGameTypeId() != 0) {
          setGameTypeId(other.getGameTypeId());
        }
        if (!other.getIcon().isEmpty()) {
          icon_ = other.icon_;
          onChanged();
        }
        if (!other.getHighlightIcon().isEmpty()) {
          highlightIcon_ = other.highlightIcon_;
          onChanged();
        }
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

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

      private int gameTypeId_ ;
      /**
       * <code>int32 GameTypeId = 1;</code>
       */
      public int getGameTypeId() {
        return gameTypeId_;
      }
      /**
       * <code>int32 GameTypeId = 1;</code>
       */
      public Builder setGameTypeId(int value) {
        
        gameTypeId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int32 GameTypeId = 1;</code>
       */
      public Builder clearGameTypeId() {
        
        gameTypeId_ = 0;
        onChanged();
        return this;
      }

      private Object icon_ = "";
      /**
       * <code>string Icon = 2;</code>
       */
      public String getIcon() {
        Object ref = icon_;
        if (!(ref instanceof String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          String s = bs.toStringUtf8();
          icon_ = s;
          return s;
        } else {
          return (String) ref;
        }
      }
      /**
       * <code>string Icon = 2;</code>
       */
      public com.google.protobuf.ByteString
          getIconBytes() {
        Object ref = icon_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (String) ref);
          icon_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string Icon = 2;</code>
       */
      public Builder setIcon(
          String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        icon_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string Icon = 2;</code>
       */
      public Builder clearIcon() {
        
        icon_ = getDefaultInstance().getIcon();
        onChanged();
        return this;
      }
      /**
       * <code>string Icon = 2;</code>
       */
      public Builder setIconBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        icon_ = value;
        onChanged();
        return this;
      }

      private Object highlightIcon_ = "";
      /**
       * <code>string HighlightIcon = 3;</code>
       */
      public String getHighlightIcon() {
        Object ref = highlightIcon_;
        if (!(ref instanceof String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          String s = bs.toStringUtf8();
          highlightIcon_ = s;
          return s;
        } else {
          return (String) ref;
        }
      }
      /**
       * <code>string HighlightIcon = 3;</code>
       */
      public com.google.protobuf.ByteString
          getHighlightIconBytes() {
        Object ref = highlightIcon_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (String) ref);
          highlightIcon_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string HighlightIcon = 3;</code>
       */
      public Builder setHighlightIcon(
          String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        highlightIcon_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string HighlightIcon = 3;</code>
       */
      public Builder clearHighlightIcon() {
        
        highlightIcon_ = getDefaultInstance().getHighlightIcon();
        onChanged();
        return this;
      }
      /**
       * <code>string HighlightIcon = 3;</code>
       */
      public Builder setHighlightIconBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        highlightIcon_ = value;
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }

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


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

    // @@protoc_insertion_point(class_scope:protobuf.GameTypeSpecial)
    private static final GameTypeSpecial DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new GameTypeSpecial();
    }

    public static GameTypeSpecial getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public GameTypeSpecial getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_protobuf_GameTypeSpecial_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_protobuf_GameTypeSpecial_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    String[] descriptorData = {
      "\n\027game_type_special.proto\022\010protobuf\"J\n\017G" +
      "ameTypeSpecial\022\022\n\nGameTypeId\030\001 \001(\005\022\014\n\004Ic" +
      "on\030\002 \001(\t\022\025\n\rHighlightIcon\030\003 \001(\tB\031\n\027com.k" +
      "fzs.duanduan.protob\006proto3"
    };
    com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
        new com.google.protobuf.Descriptors.FileDescriptor.    InternalDescriptorAssigner() {
          public com.google.protobuf.ExtensionRegistry assignDescriptors(
              com.google.protobuf.Descriptors.FileDescriptor root) {
            descriptor = root;
            return null;
          }
        };
    com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
        }, assigner);
    internal_static_protobuf_GameTypeSpecial_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_protobuf_GameTypeSpecial_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_protobuf_GameTypeSpecial_descriptor,
        new String[] { "GameTypeId", "Icon", "HighlightIcon", });
  }

  // @@protoc_insertion_point(outer_class_scope)
}
