[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["\u003cp\u003eThis document outlines the \u003ccode\u003eMessageBuilder\u003c/code\u003e class in the Google Cloud Pub/Sub C++ library, with version 2.37.0-rc as the latest available.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMessageBuilder\u003c/code\u003e class facilitates the creation of \u003ccode\u003eMessage\u003c/code\u003e objects, including setting the payload and metadata.\u003c/p\u003e\n"],["\u003cp\u003eKey functions within the class include \u003ccode\u003eBuild()\u003c/code\u003e to create a new message, \u003ccode\u003eSetData()\u003c/code\u003e to define the message payload, and \u003ccode\u003eSetOrderingKey()\u003c/code\u003e to specify the ordering key.\u003c/p\u003e\n"],["\u003cp\u003eYou can insert or set message attributes using the \u003ccode\u003eInsertAttribute()\u003c/code\u003e and \u003ccode\u003eSetAttribute()\u003c/code\u003e functions, either individually or in batches.\u003c/p\u003e\n"],["\u003cp\u003eVarious versions of the \u003ccode\u003eMessageBuilder\u003c/code\u003e class are available, ranging from version 2.11.0 to the latest release candidate 2.37.0-rc.\u003c/p\u003e\n"]]],[],null,[]]