Returns the payload associated with type_url, if present.
Declared in <absl/status/status_builder.h>
std::optional<absl::Cord>
GetPayload(std::string_view type_url) const;
The payload, or std::nullopt if none is attached.
| Name | Description |
|---|---|
| type_url | The type URL identifying the payload. |