public Builder mergeChatMessage(protocols.ChatProtocol.ChatMessage value) {
        if (chatMessageBuilder_ == null) {
          if (((bitField0_ & 0x00000002) == 0x00000002) &&
              chatMessage_ != protocols.ChatProtocol.ChatMessage.getDefaultInstance()) {
            chatMessage_ =
              protocols.ChatProtocol.ChatMessage.newBuilder(chatMessage_).mergeFrom(value).buildPartial();
          } else {
            chatMessage_ = value;
          }
          onChanged();
        } else {
          chatMessageBuilder_.mergeFrom(value);
        }
        bitField0_ |= 0x00000002;
        return this;
      }