javaOuterClassname property

  1. @TagNumber(8)
String javaOuterClassname

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).

Implementation

@$pb.TagNumber(8)
$core.String get javaOuterClassname => $_getSZ(1);
  1. @TagNumber(8)
void javaOuterClassname=(String v)

Implementation

@$pb.TagNumber(8)
set javaOuterClassname($core.String v) { $_setString(1, v); }