init(name:content:)
Helper to make a Response.File with specific content.
init(name: String, content: String) Helper to make a Response.File with specific content.
init(name: String, content: String) s26SwiftProtobufPluginLibrary07Google_B31_Compiler_CodeGeneratorResponseV4FileV4name7contentAESS_SStcfc What are these?84EKNimport SwiftProtobufPluginLibraryA reusable framework for building protoc plugins in Swift.
struct FileRepresents a single generated file.
struct Google_Protobuf_Compiler_CodeGeneratorResponseThe plugin writes an encoded CodeGeneratorResponse to stdout.
@frozen struct StringA Unicode string value that is a collection of characters.
init() static let _protobuf_nameMap: _NameMapstatic let protoMessageName: Stringvar content: String { get set }The file contents.
var generatedCodeInfo: Google_Protobuf_GeneratedCodeInfo { get set }Information describing the file content being inserted. If an insertion point is used, this information will be appropriately offset and inserted into the code generation metadata for the generated files.
var hasContent: Bool { get }Returns true if content has been explicitly set.
var hasGeneratedCodeInfo: Bool { get }Returns true if generatedCodeInfo has been explicitly set.
var hasInsertionPoint: Bool { get }Returns true if insertionPoint has been explicitly set.
var hasName: Bool { get }Returns true if name has been explicitly set.
var insertionPoint: String { get set }If non-empty, indicates that the named file should already exist, and the content here is to be inserted into that file at a defined insertion point. This feature allows a code generator to extend the output produced by another code generator. The original generator may provide insertion points by placing special annotations in the file that look like:
var name: String { get set }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 “".
var unknownFields: UnknownStoragestatic func == (lhs: Google_Protobuf_Compiler_CodeGeneratorResponse.File, rhs: Google_Protobuf_Compiler_CodeGeneratorResponse.File) -> Bool mutating func clearContent() Clears the value of content. Subsequent reads from it will return its default value.
mutating func clearGeneratedCodeInfo() Clears the value of generatedCodeInfo. Subsequent reads from it will return its default value.
mutating func clearInsertionPoint() Clears the value of insertionPoint. Subsequent reads from it will return its default value.
mutating func clearName() Clears the value of name. Subsequent reads from it will return its default value.
mutating func decodeMessage<D>(decoder: inout D) throws where D : Decoder func traverse<V>(visitor: inout V) throws where V : Visitor