| 87 | absl::variant<google::protobuf::io::ArrayInputStream, google::protobuf::io::CordInputStream>; |
| 88 | |
| 89 | void Construct(const BytesValue* absl_nonnull value) { |
| 90 | ABSL_DCHECK(value != nullptr); |
| 91 | |
| 92 | switch (value->value_.GetKind()) { |
| 93 | case common_internal::ByteStringKind::kSmall: |
| 94 | Construct(value->value_.GetSmall()); |
| 95 | break; |
| 96 | case common_internal::ByteStringKind::kMedium: |
| 97 | Construct(value->value_.GetMedium()); |
| 98 | break; |
| 99 | case common_internal::ByteStringKind::kLarge: |
| 100 | Construct(&value->value_.GetLarge()); |
| 101 | break; |
| 102 | } |
| 103 | } |
| 104 | |
| 105 | void Construct(absl::string_view value) { |
| 106 | ABSL_DCHECK_LE(value.size(), |
no test coverage detected