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

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

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

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

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

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

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

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

  public static final int MARKID_FIELD_NUMBER = 3;
  private int markId_ = 0;
  /**
   * <code>int32 markId = 3;</code>
   * @return The markId.
   */
  @java.lang.Override
  public int getMarkId() {
    return markId_;
  }

  public static final int POS_FIELD_NUMBER = 4;
  private com.caliverse.admin.domain.RabbitMq.message.Pos pos_;
  /**
   * <code>.Pos pos = 4;</code>
   * @return Whether the pos field is set.
   */
  @java.lang.Override
  public boolean hasPos() {
    return pos_ != null;
  }
  /**
   * <code>.Pos pos = 4;</code>
   * @return The pos.
   */
  @java.lang.Override
  public com.caliverse.admin.domain.RabbitMq.message.Pos getPos() {
    return pos_ == null ? com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance() : pos_;
  }
  /**
   * <code>.Pos pos = 4;</code>
   */
  @java.lang.Override
  public com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder getPosOrBuilder() {
    return pos_ == null ? com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance() : pos_;
  }

  public static final int LOCATIONINFO_FIELD_NUMBER = 5;
  private com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo locationInfo_;
  /**
   * <code>.UserLocationInfo locationInfo = 5;</code>
   * @return Whether the locationInfo field is set.
   */
  @java.lang.Override
  public boolean hasLocationInfo() {
    return locationInfo_ != null;
  }
  /**
   * <code>.UserLocationInfo locationInfo = 5;</code>
   * @return The locationInfo.
   */
  @java.lang.Override
  public com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo getLocationInfo() {
    return locationInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.getDefaultInstance() : locationInfo_;
  }
  /**
   * <code>.UserLocationInfo locationInfo = 5;</code>
   */
  @java.lang.Override
  public com.caliverse.admin.domain.RabbitMq.message.UserLocationInfoOrBuilder getLocationInfoOrBuilder() {
    return locationInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.getDefaultInstance() : locationInfo_;
  }

  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(memberGuid_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, memberGuid_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(memberNickname_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, memberNickname_);
    }
    if (markId_ != 0) {
      output.writeInt32(3, markId_);
    }
    if (pos_ != null) {
      output.writeMessage(4, getPos());
    }
    if (locationInfo_ != null) {
      output.writeMessage(5, getLocationInfo());
    }
    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(memberGuid_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, memberGuid_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(memberNickname_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, memberNickname_);
    }
    if (markId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(3, markId_);
    }
    if (pos_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(4, getPos());
    }
    if (locationInfo_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(5, getLocationInfo());
    }
    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.PartyMemberState)) {
      return super.equals(obj);
    }
    com.caliverse.admin.domain.RabbitMq.message.PartyMemberState other = (com.caliverse.admin.domain.RabbitMq.message.PartyMemberState) obj;

    if (!getMemberGuid()
        .equals(other.getMemberGuid())) return false;
    if (!getMemberNickname()
        .equals(other.getMemberNickname())) return false;
    if (getMarkId()
        != other.getMarkId()) return false;
    if (hasPos() != other.hasPos()) return false;
    if (hasPos()) {
      if (!getPos()
          .equals(other.getPos())) return false;
    }
    if (hasLocationInfo() != other.hasLocationInfo()) return false;
    if (hasLocationInfo()) {
      if (!getLocationInfo()
          .equals(other.getLocationInfo())) 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) + MEMBERGUID_FIELD_NUMBER;
    hash = (53 * hash) + getMemberGuid().hashCode();
    hash = (37 * hash) + MEMBERNICKNAME_FIELD_NUMBER;
    hash = (53 * hash) + getMemberNickname().hashCode();
    hash = (37 * hash) + MARKID_FIELD_NUMBER;
    hash = (53 * hash) + getMarkId();
    if (hasPos()) {
      hash = (37 * hash) + POS_FIELD_NUMBER;
      hash = (53 * hash) + getPos().hashCode();
    }
    if (hasLocationInfo()) {
      hash = (37 * hash) + LOCATIONINFO_FIELD_NUMBER;
      hash = (53 * hash) + getLocationInfo().hashCode();
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

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

    }

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

    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      memberGuid_ = "";
      memberNickname_ = "";
      markId_ = 0;
      pos_ = null;
      if (posBuilder_ != null) {
        posBuilder_.dispose();
        posBuilder_ = null;
      }
      locationInfo_ = null;
      if (locationInfoBuilder_ != null) {
        locationInfoBuilder_.dispose();
        locationInfoBuilder_ = null;
      }
      return this;
    }

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

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

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

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

    private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.PartyMemberState result) {
      int from_bitField0_ = bitField0_;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.memberGuid_ = memberGuid_;
      }
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.memberNickname_ = memberNickname_;
      }
      if (((from_bitField0_ & 0x00000004) != 0)) {
        result.markId_ = markId_;
      }
      if (((from_bitField0_ & 0x00000008) != 0)) {
        result.pos_ = posBuilder_ == null
            ? pos_
            : posBuilder_.build();
      }
      if (((from_bitField0_ & 0x00000010) != 0)) {
        result.locationInfo_ = locationInfoBuilder_ == null
            ? locationInfo_
            : locationInfoBuilder_.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.PartyMemberState) {
        return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.PartyMemberState)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.PartyMemberState other) {
      if (other == com.caliverse.admin.domain.RabbitMq.message.PartyMemberState.getDefaultInstance()) return this;
      if (!other.getMemberGuid().isEmpty()) {
        memberGuid_ = other.memberGuid_;
        bitField0_ |= 0x00000001;
        onChanged();
      }
      if (!other.getMemberNickname().isEmpty()) {
        memberNickname_ = other.memberNickname_;
        bitField0_ |= 0x00000002;
        onChanged();
      }
      if (other.getMarkId() != 0) {
        setMarkId(other.getMarkId());
      }
      if (other.hasPos()) {
        mergePos(other.getPos());
      }
      if (other.hasLocationInfo()) {
        mergeLocationInfo(other.getLocationInfo());
      }
      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: {
              memberGuid_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000001;
              break;
            } // case 10
            case 18: {
              memberNickname_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000002;
              break;
            } // case 18
            case 24: {
              markId_ = input.readInt32();
              bitField0_ |= 0x00000004;
              break;
            } // case 24
            case 34: {
              input.readMessage(
                  getPosFieldBuilder().getBuilder(),
                  extensionRegistry);
              bitField0_ |= 0x00000008;
              break;
            } // case 34
            case 42: {
              input.readMessage(
                  getLocationInfoFieldBuilder().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 memberGuid_ = "";
    /**
     * <code>string memberGuid = 1;</code>
     * @return The memberGuid.
     */
    public java.lang.String getMemberGuid() {
      java.lang.Object ref = memberGuid_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        memberGuid_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string memberGuid = 1;</code>
     * @return The bytes for memberGuid.
     */
    public com.google.protobuf.ByteString
        getMemberGuidBytes() {
      java.lang.Object ref = memberGuid_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        memberGuid_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string memberGuid = 1;</code>
     * @param value The memberGuid to set.
     * @return This builder for chaining.
     */
    public Builder setMemberGuid(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      memberGuid_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
    /**
     * <code>string memberGuid = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearMemberGuid() {
      memberGuid_ = getDefaultInstance().getMemberGuid();
      bitField0_ = (bitField0_ & ~0x00000001);
      onChanged();
      return this;
    }
    /**
     * <code>string memberGuid = 1;</code>
     * @param value The bytes for memberGuid to set.
     * @return This builder for chaining.
     */
    public Builder setMemberGuidBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      memberGuid_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }

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

    private int markId_ ;
    /**
     * <code>int32 markId = 3;</code>
     * @return The markId.
     */
    @java.lang.Override
    public int getMarkId() {
      return markId_;
    }
    /**
     * <code>int32 markId = 3;</code>
     * @param value The markId to set.
     * @return This builder for chaining.
     */
    public Builder setMarkId(int value) {
      
      markId_ = value;
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }
    /**
     * <code>int32 markId = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearMarkId() {
      bitField0_ = (bitField0_ & ~0x00000004);
      markId_ = 0;
      onChanged();
      return this;
    }

    private com.caliverse.admin.domain.RabbitMq.message.Pos pos_;
    private com.google.protobuf.SingleFieldBuilderV3<
        com.caliverse.admin.domain.RabbitMq.message.Pos, com.caliverse.admin.domain.RabbitMq.message.Pos.Builder, com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder> posBuilder_;
    /**
     * <code>.Pos pos = 4;</code>
     * @return Whether the pos field is set.
     */
    public boolean hasPos() {
      return ((bitField0_ & 0x00000008) != 0);
    }
    /**
     * <code>.Pos pos = 4;</code>
     * @return The pos.
     */
    public com.caliverse.admin.domain.RabbitMq.message.Pos getPos() {
      if (posBuilder_ == null) {
        return pos_ == null ? com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance() : pos_;
      } else {
        return posBuilder_.getMessage();
      }
    }
    /**
     * <code>.Pos pos = 4;</code>
     */
    public Builder setPos(com.caliverse.admin.domain.RabbitMq.message.Pos value) {
      if (posBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        pos_ = value;
      } else {
        posBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }
    /**
     * <code>.Pos pos = 4;</code>
     */
    public Builder setPos(
        com.caliverse.admin.domain.RabbitMq.message.Pos.Builder builderForValue) {
      if (posBuilder_ == null) {
        pos_ = builderForValue.build();
      } else {
        posBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }
    /**
     * <code>.Pos pos = 4;</code>
     */
    public Builder mergePos(com.caliverse.admin.domain.RabbitMq.message.Pos value) {
      if (posBuilder_ == null) {
        if (((bitField0_ & 0x00000008) != 0) &&
          pos_ != null &&
          pos_ != com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance()) {
          getPosBuilder().mergeFrom(value);
        } else {
          pos_ = value;
        }
      } else {
        posBuilder_.mergeFrom(value);
      }
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }
    /**
     * <code>.Pos pos = 4;</code>
     */
    public Builder clearPos() {
      bitField0_ = (bitField0_ & ~0x00000008);
      pos_ = null;
      if (posBuilder_ != null) {
        posBuilder_.dispose();
        posBuilder_ = null;
      }
      onChanged();
      return this;
    }
    /**
     * <code>.Pos pos = 4;</code>
     */
    public com.caliverse.admin.domain.RabbitMq.message.Pos.Builder getPosBuilder() {
      bitField0_ |= 0x00000008;
      onChanged();
      return getPosFieldBuilder().getBuilder();
    }
    /**
     * <code>.Pos pos = 4;</code>
     */
    public com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder getPosOrBuilder() {
      if (posBuilder_ != null) {
        return posBuilder_.getMessageOrBuilder();
      } else {
        return pos_ == null ?
            com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance() : pos_;
      }
    }
    /**
     * <code>.Pos pos = 4;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.caliverse.admin.domain.RabbitMq.message.Pos, com.caliverse.admin.domain.RabbitMq.message.Pos.Builder, com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder> 
        getPosFieldBuilder() {
      if (posBuilder_ == null) {
        posBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.caliverse.admin.domain.RabbitMq.message.Pos, com.caliverse.admin.domain.RabbitMq.message.Pos.Builder, com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder>(
                getPos(),
                getParentForChildren(),
                isClean());
        pos_ = null;
      }
      return posBuilder_;
    }

    private com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo locationInfo_;
    private com.google.protobuf.SingleFieldBuilderV3<
        com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo, com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.UserLocationInfoOrBuilder> locationInfoBuilder_;
    /**
     * <code>.UserLocationInfo locationInfo = 5;</code>
     * @return Whether the locationInfo field is set.
     */
    public boolean hasLocationInfo() {
      return ((bitField0_ & 0x00000010) != 0);
    }
    /**
     * <code>.UserLocationInfo locationInfo = 5;</code>
     * @return The locationInfo.
     */
    public com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo getLocationInfo() {
      if (locationInfoBuilder_ == null) {
        return locationInfo_ == null ? com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.getDefaultInstance() : locationInfo_;
      } else {
        return locationInfoBuilder_.getMessage();
      }
    }
    /**
     * <code>.UserLocationInfo locationInfo = 5;</code>
     */
    public Builder setLocationInfo(com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo value) {
      if (locationInfoBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        locationInfo_ = value;
      } else {
        locationInfoBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }
    /**
     * <code>.UserLocationInfo locationInfo = 5;</code>
     */
    public Builder setLocationInfo(
        com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.Builder builderForValue) {
      if (locationInfoBuilder_ == null) {
        locationInfo_ = builderForValue.build();
      } else {
        locationInfoBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }
    /**
     * <code>.UserLocationInfo locationInfo = 5;</code>
     */
    public Builder mergeLocationInfo(com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo value) {
      if (locationInfoBuilder_ == null) {
        if (((bitField0_ & 0x00000010) != 0) &&
          locationInfo_ != null &&
          locationInfo_ != com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.getDefaultInstance()) {
          getLocationInfoBuilder().mergeFrom(value);
        } else {
          locationInfo_ = value;
        }
      } else {
        locationInfoBuilder_.mergeFrom(value);
      }
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }
    /**
     * <code>.UserLocationInfo locationInfo = 5;</code>
     */
    public Builder clearLocationInfo() {
      bitField0_ = (bitField0_ & ~0x00000010);
      locationInfo_ = null;
      if (locationInfoBuilder_ != null) {
        locationInfoBuilder_.dispose();
        locationInfoBuilder_ = null;
      }
      onChanged();
      return this;
    }
    /**
     * <code>.UserLocationInfo locationInfo = 5;</code>
     */
    public com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.Builder getLocationInfoBuilder() {
      bitField0_ |= 0x00000010;
      onChanged();
      return getLocationInfoFieldBuilder().getBuilder();
    }
    /**
     * <code>.UserLocationInfo locationInfo = 5;</code>
     */
    public com.caliverse.admin.domain.RabbitMq.message.UserLocationInfoOrBuilder getLocationInfoOrBuilder() {
      if (locationInfoBuilder_ != null) {
        return locationInfoBuilder_.getMessageOrBuilder();
      } else {
        return locationInfo_ == null ?
            com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.getDefaultInstance() : locationInfo_;
      }
    }
    /**
     * <code>.UserLocationInfo locationInfo = 5;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo, com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.UserLocationInfoOrBuilder> 
        getLocationInfoFieldBuilder() {
      if (locationInfoBuilder_ == null) {
        locationInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo, com.caliverse.admin.domain.RabbitMq.message.UserLocationInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.UserLocationInfoOrBuilder>(
                getLocationInfo(),
                getParentForChildren(),
                isClean());
        locationInfo_ = null;
      }
      return locationInfoBuilder_;
    }
    @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:PartyMemberState)
  }

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

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

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

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

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

}

