ImageToFileDescriptorSet returns a new FileDescriptorSet for the Image.
(image Image)
| 568 | |
| 569 | // ImageToFileDescriptorSet returns a new FileDescriptorSet for the Image. |
| 570 | func ImageToFileDescriptorSet(image Image) *descriptorpb.FileDescriptorSet { |
| 571 | return protodescriptor.FileDescriptorSetForFileDescriptors(ImageToFileDescriptorProtos(image)...) |
| 572 | } |
| 573 | |
| 574 | // ImageToFileDescriptorProtos returns the FileDescriptorProtos for the Image. |
| 575 | func ImageToFileDescriptorProtos(image Image) []*descriptorpb.FileDescriptorProto { |
searching dependent graphs…