javaMultipleFiles property

  1. @TagNumber(10)
bool get javaMultipleFiles

If set true, 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 generated to contain the file's getDescriptor() method as well as any top-level extensions defined in the file.

Implementation

@$pb.TagNumber(10)
$core.bool get javaMultipleFiles => $_getBF(3);
  1. @TagNumber(10)
set javaMultipleFiles (bool v)

Implementation

@$pb.TagNumber(10)
set javaMultipleFiles($core.bool v) { $_setBool(3, v); }