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

package com.kfzs.duanduan.proto;

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

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

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

    /**
     * <code>int64 ReceiveUserNum = 3;</code>
     */
    long getReceiveUserNum();

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

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

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

    /**
     * <code>int32 GiftNum = 7;</code>
     */
    int getGiftNum();

    /**
     * <code>string IconImage = 8;</code>
     */
    java.lang.String getIconImage();
    /**
     * <code>string IconImage = 8;</code>
     */
    com.google.protobuf.ByteString
        getIconImageBytes();
  }
  /**
   * <pre>
   * 礼包中心列表
   * </pre>
   *
   * Protobuf type {@code protobuf.GiftCenter}
   */
  public  static final class GiftCenter extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:protobuf.GiftCenter)
      GiftCenterOrBuilder {
    // Use GiftCenter.newBuilder() to construct.
    private GiftCenter(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private GiftCenter() {
      id_ = 0;
      gameId_ = 0;
      receiveUserNum_ = 0L;
      title_ = "";
      status_ = 0;
      sort_ = 0;
      giftNum_ = 0;
      iconImage_ = "";
    }

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

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

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

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

              title_ = s;
              break;
            }
            case 40: {

              status_ = input.readInt32();
              break;
            }
            case 48: {

              sort_ = input.readInt32();
              break;
            }
            case 56: {

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

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

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.kfzs.duanduan.proto.GiftCenterOuterClass.internal_static_protobuf_GiftCenter_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.kfzs.duanduan.proto.GiftCenterOuterClass.GiftCenter.class, com.kfzs.duanduan.proto.GiftCenterOuterClass.GiftCenter.Builder.class);
    }

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

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

    public static final int RECEIVEUSERNUM_FIELD_NUMBER = 3;
    private long receiveUserNum_;
    /**
     * <code>int64 ReceiveUserNum = 3;</code>
     */
    public long getReceiveUserNum() {
      return receiveUserNum_;
    }

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

    public static final int STATUS_FIELD_NUMBER = 5;
    private int status_;
    /**
     * <code>int32 Status = 5;</code>
     */
    public int getStatus() {
      return status_;
    }

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

    public static final int GIFTNUM_FIELD_NUMBER = 7;
    private int giftNum_;
    /**
     * <code>int32 GiftNum = 7;</code>
     */
    public int getGiftNum() {
      return giftNum_;
    }

    public static final int ICONIMAGE_FIELD_NUMBER = 8;
    private volatile java.lang.Object iconImage_;
    /**
     * <code>string IconImage = 8;</code>
     */
    public java.lang.String getIconImage() {
      java.lang.Object ref = iconImage_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        iconImage_ = s;
        return s;
      }
    }
    /**
     * <code>string IconImage = 8;</code>
     */
    public com.google.protobuf.ByteString
        getIconImageBytes() {
      java.lang.Object ref = iconImage_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        iconImage_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (id_ != 0) {
        output.writeInt32(1, id_);
      }
      if (gameId_ != 0) {
        output.writeInt32(2, gameId_);
      }
      if (receiveUserNum_ != 0L) {
        output.writeInt64(3, receiveUserNum_);
      }
      if (!getTitleBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 4, title_);
      }
      if (status_ != 0) {
        output.writeInt32(5, status_);
      }
      if (sort_ != 0) {
        output.writeInt32(6, sort_);
      }
      if (giftNum_ != 0) {
        output.writeInt32(7, giftNum_);
      }
      if (!getIconImageBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 8, iconImage_);
      }
    }

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

      size = 0;
      if (id_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(1, id_);
      }
      if (gameId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(2, gameId_);
      }
      if (receiveUserNum_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(3, receiveUserNum_);
      }
      if (!getTitleBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, title_);
      }
      if (status_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(5, status_);
      }
      if (sort_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(6, sort_);
      }
      if (giftNum_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(7, giftNum_);
      }
      if (!getIconImageBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, iconImage_);
      }
      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.GiftCenterOuterClass.GiftCenter)) {
        return super.equals(obj);
      }
      com.kfzs.duanduan.proto.GiftCenterOuterClass.GiftCenter other = (com.kfzs.duanduan.proto.GiftCenterOuterClass.GiftCenter) obj;

      boolean result = true;
      result = result && (getId()
          == other.getId());
      result = result && (getGameId()
          == other.getGameId());
      result = result && (getReceiveUserNum()
          == other.getReceiveUserNum());
      result = result && getTitle()
          .equals(other.getTitle());
      result = result && (getStatus()
          == other.getStatus());
      result = result && (getSort()
          == other.getSort());
      result = result && (getGiftNum()
          == other.getGiftNum());
      result = result && getIconImage()
          .equals(other.getIconImage());
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + ID_FIELD_NUMBER;
      hash = (53 * hash) + getId();
      hash = (37 * hash) + GAMEID_FIELD_NUMBER;
      hash = (53 * hash) + getGameId();
      hash = (37 * hash) + RECEIVEUSERNUM_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getReceiveUserNum());
      hash = (37 * hash) + TITLE_FIELD_NUMBER;
      hash = (53 * hash) + getTitle().hashCode();
      hash = (37 * hash) + STATUS_FIELD_NUMBER;
      hash = (53 * hash) + getStatus();
      hash = (37 * hash) + SORT_FIELD_NUMBER;
      hash = (53 * hash) + getSort();
      hash = (37 * hash) + GIFTNUM_FIELD_NUMBER;
      hash = (53 * hash) + getGiftNum();
      hash = (37 * hash) + ICONIMAGE_FIELD_NUMBER;
      hash = (53 * hash) + getIconImage().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.kfzs.duanduan.proto.GiftCenterOuterClass.GiftCenter parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.kfzs.duanduan.proto.GiftCenterOuterClass.GiftCenter 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.GiftCenterOuterClass.GiftCenter parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.kfzs.duanduan.proto.GiftCenterOuterClass.GiftCenter parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.kfzs.duanduan.proto.GiftCenterOuterClass.GiftCenter parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.kfzs.duanduan.proto.GiftCenterOuterClass.GiftCenter 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.GiftCenterOuterClass.GiftCenter parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.kfzs.duanduan.proto.GiftCenterOuterClass.GiftCenter 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.GiftCenterOuterClass.GiftCenter parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.kfzs.duanduan.proto.GiftCenterOuterClass.GiftCenter 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.GiftCenterOuterClass.GiftCenter 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;
    }
    /**
     * <pre>
     * 礼包中心列表
     * </pre>
     *
     * Protobuf type {@code protobuf.GiftCenter}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:protobuf.GiftCenter)
        com.kfzs.duanduan.proto.GiftCenterOuterClass.GiftCenterOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.kfzs.duanduan.proto.GiftCenterOuterClass.internal_static_protobuf_GiftCenter_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.kfzs.duanduan.proto.GiftCenterOuterClass.internal_static_protobuf_GiftCenter_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.kfzs.duanduan.proto.GiftCenterOuterClass.GiftCenter.class, com.kfzs.duanduan.proto.GiftCenterOuterClass.GiftCenter.Builder.class);
      }

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

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

        gameId_ = 0;

        receiveUserNum_ = 0L;

        title_ = "";

        status_ = 0;

        sort_ = 0;

        giftNum_ = 0;

        iconImage_ = "";

        return this;
      }

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

      public com.kfzs.duanduan.proto.GiftCenterOuterClass.GiftCenter getDefaultInstanceForType() {
        return com.kfzs.duanduan.proto.GiftCenterOuterClass.GiftCenter.getDefaultInstance();
      }

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

      public com.kfzs.duanduan.proto.GiftCenterOuterClass.GiftCenter buildPartial() {
        com.kfzs.duanduan.proto.GiftCenterOuterClass.GiftCenter result = new com.kfzs.duanduan.proto.GiftCenterOuterClass.GiftCenter(this);
        result.id_ = id_;
        result.gameId_ = gameId_;
        result.receiveUserNum_ = receiveUserNum_;
        result.title_ = title_;
        result.status_ = status_;
        result.sort_ = sort_;
        result.giftNum_ = giftNum_;
        result.iconImage_ = iconImage_;
        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.GiftCenterOuterClass.GiftCenter) {
          return mergeFrom((com.kfzs.duanduan.proto.GiftCenterOuterClass.GiftCenter)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.kfzs.duanduan.proto.GiftCenterOuterClass.GiftCenter other) {
        if (other == com.kfzs.duanduan.proto.GiftCenterOuterClass.GiftCenter.getDefaultInstance()) return this;
        if (other.getId() != 0) {
          setId(other.getId());
        }
        if (other.getGameId() != 0) {
          setGameId(other.getGameId());
        }
        if (other.getReceiveUserNum() != 0L) {
          setReceiveUserNum(other.getReceiveUserNum());
        }
        if (!other.getTitle().isEmpty()) {
          title_ = other.title_;
          onChanged();
        }
        if (other.getStatus() != 0) {
          setStatus(other.getStatus());
        }
        if (other.getSort() != 0) {
          setSort(other.getSort());
        }
        if (other.getGiftNum() != 0) {
          setGiftNum(other.getGiftNum());
        }
        if (!other.getIconImage().isEmpty()) {
          iconImage_ = other.iconImage_;
          onChanged();
        }
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

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

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

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

      private long receiveUserNum_ ;
      /**
       * <code>int64 ReceiveUserNum = 3;</code>
       */
      public long getReceiveUserNum() {
        return receiveUserNum_;
      }
      /**
       * <code>int64 ReceiveUserNum = 3;</code>
       */
      public Builder setReceiveUserNum(long value) {
        
        receiveUserNum_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int64 ReceiveUserNum = 3;</code>
       */
      public Builder clearReceiveUserNum() {
        
        receiveUserNum_ = 0L;
        onChanged();
        return this;
      }

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

      private int status_ ;
      /**
       * <code>int32 Status = 5;</code>
       */
      public int getStatus() {
        return status_;
      }
      /**
       * <code>int32 Status = 5;</code>
       */
      public Builder setStatus(int value) {
        
        status_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int32 Status = 5;</code>
       */
      public Builder clearStatus() {
        
        status_ = 0;
        onChanged();
        return this;
      }

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

      private int giftNum_ ;
      /**
       * <code>int32 GiftNum = 7;</code>
       */
      public int getGiftNum() {
        return giftNum_;
      }
      /**
       * <code>int32 GiftNum = 7;</code>
       */
      public Builder setGiftNum(int value) {
        
        giftNum_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int32 GiftNum = 7;</code>
       */
      public Builder clearGiftNum() {
        
        giftNum_ = 0;
        onChanged();
        return this;
      }

      private java.lang.Object iconImage_ = "";
      /**
       * <code>string IconImage = 8;</code>
       */
      public java.lang.String getIconImage() {
        java.lang.Object ref = iconImage_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          iconImage_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string IconImage = 8;</code>
       */
      public com.google.protobuf.ByteString
          getIconImageBytes() {
        java.lang.Object ref = iconImage_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          iconImage_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string IconImage = 8;</code>
       */
      public Builder setIconImage(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        iconImage_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string IconImage = 8;</code>
       */
      public Builder clearIconImage() {
        
        iconImage_ = getDefaultInstance().getIconImage();
        onChanged();
        return this;
      }
      /**
       * <code>string IconImage = 8;</code>
       */
      public Builder setIconImageBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        iconImage_ = 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.GiftCenter)
    }

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

    public static com.kfzs.duanduan.proto.GiftCenterOuterClass.GiftCenter getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.kfzs.duanduan.proto.GiftCenterOuterClass.GiftCenter getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_protobuf_GiftCenter_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_protobuf_GiftCenter_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\021gift_center.proto\022\010protobuf\"\221\001\n\nGiftCe" +
      "nter\022\n\n\002Id\030\001 \001(\005\022\016\n\006GameId\030\002 \001(\005\022\026\n\016Rece" +
      "iveUserNum\030\003 \001(\003\022\r\n\005Title\030\004 \001(\t\022\016\n\006Statu" +
      "s\030\005 \001(\005\022\014\n\004Sort\030\006 \001(\005\022\017\n\007GiftNum\030\007 \001(\005\022\021" +
      "\n\tIconImage\030\010 \001(\tB\031\n\027com.kfzs.duanduan.p" +
      "rotob\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_GiftCenter_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_protobuf_GiftCenter_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_protobuf_GiftCenter_descriptor,
        new java.lang.String[] { "Id", "GameId", "ReceiveUserNum", "Title", "Status", "Sort", "GiftNum", "IconImage", });
  }

  // @@protoc_insertion_point(outer_class_scope)
}
