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

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

/**
 * Protobuf type {@code PartyState}
 */
public final class PartyState extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:PartyState)
    PartyStateOrBuilder {
private static final long serialVersionUID = 0L;
  // Use PartyState.newBuilder() to construct.
  private PartyState(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private PartyState() {
    partyName_ = "";
    partyLeaderNickname_ = "";
    partyMemberList_ = com.google.protobuf.LazyStringArrayList.EMPTY;
  }

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

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

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

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

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

  public static final int PARTYMEMBERLIST_FIELD_NUMBER = 3;
  @SuppressWarnings("serial")
  private com.google.protobuf.LazyStringList partyMemberList_;
  /**
   * <code>repeated string partyMemberList = 3;</code>
   * @return A list containing the partyMemberList.
   */
  public com.google.protobuf.ProtocolStringList
      getPartyMemberListList() {
    return partyMemberList_;
  }
  /**
   * <code>repeated string partyMemberList = 3;</code>
   * @return The count of partyMemberList.
   */
  public int getPartyMemberListCount() {
    return partyMemberList_.size();
  }
  /**
   * <code>repeated string partyMemberList = 3;</code>
   * @param index The index of the element to return.
   * @return The partyMemberList at the given index.
   */
  public java.lang.String getPartyMemberList(int index) {
    return partyMemberList_.get(index);
  }
  /**
   * <code>repeated string partyMemberList = 3;</code>
   * @param index The index of the value to return.
   * @return The bytes of the partyMemberList at the given index.
   */
  public com.google.protobuf.ByteString
      getPartyMemberListBytes(int index) {
    return partyMemberList_.getByteString(index);
  }

  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(partyName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, partyName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyLeaderNickname_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, partyLeaderNickname_);
    }
    for (int i = 0; i < partyMemberList_.size(); i++) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, partyMemberList_.getRaw(i));
    }
    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(partyName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, partyName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partyLeaderNickname_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, partyLeaderNickname_);
    }
    {
      int dataSize = 0;
      for (int i = 0; i < partyMemberList_.size(); i++) {
        dataSize += computeStringSizeNoTag(partyMemberList_.getRaw(i));
      }
      size += dataSize;
      size += 1 * getPartyMemberListList().size();
    }
    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.PartyState)) {
      return super.equals(obj);
    }
    com.caliverse.admin.domain.RabbitMq.message.PartyState other = (com.caliverse.admin.domain.RabbitMq.message.PartyState) obj;

    if (!getPartyName()
        .equals(other.getPartyName())) return false;
    if (!getPartyLeaderNickname()
        .equals(other.getPartyLeaderNickname())) return false;
    if (!getPartyMemberListList()
        .equals(other.getPartyMemberListList())) 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) + PARTYNAME_FIELD_NUMBER;
    hash = (53 * hash) + getPartyName().hashCode();
    hash = (37 * hash) + PARTYLEADERNICKNAME_FIELD_NUMBER;
    hash = (53 * hash) + getPartyLeaderNickname().hashCode();
    if (getPartyMemberListCount() > 0) {
      hash = (37 * hash) + PARTYMEMBERLIST_FIELD_NUMBER;
      hash = (53 * hash) + getPartyMemberListList().hashCode();
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

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

    }

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

    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      partyName_ = "";
      partyLeaderNickname_ = "";
      partyMemberList_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      bitField0_ = (bitField0_ & ~0x00000004);
      return this;
    }

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

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

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

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

    private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.PartyState result) {
      if (((bitField0_ & 0x00000004) != 0)) {
        partyMemberList_ = partyMemberList_.getUnmodifiableView();
        bitField0_ = (bitField0_ & ~0x00000004);
      }
      result.partyMemberList_ = partyMemberList_;
    }

    private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.PartyState result) {
      int from_bitField0_ = bitField0_;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.partyName_ = partyName_;
      }
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.partyLeaderNickname_ = partyLeaderNickname_;
      }
    }

    @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.PartyState) {
        return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.PartyState)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.PartyState other) {
      if (other == com.caliverse.admin.domain.RabbitMq.message.PartyState.getDefaultInstance()) return this;
      if (!other.getPartyName().isEmpty()) {
        partyName_ = other.partyName_;
        bitField0_ |= 0x00000001;
        onChanged();
      }
      if (!other.getPartyLeaderNickname().isEmpty()) {
        partyLeaderNickname_ = other.partyLeaderNickname_;
        bitField0_ |= 0x00000002;
        onChanged();
      }
      if (!other.partyMemberList_.isEmpty()) {
        if (partyMemberList_.isEmpty()) {
          partyMemberList_ = other.partyMemberList_;
          bitField0_ = (bitField0_ & ~0x00000004);
        } else {
          ensurePartyMemberListIsMutable();
          partyMemberList_.addAll(other.partyMemberList_);
        }
        onChanged();
      }
      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: {
              partyName_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000001;
              break;
            } // case 10
            case 18: {
              partyLeaderNickname_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000002;
              break;
            } // case 18
            case 26: {
              java.lang.String s = input.readStringRequireUtf8();
              ensurePartyMemberListIsMutable();
              partyMemberList_.add(s);
              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 partyName_ = "";
    /**
     * <code>string partyName = 1;</code>
     * @return The partyName.
     */
    public java.lang.String getPartyName() {
      java.lang.Object ref = partyName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        partyName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string partyName = 1;</code>
     * @return The bytes for partyName.
     */
    public com.google.protobuf.ByteString
        getPartyNameBytes() {
      java.lang.Object ref = partyName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        partyName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string partyName = 1;</code>
     * @param value The partyName to set.
     * @return This builder for chaining.
     */
    public Builder setPartyName(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      partyName_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
    /**
     * <code>string partyName = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearPartyName() {
      partyName_ = getDefaultInstance().getPartyName();
      bitField0_ = (bitField0_ & ~0x00000001);
      onChanged();
      return this;
    }
    /**
     * <code>string partyName = 1;</code>
     * @param value The bytes for partyName to set.
     * @return This builder for chaining.
     */
    public Builder setPartyNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      partyName_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }

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

    private com.google.protobuf.LazyStringList partyMemberList_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    private void ensurePartyMemberListIsMutable() {
      if (!((bitField0_ & 0x00000004) != 0)) {
        partyMemberList_ = new com.google.protobuf.LazyStringArrayList(partyMemberList_);
        bitField0_ |= 0x00000004;
       }
    }
    /**
     * <code>repeated string partyMemberList = 3;</code>
     * @return A list containing the partyMemberList.
     */
    public com.google.protobuf.ProtocolStringList
        getPartyMemberListList() {
      return partyMemberList_.getUnmodifiableView();
    }
    /**
     * <code>repeated string partyMemberList = 3;</code>
     * @return The count of partyMemberList.
     */
    public int getPartyMemberListCount() {
      return partyMemberList_.size();
    }
    /**
     * <code>repeated string partyMemberList = 3;</code>
     * @param index The index of the element to return.
     * @return The partyMemberList at the given index.
     */
    public java.lang.String getPartyMemberList(int index) {
      return partyMemberList_.get(index);
    }
    /**
     * <code>repeated string partyMemberList = 3;</code>
     * @param index The index of the value to return.
     * @return The bytes of the partyMemberList at the given index.
     */
    public com.google.protobuf.ByteString
        getPartyMemberListBytes(int index) {
      return partyMemberList_.getByteString(index);
    }
    /**
     * <code>repeated string partyMemberList = 3;</code>
     * @param index The index to set the value at.
     * @param value The partyMemberList to set.
     * @return This builder for chaining.
     */
    public Builder setPartyMemberList(
        int index, java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      ensurePartyMemberListIsMutable();
      partyMemberList_.set(index, value);
      onChanged();
      return this;
    }
    /**
     * <code>repeated string partyMemberList = 3;</code>
     * @param value The partyMemberList to add.
     * @return This builder for chaining.
     */
    public Builder addPartyMemberList(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      ensurePartyMemberListIsMutable();
      partyMemberList_.add(value);
      onChanged();
      return this;
    }
    /**
     * <code>repeated string partyMemberList = 3;</code>
     * @param values The partyMemberList to add.
     * @return This builder for chaining.
     */
    public Builder addAllPartyMemberList(
        java.lang.Iterable<java.lang.String> values) {
      ensurePartyMemberListIsMutable();
      com.google.protobuf.AbstractMessageLite.Builder.addAll(
          values, partyMemberList_);
      onChanged();
      return this;
    }
    /**
     * <code>repeated string partyMemberList = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearPartyMemberList() {
      partyMemberList_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      bitField0_ = (bitField0_ & ~0x00000004);
      onChanged();
      return this;
    }
    /**
     * <code>repeated string partyMemberList = 3;</code>
     * @param value The bytes of the partyMemberList to add.
     * @return This builder for chaining.
     */
    public Builder addPartyMemberListBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      ensurePartyMemberListIsMutable();
      partyMemberList_.add(value);
      onChanged();
      return this;
    }
    @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:PartyState)
  }

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

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

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

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

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

}

