Class ProtoTypeMaskTypeProvider

  • All Implemented Interfaces:
    CelTypeProvider

    @Immutable
    public final class ProtoTypeMaskTypeProvider
    extends java.lang.Object
    implements CelTypeProvider
    The ProtoTypeMaskTypeProvider binds a set of ProtoTypeMask instances to type definitions and ensures that only fields which have been explicitly listed by the set of ProtoTypeMask values is exposed within the CEL type system.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<CelType> findType​(java.lang.String typeName)
      Return the CelType for the given typeName if supported.
      com.google.common.collect.ImmutableCollection<CelType> types()
      Return the set of CelType instances supported by this provider.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • types

        public com.google.common.collect.ImmutableCollection<CelType> types()
        Description copied from interface: CelTypeProvider
        Return the set of CelType instances supported by this provider.
        Specified by:
        types in interface CelTypeProvider
      • findType

        public java.util.Optional<CelType> findType​(java.lang.String typeName)
        Description copied from interface: CelTypeProvider
        Return the CelType for the given typeName if supported.
        Specified by:
        findType in interface CelTypeProvider