name property

  1. @TagNumber(1)
String get name

The file name, relative to the output directory. The name must not contain "." or ".." components and must be relative, not be absolute (so, the file cannot lie outside the output directory). "/" must be used as the path separator, not "".

If the name is omitted, the content will be appended to the previous file. This allows the generator to break large files into small chunks, and allows the generated text to be streamed back to protoc so that large files need not reside completely in memory at one time. Note that as of this writing protoc does not optimize for this -- it will read the entire CodeGeneratorResponse before writing files to disk.

Implementation

@$pb.TagNumber(1)
$core.String get name => $_getSZ(0);
  1. @TagNumber(1)
set name (String v)

Implementation

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