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

package com.caliverse.admin.domain.RabbitMq.message;

/**
 * Protobuf type {@code GameModeRewardResult}
 */
public final class GameModeRewardResult extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:GameModeRewardResult)
    GameModeRewardResultOrBuilder {
private static final long serialVersionUID = 0L;
  // Use GameModeRewardResult.newBuilder() to construct.
  private GameModeRewardResult(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private GameModeRewardResult() {
    userGuid_ = "";
    rewardType_ = 0;
  }

  @java.lang.Override
  @SuppressWarnings({"unused"})
  protected java.lang.Object newInstance(
      UnusedPrivateParameter unused) {
    return new GameModeRewardResult();
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_GameModeRewardResult_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_GameModeRewardResult_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult.class, com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult.Builder.class);
  }

  public static final int USERGUID_FIELD_NUMBER = 1;
  @SuppressWarnings("serial")
  private volatile java.lang.Object userGuid_ = "";
  /**
   * <code>string UserGuid = 1;</code>
   * @return The userGuid.
   */
  @java.lang.Override
  public java.lang.String getUserGuid() {
    java.lang.Object ref = userGuid_;
    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();
      userGuid_ = s;
      return s;
    }
  }
  /**
   * <code>string UserGuid = 1;</code>
   * @return The bytes for userGuid.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getUserGuidBytes() {
    java.lang.Object ref = userGuid_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      userGuid_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int REWARDTYPE_FIELD_NUMBER = 2;
  private int rewardType_ = 0;
  /**
   * <code>.GameModeRewardType RewardType = 2;</code>
   * @return The enum numeric value on the wire for rewardType.
   */
  @java.lang.Override public int getRewardTypeValue() {
    return rewardType_;
  }
  /**
   * <code>.GameModeRewardType RewardType = 2;</code>
   * @return The rewardType.
   */
  @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.GameModeRewardType getRewardType() {
    com.caliverse.admin.domain.RabbitMq.message.GameModeRewardType result = com.caliverse.admin.domain.RabbitMq.message.GameModeRewardType.forNumber(rewardType_);
    return result == null ? com.caliverse.admin.domain.RabbitMq.message.GameModeRewardType.UNRECOGNIZED : result;
  }

  public static final int COMMONRESULT_FIELD_NUMBER = 3;
  private com.caliverse.admin.domain.RabbitMq.message.CommonResult commonResult_;
  /**
   * <code>.CommonResult CommonResult = 3;</code>
   * @return Whether the commonResult field is set.
   */
  @java.lang.Override
  public boolean hasCommonResult() {
    return commonResult_ != null;
  }
  /**
   * <code>.CommonResult CommonResult = 3;</code>
   * @return The commonResult.
   */
  @java.lang.Override
  public com.caliverse.admin.domain.RabbitMq.message.CommonResult getCommonResult() {
    return commonResult_ == null ? com.caliverse.admin.domain.RabbitMq.message.CommonResult.getDefaultInstance() : commonResult_;
  }
  /**
   * <code>.CommonResult CommonResult = 3;</code>
   */
  @java.lang.Override
  public com.caliverse.admin.domain.RabbitMq.message.CommonResultOrBuilder getCommonResultOrBuilder() {
    return commonResult_ == null ? com.caliverse.admin.domain.RabbitMq.message.CommonResult.getDefaultInstance() : commonResult_;
  }

  private byte memoizedIsInitialized = -1;
  @java.lang.Override
  public final boolean isInitialized() {
    byte isInitialized = memoizedIsInitialized;
    if (isInitialized == 1) return true;
    if (isInitialized == 0) return false;

    memoizedIsInitialized = 1;
    return true;
  }

  @java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userGuid_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, userGuid_);
    }
    if (rewardType_ != com.caliverse.admin.domain.RabbitMq.message.GameModeRewardType.GameModeRewardType_None.getNumber()) {
      output.writeEnum(2, rewardType_);
    }
    if (commonResult_ != null) {
      output.writeMessage(3, getCommonResult());
    }
    getUnknownFields().writeTo(output);
  }

  @java.lang.Override
  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userGuid_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, userGuid_);
    }
    if (rewardType_ != com.caliverse.admin.domain.RabbitMq.message.GameModeRewardType.GameModeRewardType_None.getNumber()) {
      size += com.google.protobuf.CodedOutputStream
        .computeEnumSize(2, rewardType_);
    }
    if (commonResult_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(3, getCommonResult());
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult)) {
      return super.equals(obj);
    }
    com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult other = (com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult) obj;

    if (!getUserGuid()
        .equals(other.getUserGuid())) return false;
    if (rewardType_ != other.rewardType_) return false;
    if (hasCommonResult() != other.hasCommonResult()) return false;
    if (hasCommonResult()) {
      if (!getCommonResult()
          .equals(other.getCommonResult())) return false;
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + USERGUID_FIELD_NUMBER;
    hash = (53 * hash) + getUserGuid().hashCode();
    hash = (37 * hash) + REWARDTYPE_FIELD_NUMBER;
    hash = (53 * hash) + rewardType_;
    if (hasCommonResult()) {
      hash = (37 * hash) + COMMONRESULT_FIELD_NUMBER;
      hash = (53 * hash) + getCommonResult().hashCode();
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult 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.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult 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.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult parseFrom(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }

  @java.lang.Override
  public Builder newBuilderForType() { return newBuilder(); }
  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }
  public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }
  @java.lang.Override
  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 GameModeRewardResult}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:GameModeRewardResult)
      com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_GameModeRewardResult_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_GameModeRewardResult_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult.class, com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult.Builder.class);
    }

    // Construct using com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult.newBuilder()
    private Builder() {

    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);

    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      userGuid_ = "";
      rewardType_ = 0;
      commonResult_ = null;
      if (commonResultBuilder_ != null) {
        commonResultBuilder_.dispose();
        commonResultBuilder_ = null;
      }
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_GameModeRewardResult_descriptor;
    }

    @java.lang.Override
    public com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult getDefaultInstanceForType() {
      return com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult.getDefaultInstance();
    }

    @java.lang.Override
    public com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult build() {
      com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult buildPartial() {
      com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult result = new com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult(this);
      if (bitField0_ != 0) { buildPartial0(result); }
      onBuilt();
      return result;
    }

    private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult result) {
      int from_bitField0_ = bitField0_;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.userGuid_ = userGuid_;
      }
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.rewardType_ = rewardType_;
      }
      if (((from_bitField0_ & 0x00000004) != 0)) {
        result.commonResult_ = commonResultBuilder_ == null
            ? commonResult_
            : commonResultBuilder_.build();
      }
    }

    @java.lang.Override
    public Builder clone() {
      return super.clone();
    }
    @java.lang.Override
    public Builder setField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.setField(field, value);
    }
    @java.lang.Override
    public Builder clearField(
        com.google.protobuf.Descriptors.FieldDescriptor field) {
      return super.clearField(field);
    }
    @java.lang.Override
    public Builder clearOneof(
        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
      return super.clearOneof(oneof);
    }
    @java.lang.Override
    public Builder setRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        int index, java.lang.Object value) {
      return super.setRepeatedField(field, index, value);
    }
    @java.lang.Override
    public Builder addRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.addRepeatedField(field, value);
    }
    @java.lang.Override
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult) {
        return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult other) {
      if (other == com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult.getDefaultInstance()) return this;
      if (!other.getUserGuid().isEmpty()) {
        userGuid_ = other.userGuid_;
        bitField0_ |= 0x00000001;
        onChanged();
      }
      if (other.rewardType_ != 0) {
        setRewardTypeValue(other.getRewardTypeValue());
      }
      if (other.hasCommonResult()) {
        mergeCommonResult(other.getCommonResult());
      }
      this.mergeUnknownFields(other.getUnknownFields());
      onChanged();
      return this;
    }

    @java.lang.Override
    public final boolean isInitialized() {
      return true;
    }

    @java.lang.Override
    public Builder mergeFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              userGuid_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000001;
              break;
            } // case 10
            case 16: {
              rewardType_ = input.readEnum();
              bitField0_ |= 0x00000002;
              break;
            } // case 16
            case 26: {
              input.readMessage(
                  getCommonResultFieldBuilder().getBuilder(),
                  extensionRegistry);
              bitField0_ |= 0x00000004;
              break;
            } // case 26
            default: {
              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                done = true; // was an endgroup tag
              }
              break;
            } // default:
          } // switch (tag)
        } // while (!done)
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.unwrapIOException();
      } finally {
        onChanged();
      } // finally
      return this;
    }
    private int bitField0_;

    private java.lang.Object userGuid_ = "";
    /**
     * <code>string UserGuid = 1;</code>
     * @return The userGuid.
     */
    public java.lang.String getUserGuid() {
      java.lang.Object ref = userGuid_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        userGuid_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string UserGuid = 1;</code>
     * @return The bytes for userGuid.
     */
    public com.google.protobuf.ByteString
        getUserGuidBytes() {
      java.lang.Object ref = userGuid_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        userGuid_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string UserGuid = 1;</code>
     * @param value The userGuid to set.
     * @return This builder for chaining.
     */
    public Builder setUserGuid(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      userGuid_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
    /**
     * <code>string UserGuid = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearUserGuid() {
      userGuid_ = getDefaultInstance().getUserGuid();
      bitField0_ = (bitField0_ & ~0x00000001);
      onChanged();
      return this;
    }
    /**
     * <code>string UserGuid = 1;</code>
     * @param value The bytes for userGuid to set.
     * @return This builder for chaining.
     */
    public Builder setUserGuidBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      userGuid_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }

    private int rewardType_ = 0;
    /**
     * <code>.GameModeRewardType RewardType = 2;</code>
     * @return The enum numeric value on the wire for rewardType.
     */
    @java.lang.Override public int getRewardTypeValue() {
      return rewardType_;
    }
    /**
     * <code>.GameModeRewardType RewardType = 2;</code>
     * @param value The enum numeric value on the wire for rewardType to set.
     * @return This builder for chaining.
     */
    public Builder setRewardTypeValue(int value) {
      rewardType_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
    /**
     * <code>.GameModeRewardType RewardType = 2;</code>
     * @return The rewardType.
     */
    @java.lang.Override
    public com.caliverse.admin.domain.RabbitMq.message.GameModeRewardType getRewardType() {
      com.caliverse.admin.domain.RabbitMq.message.GameModeRewardType result = com.caliverse.admin.domain.RabbitMq.message.GameModeRewardType.forNumber(rewardType_);
      return result == null ? com.caliverse.admin.domain.RabbitMq.message.GameModeRewardType.UNRECOGNIZED : result;
    }
    /**
     * <code>.GameModeRewardType RewardType = 2;</code>
     * @param value The rewardType to set.
     * @return This builder for chaining.
     */
    public Builder setRewardType(com.caliverse.admin.domain.RabbitMq.message.GameModeRewardType value) {
      if (value == null) {
        throw new NullPointerException();
      }
      bitField0_ |= 0x00000002;
      rewardType_ = value.getNumber();
      onChanged();
      return this;
    }
    /**
     * <code>.GameModeRewardType RewardType = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearRewardType() {
      bitField0_ = (bitField0_ & ~0x00000002);
      rewardType_ = 0;
      onChanged();
      return this;
    }

    private com.caliverse.admin.domain.RabbitMq.message.CommonResult commonResult_;
    private com.google.protobuf.SingleFieldBuilderV3<
        com.caliverse.admin.domain.RabbitMq.message.CommonResult, com.caliverse.admin.domain.RabbitMq.message.CommonResult.Builder, com.caliverse.admin.domain.RabbitMq.message.CommonResultOrBuilder> commonResultBuilder_;
    /**
     * <code>.CommonResult CommonResult = 3;</code>
     * @return Whether the commonResult field is set.
     */
    public boolean hasCommonResult() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     * <code>.CommonResult CommonResult = 3;</code>
     * @return The commonResult.
     */
    public com.caliverse.admin.domain.RabbitMq.message.CommonResult getCommonResult() {
      if (commonResultBuilder_ == null) {
        return commonResult_ == null ? com.caliverse.admin.domain.RabbitMq.message.CommonResult.getDefaultInstance() : commonResult_;
      } else {
        return commonResultBuilder_.getMessage();
      }
    }
    /**
     * <code>.CommonResult CommonResult = 3;</code>
     */
    public Builder setCommonResult(com.caliverse.admin.domain.RabbitMq.message.CommonResult value) {
      if (commonResultBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        commonResult_ = value;
      } else {
        commonResultBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }
    /**
     * <code>.CommonResult CommonResult = 3;</code>
     */
    public Builder setCommonResult(
        com.caliverse.admin.domain.RabbitMq.message.CommonResult.Builder builderForValue) {
      if (commonResultBuilder_ == null) {
        commonResult_ = builderForValue.build();
      } else {
        commonResultBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }
    /**
     * <code>.CommonResult CommonResult = 3;</code>
     */
    public Builder mergeCommonResult(com.caliverse.admin.domain.RabbitMq.message.CommonResult value) {
      if (commonResultBuilder_ == null) {
        if (((bitField0_ & 0x00000004) != 0) &&
          commonResult_ != null &&
          commonResult_ != com.caliverse.admin.domain.RabbitMq.message.CommonResult.getDefaultInstance()) {
          getCommonResultBuilder().mergeFrom(value);
        } else {
          commonResult_ = value;
        }
      } else {
        commonResultBuilder_.mergeFrom(value);
      }
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }
    /**
     * <code>.CommonResult CommonResult = 3;</code>
     */
    public Builder clearCommonResult() {
      bitField0_ = (bitField0_ & ~0x00000004);
      commonResult_ = null;
      if (commonResultBuilder_ != null) {
        commonResultBuilder_.dispose();
        commonResultBuilder_ = null;
      }
      onChanged();
      return this;
    }
    /**
     * <code>.CommonResult CommonResult = 3;</code>
     */
    public com.caliverse.admin.domain.RabbitMq.message.CommonResult.Builder getCommonResultBuilder() {
      bitField0_ |= 0x00000004;
      onChanged();
      return getCommonResultFieldBuilder().getBuilder();
    }
    /**
     * <code>.CommonResult CommonResult = 3;</code>
     */
    public com.caliverse.admin.domain.RabbitMq.message.CommonResultOrBuilder getCommonResultOrBuilder() {
      if (commonResultBuilder_ != null) {
        return commonResultBuilder_.getMessageOrBuilder();
      } else {
        return commonResult_ == null ?
            com.caliverse.admin.domain.RabbitMq.message.CommonResult.getDefaultInstance() : commonResult_;
      }
    }
    /**
     * <code>.CommonResult CommonResult = 3;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.caliverse.admin.domain.RabbitMq.message.CommonResult, com.caliverse.admin.domain.RabbitMq.message.CommonResult.Builder, com.caliverse.admin.domain.RabbitMq.message.CommonResultOrBuilder> 
        getCommonResultFieldBuilder() {
      if (commonResultBuilder_ == null) {
        commonResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.caliverse.admin.domain.RabbitMq.message.CommonResult, com.caliverse.admin.domain.RabbitMq.message.CommonResult.Builder, com.caliverse.admin.domain.RabbitMq.message.CommonResultOrBuilder>(
                getCommonResult(),
                getParentForChildren(),
                isClean());
        commonResult_ = null;
      }
      return commonResultBuilder_;
    }
    @java.lang.Override
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

    @java.lang.Override
    public final Builder mergeUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.mergeUnknownFields(unknownFields);
    }


    // @@protoc_insertion_point(builder_scope:GameModeRewardResult)
  }

  // @@protoc_insertion_point(class_scope:GameModeRewardResult)
  private static final com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult();
  }

  public static com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser<GameModeRewardResult>
      PARSER = new com.google.protobuf.AbstractParser<GameModeRewardResult>() {
    @java.lang.Override
    public GameModeRewardResult parsePartialFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      Builder builder = newBuilder();
      try {
        builder.mergeFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(builder.buildPartial());
      } catch (com.google.protobuf.UninitializedMessageException e) {
        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(e)
            .setUnfinishedMessage(builder.buildPartial());
      }
      return builder.buildPartial();
    }
  };

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

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

  @java.lang.Override
  public com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

