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

package com.kfzs.duanduan.proto;

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

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

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

    /**
     * <code>int32 BaseGold = 3;</code>
     */
    int getBaseGold();

    /**
     * <code>float Ratio = 4;</code>
     */
    float getRatio();

    /**
     * <code>string ActivityDescription = 5;</code>
     */
    java.lang.String getActivityDescription();
    /**
     * <code>string ActivityDescription = 5;</code>
     */
    com.google.protobuf.ByteString
        getActivityDescriptionBytes();

    /**
     * <code>int64 StartTime = 6;</code>
     */
    long getStartTime();

    /**
     * <code>int64 EndTime = 7;</code>
     */
    long getEndTime();

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

    /**
     * <code>int64 CreatedTime = 9;</code>
     */
    long getCreatedTime();

    /**
     * <code>int32 ActivityEndType = 10;</code>
     */
    int getActivityEndType();

    /**
     * <code>int32 Reserves = 11;</code>
     */
    int getReserves();

    /**
     * <code>string Description = 12;</code>
     */
    java.lang.String getDescription();
    /**
     * <code>string Description = 12;</code>
     */
    com.google.protobuf.ByteString
        getDescriptionBytes();

    /**
     * <code>.protobuf.Game Game = 13;</code>
     */
    boolean hasGame();
    /**
     * <code>.protobuf.Game Game = 13;</code>
     */
    com.kfzs.duanduan.proto.GameOuterClass.Game getGame();
    /**
     * <code>.protobuf.Game Game = 13;</code>
     */
    com.kfzs.duanduan.proto.GameOuterClass.GameOrBuilder getGameOrBuilder();
  }
  /**
   * Protobuf type {@code protobuf.GameActivityConf}
   */
  public  static final class GameActivityConf extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:protobuf.GameActivityConf)
      GameActivityConfOrBuilder {
    // Use GameActivityConf.newBuilder() to construct.
    private GameActivityConf(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private GameActivityConf() {
      id_ = 0;
      gameId_ = 0;
      baseGold_ = 0;
      ratio_ = 0F;
      activityDescription_ = "";
      startTime_ = 0L;
      endTime_ = 0L;
      status_ = 0;
      createdTime_ = 0L;
      activityEndType_ = 0;
      reserves_ = 0;
      description_ = "";
    }

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

              baseGold_ = input.readInt32();
              break;
            }
            case 37: {

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

              activityDescription_ = s;
              break;
            }
            case 48: {

              startTime_ = input.readInt64();
              break;
            }
            case 56: {

              endTime_ = input.readInt64();
              break;
            }
            case 64: {

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

              createdTime_ = input.readInt64();
              break;
            }
            case 80: {

              activityEndType_ = input.readInt32();
              break;
            }
            case 88: {

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

              description_ = s;
              break;
            }
            case 106: {
              com.kfzs.duanduan.proto.GameOuterClass.Game.Builder subBuilder = null;
              if (game_ != null) {
                subBuilder = game_.toBuilder();
              }
              game_ = input.readMessage(com.kfzs.duanduan.proto.GameOuterClass.Game.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(game_);
                game_ = subBuilder.buildPartial();
              }

              break;
            }
          }
        }
      } 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.GameActivityConfOuterClass.internal_static_protobuf_GameActivityConf_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.kfzs.duanduan.proto.GameActivityConfOuterClass.internal_static_protobuf_GameActivityConf_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.kfzs.duanduan.proto.GameActivityConfOuterClass.GameActivityConf.class, com.kfzs.duanduan.proto.GameActivityConfOuterClass.GameActivityConf.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 BASEGOLD_FIELD_NUMBER = 3;
    private int baseGold_;
    /**
     * <code>int32 BaseGold = 3;</code>
     */
    public int getBaseGold() {
      return baseGold_;
    }

    public static final int RATIO_FIELD_NUMBER = 4;
    private float ratio_;
    /**
     * <code>float Ratio = 4;</code>
     */
    public float getRatio() {
      return ratio_;
    }

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

    public static final int STARTTIME_FIELD_NUMBER = 6;
    private long startTime_;
    /**
     * <code>int64 StartTime = 6;</code>
     */
    public long getStartTime() {
      return startTime_;
    }

    public static final int ENDTIME_FIELD_NUMBER = 7;
    private long endTime_;
    /**
     * <code>int64 EndTime = 7;</code>
     */
    public long getEndTime() {
      return endTime_;
    }

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

    public static final int CREATEDTIME_FIELD_NUMBER = 9;
    private long createdTime_;
    /**
     * <code>int64 CreatedTime = 9;</code>
     */
    public long getCreatedTime() {
      return createdTime_;
    }

    public static final int ACTIVITYENDTYPE_FIELD_NUMBER = 10;
    private int activityEndType_;
    /**
     * <code>int32 ActivityEndType = 10;</code>
     */
    public int getActivityEndType() {
      return activityEndType_;
    }

    public static final int RESERVES_FIELD_NUMBER = 11;
    private int reserves_;
    /**
     * <code>int32 Reserves = 11;</code>
     */
    public int getReserves() {
      return reserves_;
    }

    public static final int DESCRIPTION_FIELD_NUMBER = 12;
    private volatile java.lang.Object description_;
    /**
     * <code>string Description = 12;</code>
     */
    public java.lang.String getDescription() {
      java.lang.Object ref = description_;
      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();
        description_ = s;
        return s;
      }
    }
    /**
     * <code>string Description = 12;</code>
     */
    public com.google.protobuf.ByteString
        getDescriptionBytes() {
      java.lang.Object ref = description_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        description_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

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

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

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (id_ != 0) {
        output.writeInt32(1, id_);
      }
      if (gameId_ != 0) {
        output.writeInt32(2, gameId_);
      }
      if (baseGold_ != 0) {
        output.writeInt32(3, baseGold_);
      }
      if (ratio_ != 0F) {
        output.writeFloat(4, ratio_);
      }
      if (!getActivityDescriptionBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 5, activityDescription_);
      }
      if (startTime_ != 0L) {
        output.writeInt64(6, startTime_);
      }
      if (endTime_ != 0L) {
        output.writeInt64(7, endTime_);
      }
      if (status_ != 0) {
        output.writeInt32(8, status_);
      }
      if (createdTime_ != 0L) {
        output.writeInt64(9, createdTime_);
      }
      if (activityEndType_ != 0) {
        output.writeInt32(10, activityEndType_);
      }
      if (reserves_ != 0) {
        output.writeInt32(11, reserves_);
      }
      if (!getDescriptionBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 12, description_);
      }
      if (game_ != null) {
        output.writeMessage(13, getGame());
      }
    }

    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 (baseGold_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(3, baseGold_);
      }
      if (ratio_ != 0F) {
        size += com.google.protobuf.CodedOutputStream
          .computeFloatSize(4, ratio_);
      }
      if (!getActivityDescriptionBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, activityDescription_);
      }
      if (startTime_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(6, startTime_);
      }
      if (endTime_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(7, endTime_);
      }
      if (status_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(8, status_);
      }
      if (createdTime_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(9, createdTime_);
      }
      if (activityEndType_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(10, activityEndType_);
      }
      if (reserves_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(11, reserves_);
      }
      if (!getDescriptionBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, description_);
      }
      if (game_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(13, getGame());
      }
      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.GameActivityConfOuterClass.GameActivityConf)) {
        return super.equals(obj);
      }
      com.kfzs.duanduan.proto.GameActivityConfOuterClass.GameActivityConf other = (com.kfzs.duanduan.proto.GameActivityConfOuterClass.GameActivityConf) obj;

      boolean result = true;
      result = result && (getId()
          == other.getId());
      result = result && (getGameId()
          == other.getGameId());
      result = result && (getBaseGold()
          == other.getBaseGold());
      result = result && (
          java.lang.Float.floatToIntBits(getRatio())
          == java.lang.Float.floatToIntBits(
              other.getRatio()));
      result = result && getActivityDescription()
          .equals(other.getActivityDescription());
      result = result && (getStartTime()
          == other.getStartTime());
      result = result && (getEndTime()
          == other.getEndTime());
      result = result && (getStatus()
          == other.getStatus());
      result = result && (getCreatedTime()
          == other.getCreatedTime());
      result = result && (getActivityEndType()
          == other.getActivityEndType());
      result = result && (getReserves()
          == other.getReserves());
      result = result && getDescription()
          .equals(other.getDescription());
      result = result && (hasGame() == other.hasGame());
      if (hasGame()) {
        result = result && getGame()
            .equals(other.getGame());
      }
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + ID_FIELD_NUMBER;
      hash = (53 * hash) + getId();
      hash = (37 * hash) + GAMEID_FIELD_NUMBER;
      hash = (53 * hash) + getGameId();
      hash = (37 * hash) + BASEGOLD_FIELD_NUMBER;
      hash = (53 * hash) + getBaseGold();
      hash = (37 * hash) + RATIO_FIELD_NUMBER;
      hash = (53 * hash) + java.lang.Float.floatToIntBits(
          getRatio());
      hash = (37 * hash) + ACTIVITYDESCRIPTION_FIELD_NUMBER;
      hash = (53 * hash) + getActivityDescription().hashCode();
      hash = (37 * hash) + STARTTIME_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getStartTime());
      hash = (37 * hash) + ENDTIME_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getEndTime());
      hash = (37 * hash) + STATUS_FIELD_NUMBER;
      hash = (53 * hash) + getStatus();
      hash = (37 * hash) + CREATEDTIME_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getCreatedTime());
      hash = (37 * hash) + ACTIVITYENDTYPE_FIELD_NUMBER;
      hash = (53 * hash) + getActivityEndType();
      hash = (37 * hash) + RESERVES_FIELD_NUMBER;
      hash = (53 * hash) + getReserves();
      hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
      hash = (53 * hash) + getDescription().hashCode();
      if (hasGame()) {
        hash = (37 * hash) + GAME_FIELD_NUMBER;
        hash = (53 * hash) + getGame().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.kfzs.duanduan.proto.GameActivityConfOuterClass.internal_static_protobuf_GameActivityConf_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.kfzs.duanduan.proto.GameActivityConfOuterClass.GameActivityConf.class, com.kfzs.duanduan.proto.GameActivityConfOuterClass.GameActivityConf.Builder.class);
      }

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

        baseGold_ = 0;

        ratio_ = 0F;

        activityDescription_ = "";

        startTime_ = 0L;

        endTime_ = 0L;

        status_ = 0;

        createdTime_ = 0L;

        activityEndType_ = 0;

        reserves_ = 0;

        description_ = "";

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

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

      public com.kfzs.duanduan.proto.GameActivityConfOuterClass.GameActivityConf getDefaultInstanceForType() {
        return com.kfzs.duanduan.proto.GameActivityConfOuterClass.GameActivityConf.getDefaultInstance();
      }

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

      public com.kfzs.duanduan.proto.GameActivityConfOuterClass.GameActivityConf buildPartial() {
        com.kfzs.duanduan.proto.GameActivityConfOuterClass.GameActivityConf result = new com.kfzs.duanduan.proto.GameActivityConfOuterClass.GameActivityConf(this);
        result.id_ = id_;
        result.gameId_ = gameId_;
        result.baseGold_ = baseGold_;
        result.ratio_ = ratio_;
        result.activityDescription_ = activityDescription_;
        result.startTime_ = startTime_;
        result.endTime_ = endTime_;
        result.status_ = status_;
        result.createdTime_ = createdTime_;
        result.activityEndType_ = activityEndType_;
        result.reserves_ = reserves_;
        result.description_ = description_;
        if (gameBuilder_ == null) {
          result.game_ = game_;
        } else {
          result.game_ = gameBuilder_.build();
        }
        onBuilt();
        return result;
      }

      public Builder clone() {
        return super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return super.setField(field, value);
      }
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.kfzs.duanduan.proto.GameActivityConfOuterClass.GameActivityConf) {
          return mergeFrom((com.kfzs.duanduan.proto.GameActivityConfOuterClass.GameActivityConf)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.kfzs.duanduan.proto.GameActivityConfOuterClass.GameActivityConf other) {
        if (other == com.kfzs.duanduan.proto.GameActivityConfOuterClass.GameActivityConf.getDefaultInstance()) return this;
        if (other.getId() != 0) {
          setId(other.getId());
        }
        if (other.getGameId() != 0) {
          setGameId(other.getGameId());
        }
        if (other.getBaseGold() != 0) {
          setBaseGold(other.getBaseGold());
        }
        if (other.getRatio() != 0F) {
          setRatio(other.getRatio());
        }
        if (!other.getActivityDescription().isEmpty()) {
          activityDescription_ = other.activityDescription_;
          onChanged();
        }
        if (other.getStartTime() != 0L) {
          setStartTime(other.getStartTime());
        }
        if (other.getEndTime() != 0L) {
          setEndTime(other.getEndTime());
        }
        if (other.getStatus() != 0) {
          setStatus(other.getStatus());
        }
        if (other.getCreatedTime() != 0L) {
          setCreatedTime(other.getCreatedTime());
        }
        if (other.getActivityEndType() != 0) {
          setActivityEndType(other.getActivityEndType());
        }
        if (other.getReserves() != 0) {
          setReserves(other.getReserves());
        }
        if (!other.getDescription().isEmpty()) {
          description_ = other.description_;
          onChanged();
        }
        if (other.hasGame()) {
          mergeGame(other.getGame());
        }
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.kfzs.duanduan.proto.GameActivityConfOuterClass.GameActivityConf parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.kfzs.duanduan.proto.GameActivityConfOuterClass.GameActivityConf) 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 int baseGold_ ;
      /**
       * <code>int32 BaseGold = 3;</code>
       */
      public int getBaseGold() {
        return baseGold_;
      }
      /**
       * <code>int32 BaseGold = 3;</code>
       */
      public Builder setBaseGold(int value) {
        
        baseGold_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int32 BaseGold = 3;</code>
       */
      public Builder clearBaseGold() {
        
        baseGold_ = 0;
        onChanged();
        return this;
      }

      private float ratio_ ;
      /**
       * <code>float Ratio = 4;</code>
       */
      public float getRatio() {
        return ratio_;
      }
      /**
       * <code>float Ratio = 4;</code>
       */
      public Builder setRatio(float value) {
        
        ratio_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>float Ratio = 4;</code>
       */
      public Builder clearRatio() {
        
        ratio_ = 0F;
        onChanged();
        return this;
      }

      private java.lang.Object activityDescription_ = "";
      /**
       * <code>string ActivityDescription = 5;</code>
       */
      public java.lang.String getActivityDescription() {
        java.lang.Object ref = activityDescription_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          activityDescription_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string ActivityDescription = 5;</code>
       */
      public com.google.protobuf.ByteString
          getActivityDescriptionBytes() {
        java.lang.Object ref = activityDescription_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          activityDescription_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string ActivityDescription = 5;</code>
       */
      public Builder setActivityDescription(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        activityDescription_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string ActivityDescription = 5;</code>
       */
      public Builder clearActivityDescription() {
        
        activityDescription_ = getDefaultInstance().getActivityDescription();
        onChanged();
        return this;
      }
      /**
       * <code>string ActivityDescription = 5;</code>
       */
      public Builder setActivityDescriptionBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        activityDescription_ = value;
        onChanged();
        return this;
      }

      private long startTime_ ;
      /**
       * <code>int64 StartTime = 6;</code>
       */
      public long getStartTime() {
        return startTime_;
      }
      /**
       * <code>int64 StartTime = 6;</code>
       */
      public Builder setStartTime(long value) {
        
        startTime_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int64 StartTime = 6;</code>
       */
      public Builder clearStartTime() {
        
        startTime_ = 0L;
        onChanged();
        return this;
      }

      private long endTime_ ;
      /**
       * <code>int64 EndTime = 7;</code>
       */
      public long getEndTime() {
        return endTime_;
      }
      /**
       * <code>int64 EndTime = 7;</code>
       */
      public Builder setEndTime(long value) {
        
        endTime_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int64 EndTime = 7;</code>
       */
      public Builder clearEndTime() {
        
        endTime_ = 0L;
        onChanged();
        return this;
      }

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

      private long createdTime_ ;
      /**
       * <code>int64 CreatedTime = 9;</code>
       */
      public long getCreatedTime() {
        return createdTime_;
      }
      /**
       * <code>int64 CreatedTime = 9;</code>
       */
      public Builder setCreatedTime(long value) {
        
        createdTime_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int64 CreatedTime = 9;</code>
       */
      public Builder clearCreatedTime() {
        
        createdTime_ = 0L;
        onChanged();
        return this;
      }

      private int activityEndType_ ;
      /**
       * <code>int32 ActivityEndType = 10;</code>
       */
      public int getActivityEndType() {
        return activityEndType_;
      }
      /**
       * <code>int32 ActivityEndType = 10;</code>
       */
      public Builder setActivityEndType(int value) {
        
        activityEndType_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int32 ActivityEndType = 10;</code>
       */
      public Builder clearActivityEndType() {
        
        activityEndType_ = 0;
        onChanged();
        return this;
      }

      private int reserves_ ;
      /**
       * <code>int32 Reserves = 11;</code>
       */
      public int getReserves() {
        return reserves_;
      }
      /**
       * <code>int32 Reserves = 11;</code>
       */
      public Builder setReserves(int value) {
        
        reserves_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int32 Reserves = 11;</code>
       */
      public Builder clearReserves() {
        
        reserves_ = 0;
        onChanged();
        return this;
      }

      private java.lang.Object description_ = "";
      /**
       * <code>string Description = 12;</code>
       */
      public java.lang.String getDescription() {
        java.lang.Object ref = description_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          description_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string Description = 12;</code>
       */
      public com.google.protobuf.ByteString
          getDescriptionBytes() {
        java.lang.Object ref = description_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          description_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string Description = 12;</code>
       */
      public Builder setDescription(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        description_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string Description = 12;</code>
       */
      public Builder clearDescription() {
        
        description_ = getDefaultInstance().getDescription();
        onChanged();
        return this;
      }
      /**
       * <code>string Description = 12;</code>
       */
      public Builder setDescriptionBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        description_ = value;
        onChanged();
        return this;
      }

      private com.kfzs.duanduan.proto.GameOuterClass.Game game_ = null;
      private com.google.protobuf.SingleFieldBuilderV3<
          com.kfzs.duanduan.proto.GameOuterClass.Game, com.kfzs.duanduan.proto.GameOuterClass.Game.Builder, com.kfzs.duanduan.proto.GameOuterClass.GameOrBuilder> gameBuilder_;
      /**
       * <code>.protobuf.Game Game = 13;</code>
       */
      public boolean hasGame() {
        return gameBuilder_ != null || game_ != null;
      }
      /**
       * <code>.protobuf.Game Game = 13;</code>
       */
      public com.kfzs.duanduan.proto.GameOuterClass.Game getGame() {
        if (gameBuilder_ == null) {
          return game_ == null ? com.kfzs.duanduan.proto.GameOuterClass.Game.getDefaultInstance() : game_;
        } else {
          return gameBuilder_.getMessage();
        }
      }
      /**
       * <code>.protobuf.Game Game = 13;</code>
       */
      public Builder setGame(com.kfzs.duanduan.proto.GameOuterClass.Game value) {
        if (gameBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          game_ = value;
          onChanged();
        } else {
          gameBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.protobuf.Game Game = 13;</code>
       */
      public Builder setGame(
          com.kfzs.duanduan.proto.GameOuterClass.Game.Builder builderForValue) {
        if (gameBuilder_ == null) {
          game_ = builderForValue.build();
          onChanged();
        } else {
          gameBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.protobuf.Game Game = 13;</code>
       */
      public Builder mergeGame(com.kfzs.duanduan.proto.GameOuterClass.Game value) {
        if (gameBuilder_ == null) {
          if (game_ != null) {
            game_ =
              com.kfzs.duanduan.proto.GameOuterClass.Game.newBuilder(game_).mergeFrom(value).buildPartial();
          } else {
            game_ = value;
          }
          onChanged();
        } else {
          gameBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.protobuf.Game Game = 13;</code>
       */
      public Builder clearGame() {
        if (gameBuilder_ == null) {
          game_ = null;
          onChanged();
        } else {
          game_ = null;
          gameBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.protobuf.Game Game = 13;</code>
       */
      public com.kfzs.duanduan.proto.GameOuterClass.Game.Builder getGameBuilder() {
        
        onChanged();
        return getGameFieldBuilder().getBuilder();
      }
      /**
       * <code>.protobuf.Game Game = 13;</code>
       */
      public com.kfzs.duanduan.proto.GameOuterClass.GameOrBuilder getGameOrBuilder() {
        if (gameBuilder_ != null) {
          return gameBuilder_.getMessageOrBuilder();
        } else {
          return game_ == null ?
              com.kfzs.duanduan.proto.GameOuterClass.Game.getDefaultInstance() : game_;
        }
      }
      /**
       * <code>.protobuf.Game Game = 13;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          com.kfzs.duanduan.proto.GameOuterClass.Game, com.kfzs.duanduan.proto.GameOuterClass.Game.Builder, com.kfzs.duanduan.proto.GameOuterClass.GameOrBuilder> 
          getGameFieldBuilder() {
        if (gameBuilder_ == null) {
          gameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              com.kfzs.duanduan.proto.GameOuterClass.Game, com.kfzs.duanduan.proto.GameOuterClass.Game.Builder, com.kfzs.duanduan.proto.GameOuterClass.GameOrBuilder>(
                  getGame(),
                  getParentForChildren(),
                  isClean());
          game_ = null;
        }
        return gameBuilder_;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }

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


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

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

    public static com.kfzs.duanduan.proto.GameActivityConfOuterClass.GameActivityConf getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.kfzs.duanduan.proto.GameActivityConfOuterClass.GameActivityConf getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_protobuf_GameActivityConf_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_protobuf_GameActivityConf_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\030game_activity_conf.proto\022\010protobuf\032\nga" +
      "me.proto\"\223\002\n\020GameActivityConf\022\n\n\002Id\030\001 \001(" +
      "\005\022\016\n\006GameId\030\002 \001(\005\022\020\n\010BaseGold\030\003 \001(\005\022\r\n\005R" +
      "atio\030\004 \001(\002\022\033\n\023ActivityDescription\030\005 \001(\t\022" +
      "\021\n\tStartTime\030\006 \001(\003\022\017\n\007EndTime\030\007 \001(\003\022\016\n\006S" +
      "tatus\030\010 \001(\005\022\023\n\013CreatedTime\030\t \001(\003\022\027\n\017Acti" +
      "vityEndType\030\n \001(\005\022\020\n\010Reserves\030\013 \001(\005\022\023\n\013D" +
      "escription\030\014 \001(\t\022\034\n\004Game\030\r \001(\0132\016.protobu" +
      "f.GameB\031\n\027com.kfzs.duanduan.protob\006proto" +
      "3"
    };
    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_GameActivityConf_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_protobuf_GameActivityConf_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_protobuf_GameActivityConf_descriptor,
        new java.lang.String[] { "Id", "GameId", "BaseGold", "Ratio", "ActivityDescription", "StartTime", "EndTime", "Status", "CreatedTime", "ActivityEndType", "Reserves", "Description", "Game", });
    com.kfzs.duanduan.proto.GameOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
