[[["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-04-17 UTC."],[[["This document outlines the `MessageBuilder` 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."],["The `MessageBuilder` class provides functionality to construct `Message` objects, which can then be sent or received using the Pub/Sub API."],["You can set the message payload using the `SetData()` functions and set an ordering key using the `SetOrderingKey()` functions, both of which take string parameters."],["The `MessageBuilder` class allows for adding, setting, and modifying message attributes via `InsertAttribute()`, `SetAttribute()`, and `SetAttributes()` functions, which offer various parameter types for added functionality."],["`Build()` creates a new message object, and the different functions to build a message object can be chained through returning either a `MessageBuilder &` or `MessageBuilder &&` value, depending on the method."]]],[]]