[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["\u003cp\u003eThis document details the \u003ccode\u003eMessageBuilder\u003c/code\u003e class in the Google Cloud Pub/Sub C++ library, focusing on version 2.22.1 and including links to various other versions ranging from 2.11.0 to 2.37.0-rc.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMessageBuilder\u003c/code\u003e class facilitates the construction of \u003ccode\u003eMessage\u003c/code\u003e objects, offering functionalities for creating messages, setting the message payload via \u003ccode\u003eSetData()\u003c/code\u003e, and adding ordering keys using \u003ccode\u003eSetOrderingKey()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eYou can manage message attributes with \u003ccode\u003eMessageBuilder\u003c/code\u003e by inserting new ones with \u003ccode\u003eInsertAttribute()\u003c/code\u003e or setting/overriding them using \u003ccode\u003eSetAttribute()\u003c/code\u003e, with both functions supporting the use of references or move semantics, as well as a vector of pairs, or an iterator range.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBuild()\u003c/code\u003e function creates a new message, and the document specifies it's return type is \u003ccode\u003eMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThere are many different parameters that are passed into the various functions, including a string, a \u003ccode\u003econst &\u003c/code\u003e of a string, a vector of pairs, and iterators.\u003c/p\u003e\n"]]],[],null,[]]