[[["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 outlines the \u003ccode\u003eMessageBuilder\u003c/code\u003e class, used for constructing \u003ccode\u003eMessage\u003c/code\u003e objects within the Google Cloud Pub/Sub C++ library, version 2.17.0 and onwards.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version is 2.37.0-rc, and it lists available versions, which range from 2.37.0-rc down to 2.11.0, each with links to their respective \u003ccode\u003eMessageBuilder\u003c/code\u003e class documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMessageBuilder\u003c/code\u003e class includes functions to build messages, set the message payload (\u003ccode\u003eSetData\u003c/code\u003e), define an ordering key (\u003ccode\u003eSetOrderingKey\u003c/code\u003e), and add or modify message attributes (\u003ccode\u003eInsertAttribute\u003c/code\u003e, \u003ccode\u003eSetAttribute\u003c/code\u003e, \u003ccode\u003eSetAttributes\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThere are both lvalue reference and rvalue reference versions of the \u003ccode\u003eSetData\u003c/code\u003e, \u003ccode\u003eSetOrderingKey\u003c/code\u003e, \u003ccode\u003eInsertAttribute\u003c/code\u003e, \u003ccode\u003eSetAttribute\u003c/code\u003e, and \u003ccode\u003eSetAttributes\u003c/code\u003e functions, enabling flexibility in usage.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBuild()\u003c/code\u003e function creates and returns a new \u003ccode\u003eMessage\u003c/code\u003e object, allowing you to finalize the creation of the message.\u003c/p\u003e\n"]]],[],null,[]]