Skip to content

Commit fb0053a

Browse files
committed
Update swift-proto dependency version to 0.9.903.
1 parent b4dc0a0 commit fb0053a

File tree

5 files changed

+30
-13
lines changed

5 files changed

+30
-13
lines changed

Examples/Echo/Generated/echo.pb.swift

Lines changed: 26 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
/*
2-
* DO NOT EDIT.
3-
*
4-
* Generated by the protocol buffer compiler.
5-
* Source: echo.proto
6-
*
7-
*/
1+
// DO NOT EDIT.
2+
//
3+
// Generated by the Swift generator plugin for the protocol buffer compiler.
4+
// Source: echo.proto
5+
//
6+
// For information on using the generated types, please see the documenation:
7+
// https://github.com/apple/swift-protobuf/
88

99
// Copyright (c) 2015, Google Inc.
1010
//
@@ -19,6 +19,7 @@
1919
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2020
// See the License for the specific language governing permissions and
2121
// limitations under the License.
22+
2223
import Foundation
2324
import SwiftProtobuf
2425

@@ -28,8 +29,8 @@ import SwiftProtobuf
2829
// Please ensure that your are building against the same version of the API
2930
// that was used to generate this file.
3031
fileprivate struct _GeneratedWithProtocGenSwiftVersion: SwiftProtobuf.ProtobufAPIVersionCheck {
31-
struct _1: SwiftProtobuf.ProtobufAPIVersion_1 {}
32-
typealias Version = _1
32+
struct _2: SwiftProtobuf.ProtobufAPIVersion_2 {}
33+
typealias Version = _2
3334
}
3435

3536
struct Echo_EchoRequest: SwiftProtobuf.Message {
@@ -42,6 +43,10 @@ struct Echo_EchoRequest: SwiftProtobuf.Message {
4243

4344
init() {}
4445

46+
/// Used by the decoding initializers in the SwiftProtobuf library, not generally
47+
/// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
48+
/// initializers are defined in the SwiftProtobuf library. See the Message and
49+
/// Message+*Additions` files.
4550
mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
4651
while let fieldNumber = try decoder.nextFieldNumber() {
4752
switch fieldNumber {
@@ -51,6 +56,10 @@ struct Echo_EchoRequest: SwiftProtobuf.Message {
5156
}
5257
}
5358

59+
/// Used by the encoding methods of the SwiftProtobuf library, not generally
60+
/// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
61+
/// other serializer methods are defined in the SwiftProtobuf library. See the
62+
/// `Message` and `Message+*Additions` files.
5463
func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
5564
if !self.text.isEmpty {
5665
try visitor.visitSingularStringField(value: self.text, fieldNumber: 1)
@@ -69,6 +78,10 @@ struct Echo_EchoResponse: SwiftProtobuf.Message {
6978

7079
init() {}
7180

81+
/// Used by the decoding initializers in the SwiftProtobuf library, not generally
82+
/// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
83+
/// initializers are defined in the SwiftProtobuf library. See the Message and
84+
/// Message+*Additions` files.
7285
mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
7386
while let fieldNumber = try decoder.nextFieldNumber() {
7487
switch fieldNumber {
@@ -78,6 +91,10 @@ struct Echo_EchoResponse: SwiftProtobuf.Message {
7891
}
7992
}
8093

94+
/// Used by the encoding methods of the SwiftProtobuf library, not generally
95+
/// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
96+
/// other serializer methods are defined in the SwiftProtobuf library. See the
97+
/// `Message` and `Message+*Additions` files.
8198
func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
8299
if !self.text.isEmpty {
83100
try visitor.visitSingularStringField(value: self.text, fieldNumber: 1)

Examples/Echo/PackageManager/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ all:
77
clean :
88
rm -rf Packages
99
rm -rf .build
10-
rm Package.pins
10+
rm -f Package.pins

Examples/Echo/PackageManager/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ let package = Package (
1818
name: "Echo",
1919
dependencies: [
2020
.Package(url: "https://github.com/grpc/grpc-swift.git", Version(0,1,10)),
21-
.Package(url: "https://github.com/apple/swift-protobuf.git", Version(0,9,901)),
21+
.Package(url: "https://github.com/apple/swift-protobuf.git", Version(0,9,903)),
2222
]
2323
)

Plugin/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ let package = Package(
2525
Target(name: "TemplateEncoder")
2626
],
2727
dependencies: [
28-
.Package(url: "https://github.com/apple/swift-protobuf.git", Version(0,9,901)),
28+
.Package(url: "https://github.com/apple/swift-protobuf.git", Version(0,9,903)),
2929
.Package(url: "https://github.com/kylef/Stencil.git", Version(0,9,0))
3030
]
3131
)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ testing with the following versions:
112112

113113
- Xcode 8.3.2 (8E2002)
114114
- Swift 3.1 (swiftlang-802.0.53 clang-802.0.42)
115-
- swift-protobuf 0.9.901
115+
- swift-protobuf 0.9.903
116116

117117
## License
118118

0 commit comments

Comments
 (0)