Class FileDescriptorSetConverter


  • @CheckReturnValue
    public final class FileDescriptorSetConverter
    extends java.lang.Object
    Utility class for converting from a FileDescriptorSet to a collection of FileDescriptor instances.

    CEL Library Internals. Do Not Use.

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static com.google.common.collect.ImmutableSet<com.google.protobuf.Descriptors.FileDescriptor> convert​(com.google.protobuf.DescriptorProtos.FileDescriptorSet fileDescriptorSet)
      Extracts all FileDescriptors from the FileDescriptorSet
      • Methods inherited from class java.lang.Object

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

      • convert

        public static com.google.common.collect.ImmutableSet<com.google.protobuf.Descriptors.FileDescriptor> convert​(com.google.protobuf.DescriptorProtos.FileDescriptorSet fileDescriptorSet)
        Extracts all FileDescriptors from the FileDescriptorSet

        Warning: This will produce a unique FileDescriptor instances. Use with care especially in hermetic environments.