Uses of Class
io.apicurio.registry.utils.protobuf.schema.FileDescriptorUtils.ReadSchemaException
Packages that use FileDescriptorUtils.ReadSchemaException
-
Uses of FileDescriptorUtils.ReadSchemaException in io.apicurio.registry.utils.protobuf.schema
Methods in io.apicurio.registry.utils.protobuf.schema that throw FileDescriptorUtils.ReadSchemaExceptionModifier and TypeMethodDescriptionstatic com.google.protobuf.Descriptors.FileDescriptorFileDescriptorUtils.parseProtoFileWithDependencies(File mainProtoFile, Set<File> dependencies) Same asFileDescriptorUtils.parseProtoFileWithDependencies(File, Set, Map), but withrequiredSchemaDepsset tonull.static com.google.protobuf.Descriptors.FileDescriptorFileDescriptorUtils.parseProtoFileWithDependencies(File mainProtoFile, Set<File> dependencies, Map<String, String> requiredSchemaDeps) Same asFileDescriptorUtils.parseProtoFileWithDependencies(File, Set, Map, boolean), but withfailFastset totrueandrequiredSchemaDepsset tonull.static com.google.protobuf.Descriptors.FileDescriptorFileDescriptorUtils.parseProtoFileWithDependencies(File mainProtoFile, Set<File> dependencies, Map<String, String> requiredSchemaDeps, boolean failFast) Parse a proto file with its dependencies to produce aDescriptors.FileDescriptorof it, trying to resolve any transitive dependency.
During the resolution of dependencies process, depending onfailFast, the process will fail as soon as any parsing error happen in the list of provided dependencies, regardless been required or not, or it will proceed until a required dependency cannot be resolved.
IfrequiredSchemaDepsis provided, it will be populated with the required dependencies, which keys are in the form ofpackageName/fileNameand the value is the schema definition of the dependency.