@@ -30,6 +30,7 @@ internal import SwiftProtobuf
3030// MARK: - ErrorService
3131
3232/// Namespace containing generated types for the "ErrorService" service.
33+ @available ( macOS 15 . 0 , iOS 18 . 0 , watchOS 11 . 0 , tvOS 18 . 0 , visionOS 2 . 0 , * )
3334internal enum ErrorService {
3435 /// Service descriptor for the "ErrorService" service.
3536 internal static let descriptor = GRPCCore . ServiceDescriptor ( fullyQualifiedService: " ErrorService " )
@@ -54,13 +55,15 @@ internal enum ErrorService {
5455 }
5556}
5657
58+ @available ( macOS 15 . 0 , iOS 18 . 0 , watchOS 11 . 0 , tvOS 18 . 0 , visionOS 2 . 0 , * )
5759extension GRPCCore . ServiceDescriptor {
5860 /// Service descriptor for the "ErrorService" service.
5961 internal static let ErrorService = GRPCCore . ServiceDescriptor ( fullyQualifiedService: " ErrorService " )
6062}
6163
6264// MARK: ErrorService (server)
6365
66+ @available ( macOS 15 . 0 , iOS 18 . 0 , watchOS 11 . 0 , tvOS 18 . 0 , visionOS 2 . 0 , * )
6467extension ErrorService {
6568 /// Streaming variant of the service protocol for the "ErrorService" service.
6669 ///
@@ -134,6 +137,7 @@ extension ErrorService {
134137}
135138
136139// Default implementation of 'registerMethods(with:)'.
140+ @available ( macOS 15 . 0 , iOS 18 . 0 , watchOS 11 . 0 , tvOS 18 . 0 , visionOS 2 . 0 , * )
137141extension ErrorService . StreamingServiceProtocol {
138142 internal func registerMethods< Transport> ( with router: inout GRPCCore . RPCRouter < Transport > ) where Transport: GRPCCore . ServerTransport {
139143 router. registerHandler (
@@ -151,6 +155,7 @@ extension ErrorService.StreamingServiceProtocol {
151155}
152156
153157// Default implementation of streaming methods from 'StreamingServiceProtocol'.
158+ @available ( macOS 15 . 0 , iOS 18 . 0 , watchOS 11 . 0 , tvOS 18 . 0 , visionOS 2 . 0 , * )
154159extension ErrorService . ServiceProtocol {
155160 internal func throwError(
156161 request: GRPCCore . StreamingServerRequest < ThrowInput > ,
@@ -165,6 +170,7 @@ extension ErrorService.ServiceProtocol {
165170}
166171
167172// Default implementation of methods from 'ServiceProtocol'.
173+ @available ( macOS 15 . 0 , iOS 18 . 0 , watchOS 11 . 0 , tvOS 18 . 0 , visionOS 2 . 0 , * )
168174extension ErrorService . SimpleServiceProtocol {
169175 internal func throwError(
170176 request: GRPCCore . ServerRequest < ThrowInput > ,
@@ -182,6 +188,7 @@ extension ErrorService.SimpleServiceProtocol {
182188
183189// MARK: ErrorService (client)
184190
191+ @available ( macOS 15 . 0 , iOS 18 . 0 , watchOS 11 . 0 , tvOS 18 . 0 , visionOS 2 . 0 , * )
185192extension ErrorService {
186193 /// Generated client protocol for the "ErrorService" service.
187194 ///
@@ -257,6 +264,7 @@ extension ErrorService {
257264}
258265
259266// Helpers providing default arguments to 'ClientProtocol' methods.
267+ @available ( macOS 15 . 0 , iOS 18 . 0 , watchOS 11 . 0 , tvOS 18 . 0 , visionOS 2 . 0 , * )
260268extension ErrorService . ClientProtocol {
261269 /// Call the "ThrowError" method.
262270 ///
@@ -285,6 +293,7 @@ extension ErrorService.ClientProtocol {
285293}
286294
287295// Helpers providing sugared APIs for 'ClientProtocol' methods.
296+ @available ( macOS 15 . 0 , iOS 18 . 0 , watchOS 11 . 0 , tvOS 18 . 0 , visionOS 2 . 0 , * )
288297extension ErrorService . ClientProtocol {
289298 /// Call the "ThrowError" method.
290299 ///
0 commit comments