Преглед изворни кода

Regenerate protos (#2039)

swift-protobuf 1.28.1 includes generated code changes, our. CI fails
without regenerating.
George Barnett пре 1 година
родитељ
комит
3713967b74

+ 0 - 1
Examples/v1/Echo/Model/echo.pb.swift

@@ -22,7 +22,6 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-import Foundation
 import SwiftProtobuf
 
 // If the compiler emits an error on this type, it is because this file

+ 0 - 1
Examples/v1/HelloWorld/Model/helloworld.pb.swift

@@ -22,7 +22,6 @@
 /// See the License for the specific language governing permissions and
 /// limitations under the License.
 
-import Foundation
 import SwiftProtobuf
 
 // If the compiler emits an error on this type, it is because this file

+ 0 - 1
Examples/v1/RouteGuide/Model/route_guide.pb.swift

@@ -22,7 +22,6 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-import Foundation
 import SwiftProtobuf
 
 // If the compiler emits an error on this type, it is because this file

+ 0 - 1
Examples/v2/echo/Generated/echo.pb.swift

@@ -22,7 +22,6 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-import Foundation
 import SwiftProtobuf
 
 // If the compiler emits an error on this type, it is because this file

+ 0 - 1
Examples/v2/hello-world/Generated/helloworld.pb.swift

@@ -22,7 +22,6 @@
 /// See the License for the specific language governing permissions and
 /// limitations under the License.
 
-import Foundation
 import SwiftProtobuf
 
 // If the compiler emits an error on this type, it is because this file

+ 0 - 1
Sources/InteroperabilityTests/Generated/empty.pb.swift

@@ -22,7 +22,6 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-import Foundation
 import SwiftProtobuf
 
 // If the compiler emits an error on this type, it is because this file

+ 1 - 12
Sources/InteroperabilityTests/Generated/empty_service.pb.swift

@@ -22,15 +22,4 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-import Foundation
-import SwiftProtobuf
-
-// If the compiler emits an error on this type, it is because this file
-// was generated by a version of the `protoc` Swift plug-in that is
-// incompatible with the version of SwiftProtobuf to which you are linking.
-// Please ensure that you are building against the same version of the API
-// that was used to generate this file.
-fileprivate struct _GeneratedWithProtocGenSwiftVersion: SwiftProtobuf.ProtobufAPIVersionCheck {
-  struct _2: SwiftProtobuf.ProtobufAPIVersion_2 {}
-  typealias Version = _2
-}
+// This file contained no messages, enums, or extensions.

+ 1 - 12
Sources/InteroperabilityTests/Generated/test.pb.swift

@@ -25,15 +25,4 @@
 // An integration test service that covers all the method signature permutations
 // of unary/streaming requests/responses.
 
-import Foundation
-import SwiftProtobuf
-
-// If the compiler emits an error on this type, it is because this file
-// was generated by a version of the `protoc` Swift plug-in that is
-// incompatible with the version of SwiftProtobuf to which you are linking.
-// Please ensure that you are building against the same version of the API
-// that was used to generate this file.
-fileprivate struct _GeneratedWithProtocGenSwiftVersion: SwiftProtobuf.ProtobufAPIVersionCheck {
-  struct _2: SwiftProtobuf.ProtobufAPIVersion_2 {}
-  typealias Version = _2
-}
+// This file contained no messages, enums, or extensions.

+ 0 - 1
Sources/Services/Health/Generated/health.pb.swift

@@ -25,7 +25,6 @@
 // The canonical version of this proto can be found at
 // https://github.com/grpc/grpc-proto/blob/master/grpc/health/v1/health.proto
 
-import Foundation
 import SwiftProtobuf
 
 // If the compiler emits an error on this type, it is because this file

+ 0 - 1
Sources/performance-worker/Generated/grpc_core_stats.pb.swift

@@ -22,7 +22,6 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-import Foundation
 import SwiftProtobuf
 
 // If the compiler emits an error on this type, it is because this file

+ 1 - 12
Sources/performance-worker/Generated/grpc_testing_benchmark_service.pb.swift

@@ -25,15 +25,4 @@
 /// An integration test service that covers all the method signature permutations
 /// of unary/streaming requests/responses.
 
-import Foundation
-import SwiftProtobuf
-
-// If the compiler emits an error on this type, it is because this file
-// was generated by a version of the `protoc` Swift plug-in that is
-// incompatible with the version of SwiftProtobuf to which you are linking.
-// Please ensure that you are building against the same version of the API
-// that was used to generate this file.
-fileprivate struct _GeneratedWithProtocGenSwiftVersion: SwiftProtobuf.ProtobufAPIVersionCheck {
-  struct _2: SwiftProtobuf.ProtobufAPIVersion_2 {}
-  typealias Version = _2
-}
+// This file contained no messages, enums, or extensions.

+ 0 - 1
Sources/performance-worker/Generated/grpc_testing_control.pb.swift

@@ -22,7 +22,6 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-import Foundation
 import SwiftProtobuf
 
 // If the compiler emits an error on this type, it is because this file

+ 0 - 1
Sources/performance-worker/Generated/grpc_testing_payloads.pb.swift

@@ -22,7 +22,6 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-import Foundation
 import SwiftProtobuf
 
 // If the compiler emits an error on this type, it is because this file

+ 0 - 1
Sources/performance-worker/Generated/grpc_testing_stats.pb.swift

@@ -22,7 +22,6 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-import Foundation
 import SwiftProtobuf
 
 // If the compiler emits an error on this type, it is because this file

+ 1 - 12
Sources/performance-worker/Generated/grpc_testing_worker_service.pb.swift

@@ -25,15 +25,4 @@
 /// An integration test service that covers all the method signature permutations
 /// of unary/streaming requests/responses.
 
-import Foundation
-import SwiftProtobuf
-
-// If the compiler emits an error on this type, it is because this file
-// was generated by a version of the `protoc` Swift plug-in that is
-// incompatible with the version of SwiftProtobuf to which you are linking.
-// Please ensure that you are building against the same version of the API
-// that was used to generate this file.
-fileprivate struct _GeneratedWithProtocGenSwiftVersion: SwiftProtobuf.ProtobufAPIVersionCheck {
-  struct _2: SwiftProtobuf.ProtobufAPIVersion_2 {}
-  typealias Version = _2
-}
+// This file contained no messages, enums, or extensions.

+ 0 - 1
Tests/GRPCCoreTests/Configuration/Generated/code.pb.swift

@@ -22,7 +22,6 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-import Foundation
 import SwiftProtobuf
 
 // If the compiler emits an error on this type, it is because this file

+ 0 - 1
Tests/GRPCCoreTests/Configuration/Generated/rls.pb.swift

@@ -22,7 +22,6 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-import Foundation
 import SwiftProtobuf
 
 // If the compiler emits an error on this type, it is because this file

+ 0 - 1
Tests/GRPCCoreTests/Configuration/Generated/rls_config.pb.swift

@@ -22,7 +22,6 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-import Foundation
 import SwiftProtobuf
 
 // If the compiler emits an error on this type, it is because this file

+ 0 - 1
Tests/GRPCCoreTests/Configuration/Generated/service_config.pb.swift

@@ -36,7 +36,6 @@
 // form.  This proto definition is intended to help document the schema but
 // will not actually be used directly by gRPC.
 
-import Foundation
 import SwiftProtobuf
 
 // If the compiler emits an error on this type, it is because this file

+ 0 - 1
Tests/GRPCTests/Codegen/Normalization/normalization.pb.swift

@@ -22,7 +22,6 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-import Foundation
 import SwiftProtobuf
 
 // If the compiler emits an error on this type, it is because this file