[[["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-03-05 UTC."],[[["This document provides the API reference for the `MessageBuilder` class in the Google Cloud Pub/Sub C++ library, spanning versions from 2.11.0 to the latest release candidate 2.37.0-rc."],["The `MessageBuilder` class is used to construct `Message` objects within the Google Cloud Pub/Sub system."],["The `Build()` function finalizes the creation of a message object."],["You can set the message payload using the `SetData()` function, which is available for both `lvalue` and `rvalue` references."],["You can set message attributes with functions like `SetAttribute()` and `SetAttributes()` and you may insert an attribute without modifying the message if the key already exists with functions like `InsertAttribute()` and you can also set the ordering key with the `SetOrderingKey()` functions."]]],[]]