function FileOptions::setJavaMultipleFiles
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 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.
Generated from protobuf field <code>optional bool java_multiple_files = 10 [default = false];</code>
Parameters
bool $var:
Return value
$this
File
-
vendor/
google/ protobuf/ src/ Google/ Protobuf/ Internal/ FileOptions.php, line 403
Class
- FileOptions
- Generated from protobuf message <code>google.protobuf.FileOptions</code>
Namespace
Google\Protobuf\InternalCode
public function setJavaMultipleFiles($var) {
GPBUtil::checkBool($var);
$this->java_multiple_files = $var;
return $this;
}