Class OptionalType


  • @CheckReturnValue
    @Immutable
    public abstract class OptionalType
    extends CelType
    OptionalType is an opaque type that that represents an optional value.
    • Constructor Detail

      • OptionalType

        public OptionalType()
    • 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
      • parameters

        public abstract com.google.common.collect.ImmutableList<CelType> parameters()
        Description copied from class: CelType
        Return the type parameters. e.g. a map's key and value CelType.
        Overrides:
        parameters in class CelType