Proto well-known type support for CEL strict mode. Handles wrapper types, Value/Struct/ListValue, and TestAllTypes schema.
Summary
Functions
Coerce a value to its JSON representation for google.protobuf.Value fields.
Create a default struct instance with scalar defaults (message fields use lazy defaults).
Get the default value for a proto field type.
Finalize a proto message with schema validation.
Finalize a struct creation for a known type. Returns the appropriate CEL value or {:cel_error, msg}.
Get proto schema for a known type name.
Map a CEL type to its protobuf type name. Used for type() function in strict mode.
Resolve a short type name to its fully qualified name.
Attempt to unpack an Any struct's fields to its inner message.
Check if a type is a well-known type with special semantics.
Wrap a CEL value as a google.protobuf.Value proto representation.
Check if a type name is a well-known wrapper type.
Functions
Coerce a value to its JSON representation for google.protobuf.Value fields.
Create a default struct instance with scalar defaults (message fields use lazy defaults).
Get the default value for a proto field type.
Finalize a proto message with schema validation.
Finalize a struct creation for a known type. Returns the appropriate CEL value or {:cel_error, msg}.
Get proto schema for a known type name.
Map a CEL type to its protobuf type name. Used for type() function in strict mode.
Resolve a short type name to its fully qualified name.
Attempt to unpack an Any struct's fields to its inner message.
Check if a type is a well-known type with special semantics.
Wrap a CEL value as a google.protobuf.Value proto representation.
Check if a type name is a well-known wrapper type.