wire-compiler / com.squareup.wire.schema / ProfileLoader

ProfileLoader

interface ProfileLoader

Functions

loadProfile

abstract fun loadProfile(name: String, schema: Schema): Profile

Inheritors

SchemaLoader

class SchemaLoader : Closeable, Loader, ProfileLoader

Load proto files and their transitive dependencies and parse them. Keep track of which files were loaded from where so that we can use that information later when deciding what to generate.