@@ -52,13 +52,13 @@ package enum Grpc_Health_V1_Health {
5252 ]
5353 }
5454 @available ( macOS 15 . 0 , iOS 18 . 0 , watchOS 11 . 0 , tvOS 18 . 0 , visionOS 2 . 0 , * )
55- package typealias StreamingServiceProtocol = Grpc_Health_V1_HealthStreamingServiceProtocol
55+ package typealias StreamingServiceProtocol = Grpc_Health_V1_Health_StreamingServiceProtocol
5656 @available ( macOS 15 . 0 , iOS 18 . 0 , watchOS 11 . 0 , tvOS 18 . 0 , visionOS 2 . 0 , * )
57- package typealias ServiceProtocol = Grpc_Health_V1_HealthServiceProtocol
57+ package typealias ServiceProtocol = Grpc_Health_V1_Health_ServiceProtocol
5858 @available ( macOS 15 . 0 , iOS 18 . 0 , watchOS 11 . 0 , tvOS 18 . 0 , visionOS 2 . 0 , * )
59- package typealias ClientProtocol = Grpc_Health_V1_HealthClientProtocol
59+ package typealias ClientProtocol = Grpc_Health_V1_Health_ClientProtocol
6060 @available ( macOS 15 . 0 , iOS 18 . 0 , watchOS 11 . 0 , tvOS 18 . 0 , visionOS 2 . 0 , * )
61- package typealias Client = Grpc_Health_V1_HealthClient
61+ package typealias Client = Grpc_Health_V1_Health_Client
6262}
6363
6464extension GRPCCore . ServiceDescriptor {
@@ -72,7 +72,7 @@ extension GRPCCore.ServiceDescriptor {
7272/// RPCs. Its semantics are documented in
7373/// https://github.com/grpc/grpc/blob/master/doc/health-checking.md.
7474@available ( macOS 15 . 0 , iOS 18 . 0 , watchOS 11 . 0 , tvOS 18 . 0 , visionOS 2 . 0 , * )
75- package protocol Grpc_Health_V1_HealthStreamingServiceProtocol : GRPCCore . RegistrableRPCService {
75+ package protocol Grpc_Health_V1_Health_StreamingServiceProtocol : GRPCCore . RegistrableRPCService {
7676 /// Check gets the health of the specified service. If the requested service
7777 /// is unknown, the call will fail with status NOT_FOUND. If the caller does
7878 /// not specify a service name, the server should respond with its overall
@@ -83,9 +83,9 @@ package protocol Grpc_Health_V1_HealthStreamingServiceProtocol: GRPCCore.Registr
8383 ///
8484 /// Check implementations should be idempotent and side effect free.
8585 func check(
86- request: GRPCCore . ServerRequest . Stream < Grpc_Health_V1_HealthCheckRequest > ,
86+ request: GRPCCore . StreamingServerRequest < Grpc_Health_V1_HealthCheckRequest > ,
8787 context: GRPCCore . ServerContext
88- ) async throws -> GRPCCore . ServerResponse . Stream < Grpc_Health_V1_HealthCheckResponse >
88+ ) async throws -> GRPCCore . StreamingServerResponse < Grpc_Health_V1_HealthCheckResponse >
8989
9090 /// Performs a watch for the serving status of the requested service.
9191 /// The server will immediately send back a message indicating the current
@@ -103,9 +103,9 @@ package protocol Grpc_Health_V1_HealthStreamingServiceProtocol: GRPCCore.Registr
103103 /// call. If the call terminates with any other status (including OK),
104104 /// clients should retry the call with appropriate exponential backoff.
105105 func watch(
106- request: GRPCCore . ServerRequest . Stream < Grpc_Health_V1_HealthCheckRequest > ,
106+ request: GRPCCore . StreamingServerRequest < Grpc_Health_V1_HealthCheckRequest > ,
107107 context: GRPCCore . ServerContext
108- ) async throws -> GRPCCore . ServerResponse . Stream < Grpc_Health_V1_HealthCheckResponse >
108+ ) async throws -> GRPCCore . StreamingServerResponse < Grpc_Health_V1_HealthCheckResponse >
109109}
110110
111111/// Conformance to `GRPCCore.RegistrableRPCService`.
@@ -142,7 +142,7 @@ extension Grpc_Health_V1_Health.StreamingServiceProtocol {
142142/// RPCs. Its semantics are documented in
143143/// https://github.com/grpc/grpc/blob/master/doc/health-checking.md.
144144@available ( macOS 15 . 0 , iOS 18 . 0 , watchOS 11 . 0 , tvOS 18 . 0 , visionOS 2 . 0 , * )
145- package protocol Grpc_Health_V1_HealthServiceProtocol : Grpc_Health_V1_Health . StreamingServiceProtocol {
145+ package protocol Grpc_Health_V1_Health_ServiceProtocol : Grpc_Health_V1_Health . StreamingServiceProtocol {
146146 /// Check gets the health of the specified service. If the requested service
147147 /// is unknown, the call will fail with status NOT_FOUND. If the caller does
148148 /// not specify a service name, the server should respond with its overall
@@ -153,9 +153,9 @@ package protocol Grpc_Health_V1_HealthServiceProtocol: Grpc_Health_V1_Health.Str
153153 ///
154154 /// Check implementations should be idempotent and side effect free.
155155 func check(
156- request: GRPCCore . ServerRequest . Single < Grpc_Health_V1_HealthCheckRequest > ,
156+ request: GRPCCore . ServerRequest < Grpc_Health_V1_HealthCheckRequest > ,
157157 context: GRPCCore . ServerContext
158- ) async throws -> GRPCCore . ServerResponse . Single < Grpc_Health_V1_HealthCheckResponse >
158+ ) async throws -> GRPCCore . ServerResponse < Grpc_Health_V1_HealthCheckResponse >
159159
160160 /// Performs a watch for the serving status of the requested service.
161161 /// The server will immediately send back a message indicating the current
@@ -173,31 +173,31 @@ package protocol Grpc_Health_V1_HealthServiceProtocol: Grpc_Health_V1_Health.Str
173173 /// call. If the call terminates with any other status (including OK),
174174 /// clients should retry the call with appropriate exponential backoff.
175175 func watch(
176- request: GRPCCore . ServerRequest . Single < Grpc_Health_V1_HealthCheckRequest > ,
176+ request: GRPCCore . ServerRequest < Grpc_Health_V1_HealthCheckRequest > ,
177177 context: GRPCCore . ServerContext
178- ) async throws -> GRPCCore . ServerResponse . Stream < Grpc_Health_V1_HealthCheckResponse >
178+ ) async throws -> GRPCCore . StreamingServerResponse < Grpc_Health_V1_HealthCheckResponse >
179179}
180180
181- /// Partial conformance to `Grpc_Health_V1_HealthStreamingServiceProtocol `.
181+ /// Partial conformance to `Grpc_Health_V1_Health_StreamingServiceProtocol `.
182182@available ( macOS 15 . 0 , iOS 18 . 0 , watchOS 11 . 0 , tvOS 18 . 0 , visionOS 2 . 0 , * )
183183extension Grpc_Health_V1_Health . ServiceProtocol {
184184 package func check(
185- request: GRPCCore . ServerRequest . Stream < Grpc_Health_V1_HealthCheckRequest > ,
185+ request: GRPCCore . StreamingServerRequest < Grpc_Health_V1_HealthCheckRequest > ,
186186 context: GRPCCore . ServerContext
187- ) async throws -> GRPCCore . ServerResponse . Stream < Grpc_Health_V1_HealthCheckResponse > {
187+ ) async throws -> GRPCCore . StreamingServerResponse < Grpc_Health_V1_HealthCheckResponse > {
188188 let response = try await self . check (
189- request: GRPCCore . ServerRequest. Single ( stream: request) ,
189+ request: GRPCCore . ServerRequest ( stream: request) ,
190190 context: context
191191 )
192- return GRPCCore . ServerResponse . Stream ( single: response)
192+ return GRPCCore . StreamingServerResponse ( single: response)
193193 }
194194
195195 package func watch(
196- request: GRPCCore . ServerRequest . Stream < Grpc_Health_V1_HealthCheckRequest > ,
196+ request: GRPCCore . StreamingServerRequest < Grpc_Health_V1_HealthCheckRequest > ,
197197 context: GRPCCore . ServerContext
198- ) async throws -> GRPCCore . ServerResponse . Stream < Grpc_Health_V1_HealthCheckResponse > {
198+ ) async throws -> GRPCCore . StreamingServerResponse < Grpc_Health_V1_HealthCheckResponse > {
199199 let response = try await self . watch (
200- request: GRPCCore . ServerRequest. Single ( stream: request) ,
200+ request: GRPCCore . ServerRequest ( stream: request) ,
201201 context: context
202202 )
203203 return response
@@ -208,7 +208,7 @@ extension Grpc_Health_V1_Health.ServiceProtocol {
208208/// RPCs. Its semantics are documented in
209209/// https://github.com/grpc/grpc/blob/master/doc/health-checking.md.
210210@available ( macOS 15 . 0 , iOS 18 . 0 , watchOS 11 . 0 , tvOS 18 . 0 , visionOS 2 . 0 , * )
211- package protocol Grpc_Health_V1_HealthClientProtocol : Sendable {
211+ package protocol Grpc_Health_V1_Health_ClientProtocol : Sendable {
212212 /// Check gets the health of the specified service. If the requested service
213213 /// is unknown, the call will fail with status NOT_FOUND. If the caller does
214214 /// not specify a service name, the server should respond with its overall
@@ -219,11 +219,11 @@ package protocol Grpc_Health_V1_HealthClientProtocol: Sendable {
219219 ///
220220 /// Check implementations should be idempotent and side effect free.
221221 func check< R> (
222- request: GRPCCore . ClientRequest . Single < Grpc_Health_V1_HealthCheckRequest > ,
222+ request: GRPCCore . ClientRequest < Grpc_Health_V1_HealthCheckRequest > ,
223223 serializer: some GRPCCore . MessageSerializer < Grpc_Health_V1_HealthCheckRequest > ,
224224 deserializer: some GRPCCore . MessageDeserializer < Grpc_Health_V1_HealthCheckResponse > ,
225225 options: GRPCCore . CallOptions ,
226- _ body: @Sendable @escaping ( GRPCCore . ClientResponse . Single < Grpc_Health_V1_HealthCheckResponse > ) async throws -> R
226+ _ body: @Sendable @escaping ( GRPCCore . ClientResponse < Grpc_Health_V1_HealthCheckResponse > ) async throws -> R
227227 ) async throws -> R where R: Sendable
228228
229229 /// Performs a watch for the serving status of the requested service.
@@ -242,20 +242,20 @@ package protocol Grpc_Health_V1_HealthClientProtocol: Sendable {
242242 /// call. If the call terminates with any other status (including OK),
243243 /// clients should retry the call with appropriate exponential backoff.
244244 func watch< R> (
245- request: GRPCCore . ClientRequest . Single < Grpc_Health_V1_HealthCheckRequest > ,
245+ request: GRPCCore . ClientRequest < Grpc_Health_V1_HealthCheckRequest > ,
246246 serializer: some GRPCCore . MessageSerializer < Grpc_Health_V1_HealthCheckRequest > ,
247247 deserializer: some GRPCCore . MessageDeserializer < Grpc_Health_V1_HealthCheckResponse > ,
248248 options: GRPCCore . CallOptions ,
249- _ body: @Sendable @escaping ( GRPCCore . ClientResponse . Stream < Grpc_Health_V1_HealthCheckResponse > ) async throws -> R
249+ _ body: @Sendable @escaping ( GRPCCore . StreamingClientResponse < Grpc_Health_V1_HealthCheckResponse > ) async throws -> R
250250 ) async throws -> R where R: Sendable
251251}
252252
253253@available ( macOS 15 . 0 , iOS 18 . 0 , watchOS 11 . 0 , tvOS 18 . 0 , visionOS 2 . 0 , * )
254254extension Grpc_Health_V1_Health . ClientProtocol {
255255 package func check< R> (
256- request: GRPCCore . ClientRequest . Single < Grpc_Health_V1_HealthCheckRequest > ,
256+ request: GRPCCore . ClientRequest < Grpc_Health_V1_HealthCheckRequest > ,
257257 options: GRPCCore . CallOptions = . defaults,
258- _ body: @Sendable @escaping ( GRPCCore . ClientResponse . Single < Grpc_Health_V1_HealthCheckResponse > ) async throws -> R = {
258+ _ body: @Sendable @escaping ( GRPCCore . ClientResponse < Grpc_Health_V1_HealthCheckResponse > ) async throws -> R = {
259259 try $0. message
260260 }
261261 ) async throws -> R where R: Sendable {
@@ -269,9 +269,9 @@ extension Grpc_Health_V1_Health.ClientProtocol {
269269 }
270270
271271 package func watch< R> (
272- request: GRPCCore . ClientRequest . Single < Grpc_Health_V1_HealthCheckRequest > ,
272+ request: GRPCCore . ClientRequest < Grpc_Health_V1_HealthCheckRequest > ,
273273 options: GRPCCore . CallOptions = . defaults,
274- _ body: @Sendable @escaping ( GRPCCore . ClientResponse . Stream < Grpc_Health_V1_HealthCheckResponse > ) async throws -> R
274+ _ body: @Sendable @escaping ( GRPCCore . StreamingClientResponse < Grpc_Health_V1_HealthCheckResponse > ) async throws -> R
275275 ) async throws -> R where R: Sendable {
276276 try await self . watch (
277277 request: request,
@@ -298,11 +298,11 @@ extension Grpc_Health_V1_Health.ClientProtocol {
298298 _ message: Grpc_Health_V1_HealthCheckRequest ,
299299 metadata: GRPCCore . Metadata = [ : ] ,
300300 options: GRPCCore . CallOptions = . defaults,
301- onResponse handleResponse: @Sendable @escaping ( GRPCCore . ClientResponse . Single < Grpc_Health_V1_HealthCheckResponse > ) async throws -> Result = {
301+ onResponse handleResponse: @Sendable @escaping ( GRPCCore . ClientResponse < Grpc_Health_V1_HealthCheckResponse > ) async throws -> Result = {
302302 try $0. message
303303 }
304304 ) async throws -> Result where Result: Sendable {
305- let request = GRPCCore . ClientRequest. Single < Grpc_Health_V1_HealthCheckRequest> (
305+ let request = GRPCCore . ClientRequest< Grpc_Health_V1_HealthCheckRequest> (
306306 message: message,
307307 metadata: metadata
308308 )
@@ -332,9 +332,9 @@ extension Grpc_Health_V1_Health.ClientProtocol {
332332 _ message: Grpc_Health_V1_HealthCheckRequest ,
333333 metadata: GRPCCore . Metadata = [ : ] ,
334334 options: GRPCCore . CallOptions = . defaults,
335- onResponse handleResponse: @Sendable @escaping ( GRPCCore . ClientResponse . Stream < Grpc_Health_V1_HealthCheckResponse > ) async throws -> Result
335+ onResponse handleResponse: @Sendable @escaping ( GRPCCore . StreamingClientResponse < Grpc_Health_V1_HealthCheckResponse > ) async throws -> Result
336336 ) async throws -> Result where Result: Sendable {
337- let request = GRPCCore . ClientRequest. Single < Grpc_Health_V1_HealthCheckRequest> (
337+ let request = GRPCCore . ClientRequest< Grpc_Health_V1_HealthCheckRequest> (
338338 message: message,
339339 metadata: metadata
340340 )
@@ -350,7 +350,7 @@ extension Grpc_Health_V1_Health.ClientProtocol {
350350/// RPCs. Its semantics are documented in
351351/// https://github.com/grpc/grpc/blob/master/doc/health-checking.md.
352352@available ( macOS 15 . 0 , iOS 18 . 0 , watchOS 11 . 0 , tvOS 18 . 0 , visionOS 2 . 0 , * )
353- package struct Grpc_Health_V1_HealthClient : Grpc_Health_V1_Health . ClientProtocol {
353+ package struct Grpc_Health_V1_Health_Client : Grpc_Health_V1_Health . ClientProtocol {
354354 private let client : GRPCCore . GRPCClient
355355
356356 package init ( wrapping client: GRPCCore . GRPCClient ) {
@@ -367,11 +367,11 @@ package struct Grpc_Health_V1_HealthClient: Grpc_Health_V1_Health.ClientProtocol
367367 ///
368368 /// Check implementations should be idempotent and side effect free.
369369 package func check< R> (
370- request: GRPCCore . ClientRequest . Single < Grpc_Health_V1_HealthCheckRequest > ,
370+ request: GRPCCore . ClientRequest < Grpc_Health_V1_HealthCheckRequest > ,
371371 serializer: some GRPCCore . MessageSerializer < Grpc_Health_V1_HealthCheckRequest > ,
372372 deserializer: some GRPCCore . MessageDeserializer < Grpc_Health_V1_HealthCheckResponse > ,
373373 options: GRPCCore . CallOptions = . defaults,
374- _ body: @Sendable @escaping ( GRPCCore . ClientResponse . Single < Grpc_Health_V1_HealthCheckResponse > ) async throws -> R = {
374+ _ body: @Sendable @escaping ( GRPCCore . ClientResponse < Grpc_Health_V1_HealthCheckResponse > ) async throws -> R = {
375375 try $0. message
376376 }
377377 ) async throws -> R where R: Sendable {
@@ -401,11 +401,11 @@ package struct Grpc_Health_V1_HealthClient: Grpc_Health_V1_Health.ClientProtocol
401401 /// call. If the call terminates with any other status (including OK),
402402 /// clients should retry the call with appropriate exponential backoff.
403403 package func watch< R> (
404- request: GRPCCore . ClientRequest . Single < Grpc_Health_V1_HealthCheckRequest > ,
404+ request: GRPCCore . ClientRequest < Grpc_Health_V1_HealthCheckRequest > ,
405405 serializer: some GRPCCore . MessageSerializer < Grpc_Health_V1_HealthCheckRequest > ,
406406 deserializer: some GRPCCore . MessageDeserializer < Grpc_Health_V1_HealthCheckResponse > ,
407407 options: GRPCCore . CallOptions = . defaults,
408- _ body: @Sendable @escaping ( GRPCCore . ClientResponse . Stream < Grpc_Health_V1_HealthCheckResponse > ) async throws -> R
408+ _ body: @Sendable @escaping ( GRPCCore . StreamingClientResponse < Grpc_Health_V1_HealthCheckResponse > ) async throws -> R
409409 ) async throws -> R where R: Sendable {
410410 try await self . client. serverStreaming (
411411 request: request,
0 commit comments