Skip to content

Commit

Permalink
Merge branch 'master' into kotlinProtos
Browse files Browse the repository at this point in the history
  • Loading branch information
deannagarcia committed Apr 6, 2021
2 parents d39e5e1 + 672b971 commit 20b4c4e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions google/protobuf/descriptor.proto
Expand Up @@ -348,17 +348,17 @@ message FileOptions {
optional string java_package = 1;


// If set, all the classes from the .proto file are wrapped in a single
// outer class with the given name. This applies to both Proto1
// (equivalent to the old "--one_java_file" option) and Proto2 (where
// a .proto always translates to a single class, but you may want to
// explicitly choose the class name).
// Controls the name of the wrapper Java class generated for the .proto file.
// That class will always contain the .proto file's getDescriptor() method as
// well as any top-level extensions defined in the .proto file.
// If java_multiple_files is disabled, then all the other classes from the
// .proto file will be nested inside the single wrapper outer class.
optional string java_outer_classname = 8;

// If set true, then the Java code generator will generate a separate .java
// If enabled, then the Java code generator will generate a separate .java
// file for each top-level message, enum, and service defined in the .proto
// file. Thus, these types will *not* be nested inside the outer class
// named by java_outer_classname. However, the outer class will still be
// file. Thus, these types will *not* be nested inside the wrapper class
// named by java_outer_classname. However, the wrapper class will still be
// generated to contain the file's getDescriptor() method as well as any
// top-level extensions defined in the file.
optional bool java_multiple_files = 10 [default = false];
Expand Down

0 comments on commit 20b4c4e

Please sign in to comment.