Class UnspecifiedType


  • @CheckReturnValue
    @Immutable
    @Internal
    public class UnspecifiedType
    extends CelType
    Represents an unspecified CEL-Type.

    This exists purely to maintain compatibility with since the proto-based Type from checked.proto allows instantiation without an underlying kind set. Users should not be using this class directly.

    CEL Library Internals. Do Not Use.

    • Constructor Detail

      • UnspecifiedType

        public UnspecifiedType()
    • Method Detail

      • kind

        public CelKind kind()
        Description copied from class: CelType
        Return the type CelKind.
        Specified by:
        kind in class CelType
      • name

        public java.lang.String name()
        Description copied from class: CelType
        Return the type name.

        For struct types this should be the fully qualified name. Be wary of introducing unqualified type names as they may collide with future CEL type.

        Specified by:
        name in class CelType
      • create

        @Internal
        public static UnspecifiedType create()
        Do not use. This exists for compatibility reason with ListType from checked.proto.