| 362 | } |
| 363 | |
| 364 | ABSL_MUST_USE_RESULT std::string release_string_value() { |
| 365 | std::string string; |
| 366 | if (auto* alt = absl::get_if<StringConstant>(&mutable_kind()); alt) { |
| 367 | string.swap(*alt); |
| 368 | } |
| 369 | mutable_kind().emplace<absl::monostate>(); |
| 370 | return string; |
| 371 | } |
| 372 | |
| 373 | ABSL_DEPRECATED("duration is no longer considered a builtin type") |
| 374 | ABSL_MUST_USE_RESULT bool has_duration_value() const { |