Instance Methodswift-protobuf 1.28.1SwiftProtobufPluginLibrary
clearParameter
Clears the value of parameter
. Subsequent reads from it will return its default value.
mutating func clearParameter()
Other members in extension
Type members
init(
) static let protoMessageName: String
static func == (lhs: Google_Protobuf_Compiler_CodeGeneratorRequest, rhs: Google_Protobuf_Compiler_CodeGeneratorRequest
) -> Bool
Show implementation details (1)
Hide implementation details
Instance members
var compilerVersion: Google_Protobuf_Compiler_Version
The version number of protocol compiler.
var fileToGenerate: [String]
The .proto files that were explicitly listed on the command-line. The code generator should generate code only for these files. Each file’s descriptor will be included in proto_file, below.
var hasCompilerVersion: Bool
Returns true if
compilerVersion
has been explicitly set.var hasParameter: Bool
Returns true if
parameter
has been explicitly set.var isInitialized: Bool
var parameter: String
The generator parameter passed on the command-line.
var protoFile: [SwiftProtobuf.Google_Protobuf_FileDescriptorProto]
FileDescriptorProtos for all files in files_to_generate and everything they import. The files will appear in topological order, so each file appears before any file that imports it.
var sourceFileDescriptors: [SwiftProtobuf.Google_Protobuf_FileDescriptorProto]
File descriptors with all options, including source-retention options. These descriptors are only provided for the files listed in files_to_generate.
var unknownFields: UnknownStorage
func clearCompilerVersion(
) Clears the value of
compilerVersion
. Subsequent reads from it will return its default value.func decodeMessage<D>(decoder: inout D
) throws func traverse<V>(visitor: inout V
) throws