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

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

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

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

  @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_InvitePartyState_descriptor;
  }

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

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

  public static final int INVITEPARTYLEADERNICKNAME_FIELD_NUMBER = 2;
  @SuppressWarnings("serial")
  private volatile java.lang.Object invitePartyLeaderNickname_ = "";
  /**
   * <code>string invitePartyLeaderNickname = 2;</code>
   * @return The invitePartyLeaderNickname.
   */
  @java.lang.Override
  public java.lang.String getInvitePartyLeaderNickname() {
    java.lang.Object ref = invitePartyLeaderNickname_;
    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();
      invitePartyLeaderNickname_ = s;
      return s;
    }
  }
  /**
   * <code>string invitePartyLeaderNickname = 2;</code>
   * @return The bytes for invitePartyLeaderNickname.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getInvitePartyLeaderNicknameBytes() {
    java.lang.Object ref = invitePartyLeaderNickname_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      invitePartyLeaderNickname_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int INVITEPARTYLEADERGUID_FIELD_NUMBER = 3;
  @SuppressWarnings("serial")
  private volatile java.lang.Object invitePartyLeaderGuid_ = "";
  /**
   * <code>string invitePartyLeaderGuid = 3;</code>
   * @return The invitePartyLeaderGuid.
   */
  @java.lang.Override
  public java.lang.String getInvitePartyLeaderGuid() {
    java.lang.Object ref = invitePartyLeaderGuid_;
    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();
      invitePartyLeaderGuid_ = s;
      return s;
    }
  }
  /**
   * <code>string invitePartyLeaderGuid = 3;</code>
   * @return The bytes for invitePartyLeaderGuid.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getInvitePartyLeaderGuidBytes() {
    java.lang.Object ref = invitePartyLeaderGuid_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      invitePartyLeaderGuid_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int CURRENTPARTYMEMBERCOUNT_FIELD_NUMBER = 4;
  private int currentPartyMemberCount_ = 0;
  /**
   * <code>int32 currentPartyMemberCount = 4;</code>
   * @return The currentPartyMemberCount.
   */
  @java.lang.Override
  public int getCurrentPartyMemberCount() {
    return currentPartyMemberCount_;
  }

  public static final int ENDTIME_FIELD_NUMBER = 5;
  private com.google.protobuf.Timestamp endTime_;
  /**
   * <code>.google.protobuf.Timestamp endTime = 5;</code>
   * @return Whether the endTime field is set.
   */
  @java.lang.Override
  public boolean hasEndTime() {
    return endTime_ != null;
  }
  /**
   * <code>.google.protobuf.Timestamp endTime = 5;</code>
   * @return The endTime.
   */
  @java.lang.Override
  public com.google.protobuf.Timestamp getEndTime() {
    return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
  }
  /**
   * <code>.google.protobuf.Timestamp endTime = 5;</code>
   */
  @java.lang.Override
  public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
    return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
  }

  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(invitePartyGuid_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, invitePartyGuid_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(invitePartyLeaderNickname_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, invitePartyLeaderNickname_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(invitePartyLeaderGuid_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, invitePartyLeaderGuid_);
    }
    if (currentPartyMemberCount_ != 0) {
      output.writeInt32(4, currentPartyMemberCount_);
    }
    if (endTime_ != null) {
      output.writeMessage(5, getEndTime());
    }
    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(invitePartyGuid_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, invitePartyGuid_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(invitePartyLeaderNickname_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, invitePartyLeaderNickname_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(invitePartyLeaderGuid_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, invitePartyLeaderGuid_);
    }
    if (currentPartyMemberCount_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(4, currentPartyMemberCount_);
    }
    if (endTime_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(5, getEndTime());
    }
    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.InvitePartyState)) {
      return super.equals(obj);
    }
    com.caliverse.admin.domain.RabbitMq.message.InvitePartyState other = (com.caliverse.admin.domain.RabbitMq.message.InvitePartyState) obj;

    if (!getInvitePartyGuid()
        .equals(other.getInvitePartyGuid())) return false;
    if (!getInvitePartyLeaderNickname()
        .equals(other.getInvitePartyLeaderNickname())) return false;
    if (!getInvitePartyLeaderGuid()
        .equals(other.getInvitePartyLeaderGuid())) return false;
    if (getCurrentPartyMemberCount()
        != other.getCurrentPartyMemberCount()) return false;
    if (hasEndTime() != other.hasEndTime()) return false;
    if (hasEndTime()) {
      if (!getEndTime()
          .equals(other.getEndTime())) 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) + INVITEPARTYGUID_FIELD_NUMBER;
    hash = (53 * hash) + getInvitePartyGuid().hashCode();
    hash = (37 * hash) + INVITEPARTYLEADERNICKNAME_FIELD_NUMBER;
    hash = (53 * hash) + getInvitePartyLeaderNickname().hashCode();
    hash = (37 * hash) + INVITEPARTYLEADERGUID_FIELD_NUMBER;
    hash = (53 * hash) + getInvitePartyLeaderGuid().hashCode();
    hash = (37 * hash) + CURRENTPARTYMEMBERCOUNT_FIELD_NUMBER;
    hash = (53 * hash) + getCurrentPartyMemberCount();
    if (hasEndTime()) {
      hash = (37 * hash) + ENDTIME_FIELD_NUMBER;
      hash = (53 * hash) + getEndTime().hashCode();
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.caliverse.admin.domain.RabbitMq.message.InvitePartyState parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.InvitePartyState 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.InvitePartyState parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.InvitePartyState 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.InvitePartyState parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.InvitePartyState 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.InvitePartyState 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.InvitePartyState 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.InvitePartyState 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.InvitePartyState 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.InvitePartyState 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.InvitePartyState 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.InvitePartyState 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 InvitePartyState}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:InvitePartyState)
      com.caliverse.admin.domain.RabbitMq.message.InvitePartyStateOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_InvitePartyState_descriptor;
    }

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

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

    }

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

    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      invitePartyGuid_ = "";
      invitePartyLeaderNickname_ = "";
      invitePartyLeaderGuid_ = "";
      currentPartyMemberCount_ = 0;
      endTime_ = null;
      if (endTimeBuilder_ != null) {
        endTimeBuilder_.dispose();
        endTimeBuilder_ = null;
      }
      return this;
    }

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

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

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

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

    private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.InvitePartyState result) {
      int from_bitField0_ = bitField0_;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.invitePartyGuid_ = invitePartyGuid_;
      }
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.invitePartyLeaderNickname_ = invitePartyLeaderNickname_;
      }
      if (((from_bitField0_ & 0x00000004) != 0)) {
        result.invitePartyLeaderGuid_ = invitePartyLeaderGuid_;
      }
      if (((from_bitField0_ & 0x00000008) != 0)) {
        result.currentPartyMemberCount_ = currentPartyMemberCount_;
      }
      if (((from_bitField0_ & 0x00000010) != 0)) {
        result.endTime_ = endTimeBuilder_ == null
            ? endTime_
            : endTimeBuilder_.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.InvitePartyState) {
        return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.InvitePartyState)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.InvitePartyState other) {
      if (other == com.caliverse.admin.domain.RabbitMq.message.InvitePartyState.getDefaultInstance()) return this;
      if (!other.getInvitePartyGuid().isEmpty()) {
        invitePartyGuid_ = other.invitePartyGuid_;
        bitField0_ |= 0x00000001;
        onChanged();
      }
      if (!other.getInvitePartyLeaderNickname().isEmpty()) {
        invitePartyLeaderNickname_ = other.invitePartyLeaderNickname_;
        bitField0_ |= 0x00000002;
        onChanged();
      }
      if (!other.getInvitePartyLeaderGuid().isEmpty()) {
        invitePartyLeaderGuid_ = other.invitePartyLeaderGuid_;
        bitField0_ |= 0x00000004;
        onChanged();
      }
      if (other.getCurrentPartyMemberCount() != 0) {
        setCurrentPartyMemberCount(other.getCurrentPartyMemberCount());
      }
      if (other.hasEndTime()) {
        mergeEndTime(other.getEndTime());
      }
      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: {
              invitePartyGuid_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000001;
              break;
            } // case 10
            case 18: {
              invitePartyLeaderNickname_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000002;
              break;
            } // case 18
            case 26: {
              invitePartyLeaderGuid_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000004;
              break;
            } // case 26
            case 32: {
              currentPartyMemberCount_ = input.readInt32();
              bitField0_ |= 0x00000008;
              break;
            } // case 32
            case 42: {
              input.readMessage(
                  getEndTimeFieldBuilder().getBuilder(),
                  extensionRegistry);
              bitField0_ |= 0x00000010;
              break;
            } // case 42
            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 invitePartyGuid_ = "";
    /**
     * <code>string invitePartyGuid = 1;</code>
     * @return The invitePartyGuid.
     */
    public java.lang.String getInvitePartyGuid() {
      java.lang.Object ref = invitePartyGuid_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        invitePartyGuid_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string invitePartyGuid = 1;</code>
     * @return The bytes for invitePartyGuid.
     */
    public com.google.protobuf.ByteString
        getInvitePartyGuidBytes() {
      java.lang.Object ref = invitePartyGuid_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        invitePartyGuid_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string invitePartyGuid = 1;</code>
     * @param value The invitePartyGuid to set.
     * @return This builder for chaining.
     */
    public Builder setInvitePartyGuid(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      invitePartyGuid_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
    /**
     * <code>string invitePartyGuid = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearInvitePartyGuid() {
      invitePartyGuid_ = getDefaultInstance().getInvitePartyGuid();
      bitField0_ = (bitField0_ & ~0x00000001);
      onChanged();
      return this;
    }
    /**
     * <code>string invitePartyGuid = 1;</code>
     * @param value The bytes for invitePartyGuid to set.
     * @return This builder for chaining.
     */
    public Builder setInvitePartyGuidBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      invitePartyGuid_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }

    private java.lang.Object invitePartyLeaderNickname_ = "";
    /**
     * <code>string invitePartyLeaderNickname = 2;</code>
     * @return The invitePartyLeaderNickname.
     */
    public java.lang.String getInvitePartyLeaderNickname() {
      java.lang.Object ref = invitePartyLeaderNickname_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        invitePartyLeaderNickname_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string invitePartyLeaderNickname = 2;</code>
     * @return The bytes for invitePartyLeaderNickname.
     */
    public com.google.protobuf.ByteString
        getInvitePartyLeaderNicknameBytes() {
      java.lang.Object ref = invitePartyLeaderNickname_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        invitePartyLeaderNickname_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string invitePartyLeaderNickname = 2;</code>
     * @param value The invitePartyLeaderNickname to set.
     * @return This builder for chaining.
     */
    public Builder setInvitePartyLeaderNickname(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      invitePartyLeaderNickname_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
    /**
     * <code>string invitePartyLeaderNickname = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearInvitePartyLeaderNickname() {
      invitePartyLeaderNickname_ = getDefaultInstance().getInvitePartyLeaderNickname();
      bitField0_ = (bitField0_ & ~0x00000002);
      onChanged();
      return this;
    }
    /**
     * <code>string invitePartyLeaderNickname = 2;</code>
     * @param value The bytes for invitePartyLeaderNickname to set.
     * @return This builder for chaining.
     */
    public Builder setInvitePartyLeaderNicknameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      invitePartyLeaderNickname_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }

    private java.lang.Object invitePartyLeaderGuid_ = "";
    /**
     * <code>string invitePartyLeaderGuid = 3;</code>
     * @return The invitePartyLeaderGuid.
     */
    public java.lang.String getInvitePartyLeaderGuid() {
      java.lang.Object ref = invitePartyLeaderGuid_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        invitePartyLeaderGuid_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string invitePartyLeaderGuid = 3;</code>
     * @return The bytes for invitePartyLeaderGuid.
     */
    public com.google.protobuf.ByteString
        getInvitePartyLeaderGuidBytes() {
      java.lang.Object ref = invitePartyLeaderGuid_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        invitePartyLeaderGuid_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string invitePartyLeaderGuid = 3;</code>
     * @param value The invitePartyLeaderGuid to set.
     * @return This builder for chaining.
     */
    public Builder setInvitePartyLeaderGuid(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      invitePartyLeaderGuid_ = value;
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }
    /**
     * <code>string invitePartyLeaderGuid = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearInvitePartyLeaderGuid() {
      invitePartyLeaderGuid_ = getDefaultInstance().getInvitePartyLeaderGuid();
      bitField0_ = (bitField0_ & ~0x00000004);
      onChanged();
      return this;
    }
    /**
     * <code>string invitePartyLeaderGuid = 3;</code>
     * @param value The bytes for invitePartyLeaderGuid to set.
     * @return This builder for chaining.
     */
    public Builder setInvitePartyLeaderGuidBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      invitePartyLeaderGuid_ = value;
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }

    private int currentPartyMemberCount_ ;
    /**
     * <code>int32 currentPartyMemberCount = 4;</code>
     * @return The currentPartyMemberCount.
     */
    @java.lang.Override
    public int getCurrentPartyMemberCount() {
      return currentPartyMemberCount_;
    }
    /**
     * <code>int32 currentPartyMemberCount = 4;</code>
     * @param value The currentPartyMemberCount to set.
     * @return This builder for chaining.
     */
    public Builder setCurrentPartyMemberCount(int value) {
      
      currentPartyMemberCount_ = value;
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }
    /**
     * <code>int32 currentPartyMemberCount = 4;</code>
     * @return This builder for chaining.
     */
    public Builder clearCurrentPartyMemberCount() {
      bitField0_ = (bitField0_ & ~0x00000008);
      currentPartyMemberCount_ = 0;
      onChanged();
      return this;
    }

    private com.google.protobuf.Timestamp endTime_;
    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_;
    /**
     * <code>.google.protobuf.Timestamp endTime = 5;</code>
     * @return Whether the endTime field is set.
     */
    public boolean hasEndTime() {
      return ((bitField0_ & 0x00000010) != 0);
    }
    /**
     * <code>.google.protobuf.Timestamp endTime = 5;</code>
     * @return The endTime.
     */
    public com.google.protobuf.Timestamp getEndTime() {
      if (endTimeBuilder_ == null) {
        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
      } else {
        return endTimeBuilder_.getMessage();
      }
    }
    /**
     * <code>.google.protobuf.Timestamp endTime = 5;</code>
     */
    public Builder setEndTime(com.google.protobuf.Timestamp value) {
      if (endTimeBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        endTime_ = value;
      } else {
        endTimeBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }
    /**
     * <code>.google.protobuf.Timestamp endTime = 5;</code>
     */
    public Builder setEndTime(
        com.google.protobuf.Timestamp.Builder builderForValue) {
      if (endTimeBuilder_ == null) {
        endTime_ = builderForValue.build();
      } else {
        endTimeBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }
    /**
     * <code>.google.protobuf.Timestamp endTime = 5;</code>
     */
    public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
      if (endTimeBuilder_ == null) {
        if (((bitField0_ & 0x00000010) != 0) &&
          endTime_ != null &&
          endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
          getEndTimeBuilder().mergeFrom(value);
        } else {
          endTime_ = value;
        }
      } else {
        endTimeBuilder_.mergeFrom(value);
      }
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }
    /**
     * <code>.google.protobuf.Timestamp endTime = 5;</code>
     */
    public Builder clearEndTime() {
      bitField0_ = (bitField0_ & ~0x00000010);
      endTime_ = null;
      if (endTimeBuilder_ != null) {
        endTimeBuilder_.dispose();
        endTimeBuilder_ = null;
      }
      onChanged();
      return this;
    }
    /**
     * <code>.google.protobuf.Timestamp endTime = 5;</code>
     */
    public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
      bitField0_ |= 0x00000010;
      onChanged();
      return getEndTimeFieldBuilder().getBuilder();
    }
    /**
     * <code>.google.protobuf.Timestamp endTime = 5;</code>
     */
    public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      if (endTimeBuilder_ != null) {
        return endTimeBuilder_.getMessageOrBuilder();
      } else {
        return endTime_ == null ?
            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
      }
    }
    /**
     * <code>.google.protobuf.Timestamp endTime = 5;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
        getEndTimeFieldBuilder() {
      if (endTimeBuilder_ == null) {
        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
                getEndTime(),
                getParentForChildren(),
                isClean());
        endTime_ = null;
      }
      return endTimeBuilder_;
    }
    @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:InvitePartyState)
  }

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

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

  private static final com.google.protobuf.Parser<InvitePartyState>
      PARSER = new com.google.protobuf.AbstractParser<InvitePartyState>() {
    @java.lang.Override
    public InvitePartyState 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<InvitePartyState> parser() {
    return PARSER;
  }

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

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

}

