Interface UnparseableDescriptor

All Superinterfaces:
Descriptor, Serializable

public interface UnparseableDescriptor extends Descriptor
Contains a descriptor that could not be parsed. Only Descriptor.getRawDescriptorBytes() and Descriptor.getDescriptorFile() are supported.
Since:
1.9.0
  • Method Details

    • getDescriptorParseException

      DescriptorParseException getDescriptorParseException()
      Return the first exception thrown while attempting to parse this descriptor.
      Returns:
      First exception thrown.
      Since:
      1.9.0
    • getAnnotations

      List<String> getAnnotations()
      Will always throw an UnsupportedOperationException.
      Specified by:
      getAnnotations in interface Descriptor
      Since:
      1.9.0
    • getUnrecognizedLines

      List<String> getUnrecognizedLines()
      Will always throw an UnsupportedOperationException.
      Specified by:
      getUnrecognizedLines in interface Descriptor
      Since:
      1.9.0