Instance Propertyswift-protobuf 1.29.0SwiftProtobuf
messageDepthLimit
The maximum nesting of message with messages. The default is 100.
var messageDepthLimit: Int
To prevent corrupt or malicious messages from causing stack overflows, this controls how deep messages can be nested within other messages while parsing.