Skip to content

[cel-types] Add Protobuf definitions and codecs for CEL type definitions and aspects. - #2338

Open
copybara-service[bot] wants to merge 1 commit into
masterfrom
test_995451531
Open

copybara-service[bot] wants to merge 1 commit into
masterfrom
test_995451531

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

[cel-types] Add Protobuf definitions and codecs for CEL type definitions and aspects.

Define cel.types messages (Aspect, TypeDefSet, TypeDef, Struct, and Enum), representing aspects as maps of google.api.expr.Constant properties. Provide C++ encoder/decoder APIs (TypeDefSetToProto, TypeDefSetFromProto, TypeDefToProto, and TypeDefFromProto) for converting between cel::TypeDefSet / cel::TypeDef and their Protobuf representations, sharing cel::ast_internal::TypeFromProto and TypeToProto with ast_proto.

@copybara-service
copybara-service Bot force-pushed the test_995451531 branch 3 times, most recently from 0de5a53 to eafa6a5 Compare October 8, 2026 18:26
@copybara-service
copybara-service Bot force-pushed the test_995451531 branch 3 times, most recently from 4b90178 to e9abf6a Compare October 23, 2026 19:19
@copybara-service copybara-service Bot changed the title [cel-types] Add Protobuf definitions and codecs for CEL type definitions and schemas. [cel-types] Add Protobuf definitions and codecs for CEL type definitions and aspects. Oct 23, 2026
…ons and aspects.

Define `cel.types` messages (`Aspect`, `TypeDefSet`, `TypeDef`, `Struct`, and `Enum`), representing aspects as maps of `google.api.expr.Constant` properties. Provide C++ encoder/decoder APIs (`TypeDefSetToProto`, `TypeDefSetFromProto`, `TypeDefToProto`, and `TypeDefFromProto`) for converting between `cel::TypeDefSet` / `cel::TypeDef` and their Protobuf representations, sharing `cel::ast_internal::TypeFromProto` and `TypeToProto` with `ast_proto`.

PiperOrigin-RevId: 995451531
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant