wire-compiler / com.squareup.wire.schema / NewSchemaLoader / loadDescriptorProto

loadDescriptorProto

fun loadDescriptorProto(): ProtoFile

Returns Google's protobuf descriptor, which defines standard options like default, deprecated, and java_package. If the user has provided their own version of the descriptor proto, that is preferred.