[[["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 provides reference information for the \u003ccode\u003eMessageBuilder\u003c/code\u003e class in the Google Cloud Pub/Sub C++ client library, spanning versions from 2.11.0 to the latest release candidate 2.37.0-rc.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMessageBuilder\u003c/code\u003e class is used to construct \u003ccode\u003eMessage\u003c/code\u003e objects within the Google Cloud Pub/Sub system.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBuild()\u003c/code\u003e function within \u003ccode\u003eMessageBuilder\u003c/code\u003e creates a new message, and many other methods are available to configure the message's data, ordering key, and attributes.\u003c/p\u003e\n"],["\u003cp\u003eMethods such as \u003ccode\u003eSetData\u003c/code\u003e, \u003ccode\u003eSetOrderingKey\u003c/code\u003e, and \u003ccode\u003eInsertAttribute\u003c/code\u003e can be used to set the payload, ordering key, or insert new key/value attributes respectively, with both \u003ccode\u003e&\u003c/code\u003e and \u003ccode\u003e&&\u003c/code\u003e return type variants.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSetAttributes\u003c/code\u003e allows for setting attributes either using iterators or by providing a vector of pairs of strings.\u003c/p\u003e\n"]]],[],null,[]]