function finishMessage() {
    if (parser.tag_ < goog.net.streams.PbStreamParser.PADDING_TAG_) {
      const message = {};
      message[parser.tag_] = parser.messageBuffer_;
      parser.result_.push(message);
    }
    parser.state_ = goog.net.streams.PbStreamParser.State_.INIT;
  }
Finishes up building the current message and resets parser state