File tree Expand file tree Collapse file tree 2 files changed +337
-159
lines changed
Expand file tree Collapse file tree 2 files changed +337
-159
lines changed Original file line number Diff line number Diff line change @@ -58,10 +58,9 @@ java_api_version | java_multiple_files | java_alt_api_package | java_package | j
5858
5959### Recommendation { #recommendation }
6060
61- The recommended set of options to use is:
61+ The recommended option to use is:
6262
6363``` proto
64- option java_api_version = 2;
6564option java_multiple_files = true;
6665```
6766
@@ -70,3 +69,6 @@ will be placed in a separate `.java` file. This makes it much easier to move
7069messages from one ` .proto ` file to another. There is also an outer Java class
7170generated for the ` .proto ` file itself. (The legend above explains how this
7271outer class name is generated.)
72+
73+ The ` java_api_version ` option defaults to ` 2 ` , but you can manually set it to
74+ ` 1 ` when necessary.
You can’t perform that action at this time.
0 commit comments