Skip to content

Commit d62a7a0

Browse files
authored
Regenerate code (#2282)
Motivation: Generated code is outdated so CI fails. Modifications: Regenerate code. Result: CI passes
1 parent 6a8927d commit d62a7a0

8 files changed

Lines changed: 108 additions & 108 deletions

File tree

Examples/v1/Echo/Model/echo.pb.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ import SwiftProtobuf
2929
// incompatible with the version of SwiftProtobuf to which you are linking.
3030
// Please ensure that you are building against the same version of the API
3131
// that was used to generate this file.
32-
fileprivate struct _GeneratedWithProtocGenSwiftVersion: SwiftProtobuf.ProtobufAPIVersionCheck {
32+
fileprivate nonisolated struct _GeneratedWithProtocGenSwiftVersion: SwiftProtobuf.ProtobufAPIVersionCheck {
3333
struct _2: SwiftProtobuf.ProtobufAPIVersion_2 {}
3434
typealias Version = _2
3535
}
3636

37-
public struct Echo_EchoRequest: Sendable {
37+
public nonisolated struct Echo_EchoRequest: Sendable {
3838
// SwiftProtobuf.Message conformance is added in an extension below. See the
3939
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
4040
// methods supported on all messages.
@@ -47,7 +47,7 @@ public struct Echo_EchoRequest: Sendable {
4747
public init() {}
4848
}
4949

50-
public struct Echo_EchoResponse: Sendable {
50+
public nonisolated struct Echo_EchoResponse: Sendable {
5151
// SwiftProtobuf.Message conformance is added in an extension below. See the
5252
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
5353
// methods supported on all messages.
@@ -62,9 +62,9 @@ public struct Echo_EchoResponse: Sendable {
6262

6363
// MARK: - Code below here is support for the SwiftProtobuf runtime.
6464

65-
fileprivate let _protobuf_package = "echo"
65+
fileprivate nonisolated let _protobuf_package = "echo"
6666

67-
extension Echo_EchoRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
67+
nonisolated extension Echo_EchoRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
6868
public static let protoMessageName: String = _protobuf_package + ".EchoRequest"
6969
public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}text\0")
7070

@@ -94,7 +94,7 @@ extension Echo_EchoRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
9494
}
9595
}
9696

97-
extension Echo_EchoResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
97+
nonisolated extension Echo_EchoResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
9898
public static let protoMessageName: String = _protobuf_package + ".EchoResponse"
9999
public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}text\0")
100100

Examples/v1/HelloWorld/Model/helloworld.pb.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ import SwiftProtobuf
2929
// incompatible with the version of SwiftProtobuf to which you are linking.
3030
// Please ensure that you are building against the same version of the API
3131
// that was used to generate this file.
32-
fileprivate struct _GeneratedWithProtocGenSwiftVersion: SwiftProtobuf.ProtobufAPIVersionCheck {
32+
fileprivate nonisolated struct _GeneratedWithProtocGenSwiftVersion: SwiftProtobuf.ProtobufAPIVersionCheck {
3333
struct _2: SwiftProtobuf.ProtobufAPIVersion_2 {}
3434
typealias Version = _2
3535
}
3636

3737
/// The request message containing the user's name.
38-
public struct Helloworld_HelloRequest: Sendable {
38+
public nonisolated struct Helloworld_HelloRequest: Sendable {
3939
// SwiftProtobuf.Message conformance is added in an extension below. See the
4040
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
4141
// methods supported on all messages.
@@ -48,7 +48,7 @@ public struct Helloworld_HelloRequest: Sendable {
4848
}
4949

5050
/// The response message containing the greetings
51-
public struct Helloworld_HelloReply: Sendable {
51+
public nonisolated struct Helloworld_HelloReply: Sendable {
5252
// SwiftProtobuf.Message conformance is added in an extension below. See the
5353
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
5454
// methods supported on all messages.
@@ -62,9 +62,9 @@ public struct Helloworld_HelloReply: Sendable {
6262

6363
// MARK: - Code below here is support for the SwiftProtobuf runtime.
6464

65-
fileprivate let _protobuf_package = "helloworld"
65+
fileprivate nonisolated let _protobuf_package = "helloworld"
6666

67-
extension Helloworld_HelloRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
67+
nonisolated extension Helloworld_HelloRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
6868
public static let protoMessageName: String = _protobuf_package + ".HelloRequest"
6969
public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}name\0")
7070

@@ -94,7 +94,7 @@ extension Helloworld_HelloRequest: SwiftProtobuf.Message, SwiftProtobuf._Message
9494
}
9595
}
9696

97-
extension Helloworld_HelloReply: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
97+
nonisolated extension Helloworld_HelloReply: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
9898
public static let protoMessageName: String = _protobuf_package + ".HelloReply"
9999
public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}message\0")
100100

Examples/v1/RouteGuide/Model/route_guide.pb.swift

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import SwiftProtobuf
2929
// incompatible with the version of SwiftProtobuf to which you are linking.
3030
// Please ensure that you are building against the same version of the API
3131
// that was used to generate this file.
32-
fileprivate struct _GeneratedWithProtocGenSwiftVersion: SwiftProtobuf.ProtobufAPIVersionCheck {
32+
fileprivate nonisolated struct _GeneratedWithProtocGenSwiftVersion: SwiftProtobuf.ProtobufAPIVersionCheck {
3333
struct _2: SwiftProtobuf.ProtobufAPIVersion_2 {}
3434
typealias Version = _2
3535
}
@@ -38,7 +38,7 @@ fileprivate struct _GeneratedWithProtocGenSwiftVersion: SwiftProtobuf.ProtobufAP
3838
/// (degrees multiplied by 10**7 and rounded to the nearest integer).
3939
/// Latitudes should be in the range +/- 90 degrees and longitude should be in
4040
/// the range +/- 180 degrees (inclusive).
41-
public struct Routeguide_Point: Sendable {
41+
public nonisolated struct Routeguide_Point: Sendable {
4242
// SwiftProtobuf.Message conformance is added in an extension below. See the
4343
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
4444
// methods supported on all messages.
@@ -54,7 +54,7 @@ public struct Routeguide_Point: Sendable {
5454

5555
/// A latitude-longitude rectangle, represented as two diagonally opposite
5656
/// points "lo" and "hi".
57-
public struct Routeguide_Rectangle: Sendable {
57+
public nonisolated struct Routeguide_Rectangle: Sendable {
5858
// SwiftProtobuf.Message conformance is added in an extension below. See the
5959
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
6060
// methods supported on all messages.
@@ -90,7 +90,7 @@ public struct Routeguide_Rectangle: Sendable {
9090
/// A feature names something at a given point.
9191
///
9292
/// If a feature could not be named, the name is empty.
93-
public struct Routeguide_Feature: Sendable {
93+
public nonisolated struct Routeguide_Feature: Sendable {
9494
// SwiftProtobuf.Message conformance is added in an extension below. See the
9595
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
9696
// methods supported on all messages.
@@ -116,7 +116,7 @@ public struct Routeguide_Feature: Sendable {
116116
}
117117

118118
/// A RouteNote is a message sent while at a given point.
119-
public struct Routeguide_RouteNote: Sendable {
119+
public nonisolated struct Routeguide_RouteNote: Sendable {
120120
// SwiftProtobuf.Message conformance is added in an extension below. See the
121121
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
122122
// methods supported on all messages.
@@ -146,7 +146,7 @@ public struct Routeguide_RouteNote: Sendable {
146146
/// It contains the number of individual points received, the number of
147147
/// detected features, and the total distance covered as the cumulative sum of
148148
/// the distance between each point.
149-
public struct Routeguide_RouteSummary: Sendable {
149+
public nonisolated struct Routeguide_RouteSummary: Sendable {
150150
// SwiftProtobuf.Message conformance is added in an extension below. See the
151151
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
152152
// methods supported on all messages.
@@ -170,9 +170,9 @@ public struct Routeguide_RouteSummary: Sendable {
170170

171171
// MARK: - Code below here is support for the SwiftProtobuf runtime.
172172

173-
fileprivate let _protobuf_package = "routeguide"
173+
fileprivate nonisolated let _protobuf_package = "routeguide"
174174

175-
extension Routeguide_Point: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
175+
nonisolated extension Routeguide_Point: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
176176
public static let protoMessageName: String = _protobuf_package + ".Point"
177177
public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}latitude\0\u{1}longitude\0")
178178

@@ -207,7 +207,7 @@ extension Routeguide_Point: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
207207
}
208208
}
209209

210-
extension Routeguide_Rectangle: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
210+
nonisolated extension Routeguide_Rectangle: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
211211
public static let protoMessageName: String = _protobuf_package + ".Rectangle"
212212
public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}lo\0\u{1}hi\0")
213213

@@ -246,7 +246,7 @@ extension Routeguide_Rectangle: SwiftProtobuf.Message, SwiftProtobuf._MessageImp
246246
}
247247
}
248248

249-
extension Routeguide_Feature: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
249+
nonisolated extension Routeguide_Feature: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
250250
public static let protoMessageName: String = _protobuf_package + ".Feature"
251251
public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}name\0\u{1}location\0")
252252

@@ -285,7 +285,7 @@ extension Routeguide_Feature: SwiftProtobuf.Message, SwiftProtobuf._MessageImple
285285
}
286286
}
287287

288-
extension Routeguide_RouteNote: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
288+
nonisolated extension Routeguide_RouteNote: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
289289
public static let protoMessageName: String = _protobuf_package + ".RouteNote"
290290
public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}location\0\u{1}message\0")
291291

@@ -324,7 +324,7 @@ extension Routeguide_RouteNote: SwiftProtobuf.Message, SwiftProtobuf._MessageImp
324324
}
325325
}
326326

327-
extension Routeguide_RouteSummary: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
327+
nonisolated extension Routeguide_RouteSummary: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
328328
public static let protoMessageName: String = _protobuf_package + ".RouteSummary"
329329
public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{3}point_count\0\u{3}feature_count\0\u{1}distance\0\u{3}elapsed_time\0")
330330

0 commit comments

Comments
 (0)