==(_:_:)
plugin.pb.swift:604static func == (lhs: Google_Protobuf_Compiler_CodeGeneratorResponse.File, rhs: Google_Protobuf_Compiler_CodeGeneratorResponse.File) -> Bool
Other members in extension
Type members
init(
) init(name: String, content: String
) Helper to make a Response.File with specific content.
static let protoMessageName: String
Show implementation details (1)
Hide implementation details
Instance members
var content: String
The file contents.
var generatedCodeInfo: SwiftProtobuf.Google_Protobuf_GeneratedCodeInfo
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
Returns true if
content
has been explicitly set.var hasGeneratedCodeInfo: Bool
Returns true if
generatedCodeInfo
has been explicitly set.var hasInsertionPoint: Bool
Returns true if
insertionPoint
has been explicitly set.var hasName: Bool
Returns true if
name
has been explicitly set.var insertionPoint: String
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
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: UnknownStorage
func clearContent(
) Clears the value of
content
. Subsequent reads from it will return its default value.func clearGeneratedCodeInfo(
) Clears the value of
generatedCodeInfo
. Subsequent reads from it will return its default value.func clearInsertionPoint(
) Clears the value of
insertionPoint
. Subsequent reads from it will return its default value.func clearName(
) Clears the value of
name
. Subsequent reads from it will return its default value.func decodeMessage<D>(decoder: inout D
) throws func traverse<V>(visitor: inout V
) throws