@@ -22,7 +22,7 @@ fileprivate struct _GeneratedWithProtocGenSwiftVersion: SwiftProtobuf.ProtobufAP
2222}
2323
2424/// Packet with associated tunnel info (Windows pipe to mitmproxy)
25- struct MitmproxyIpc_PacketWithMeta : @ unchecked Sendable {
25+ struct MitmproxyIpc_PacketWithMeta : Sendable {
2626 // SwiftProtobuf.Message conformance is added in an extension below. See the
2727 // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
2828 // methods supported on all messages.
@@ -113,7 +113,7 @@ struct MitmproxyIpc_FromProxy: Sendable {
113113
114114/// Packet (macOS UDP Stream)
115115/// ⚠️ Bump network extension version on changes, https://github.com/mitmproxy/mitmproxy_rs/pull/227.
116- struct MitmproxyIpc_Packet : @ unchecked Sendable {
116+ struct MitmproxyIpc_Packet : Sendable {
117117 // SwiftProtobuf.Message conformance is added in an extension below. See the
118118 // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
119119 // methods supported on all messages.
@@ -239,7 +239,7 @@ struct MitmproxyIpc_UdpFlow: Sendable {
239239 fileprivate var _tunnelInfo : MitmproxyIpc_TunnelInfo ? = nil
240240}
241241
242- struct MitmproxyIpc_UdpPacket : @ unchecked Sendable {
242+ struct MitmproxyIpc_UdpPacket : Sendable {
243243 // SwiftProtobuf.Message conformance is added in an extension below. See the
244244 // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
245245 // methods supported on all messages.
@@ -282,10 +282,7 @@ fileprivate let _protobuf_package = "mitmproxy_ipc"
282282
283283extension MitmproxyIpc_PacketWithMeta : SwiftProtobuf . Message , SwiftProtobuf . _MessageImplementationBase , SwiftProtobuf . _ProtoNameProviding {
284284 static let protoMessageName : String = _protobuf_package + " .PacketWithMeta "
285- static let _protobuf_nameMap : SwiftProtobuf . _NameMap = [
286- 1 : . same( proto: " data " ) ,
287- 2 : . standard( proto: " tunnel_info " ) ,
288- ]
285+ static let _protobuf_nameMap = SwiftProtobuf . _NameMap ( bytecode: " \0 \u{1} data \0 \u{3} tunnel_info \0 " )
289286
290287 mutating func decodeMessage< D: SwiftProtobuf . Decoder > ( decoder: inout D ) throws {
291288 while let fieldNumber = try decoder. nextFieldNumber ( ) {
@@ -324,10 +321,7 @@ extension MitmproxyIpc_PacketWithMeta: SwiftProtobuf.Message, SwiftProtobuf._Mes
324321
325322extension MitmproxyIpc_TunnelInfo : SwiftProtobuf . Message , SwiftProtobuf . _MessageImplementationBase , SwiftProtobuf . _ProtoNameProviding {
326323 static let protoMessageName : String = _protobuf_package + " .TunnelInfo "
327- static let _protobuf_nameMap : SwiftProtobuf . _NameMap = [
328- 1 : . same( proto: " pid " ) ,
329- 2 : . standard( proto: " process_name " ) ,
330- ]
324+ static let _protobuf_nameMap = SwiftProtobuf . _NameMap ( bytecode: " \0 \u{1} pid \0 \u{3} process_name \0 " )
331325
332326 mutating func decodeMessage< D: SwiftProtobuf . Decoder > ( decoder: inout D ) throws {
333327 while let fieldNumber = try decoder. nextFieldNumber ( ) {
@@ -366,10 +360,7 @@ extension MitmproxyIpc_TunnelInfo: SwiftProtobuf.Message, SwiftProtobuf._Message
366360
367361extension MitmproxyIpc_FromProxy : SwiftProtobuf . Message , SwiftProtobuf . _MessageImplementationBase , SwiftProtobuf . _ProtoNameProviding {
368362 static let protoMessageName : String = _protobuf_package + " .FromProxy "
369- static let _protobuf_nameMap : SwiftProtobuf . _NameMap = [
370- 1 : . same( proto: " packet " ) ,
371- 2 : . standard( proto: " intercept_conf " ) ,
372- ]
363+ static let _protobuf_nameMap = SwiftProtobuf . _NameMap ( bytecode: " \0 \u{1} packet \0 \u{3} intercept_conf \0 " )
373364
374365 mutating func decodeMessage< D: SwiftProtobuf . Decoder > ( decoder: inout D ) throws {
375366 while let fieldNumber = try decoder. nextFieldNumber ( ) {
@@ -436,9 +427,7 @@ extension MitmproxyIpc_FromProxy: SwiftProtobuf.Message, SwiftProtobuf._MessageI
436427
437428extension MitmproxyIpc_Packet : SwiftProtobuf . Message , SwiftProtobuf . _MessageImplementationBase , SwiftProtobuf . _ProtoNameProviding {
438429 static let protoMessageName : String = _protobuf_package + " .Packet "
439- static let _protobuf_nameMap : SwiftProtobuf . _NameMap = [
440- 1 : . same( proto: " data " ) ,
441- ]
430+ static let _protobuf_nameMap = SwiftProtobuf . _NameMap ( bytecode: " \0 \u{1} data \0 " )
442431
443432 mutating func decodeMessage< D: SwiftProtobuf . Decoder > ( decoder: inout D ) throws {
444433 while let fieldNumber = try decoder. nextFieldNumber ( ) {
@@ -468,9 +457,7 @@ extension MitmproxyIpc_Packet: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl
468457
469458extension MitmproxyIpc_InterceptConf : SwiftProtobuf . Message , SwiftProtobuf . _MessageImplementationBase , SwiftProtobuf . _ProtoNameProviding {
470459 static let protoMessageName : String = _protobuf_package + " .InterceptConf "
471- static let _protobuf_nameMap : SwiftProtobuf . _NameMap = [
472- 1 : . same( proto: " actions " ) ,
473- ]
460+ static let _protobuf_nameMap = SwiftProtobuf . _NameMap ( bytecode: " \0 \u{1} actions \0 " )
474461
475462 mutating func decodeMessage< D: SwiftProtobuf . Decoder > ( decoder: inout D ) throws {
476463 while let fieldNumber = try decoder. nextFieldNumber ( ) {
@@ -500,10 +487,7 @@ extension MitmproxyIpc_InterceptConf: SwiftProtobuf.Message, SwiftProtobuf._Mess
500487
501488extension MitmproxyIpc_NewFlow : SwiftProtobuf . Message , SwiftProtobuf . _MessageImplementationBase , SwiftProtobuf . _ProtoNameProviding {
502489 static let protoMessageName : String = _protobuf_package + " .NewFlow "
503- static let _protobuf_nameMap : SwiftProtobuf . _NameMap = [
504- 1 : . same( proto: " tcp " ) ,
505- 2 : . same( proto: " udp " ) ,
506- ]
490+ static let _protobuf_nameMap = SwiftProtobuf . _NameMap ( bytecode: " \0 \u{1} tcp \0 \u{1} udp \0 " )
507491
508492 mutating func decodeMessage< D: SwiftProtobuf . Decoder > ( decoder: inout D ) throws {
509493 while let fieldNumber = try decoder. nextFieldNumber ( ) {
@@ -570,10 +554,7 @@ extension MitmproxyIpc_NewFlow: SwiftProtobuf.Message, SwiftProtobuf._MessageImp
570554
571555extension MitmproxyIpc_TcpFlow : SwiftProtobuf . Message , SwiftProtobuf . _MessageImplementationBase , SwiftProtobuf . _ProtoNameProviding {
572556 static let protoMessageName : String = _protobuf_package + " .TcpFlow "
573- static let _protobuf_nameMap : SwiftProtobuf . _NameMap = [
574- 1 : . standard( proto: " remote_address " ) ,
575- 2 : . standard( proto: " tunnel_info " ) ,
576- ]
557+ static let _protobuf_nameMap = SwiftProtobuf . _NameMap ( bytecode: " \0 \u{3} remote_address \0 \u{3} tunnel_info \0 " )
577558
578559 mutating func decodeMessage< D: SwiftProtobuf . Decoder > ( decoder: inout D ) throws {
579560 while let fieldNumber = try decoder. nextFieldNumber ( ) {
@@ -612,10 +593,7 @@ extension MitmproxyIpc_TcpFlow: SwiftProtobuf.Message, SwiftProtobuf._MessageImp
612593
613594extension MitmproxyIpc_UdpFlow : SwiftProtobuf . Message , SwiftProtobuf . _MessageImplementationBase , SwiftProtobuf . _ProtoNameProviding {
614595 static let protoMessageName : String = _protobuf_package + " .UdpFlow "
615- static let _protobuf_nameMap : SwiftProtobuf . _NameMap = [
616- 1 : . standard( proto: " local_address " ) ,
617- 3 : . standard( proto: " tunnel_info " ) ,
618- ]
596+ static let _protobuf_nameMap = SwiftProtobuf . _NameMap ( bytecode: " \0 \u{3} local_address \0 \u{4} \u{2} tunnel_info \0 " )
619597
620598 mutating func decodeMessage< D: SwiftProtobuf . Decoder > ( decoder: inout D ) throws {
621599 while let fieldNumber = try decoder. nextFieldNumber ( ) {
@@ -654,10 +632,7 @@ extension MitmproxyIpc_UdpFlow: SwiftProtobuf.Message, SwiftProtobuf._MessageImp
654632
655633extension MitmproxyIpc_UdpPacket : SwiftProtobuf . Message , SwiftProtobuf . _MessageImplementationBase , SwiftProtobuf . _ProtoNameProviding {
656634 static let protoMessageName : String = _protobuf_package + " .UdpPacket "
657- static let _protobuf_nameMap : SwiftProtobuf . _NameMap = [
658- 1 : . same( proto: " data " ) ,
659- 2 : . standard( proto: " remote_address " ) ,
660- ]
635+ static let _protobuf_nameMap = SwiftProtobuf . _NameMap ( bytecode: " \0 \u{1} data \0 \u{3} remote_address \0 " )
661636
662637 mutating func decodeMessage< D: SwiftProtobuf . Decoder > ( decoder: inout D ) throws {
663638 while let fieldNumber = try decoder. nextFieldNumber ( ) {
@@ -696,10 +671,7 @@ extension MitmproxyIpc_UdpPacket: SwiftProtobuf.Message, SwiftProtobuf._MessageI
696671
697672extension MitmproxyIpc_Address : SwiftProtobuf . Message , SwiftProtobuf . _MessageImplementationBase , SwiftProtobuf . _ProtoNameProviding {
698673 static let protoMessageName : String = _protobuf_package + " .Address "
699- static let _protobuf_nameMap : SwiftProtobuf . _NameMap = [
700- 1 : . same( proto: " host " ) ,
701- 2 : . same( proto: " port " ) ,
702- ]
674+ static let _protobuf_nameMap = SwiftProtobuf . _NameMap ( bytecode: " \0 \u{1} host \0 \u{1} port \0 " )
703675
704676 mutating func decodeMessage< D: SwiftProtobuf . Decoder > ( decoder: inout D ) throws {
705677 while let fieldNumber = try decoder. nextFieldNumber ( ) {
0 commit comments