// Copyright 2018 gRPC authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // DO NOT EDIT. // swift-format-ignore-file // // Generated by the gRPC Swift generator plugin for the protocol buffer compiler. // Source: src/proto/grpc/testing/empty_service.proto // // For information on using the generated types, please see the documentation: // https://github.com/grpc/grpc-swift import GRPCCore import GRPCProtobuf public enum Grpc_Testing_EmptyService { public enum Method { public static let descriptors: [MethodDescriptor] = [] } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) public typealias StreamingServiceProtocol = Grpc_Testing_EmptyServiceStreamingServiceProtocol @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) public typealias ServiceProtocol = Grpc_Testing_EmptyServiceServiceProtocol @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) public typealias ClientProtocol = Grpc_Testing_EmptyServiceClientProtocol @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) public typealias Client = Grpc_Testing_EmptyServiceClient } /// A service that has zero methods. /// See https://github.com/grpc/grpc/issues/15574 @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) public protocol Grpc_Testing_EmptyServiceStreamingServiceProtocol: GRPCCore.RegistrableRPCService {} /// Conformance to `GRPCCore.RegistrableRPCService`. @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension Grpc_Testing_EmptyService.StreamingServiceProtocol { @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) public func registerMethods(with router: inout GRPCCore.RPCRouter) {} } /// A service that has zero methods. /// See https://github.com/grpc/grpc/issues/15574 @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) public protocol Grpc_Testing_EmptyServiceServiceProtocol: Grpc_Testing_EmptyService.StreamingServiceProtocol {} /// Partial conformance to `Grpc_Testing_EmptyServiceStreamingServiceProtocol`. @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension Grpc_Testing_EmptyService.ServiceProtocol { } /// A service that has zero methods. /// See https://github.com/grpc/grpc/issues/15574 @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) public protocol Grpc_Testing_EmptyServiceClientProtocol: Sendable {} @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension Grpc_Testing_EmptyService.ClientProtocol { } /// A service that has zero methods. /// See https://github.com/grpc/grpc/issues/15574 @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) public struct Grpc_Testing_EmptyServiceClient: Grpc_Testing_EmptyService.ClientProtocol { private let client: GRPCCore.GRPCClient public init(client: GRPCCore.GRPCClient) { self.client = client } }