[[["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 in the Google Cloud Pub/Sub C++ library, with a focus on version 2.18.0 and includes documentation for all other versions since 2.11.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMessageBuilder\u003c/code\u003e class provides functionality to construct \u003ccode\u003eMessage\u003c/code\u003e objects, which can then be sent or received using the Pub/Sub API.\u003c/p\u003e\n"],["\u003cp\u003eYou can set the message payload using the \u003ccode\u003eSetData()\u003c/code\u003e functions and set an ordering key using the \u003ccode\u003eSetOrderingKey()\u003c/code\u003e functions, both of which take string parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMessageBuilder\u003c/code\u003e class allows for adding, setting, and modifying message attributes via \u003ccode\u003eInsertAttribute()\u003c/code\u003e, \u003ccode\u003eSetAttribute()\u003c/code\u003e, and \u003ccode\u003eSetAttributes()\u003c/code\u003e functions, which offer various parameter types for added functionality.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBuild()\u003c/code\u003e creates a new message object, and the different functions to build a message object can be chained through returning either a \u003ccode\u003eMessageBuilder &\u003c/code\u003e or \u003ccode\u003eMessageBuilder &&\u003c/code\u003e value, depending on the method.\u003c/p\u003e\n"]]],[],null,[]]