@@ -75,9 +75,9 @@ final class ProtobufCodeGeneratorTests: XCTestCase {
75
75
]
76
76
}
77
77
@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
78
- internal typealias ClientProtocol = Hello_World_GreeterClientProtocol
78
+ internal typealias ClientProtocol = Hello_World_Greeter_ClientProtocol
79
79
@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
80
- internal typealias Client = Hello_World_GreeterClient
80
+ internal typealias Client = Hello_World_Greeter_Client
81
81
}
82
82
83
83
extension GRPCCore.ServiceDescriptor {
@@ -89,7 +89,7 @@ final class ProtobufCodeGeneratorTests: XCTestCase {
89
89
90
90
/// The greeting service definition.
91
91
@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
92
- internal protocol Hello_World_GreeterClientProtocol : Sendable {
92
+ internal protocol Hello_World_Greeter_ClientProtocol : Sendable {
93
93
/// Sends a greeting.
94
94
func sayHello<R>(
95
95
request: GRPCCore.ClientRequest.Single<Hello_World_HelloRequest>,
@@ -144,7 +144,7 @@ final class ProtobufCodeGeneratorTests: XCTestCase {
144
144
145
145
/// The greeting service definition.
146
146
@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
147
- internal struct Hello_World_GreeterClient : Hello_World_Greeter.ClientProtocol {
147
+ internal struct Hello_World_Greeter_Client : Hello_World_Greeter.ClientProtocol {
148
148
private let client: GRPCCore.GRPCClient
149
149
150
150
internal init(wrapping client: GRPCCore.GRPCClient) {
@@ -225,9 +225,9 @@ final class ProtobufCodeGeneratorTests: XCTestCase {
225
225
]
226
226
}
227
227
@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
228
- public typealias StreamingServiceProtocol = Helloworld_GreeterStreamingServiceProtocol
228
+ public typealias StreamingServiceProtocol = Helloworld_Greeter_StreamingServiceProtocol
229
229
@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
230
- public typealias ServiceProtocol = Helloworld_GreeterServiceProtocol
230
+ public typealias ServiceProtocol = Helloworld_Greeter_ServiceProtocol
231
231
}
232
232
233
233
extension GRPCCore.ServiceDescriptor {
@@ -239,7 +239,7 @@ final class ProtobufCodeGeneratorTests: XCTestCase {
239
239
240
240
/// The greeting service definition.
241
241
@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
242
- public protocol Helloworld_GreeterStreamingServiceProtocol : GRPCCore.RegistrableRPCService {
242
+ public protocol Helloworld_Greeter_StreamingServiceProtocol : GRPCCore.RegistrableRPCService {
243
243
/// Sends a greeting.
244
244
func sayHello(
245
245
request: GRPCCore.ServerRequest.Stream<Helloworld_HelloRequest>,
@@ -268,15 +268,15 @@ final class ProtobufCodeGeneratorTests: XCTestCase {
268
268
269
269
/// The greeting service definition.
270
270
@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
271
- public protocol Helloworld_GreeterServiceProtocol : Helloworld_Greeter.StreamingServiceProtocol {
271
+ public protocol Helloworld_Greeter_ServiceProtocol : Helloworld_Greeter.StreamingServiceProtocol {
272
272
/// Sends a greeting.
273
273
func sayHello(
274
274
request: GRPCCore.ServerRequest.Single<Helloworld_HelloRequest>,
275
275
context: GRPCCore.ServerContext
276
276
) async throws -> GRPCCore.ServerResponse.Single<Helloworld_HelloReply>
277
277
}
278
278
279
- /// Partial conformance to `Helloworld_GreeterStreamingServiceProtocol `.
279
+ /// Partial conformance to `Helloworld_Greeter_StreamingServiceProtocol `.
280
280
@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
281
281
extension Helloworld_Greeter.ServiceProtocol {
282
282
public func sayHello(
@@ -344,13 +344,13 @@ final class ProtobufCodeGeneratorTests: XCTestCase {
344
344
]
345
345
}
346
346
@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
347
- package typealias StreamingServiceProtocol = GreeterStreamingServiceProtocol
347
+ package typealias StreamingServiceProtocol = Greeter_StreamingServiceProtocol
348
348
@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
349
- package typealias ServiceProtocol = GreeterServiceProtocol
349
+ package typealias ServiceProtocol = Greeter_ServiceProtocol
350
350
@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
351
- package typealias ClientProtocol = GreeterClientProtocol
351
+ package typealias ClientProtocol = Greeter_ClientProtocol
352
352
@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
353
- package typealias Client = GreeterClient
353
+ package typealias Client = Greeter_Client
354
354
}
355
355
356
356
extension GRPCCore.ServiceDescriptor {
@@ -362,7 +362,7 @@ final class ProtobufCodeGeneratorTests: XCTestCase {
362
362
363
363
/// The greeting service definition.
364
364
@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
365
- package protocol GreeterStreamingServiceProtocol : GRPCCore.RegistrableRPCService {
365
+ package protocol Greeter_StreamingServiceProtocol : GRPCCore.RegistrableRPCService {
366
366
/// Sends a greeting.
367
367
func sayHello(
368
368
request: GRPCCore.ServerRequest.Stream<HelloRequest>,
@@ -391,15 +391,15 @@ final class ProtobufCodeGeneratorTests: XCTestCase {
391
391
392
392
/// The greeting service definition.
393
393
@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
394
- package protocol GreeterServiceProtocol : Greeter.StreamingServiceProtocol {
394
+ package protocol Greeter_ServiceProtocol : Greeter.StreamingServiceProtocol {
395
395
/// Sends a greeting.
396
396
func sayHello(
397
397
request: GRPCCore.ServerRequest.Single<HelloRequest>,
398
398
context: GRPCCore.ServerContext
399
399
) async throws -> GRPCCore.ServerResponse.Single<HelloReply>
400
400
}
401
401
402
- /// Partial conformance to `GreeterStreamingServiceProtocol `.
402
+ /// Partial conformance to `Greeter_StreamingServiceProtocol `.
403
403
@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
404
404
extension Greeter.ServiceProtocol {
405
405
package func sayHello(
@@ -416,7 +416,7 @@ final class ProtobufCodeGeneratorTests: XCTestCase {
416
416
417
417
/// The greeting service definition.
418
418
@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
419
- package protocol GreeterClientProtocol : Sendable {
419
+ package protocol Greeter_ClientProtocol : Sendable {
420
420
/// Sends a greeting.
421
421
func sayHello<R>(
422
422
request: GRPCCore.ClientRequest.Single<HelloRequest>,
@@ -471,7 +471,7 @@ final class ProtobufCodeGeneratorTests: XCTestCase {
471
471
472
472
/// The greeting service definition.
473
473
@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
474
- package struct GreeterClient : Greeter.ClientProtocol {
474
+ package struct Greeter_Client : Greeter.ClientProtocol {
475
475
private let client: GRPCCore.GRPCClient
476
476
477
477
package init(wrapping client: GRPCCore.GRPCClient) {
0 commit comments