Skip to content

Commit

Permalink
xcode10
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Khokhlov authored and Alexey Khokhlov committed Sep 25, 2018
1 parent 108d32b commit bbf4b3b
Show file tree
Hide file tree
Showing 35 changed files with 1,478 additions and 1,478 deletions.
4 changes: 2 additions & 2 deletions Source/Google.Protobuf.Any.proto.swift
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,10 @@ public extension Google.Protobuf {
override public func getDescription(indent:String) throws -> String {
var output = ""
if hasTypeUrl {
output += "\(indent) typeUrl: \(typeUrl) \n"
output += "\(indent) typeUrl: \(String(describing: typeUrl)) \n"
}
if hasValue {
output += "\(indent) value: \(value) \n"
output += "\(indent) value: \(String(describing: value)) \n"
}
output += unknownFields.getDescription(indent: indent)
return output
Expand Down
14 changes: 7 additions & 7 deletions Source/Google.Protobuf.Api.proto.swift
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public extension Google.Protobuf {
override public func getDescription(indent:String) throws -> String {
var output = ""
if hasName {
output += "\(indent) name: \(name) \n"
output += "\(indent) name: \(String(describing: name)) \n"
}
var methodsElementIndex:Int = 0
for oneElementMethods in methods {
Expand All @@ -197,7 +197,7 @@ public extension Google.Protobuf {
optionsElementIndex += 1
}
if hasVersion {
output += "\(indent) version: \(version) \n"
output += "\(indent) version: \(String(describing: version)) \n"
}
if hasSourceContext {
output += "\(indent) sourceContext {\n"
Expand Down Expand Up @@ -702,19 +702,19 @@ public extension Google.Protobuf {
override public func getDescription(indent:String) throws -> String {
var output = ""
if hasName {
output += "\(indent) name: \(name) \n"
output += "\(indent) name: \(String(describing: name)) \n"
}
if hasRequestTypeUrl {
output += "\(indent) requestTypeUrl: \(requestTypeUrl) \n"
output += "\(indent) requestTypeUrl: \(String(describing: requestTypeUrl)) \n"
}
if hasRequestStreaming {
output += "\(indent) requestStreaming: \(requestStreaming) \n"
output += "\(indent) requestStreaming: \(String(describing: requestStreaming)) \n"
}
if hasResponseTypeUrl {
output += "\(indent) responseTypeUrl: \(responseTypeUrl) \n"
output += "\(indent) responseTypeUrl: \(String(describing: responseTypeUrl)) \n"
}
if hasResponseStreaming {
output += "\(indent) responseStreaming: \(responseStreaming) \n"
output += "\(indent) responseStreaming: \(String(describing: responseStreaming)) \n"
}
var optionsElementIndex:Int = 0
for oneElementOptions in options {
Expand Down
144 changes: 72 additions & 72 deletions Source/Google.Protobuf.Descriptor.proto.swift

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions Source/Google.Protobuf.Duration.proto.swift
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,10 @@ public extension Google.Protobuf {
override public func getDescription(indent:String) throws -> String {
var output = ""
if hasSeconds {
output += "\(indent) seconds: \(seconds) \n"
output += "\(indent) seconds: \(String(describing: seconds)) \n"
}
if hasNanos {
output += "\(indent) nanos: \(nanos) \n"
output += "\(indent) nanos: \(String(describing: nanos)) \n"
}
output += unknownFields.getDescription(indent: indent)
return output
Expand Down
2 changes: 1 addition & 1 deletion Source/Google.Protobuf.SourceContext.proto.swift
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public extension Google.Protobuf {
override public func getDescription(indent:String) throws -> String {
var output = ""
if hasFileName {
output += "\(indent) fileName: \(fileName) \n"
output += "\(indent) fileName: \(String(describing: fileName)) \n"
}
output += unknownFields.getDescription(indent: indent)
return output
Expand Down
8 changes: 4 additions & 4 deletions Source/Google.Protobuf.Struct.proto.swift
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public extension Google.Protobuf {
override public func getDescription(indent:String) throws -> String {
var output = ""
if hasKey {
output += "\(indent) key: \(key) \n"
output += "\(indent) key: \(String(describing: key)) \n"
}
if hasValue {
output += "\(indent) value {\n"
Expand Down Expand Up @@ -944,13 +944,13 @@ public extension Google.Protobuf {
output += "\(indent) nullValue: \(nullValue.description)\n"
}
if hasNumberValue {
output += "\(indent) numberValue: \(numberValue) \n"
output += "\(indent) numberValue: \(String(describing: numberValue)) \n"
}
if hasStringValue {
output += "\(indent) stringValue: \(stringValue) \n"
output += "\(indent) stringValue: \(String(describing: stringValue)) \n"
}
if hasBoolValue {
output += "\(indent) boolValue: \(boolValue) \n"
output += "\(indent) boolValue: \(String(describing: boolValue)) \n"
}
if hasStructValue {
output += "\(indent) structValue {\n"
Expand Down
34 changes: 17 additions & 17 deletions Source/Google.Protobuf.SwiftDescriptor.proto.swift
Original file line number Diff line number Diff line change
Expand Up @@ -252,13 +252,13 @@ public extension Google.Protobuf {
override public func getDescription(indent:String) throws -> String {
var output = ""
if hasFieldName {
output += "\(indent) fieldName: \(fieldName) \n"
output += "\(indent) fieldName: \(String(describing: fieldName)) \n"
}
if hasFromType {
output += "\(indent) fromType: \(fromType) \n"
output += "\(indent) fromType: \(String(describing: fromType)) \n"
}
if hasPropertyName {
output += "\(indent) propertyName: \(propertyName) \n"
output += "\(indent) propertyName: \(String(describing: propertyName)) \n"
}
output += unknownFields.getDescription(indent: indent)
return output
Expand Down Expand Up @@ -608,22 +608,22 @@ public extension Google.Protobuf {
override public func getDescription(indent:String) throws -> String {
var output = ""
if hasClassPrefix {
output += "\(indent) classPrefix: \(classPrefix) \n"
output += "\(indent) classPrefix: \(String(describing: classPrefix)) \n"
}
if (hasEntitiesAccessControl) {
output += "\(indent) entitiesAccessControl: \(entitiesAccessControl.description)\n"
}
if hasCompileForFramework {
output += "\(indent) compileForFramework: \(compileForFramework) \n"
output += "\(indent) compileForFramework: \(String(describing: compileForFramework)) \n"
}
if hasGenerateStruct {
output += "\(indent) generateStruct: \(generateStruct) \n"
output += "\(indent) generateStruct: \(String(describing: generateStruct)) \n"
}
if hasGenerateRealmObjects {
output += "\(indent) generateRealmObjects: \(generateRealmObjects) \n"
output += "\(indent) generateRealmObjects: \(String(describing: generateRealmObjects)) \n"
}
if hasGenerateReact {
output += "\(indent) generateReact: \(generateReact) \n"
output += "\(indent) generateReact: \(String(describing: generateReact)) \n"
}
output += unknownFields.getDescription(indent: indent)
return output
Expand Down Expand Up @@ -1083,16 +1083,16 @@ public extension Google.Protobuf {
override public func getDescription(indent:String) throws -> String {
var output = ""
if hasGenerateErrorType {
output += "\(indent) generateErrorType: \(generateErrorType) \n"
output += "\(indent) generateErrorType: \(String(describing: generateErrorType)) \n"
}
if hasGenerateRealmObject {
output += "\(indent) generateRealmObject: \(generateRealmObject) \n"
output += "\(indent) generateRealmObject: \(String(describing: generateRealmObject)) \n"
}
if hasGenerateReact {
output += "\(indent) generateReact: \(generateReact) \n"
output += "\(indent) generateReact: \(String(describing: generateReact)) \n"
}
if hasAdditionalClassName {
output += "\(indent) additionalClassName: \(additionalClassName) \n"
output += "\(indent) additionalClassName: \(String(describing: additionalClassName)) \n"
}
var linkedObjectsElementIndex:Int = 0
for oneElementLinkedObjects in linkedObjects {
Expand Down Expand Up @@ -1485,10 +1485,10 @@ public extension Google.Protobuf {
override public func getDescription(indent:String) throws -> String {
var output = ""
if hasRealmIndexedPropertie {
output += "\(indent) realmIndexedPropertie: \(realmIndexedPropertie) \n"
output += "\(indent) realmIndexedPropertie: \(String(describing: realmIndexedPropertie)) \n"
}
if hasRealmPrimaryKey {
output += "\(indent) realmPrimaryKey: \(realmPrimaryKey) \n"
output += "\(indent) realmPrimaryKey: \(String(describing: realmPrimaryKey)) \n"
}
if (hasRealmOverridePropertie) {
output += "\(indent) realmOverridePropertie: \(realmOverridePropertie.description)\n"
Expand Down Expand Up @@ -1808,13 +1808,13 @@ public extension Google.Protobuf {
override public func getDescription(indent:String) throws -> String {
var output = ""
if hasGenerateErrorType {
output += "\(indent) generateErrorType: \(generateErrorType) \n"
output += "\(indent) generateErrorType: \(String(describing: generateErrorType)) \n"
}
if hasGenerateReact {
output += "\(indent) generateReact: \(generateReact) \n"
output += "\(indent) generateReact: \(String(describing: generateReact)) \n"
}
if hasGenerateRealmObject {
output += "\(indent) generateRealmObject: \(generateRealmObject) \n"
output += "\(indent) generateRealmObject: \(String(describing: generateRealmObject)) \n"
}
output += unknownFields.getDescription(indent: indent)
return output
Expand Down
4 changes: 2 additions & 2 deletions Source/Google.Protobuf.Timestamp.proto.swift
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,10 @@ public extension Google.Protobuf {
override public func getDescription(indent:String) throws -> String {
var output = ""
if hasSeconds {
output += "\(indent) seconds: \(seconds) \n"
output += "\(indent) seconds: \(String(describing: seconds)) \n"
}
if hasNanos {
output += "\(indent) nanos: \(nanos) \n"
output += "\(indent) nanos: \(String(describing: nanos)) \n"
}
output += unknownFields.getDescription(indent: indent)
return output
Expand Down
20 changes: 10 additions & 10 deletions Source/Google.Protobuf.Type.proto.swift
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ public extension Google.Protobuf {
override public func getDescription(indent:String) throws -> String {
var output = ""
if hasName {
output += "\(indent) name: \(name) \n"
output += "\(indent) name: \(String(describing: name)) \n"
}
var fieldsElementIndex:Int = 0
for oneElementFields in fields {
Expand Down Expand Up @@ -895,19 +895,19 @@ public extension Google.Protobuf {
output += "\(indent) cardinality: \(cardinality.description)\n"
}
if hasNumber {
output += "\(indent) number: \(number) \n"
output += "\(indent) number: \(String(describing: number)) \n"
}
if hasName {
output += "\(indent) name: \(name) \n"
output += "\(indent) name: \(String(describing: name)) \n"
}
if hasTypeUrl {
output += "\(indent) typeUrl: \(typeUrl) \n"
output += "\(indent) typeUrl: \(String(describing: typeUrl)) \n"
}
if hasOneofIndex {
output += "\(indent) oneofIndex: \(oneofIndex) \n"
output += "\(indent) oneofIndex: \(String(describing: oneofIndex)) \n"
}
if hasPacked {
output += "\(indent) packed: \(packed) \n"
output += "\(indent) packed: \(String(describing: packed)) \n"
}
var optionsElementIndex:Int = 0
for oneElementOptions in options {
Expand Down Expand Up @@ -1457,7 +1457,7 @@ public extension Google.Protobuf {
override public func getDescription(indent:String) throws -> String {
var output = ""
if hasName {
output += "\(indent) name: \(name) \n"
output += "\(indent) name: \(String(describing: name)) \n"
}
var enumvalueElementIndex:Int = 0
for oneElementEnumvalue in enumvalue {
Expand Down Expand Up @@ -1876,10 +1876,10 @@ public extension Google.Protobuf {
override public func getDescription(indent:String) throws -> String {
var output = ""
if hasName {
output += "\(indent) name: \(name) \n"
output += "\(indent) name: \(String(describing: name)) \n"
}
if hasNumber {
output += "\(indent) number: \(number) \n"
output += "\(indent) number: \(String(describing: number)) \n"
}
var optionsElementIndex:Int = 0
for oneElementOptions in options {
Expand Down Expand Up @@ -2194,7 +2194,7 @@ public extension Google.Protobuf {
override public func getDescription(indent:String) throws -> String {
var output = ""
if hasName {
output += "\(indent) name: \(name) \n"
output += "\(indent) name: \(String(describing: name)) \n"
}
if hasValue {
output += "\(indent) value {\n"
Expand Down
18 changes: 9 additions & 9 deletions Source/Google.Protobuf.Wrappers.proto.swift
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public extension Google.Protobuf {
override public func getDescription(indent:String) throws -> String {
var output = ""
if hasValue {
output += "\(indent) value: \(value) \n"
output += "\(indent) value: \(String(describing: value)) \n"
}
output += unknownFields.getDescription(indent: indent)
return output
Expand Down Expand Up @@ -316,7 +316,7 @@ public extension Google.Protobuf {
override public func getDescription(indent:String) throws -> String {
var output = ""
if hasValue {
output += "\(indent) value: \(value) \n"
output += "\(indent) value: \(String(describing: value)) \n"
}
output += unknownFields.getDescription(indent: indent)
return output
Expand Down Expand Up @@ -533,7 +533,7 @@ public extension Google.Protobuf {
override public func getDescription(indent:String) throws -> String {
var output = ""
if hasValue {
output += "\(indent) value: \(value) \n"
output += "\(indent) value: \(String(describing: value)) \n"
}
output += unknownFields.getDescription(indent: indent)
return output
Expand Down Expand Up @@ -750,7 +750,7 @@ public extension Google.Protobuf {
override public func getDescription(indent:String) throws -> String {
var output = ""
if hasValue {
output += "\(indent) value: \(value) \n"
output += "\(indent) value: \(String(describing: value)) \n"
}
output += unknownFields.getDescription(indent: indent)
return output
Expand Down Expand Up @@ -967,7 +967,7 @@ public extension Google.Protobuf {
override public func getDescription(indent:String) throws -> String {
var output = ""
if hasValue {
output += "\(indent) value: \(value) \n"
output += "\(indent) value: \(String(describing: value)) \n"
}
output += unknownFields.getDescription(indent: indent)
return output
Expand Down Expand Up @@ -1184,7 +1184,7 @@ public extension Google.Protobuf {
override public func getDescription(indent:String) throws -> String {
var output = ""
if hasValue {
output += "\(indent) value: \(value) \n"
output += "\(indent) value: \(String(describing: value)) \n"
}
output += unknownFields.getDescription(indent: indent)
return output
Expand Down Expand Up @@ -1401,7 +1401,7 @@ public extension Google.Protobuf {
override public func getDescription(indent:String) throws -> String {
var output = ""
if hasValue {
output += "\(indent) value: \(value) \n"
output += "\(indent) value: \(String(describing: value)) \n"
}
output += unknownFields.getDescription(indent: indent)
return output
Expand Down Expand Up @@ -1616,7 +1616,7 @@ public extension Google.Protobuf {
override public func getDescription(indent:String) throws -> String {
var output = ""
if hasValue {
output += "\(indent) value: \(value) \n"
output += "\(indent) value: \(String(describing: value)) \n"
}
output += unknownFields.getDescription(indent: indent)
return output
Expand Down Expand Up @@ -1831,7 +1831,7 @@ public extension Google.Protobuf {
override public func getDescription(indent:String) throws -> String {
var output = ""
if hasValue {
output += "\(indent) value: \(value) \n"
output += "\(indent) value: \(String(describing: value)) \n"
}
output += unknownFields.getDescription(indent: indent)
return output
Expand Down
Loading

0 comments on commit bbf4b3b

Please sign in to comment.