Required Initializerswift-protobuf 1.29.0SwiftProtobuf
init
Creates a new instance of the enum initialized to its default value.
init()
Creates a new instance of the enum initialized to its default value.
init()
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
@preconcurrency protocol Enum : Hashable, RawRepresentable, Sendable
Generated enum types conform to this protocol.
init?(rawValue: Int)
Creates a new instance of the enum from the given raw integer value.
var rawValue: Int { get }
The raw integer value of the enum value.