protoFile

fun protoFile(path: Path): ProtoFile?

Returns the proto file at path, or null if this schema has no such file.


fun protoFile(protoType: ProtoType): ProtoFile?

Returns the proto file containing this protoType, or null if there isn't such file.