| 425 | } |
| 426 | |
| 427 | bool AssignBytes(const CelValue& cel_value) const { |
| 428 | CelValue::BytesHolder value; |
| 429 | if (!cel_value.GetValue(&value)) { |
| 430 | return false; |
| 431 | } |
| 432 | static_cast<const Derived*>(this)->SetBytes(value); |
| 433 | return true; |
| 434 | } |
| 435 | |
| 436 | bool AssignEnum(const CelValue& cel_value) const { |
| 437 | int64_t value; |