public sealed class ReceivedMessage : IMessage<ReceivedMessage>, IEquatable<ReceivedMessage>, IDeepCloneable<ReceivedMessage>, IBufferMessage, IMessage
A message and its corresponding acknowledgment ID.
The approximate number of times that Cloud Pub/Sub has attempted to deliver
the associated message to a subscriber.
More precisely, this is 1 + (number of NACKs) +
(number of ack_deadline exceeds) for this message.
A NACK is any call to ModifyAckDeadline with a 0 deadline. An ack_deadline
exceeds event is whenever a message is not acknowledged within
ack_deadline. Note that ack_deadline is initially
Subscription.ackDeadlineSeconds, but may get extended automatically by
the client library.
Upon the first delivery of a given message, delivery_attempt will have a
value of 1. The value is calculated at best effort and is approximate.
If a DeadLetterPolicy is not set on the subscription, this will be 0.
[[["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-31 UTC."],[[["This webpage details the `ReceivedMessage` class within the `Google.Cloud.PubSub.V1` namespace, offering a comprehensive overview of its properties, constructors, and inherited members across multiple versions."],["The latest version of `ReceivedMessage` is 3.23.0, and the page provides links to the documentation for versions spanning from 3.23.0 back to 2.3.0."],["The `ReceivedMessage` class represents a message and its acknowledgment ID, implementing interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and it inherits from `Object`."],["Key properties of `ReceivedMessage` include `AckId`, `DeliveryAttempt`, and `Message`, with `AckId` being a string used for message acknowledgment, `DeliveryAttempt` an integer indicating delivery attempts, and `Message` being a `PubsubMessage`."],["It has two constructors, a parameterless constructor and another accepting another `ReceivedMessage` object."]]],[]]