+16
-0
lines changedFilter options
+16
-0
lines changed Original file line number Diff line number Diff line change
@@ -56,6 +56,22 @@ def GetMessageClassesForFiles(files, pool):
56
56
This will find and resolve dependencies, failing if the descriptor
57
57
pool cannot satisfy them.
58
58
59
+
This will not return the classes for nested types within those classes, for
60
+
those, use GetMessageClass() on the nested types within their containing
61
+
messages.
62
+
63
+
For example, for the message:
64
+
65
+
message NestedTypeMessage {
66
+
message NestedType {
67
+
string data = 1;
68
+
}
69
+
NestedType nested = 1;
70
+
}
71
+
72
+
NestedTypeMessage will be in the result, but not
73
+
NestedTypeMessage.NestedType.
74
+
59
75
Args:
60
76
files: The file names to extract messages from.
61
77
pool: The descriptor pool to find the files including the dependent files.
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4