Debian Codegraph @

plugins/gnostic-swift-generator/Sources/Gnostic/OpenAPIv3.pb.swift

raw
1 // DO NOT EDIT.
2 //
3 // Generated by the Swift generator plugin for the protocol buffer compiler.
4 // Source: github.com/googleapis/gnostic/OpenAPIv3/OpenAPIv3.proto
5 //
6 // For information on using the generated types, please see the documenation:
7 // https://github.com/apple/swift-protobuf/
8
9 // Copyright 2017 Google Inc. All Rights Reserved.
10 //
11 // Licensed under the Apache License, Version 2.0 (the "License");
12 // you may not use this file except in compliance with the License.
13 // You may obtain a copy of the License at
14 //
15 // http://www.apache.org/licenses/LICENSE-2.0
16 //
17 // Unless required by applicable law or agreed to in writing, software
18 // distributed under the License is distributed on an "AS IS" BASIS,
19 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20 // See the License for the specific language governing permissions and
21 // limitations under the License.
22
23 // THIS FILE IS AUTOMATICALLY GENERATED.
24
25 import Foundation
26 import SwiftProtobuf
27
28 // If the compiler emits an error on this type, it is because this file
29 // was generated by a version of the `protoc` Swift plug-in that is
30 // incompatible with the version of SwiftProtobuf to which you are linking.
31 // Please ensure that your are building against the same version of the API
32 // that was used to generate this file.
33 fileprivate struct _GeneratedWithProtocGenSwiftVersion: SwiftProtobuf.ProtobufAPIVersionCheck {
34 struct _2: SwiftProtobuf.ProtobufAPIVersion_2 {}
35 typealias Version = _2
36 }
37
38 public struct Openapi_V3_AdditionalPropertiesItem: SwiftProtobuf.Message {
39 public static let protoMessageName: String = _protobuf_package + ".AdditionalPropertiesItem"
40
41 public var oneof: OneOf_Oneof? {
42 get {return _storage._oneof}
43 set {_uniqueStorage()._oneof = newValue}
44 }
45
46 public var schemaOrReference: Openapi_V3_SchemaOrReference {
47 get {
48 if case .schemaOrReference(let v)? = _storage._oneof {return v}
49 return Openapi_V3_SchemaOrReference()
50 }
51 set {_uniqueStorage()._oneof = .schemaOrReference(newValue)}
52 }
53
54 public var boolean: Bool {
55 get {
56 if case .boolean(let v)? = _storage._oneof {return v}
57 return false
58 }
59 set {_uniqueStorage()._oneof = .boolean(newValue)}
60 }
61
62 public var unknownFields = SwiftProtobuf.UnknownStorage()
63
64 public enum OneOf_Oneof: Equatable {
65 case schemaOrReference(Openapi_V3_SchemaOrReference)
66 case boolean(Bool)
67
68 public static func ==(lhs: Openapi_V3_AdditionalPropertiesItem.OneOf_Oneof, rhs: Openapi_V3_AdditionalPropertiesItem.OneOf_Oneof) -> Bool {
69 switch (lhs, rhs) {
70 case (.schemaOrReference(let l), .schemaOrReference(let r)): return l == r
71 case (.boolean(let l), .boolean(let r)): return l == r
72 default: return false
73 }
74 }
75 }
76
77 public init() {}
78
79 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
80 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
81 /// initializers are defined in the SwiftProtobuf library. See the Message and
82 /// Message+*Additions` files.
83 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
84 _ = _uniqueStorage()
85 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
86 while let fieldNumber = try decoder.nextFieldNumber() {
87 switch fieldNumber {
88 case 1:
89 var v: Openapi_V3_SchemaOrReference?
90 if let current = _storage._oneof {
91 try decoder.handleConflictingOneOf()
92 if case .schemaOrReference(let m) = current {v = m}
93 }
94 try decoder.decodeSingularMessageField(value: &v)
95 if let v = v {_storage._oneof = .schemaOrReference(v)}
96 case 2:
97 if _storage._oneof != nil {try decoder.handleConflictingOneOf()}
98 var v: Bool?
99 try decoder.decodeSingularBoolField(value: &v)
100 if let v = v {_storage._oneof = .boolean(v)}
101 default: break
102 }
103 }
104 }
105 }
106
107 /// Used by the encoding methods of the SwiftProtobuf library, not generally
108 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
109 /// other serializer methods are defined in the SwiftProtobuf library. See the
110 /// `Message` and `Message+*Additions` files.
111 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
112 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
113 switch _storage._oneof {
114 case .schemaOrReference(let v)?:
115 try visitor.visitSingularMessageField(value: v, fieldNumber: 1)
116 case .boolean(let v)?:
117 try visitor.visitSingularBoolField(value: v, fieldNumber: 2)
118 case nil: break
119 }
120 }
121 try unknownFields.traverse(visitor: &visitor)
122 }
123
124 fileprivate var _storage = _StorageClass.defaultInstance
125 }
126
127 public struct Openapi_V3_Any: SwiftProtobuf.Message {
128 public static let protoMessageName: String = _protobuf_package + ".Any"
129
130 public var value: SwiftProtobuf.Google_Protobuf_Any {
131 get {return _storage._value ?? SwiftProtobuf.Google_Protobuf_Any()}
132 set {_uniqueStorage()._value = newValue}
133 }
134 /// Returns true if `value` has been explicitly set.
135 public var hasValue: Bool {return _storage._value != nil}
136 /// Clears the value of `value`. Subsequent reads from it will return its default value.
137 public mutating func clearValue() {_storage._value = nil}
138
139 public var yaml: String {
140 get {return _storage._yaml}
141 set {_uniqueStorage()._yaml = newValue}
142 }
143
144 public var unknownFields = SwiftProtobuf.UnknownStorage()
145
146 public init() {}
147
148 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
149 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
150 /// initializers are defined in the SwiftProtobuf library. See the Message and
151 /// Message+*Additions` files.
152 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
153 _ = _uniqueStorage()
154 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
155 while let fieldNumber = try decoder.nextFieldNumber() {
156 switch fieldNumber {
157 case 1: try decoder.decodeSingularMessageField(value: &_storage._value)
158 case 2: try decoder.decodeSingularStringField(value: &_storage._yaml)
159 default: break
160 }
161 }
162 }
163 }
164
165 /// Used by the encoding methods of the SwiftProtobuf library, not generally
166 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
167 /// other serializer methods are defined in the SwiftProtobuf library. See the
168 /// `Message` and `Message+*Additions` files.
169 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
170 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
171 if let v = _storage._value {
172 try visitor.visitSingularMessageField(value: v, fieldNumber: 1)
173 }
174 if !_storage._yaml.isEmpty {
175 try visitor.visitSingularStringField(value: _storage._yaml, fieldNumber: 2)
176 }
177 }
178 try unknownFields.traverse(visitor: &visitor)
179 }
180
181 fileprivate var _storage = _StorageClass.defaultInstance
182 }
183
184 public struct Openapi_V3_AnyOrExpression: SwiftProtobuf.Message {
185 public static let protoMessageName: String = _protobuf_package + ".AnyOrExpression"
186
187 public var oneof: OneOf_Oneof? {
188 get {return _storage._oneof}
189 set {_uniqueStorage()._oneof = newValue}
190 }
191
192 public var any: Openapi_V3_Any {
193 get {
194 if case .any(let v)? = _storage._oneof {return v}
195 return Openapi_V3_Any()
196 }
197 set {_uniqueStorage()._oneof = .any(newValue)}
198 }
199
200 public var expression: Openapi_V3_Expression {
201 get {
202 if case .expression(let v)? = _storage._oneof {return v}
203 return Openapi_V3_Expression()
204 }
205 set {_uniqueStorage()._oneof = .expression(newValue)}
206 }
207
208 public var unknownFields = SwiftProtobuf.UnknownStorage()
209
210 public enum OneOf_Oneof: Equatable {
211 case any(Openapi_V3_Any)
212 case expression(Openapi_V3_Expression)
213
214 public static func ==(lhs: Openapi_V3_AnyOrExpression.OneOf_Oneof, rhs: Openapi_V3_AnyOrExpression.OneOf_Oneof) -> Bool {
215 switch (lhs, rhs) {
216 case (.any(let l), .any(let r)): return l == r
217 case (.expression(let l), .expression(let r)): return l == r
218 default: return false
219 }
220 }
221 }
222
223 public init() {}
224
225 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
226 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
227 /// initializers are defined in the SwiftProtobuf library. See the Message and
228 /// Message+*Additions` files.
229 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
230 _ = _uniqueStorage()
231 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
232 while let fieldNumber = try decoder.nextFieldNumber() {
233 switch fieldNumber {
234 case 1:
235 var v: Openapi_V3_Any?
236 if let current = _storage._oneof {
237 try decoder.handleConflictingOneOf()
238 if case .any(let m) = current {v = m}
239 }
240 try decoder.decodeSingularMessageField(value: &v)
241 if let v = v {_storage._oneof = .any(v)}
242 case 2:
243 var v: Openapi_V3_Expression?
244 if let current = _storage._oneof {
245 try decoder.handleConflictingOneOf()
246 if case .expression(let m) = current {v = m}
247 }
248 try decoder.decodeSingularMessageField(value: &v)
249 if let v = v {_storage._oneof = .expression(v)}
250 default: break
251 }
252 }
253 }
254 }
255
256 /// Used by the encoding methods of the SwiftProtobuf library, not generally
257 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
258 /// other serializer methods are defined in the SwiftProtobuf library. See the
259 /// `Message` and `Message+*Additions` files.
260 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
261 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
262 switch _storage._oneof {
263 case .any(let v)?:
264 try visitor.visitSingularMessageField(value: v, fieldNumber: 1)
265 case .expression(let v)?:
266 try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
267 case nil: break
268 }
269 }
270 try unknownFields.traverse(visitor: &visitor)
271 }
272
273 fileprivate var _storage = _StorageClass.defaultInstance
274 }
275
276 public struct Openapi_V3_AnysOrExpressions: SwiftProtobuf.Message {
277 public static let protoMessageName: String = _protobuf_package + ".AnysOrExpressions"
278
279 public var additionalProperties: [Openapi_V3_NamedAnyOrExpression] = []
280
281 public var unknownFields = SwiftProtobuf.UnknownStorage()
282
283 public init() {}
284
285 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
286 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
287 /// initializers are defined in the SwiftProtobuf library. See the Message and
288 /// Message+*Additions` files.
289 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
290 while let fieldNumber = try decoder.nextFieldNumber() {
291 switch fieldNumber {
292 case 1: try decoder.decodeRepeatedMessageField(value: &self.additionalProperties)
293 default: break
294 }
295 }
296 }
297
298 /// Used by the encoding methods of the SwiftProtobuf library, not generally
299 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
300 /// other serializer methods are defined in the SwiftProtobuf library. See the
301 /// `Message` and `Message+*Additions` files.
302 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
303 if !self.additionalProperties.isEmpty {
304 try visitor.visitRepeatedMessageField(value: self.additionalProperties, fieldNumber: 1)
305 }
306 try unknownFields.traverse(visitor: &visitor)
307 }
308 }
309
310 /// A map of possible out-of band callbacks related to the parent operation. Each value in the map is a Path Item Object that describes a set of requests that may be initiated by the API provider and the expected responses. The key value used to identify the callback object is an expression, evaluated at runtime, that identifies a URL to use for the callback operation.
311 public struct Openapi_V3_Callback: SwiftProtobuf.Message {
312 public static let protoMessageName: String = _protobuf_package + ".Callback"
313
314 public var path: [Openapi_V3_NamedPathItem] = []
315
316 public var specificationExtension: [Openapi_V3_NamedAny] = []
317
318 public var unknownFields = SwiftProtobuf.UnknownStorage()
319
320 public init() {}
321
322 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
323 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
324 /// initializers are defined in the SwiftProtobuf library. See the Message and
325 /// Message+*Additions` files.
326 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
327 while let fieldNumber = try decoder.nextFieldNumber() {
328 switch fieldNumber {
329 case 1: try decoder.decodeRepeatedMessageField(value: &self.path)
330 case 2: try decoder.decodeRepeatedMessageField(value: &self.specificationExtension)
331 default: break
332 }
333 }
334 }
335
336 /// Used by the encoding methods of the SwiftProtobuf library, not generally
337 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
338 /// other serializer methods are defined in the SwiftProtobuf library. See the
339 /// `Message` and `Message+*Additions` files.
340 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
341 if !self.path.isEmpty {
342 try visitor.visitRepeatedMessageField(value: self.path, fieldNumber: 1)
343 }
344 if !self.specificationExtension.isEmpty {
345 try visitor.visitRepeatedMessageField(value: self.specificationExtension, fieldNumber: 2)
346 }
347 try unknownFields.traverse(visitor: &visitor)
348 }
349 }
350
351 public struct Openapi_V3_CallbackOrReference: SwiftProtobuf.Message {
352 public static let protoMessageName: String = _protobuf_package + ".CallbackOrReference"
353
354 public var oneof: OneOf_Oneof? {
355 get {return _storage._oneof}
356 set {_uniqueStorage()._oneof = newValue}
357 }
358
359 public var callback: Openapi_V3_Callback {
360 get {
361 if case .callback(let v)? = _storage._oneof {return v}
362 return Openapi_V3_Callback()
363 }
364 set {_uniqueStorage()._oneof = .callback(newValue)}
365 }
366
367 public var reference: Openapi_V3_Reference {
368 get {
369 if case .reference(let v)? = _storage._oneof {return v}
370 return Openapi_V3_Reference()
371 }
372 set {_uniqueStorage()._oneof = .reference(newValue)}
373 }
374
375 public var unknownFields = SwiftProtobuf.UnknownStorage()
376
377 public enum OneOf_Oneof: Equatable {
378 case callback(Openapi_V3_Callback)
379 case reference(Openapi_V3_Reference)
380
381 public static func ==(lhs: Openapi_V3_CallbackOrReference.OneOf_Oneof, rhs: Openapi_V3_CallbackOrReference.OneOf_Oneof) -> Bool {
382 switch (lhs, rhs) {
383 case (.callback(let l), .callback(let r)): return l == r
384 case (.reference(let l), .reference(let r)): return l == r
385 default: return false
386 }
387 }
388 }
389
390 public init() {}
391
392 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
393 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
394 /// initializers are defined in the SwiftProtobuf library. See the Message and
395 /// Message+*Additions` files.
396 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
397 _ = _uniqueStorage()
398 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
399 while let fieldNumber = try decoder.nextFieldNumber() {
400 switch fieldNumber {
401 case 1:
402 var v: Openapi_V3_Callback?
403 if let current = _storage._oneof {
404 try decoder.handleConflictingOneOf()
405 if case .callback(let m) = current {v = m}
406 }
407 try decoder.decodeSingularMessageField(value: &v)
408 if let v = v {_storage._oneof = .callback(v)}
409 case 2:
410 var v: Openapi_V3_Reference?
411 if let current = _storage._oneof {
412 try decoder.handleConflictingOneOf()
413 if case .reference(let m) = current {v = m}
414 }
415 try decoder.decodeSingularMessageField(value: &v)
416 if let v = v {_storage._oneof = .reference(v)}
417 default: break
418 }
419 }
420 }
421 }
422
423 /// Used by the encoding methods of the SwiftProtobuf library, not generally
424 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
425 /// other serializer methods are defined in the SwiftProtobuf library. See the
426 /// `Message` and `Message+*Additions` files.
427 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
428 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
429 switch _storage._oneof {
430 case .callback(let v)?:
431 try visitor.visitSingularMessageField(value: v, fieldNumber: 1)
432 case .reference(let v)?:
433 try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
434 case nil: break
435 }
436 }
437 try unknownFields.traverse(visitor: &visitor)
438 }
439
440 fileprivate var _storage = _StorageClass.defaultInstance
441 }
442
443 public struct Openapi_V3_CallbacksOrReferences: SwiftProtobuf.Message {
444 public static let protoMessageName: String = _protobuf_package + ".CallbacksOrReferences"
445
446 public var additionalProperties: [Openapi_V3_NamedCallbackOrReference] = []
447
448 public var unknownFields = SwiftProtobuf.UnknownStorage()
449
450 public init() {}
451
452 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
453 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
454 /// initializers are defined in the SwiftProtobuf library. See the Message and
455 /// Message+*Additions` files.
456 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
457 while let fieldNumber = try decoder.nextFieldNumber() {
458 switch fieldNumber {
459 case 1: try decoder.decodeRepeatedMessageField(value: &self.additionalProperties)
460 default: break
461 }
462 }
463 }
464
465 /// Used by the encoding methods of the SwiftProtobuf library, not generally
466 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
467 /// other serializer methods are defined in the SwiftProtobuf library. See the
468 /// `Message` and `Message+*Additions` files.
469 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
470 if !self.additionalProperties.isEmpty {
471 try visitor.visitRepeatedMessageField(value: self.additionalProperties, fieldNumber: 1)
472 }
473 try unknownFields.traverse(visitor: &visitor)
474 }
475 }
476
477 /// Holds a set of reusable objects for different aspects of the OAS. All objects defined within the components object will have no effect on the API unless they are explicitly referenced from properties outside the components object.
478 public struct Openapi_V3_Components: SwiftProtobuf.Message {
479 public static let protoMessageName: String = _protobuf_package + ".Components"
480
481 public var schemas: Openapi_V3_SchemasOrReferences {
482 get {return _storage._schemas ?? Openapi_V3_SchemasOrReferences()}
483 set {_uniqueStorage()._schemas = newValue}
484 }
485 /// Returns true if `schemas` has been explicitly set.
486 public var hasSchemas: Bool {return _storage._schemas != nil}
487 /// Clears the value of `schemas`. Subsequent reads from it will return its default value.
488 public mutating func clearSchemas() {_storage._schemas = nil}
489
490 public var responses: Openapi_V3_ResponsesOrReferences {
491 get {return _storage._responses ?? Openapi_V3_ResponsesOrReferences()}
492 set {_uniqueStorage()._responses = newValue}
493 }
494 /// Returns true if `responses` has been explicitly set.
495 public var hasResponses: Bool {return _storage._responses != nil}
496 /// Clears the value of `responses`. Subsequent reads from it will return its default value.
497 public mutating func clearResponses() {_storage._responses = nil}
498
499 public var parameters: Openapi_V3_ParametersOrReferences {
500 get {return _storage._parameters ?? Openapi_V3_ParametersOrReferences()}
501 set {_uniqueStorage()._parameters = newValue}
502 }
503 /// Returns true if `parameters` has been explicitly set.
504 public var hasParameters: Bool {return _storage._parameters != nil}
505 /// Clears the value of `parameters`. Subsequent reads from it will return its default value.
506 public mutating func clearParameters() {_storage._parameters = nil}
507
508 public var examples: Openapi_V3_ExamplesOrReferences {
509 get {return _storage._examples ?? Openapi_V3_ExamplesOrReferences()}
510 set {_uniqueStorage()._examples = newValue}
511 }
512 /// Returns true if `examples` has been explicitly set.
513 public var hasExamples: Bool {return _storage._examples != nil}
514 /// Clears the value of `examples`. Subsequent reads from it will return its default value.
515 public mutating func clearExamples() {_storage._examples = nil}
516
517 public var requestBodies: Openapi_V3_RequestBodiesOrReferences {
518 get {return _storage._requestBodies ?? Openapi_V3_RequestBodiesOrReferences()}
519 set {_uniqueStorage()._requestBodies = newValue}
520 }
521 /// Returns true if `requestBodies` has been explicitly set.
522 public var hasRequestBodies: Bool {return _storage._requestBodies != nil}
523 /// Clears the value of `requestBodies`. Subsequent reads from it will return its default value.
524 public mutating func clearRequestBodies() {_storage._requestBodies = nil}
525
526 public var headers: Openapi_V3_HeadersOrReferences {
527 get {return _storage._headers ?? Openapi_V3_HeadersOrReferences()}
528 set {_uniqueStorage()._headers = newValue}
529 }
530 /// Returns true if `headers` has been explicitly set.
531 public var hasHeaders: Bool {return _storage._headers != nil}
532 /// Clears the value of `headers`. Subsequent reads from it will return its default value.
533 public mutating func clearHeaders() {_storage._headers = nil}
534
535 public var securitySchemes: Openapi_V3_SecuritySchemesOrReferences {
536 get {return _storage._securitySchemes ?? Openapi_V3_SecuritySchemesOrReferences()}
537 set {_uniqueStorage()._securitySchemes = newValue}
538 }
539 /// Returns true if `securitySchemes` has been explicitly set.
540 public var hasSecuritySchemes: Bool {return _storage._securitySchemes != nil}
541 /// Clears the value of `securitySchemes`. Subsequent reads from it will return its default value.
542 public mutating func clearSecuritySchemes() {_storage._securitySchemes = nil}
543
544 public var links: Openapi_V3_LinksOrReferences {
545 get {return _storage._links ?? Openapi_V3_LinksOrReferences()}
546 set {_uniqueStorage()._links = newValue}
547 }
548 /// Returns true if `links` has been explicitly set.
549 public var hasLinks: Bool {return _storage._links != nil}
550 /// Clears the value of `links`. Subsequent reads from it will return its default value.
551 public mutating func clearLinks() {_storage._links = nil}
552
553 public var callbacks: Openapi_V3_CallbacksOrReferences {
554 get {return _storage._callbacks ?? Openapi_V3_CallbacksOrReferences()}
555 set {_uniqueStorage()._callbacks = newValue}
556 }
557 /// Returns true if `callbacks` has been explicitly set.
558 public var hasCallbacks: Bool {return _storage._callbacks != nil}
559 /// Clears the value of `callbacks`. Subsequent reads from it will return its default value.
560 public mutating func clearCallbacks() {_storage._callbacks = nil}
561
562 public var specificationExtension: [Openapi_V3_NamedAny] {
563 get {return _storage._specificationExtension}
564 set {_uniqueStorage()._specificationExtension = newValue}
565 }
566
567 public var unknownFields = SwiftProtobuf.UnknownStorage()
568
569 public init() {}
570
571 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
572 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
573 /// initializers are defined in the SwiftProtobuf library. See the Message and
574 /// Message+*Additions` files.
575 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
576 _ = _uniqueStorage()
577 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
578 while let fieldNumber = try decoder.nextFieldNumber() {
579 switch fieldNumber {
580 case 1: try decoder.decodeSingularMessageField(value: &_storage._schemas)
581 case 2: try decoder.decodeSingularMessageField(value: &_storage._responses)
582 case 3: try decoder.decodeSingularMessageField(value: &_storage._parameters)
583 case 4: try decoder.decodeSingularMessageField(value: &_storage._examples)
584 case 5: try decoder.decodeSingularMessageField(value: &_storage._requestBodies)
585 case 6: try decoder.decodeSingularMessageField(value: &_storage._headers)
586 case 7: try decoder.decodeSingularMessageField(value: &_storage._securitySchemes)
587 case 8: try decoder.decodeSingularMessageField(value: &_storage._links)
588 case 9: try decoder.decodeSingularMessageField(value: &_storage._callbacks)
589 case 10: try decoder.decodeRepeatedMessageField(value: &_storage._specificationExtension)
590 default: break
591 }
592 }
593 }
594 }
595
596 /// Used by the encoding methods of the SwiftProtobuf library, not generally
597 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
598 /// other serializer methods are defined in the SwiftProtobuf library. See the
599 /// `Message` and `Message+*Additions` files.
600 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
601 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
602 if let v = _storage._schemas {
603 try visitor.visitSingularMessageField(value: v, fieldNumber: 1)
604 }
605 if let v = _storage._responses {
606 try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
607 }
608 if let v = _storage._parameters {
609 try visitor.visitSingularMessageField(value: v, fieldNumber: 3)
610 }
611 if let v = _storage._examples {
612 try visitor.visitSingularMessageField(value: v, fieldNumber: 4)
613 }
614 if let v = _storage._requestBodies {
615 try visitor.visitSingularMessageField(value: v, fieldNumber: 5)
616 }
617 if let v = _storage._headers {
618 try visitor.visitSingularMessageField(value: v, fieldNumber: 6)
619 }
620 if let v = _storage._securitySchemes {
621 try visitor.visitSingularMessageField(value: v, fieldNumber: 7)
622 }
623 if let v = _storage._links {
624 try visitor.visitSingularMessageField(value: v, fieldNumber: 8)
625 }
626 if let v = _storage._callbacks {
627 try visitor.visitSingularMessageField(value: v, fieldNumber: 9)
628 }
629 if !_storage._specificationExtension.isEmpty {
630 try visitor.visitRepeatedMessageField(value: _storage._specificationExtension, fieldNumber: 10)
631 }
632 }
633 try unknownFields.traverse(visitor: &visitor)
634 }
635
636 fileprivate var _storage = _StorageClass.defaultInstance
637 }
638
639 /// Contact information for the exposed API.
640 public struct Openapi_V3_Contact: SwiftProtobuf.Message {
641 public static let protoMessageName: String = _protobuf_package + ".Contact"
642
643 public var name: String = String()
644
645 public var url: String = String()
646
647 public var email: String = String()
648
649 public var specificationExtension: [Openapi_V3_NamedAny] = []
650
651 public var unknownFields = SwiftProtobuf.UnknownStorage()
652
653 public init() {}
654
655 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
656 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
657 /// initializers are defined in the SwiftProtobuf library. See the Message and
658 /// Message+*Additions` files.
659 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
660 while let fieldNumber = try decoder.nextFieldNumber() {
661 switch fieldNumber {
662 case 1: try decoder.decodeSingularStringField(value: &self.name)
663 case 2: try decoder.decodeSingularStringField(value: &self.url)
664 case 3: try decoder.decodeSingularStringField(value: &self.email)
665 case 4: try decoder.decodeRepeatedMessageField(value: &self.specificationExtension)
666 default: break
667 }
668 }
669 }
670
671 /// Used by the encoding methods of the SwiftProtobuf library, not generally
672 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
673 /// other serializer methods are defined in the SwiftProtobuf library. See the
674 /// `Message` and `Message+*Additions` files.
675 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
676 if !self.name.isEmpty {
677 try visitor.visitSingularStringField(value: self.name, fieldNumber: 1)
678 }
679 if !self.url.isEmpty {
680 try visitor.visitSingularStringField(value: self.url, fieldNumber: 2)
681 }
682 if !self.email.isEmpty {
683 try visitor.visitSingularStringField(value: self.email, fieldNumber: 3)
684 }
685 if !self.specificationExtension.isEmpty {
686 try visitor.visitRepeatedMessageField(value: self.specificationExtension, fieldNumber: 4)
687 }
688 try unknownFields.traverse(visitor: &visitor)
689 }
690 }
691
692 public struct Openapi_V3_DefaultType: SwiftProtobuf.Message {
693 public static let protoMessageName: String = _protobuf_package + ".DefaultType"
694
695 public var oneof: Openapi_V3_DefaultType.OneOf_Oneof? = nil
696
697 public var number: Double {
698 get {
699 if case .number(let v)? = oneof {return v}
700 return 0
701 }
702 set {oneof = .number(newValue)}
703 }
704
705 public var boolean: Bool {
706 get {
707 if case .boolean(let v)? = oneof {return v}
708 return false
709 }
710 set {oneof = .boolean(newValue)}
711 }
712
713 public var string: String {
714 get {
715 if case .string(let v)? = oneof {return v}
716 return String()
717 }
718 set {oneof = .string(newValue)}
719 }
720
721 public var unknownFields = SwiftProtobuf.UnknownStorage()
722
723 public enum OneOf_Oneof: Equatable {
724 case number(Double)
725 case boolean(Bool)
726 case string(String)
727
728 public static func ==(lhs: Openapi_V3_DefaultType.OneOf_Oneof, rhs: Openapi_V3_DefaultType.OneOf_Oneof) -> Bool {
729 switch (lhs, rhs) {
730 case (.number(let l), .number(let r)): return l == r
731 case (.boolean(let l), .boolean(let r)): return l == r
732 case (.string(let l), .string(let r)): return l == r
733 default: return false
734 }
735 }
736 }
737
738 public init() {}
739
740 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
741 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
742 /// initializers are defined in the SwiftProtobuf library. See the Message and
743 /// Message+*Additions` files.
744 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
745 while let fieldNumber = try decoder.nextFieldNumber() {
746 switch fieldNumber {
747 case 1:
748 if self.oneof != nil {try decoder.handleConflictingOneOf()}
749 var v: Double?
750 try decoder.decodeSingularDoubleField(value: &v)
751 if let v = v {self.oneof = .number(v)}
752 case 2:
753 if self.oneof != nil {try decoder.handleConflictingOneOf()}
754 var v: Bool?
755 try decoder.decodeSingularBoolField(value: &v)
756 if let v = v {self.oneof = .boolean(v)}
757 case 3:
758 if self.oneof != nil {try decoder.handleConflictingOneOf()}
759 var v: String?
760 try decoder.decodeSingularStringField(value: &v)
761 if let v = v {self.oneof = .string(v)}
762 default: break
763 }
764 }
765 }
766
767 /// Used by the encoding methods of the SwiftProtobuf library, not generally
768 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
769 /// other serializer methods are defined in the SwiftProtobuf library. See the
770 /// `Message` and `Message+*Additions` files.
771 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
772 switch self.oneof {
773 case .number(let v)?:
774 try visitor.visitSingularDoubleField(value: v, fieldNumber: 1)
775 case .boolean(let v)?:
776 try visitor.visitSingularBoolField(value: v, fieldNumber: 2)
777 case .string(let v)?:
778 try visitor.visitSingularStringField(value: v, fieldNumber: 3)
779 case nil: break
780 }
781 try unknownFields.traverse(visitor: &visitor)
782 }
783 }
784
785 /// When request bodies or response payloads may be one of a number of different schemas, a `discriminator` object can be used to aid in serialization, deserialization, and validation. The discriminator is a specific object in a schema which is used to inform the consumer of the specification of an alternative schema based on the value associated with it. When using the discriminator, _inline_ schemas will not be considered.
786 public struct Openapi_V3_Discriminator: SwiftProtobuf.Message {
787 public static let protoMessageName: String = _protobuf_package + ".Discriminator"
788
789 public var propertyName: String {
790 get {return _storage._propertyName}
791 set {_uniqueStorage()._propertyName = newValue}
792 }
793
794 public var mapping: Openapi_V3_Strings {
795 get {return _storage._mapping ?? Openapi_V3_Strings()}
796 set {_uniqueStorage()._mapping = newValue}
797 }
798 /// Returns true if `mapping` has been explicitly set.
799 public var hasMapping: Bool {return _storage._mapping != nil}
800 /// Clears the value of `mapping`. Subsequent reads from it will return its default value.
801 public mutating func clearMapping() {_storage._mapping = nil}
802
803 public var unknownFields = SwiftProtobuf.UnknownStorage()
804
805 public init() {}
806
807 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
808 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
809 /// initializers are defined in the SwiftProtobuf library. See the Message and
810 /// Message+*Additions` files.
811 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
812 _ = _uniqueStorage()
813 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
814 while let fieldNumber = try decoder.nextFieldNumber() {
815 switch fieldNumber {
816 case 1: try decoder.decodeSingularStringField(value: &_storage._propertyName)
817 case 2: try decoder.decodeSingularMessageField(value: &_storage._mapping)
818 default: break
819 }
820 }
821 }
822 }
823
824 /// Used by the encoding methods of the SwiftProtobuf library, not generally
825 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
826 /// other serializer methods are defined in the SwiftProtobuf library. See the
827 /// `Message` and `Message+*Additions` files.
828 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
829 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
830 if !_storage._propertyName.isEmpty {
831 try visitor.visitSingularStringField(value: _storage._propertyName, fieldNumber: 1)
832 }
833 if let v = _storage._mapping {
834 try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
835 }
836 }
837 try unknownFields.traverse(visitor: &visitor)
838 }
839
840 fileprivate var _storage = _StorageClass.defaultInstance
841 }
842
843 public struct Openapi_V3_Document: SwiftProtobuf.Message {
844 public static let protoMessageName: String = _protobuf_package + ".Document"
845
846 public var openapi: String {
847 get {return _storage._openapi}
848 set {_uniqueStorage()._openapi = newValue}
849 }
850
851 public var info: Openapi_V3_Info {
852 get {return _storage._info ?? Openapi_V3_Info()}
853 set {_uniqueStorage()._info = newValue}
854 }
855 /// Returns true if `info` has been explicitly set.
856 public var hasInfo: Bool {return _storage._info != nil}
857 /// Clears the value of `info`. Subsequent reads from it will return its default value.
858 public mutating func clearInfo() {_storage._info = nil}
859
860 public var servers: [Openapi_V3_Server] {
861 get {return _storage._servers}
862 set {_uniqueStorage()._servers = newValue}
863 }
864
865 public var paths: Openapi_V3_Paths {
866 get {return _storage._paths ?? Openapi_V3_Paths()}
867 set {_uniqueStorage()._paths = newValue}
868 }
869 /// Returns true if `paths` has been explicitly set.
870 public var hasPaths: Bool {return _storage._paths != nil}
871 /// Clears the value of `paths`. Subsequent reads from it will return its default value.
872 public mutating func clearPaths() {_storage._paths = nil}
873
874 public var components: Openapi_V3_Components {
875 get {return _storage._components ?? Openapi_V3_Components()}
876 set {_uniqueStorage()._components = newValue}
877 }
878 /// Returns true if `components` has been explicitly set.
879 public var hasComponents: Bool {return _storage._components != nil}
880 /// Clears the value of `components`. Subsequent reads from it will return its default value.
881 public mutating func clearComponents() {_storage._components = nil}
882
883 public var security: [Openapi_V3_SecurityRequirement] {
884 get {return _storage._security}
885 set {_uniqueStorage()._security = newValue}
886 }
887
888 public var tags: [Openapi_V3_Tag] {
889 get {return _storage._tags}
890 set {_uniqueStorage()._tags = newValue}
891 }
892
893 public var externalDocs: Openapi_V3_ExternalDocs {
894 get {return _storage._externalDocs ?? Openapi_V3_ExternalDocs()}
895 set {_uniqueStorage()._externalDocs = newValue}
896 }
897 /// Returns true if `externalDocs` has been explicitly set.
898 public var hasExternalDocs: Bool {return _storage._externalDocs != nil}
899 /// Clears the value of `externalDocs`. Subsequent reads from it will return its default value.
900 public mutating func clearExternalDocs() {_storage._externalDocs = nil}
901
902 public var specificationExtension: [Openapi_V3_NamedAny] {
903 get {return _storage._specificationExtension}
904 set {_uniqueStorage()._specificationExtension = newValue}
905 }
906
907 public var unknownFields = SwiftProtobuf.UnknownStorage()
908
909 public init() {}
910
911 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
912 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
913 /// initializers are defined in the SwiftProtobuf library. See the Message and
914 /// Message+*Additions` files.
915 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
916 _ = _uniqueStorage()
917 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
918 while let fieldNumber = try decoder.nextFieldNumber() {
919 switch fieldNumber {
920 case 1: try decoder.decodeSingularStringField(value: &_storage._openapi)
921 case 2: try decoder.decodeSingularMessageField(value: &_storage._info)
922 case 3: try decoder.decodeRepeatedMessageField(value: &_storage._servers)
923 case 4: try decoder.decodeSingularMessageField(value: &_storage._paths)
924 case 5: try decoder.decodeSingularMessageField(value: &_storage._components)
925 case 6: try decoder.decodeRepeatedMessageField(value: &_storage._security)
926 case 7: try decoder.decodeRepeatedMessageField(value: &_storage._tags)
927 case 8: try decoder.decodeSingularMessageField(value: &_storage._externalDocs)
928 case 9: try decoder.decodeRepeatedMessageField(value: &_storage._specificationExtension)
929 default: break
930 }
931 }
932 }
933 }
934
935 /// Used by the encoding methods of the SwiftProtobuf library, not generally
936 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
937 /// other serializer methods are defined in the SwiftProtobuf library. See the
938 /// `Message` and `Message+*Additions` files.
939 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
940 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
941 if !_storage._openapi.isEmpty {
942 try visitor.visitSingularStringField(value: _storage._openapi, fieldNumber: 1)
943 }
944 if let v = _storage._info {
945 try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
946 }
947 if !_storage._servers.isEmpty {
948 try visitor.visitRepeatedMessageField(value: _storage._servers, fieldNumber: 3)
949 }
950 if let v = _storage._paths {
951 try visitor.visitSingularMessageField(value: v, fieldNumber: 4)
952 }
953 if let v = _storage._components {
954 try visitor.visitSingularMessageField(value: v, fieldNumber: 5)
955 }
956 if !_storage._security.isEmpty {
957 try visitor.visitRepeatedMessageField(value: _storage._security, fieldNumber: 6)
958 }
959 if !_storage._tags.isEmpty {
960 try visitor.visitRepeatedMessageField(value: _storage._tags, fieldNumber: 7)
961 }
962 if let v = _storage._externalDocs {
963 try visitor.visitSingularMessageField(value: v, fieldNumber: 8)
964 }
965 if !_storage._specificationExtension.isEmpty {
966 try visitor.visitRepeatedMessageField(value: _storage._specificationExtension, fieldNumber: 9)
967 }
968 }
969 try unknownFields.traverse(visitor: &visitor)
970 }
971
972 fileprivate var _storage = _StorageClass.defaultInstance
973 }
974
975 /// A single encoding definition applied to a single schema property.
976 public struct Openapi_V3_Encoding: SwiftProtobuf.Message {
977 public static let protoMessageName: String = _protobuf_package + ".Encoding"
978
979 public var contentType: String {
980 get {return _storage._contentType}
981 set {_uniqueStorage()._contentType = newValue}
982 }
983
984 public var headers: Openapi_V3_HeadersOrReferences {
985 get {return _storage._headers ?? Openapi_V3_HeadersOrReferences()}
986 set {_uniqueStorage()._headers = newValue}
987 }
988 /// Returns true if `headers` has been explicitly set.
989 public var hasHeaders: Bool {return _storage._headers != nil}
990 /// Clears the value of `headers`. Subsequent reads from it will return its default value.
991 public mutating func clearHeaders() {_storage._headers = nil}
992
993 public var style: String {
994 get {return _storage._style}
995 set {_uniqueStorage()._style = newValue}
996 }
997
998 public var explode: Bool {
999 get {return _storage._explode}
1000 set {_uniqueStorage()._explode = newValue}
1001 }
1002
1003 public var allowReserved: Bool {
1004 get {return _storage._allowReserved}
1005 set {_uniqueStorage()._allowReserved = newValue}
1006 }
1007
1008 public var specificationExtension: [Openapi_V3_NamedAny] {
1009 get {return _storage._specificationExtension}
1010 set {_uniqueStorage()._specificationExtension = newValue}
1011 }
1012
1013 public var unknownFields = SwiftProtobuf.UnknownStorage()
1014
1015 public init() {}
1016
1017 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
1018 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
1019 /// initializers are defined in the SwiftProtobuf library. See the Message and
1020 /// Message+*Additions` files.
1021 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
1022 _ = _uniqueStorage()
1023 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
1024 while let fieldNumber = try decoder.nextFieldNumber() {
1025 switch fieldNumber {
1026 case 1: try decoder.decodeSingularStringField(value: &_storage._contentType)
1027 case 2: try decoder.decodeSingularMessageField(value: &_storage._headers)
1028 case 3: try decoder.decodeSingularStringField(value: &_storage._style)
1029 case 4: try decoder.decodeSingularBoolField(value: &_storage._explode)
1030 case 5: try decoder.decodeSingularBoolField(value: &_storage._allowReserved)
1031 case 6: try decoder.decodeRepeatedMessageField(value: &_storage._specificationExtension)
1032 default: break
1033 }
1034 }
1035 }
1036 }
1037
1038 /// Used by the encoding methods of the SwiftProtobuf library, not generally
1039 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
1040 /// other serializer methods are defined in the SwiftProtobuf library. See the
1041 /// `Message` and `Message+*Additions` files.
1042 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
1043 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
1044 if !_storage._contentType.isEmpty {
1045 try visitor.visitSingularStringField(value: _storage._contentType, fieldNumber: 1)
1046 }
1047 if let v = _storage._headers {
1048 try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
1049 }
1050 if !_storage._style.isEmpty {
1051 try visitor.visitSingularStringField(value: _storage._style, fieldNumber: 3)
1052 }
1053 if _storage._explode != false {
1054 try visitor.visitSingularBoolField(value: _storage._explode, fieldNumber: 4)
1055 }
1056 if _storage._allowReserved != false {
1057 try visitor.visitSingularBoolField(value: _storage._allowReserved, fieldNumber: 5)
1058 }
1059 if !_storage._specificationExtension.isEmpty {
1060 try visitor.visitRepeatedMessageField(value: _storage._specificationExtension, fieldNumber: 6)
1061 }
1062 }
1063 try unknownFields.traverse(visitor: &visitor)
1064 }
1065
1066 fileprivate var _storage = _StorageClass.defaultInstance
1067 }
1068
1069 public struct Openapi_V3_Encodings: SwiftProtobuf.Message {
1070 public static let protoMessageName: String = _protobuf_package + ".Encodings"
1071
1072 public var additionalProperties: [Openapi_V3_NamedEncoding] = []
1073
1074 public var unknownFields = SwiftProtobuf.UnknownStorage()
1075
1076 public init() {}
1077
1078 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
1079 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
1080 /// initializers are defined in the SwiftProtobuf library. See the Message and
1081 /// Message+*Additions` files.
1082 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
1083 while let fieldNumber = try decoder.nextFieldNumber() {
1084 switch fieldNumber {
1085 case 1: try decoder.decodeRepeatedMessageField(value: &self.additionalProperties)
1086 default: break
1087 }
1088 }
1089 }
1090
1091 /// Used by the encoding methods of the SwiftProtobuf library, not generally
1092 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
1093 /// other serializer methods are defined in the SwiftProtobuf library. See the
1094 /// `Message` and `Message+*Additions` files.
1095 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
1096 if !self.additionalProperties.isEmpty {
1097 try visitor.visitRepeatedMessageField(value: self.additionalProperties, fieldNumber: 1)
1098 }
1099 try unknownFields.traverse(visitor: &visitor)
1100 }
1101 }
1102
1103 public struct Openapi_V3_Example: SwiftProtobuf.Message {
1104 public static let protoMessageName: String = _protobuf_package + ".Example"
1105
1106 public var summary: String {
1107 get {return _storage._summary}
1108 set {_uniqueStorage()._summary = newValue}
1109 }
1110
1111 public var description_p: String {
1112 get {return _storage._description_p}
1113 set {_uniqueStorage()._description_p = newValue}
1114 }
1115
1116 public var value: Openapi_V3_Any {
1117 get {return _storage._value ?? Openapi_V3_Any()}
1118 set {_uniqueStorage()._value = newValue}
1119 }
1120 /// Returns true if `value` has been explicitly set.
1121 public var hasValue: Bool {return _storage._value != nil}
1122 /// Clears the value of `value`. Subsequent reads from it will return its default value.
1123 public mutating func clearValue() {_storage._value = nil}
1124
1125 public var externalValue: String {
1126 get {return _storage._externalValue}
1127 set {_uniqueStorage()._externalValue = newValue}
1128 }
1129
1130 public var specificationExtension: [Openapi_V3_NamedAny] {
1131 get {return _storage._specificationExtension}
1132 set {_uniqueStorage()._specificationExtension = newValue}
1133 }
1134
1135 public var unknownFields = SwiftProtobuf.UnknownStorage()
1136
1137 public init() {}
1138
1139 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
1140 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
1141 /// initializers are defined in the SwiftProtobuf library. See the Message and
1142 /// Message+*Additions` files.
1143 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
1144 _ = _uniqueStorage()
1145 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
1146 while let fieldNumber = try decoder.nextFieldNumber() {
1147 switch fieldNumber {
1148 case 1: try decoder.decodeSingularStringField(value: &_storage._summary)
1149 case 2: try decoder.decodeSingularStringField(value: &_storage._description_p)
1150 case 3: try decoder.decodeSingularMessageField(value: &_storage._value)
1151 case 4: try decoder.decodeSingularStringField(value: &_storage._externalValue)
1152 case 5: try decoder.decodeRepeatedMessageField(value: &_storage._specificationExtension)
1153 default: break
1154 }
1155 }
1156 }
1157 }
1158
1159 /// Used by the encoding methods of the SwiftProtobuf library, not generally
1160 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
1161 /// other serializer methods are defined in the SwiftProtobuf library. See the
1162 /// `Message` and `Message+*Additions` files.
1163 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
1164 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
1165 if !_storage._summary.isEmpty {
1166 try visitor.visitSingularStringField(value: _storage._summary, fieldNumber: 1)
1167 }
1168 if !_storage._description_p.isEmpty {
1169 try visitor.visitSingularStringField(value: _storage._description_p, fieldNumber: 2)
1170 }
1171 if let v = _storage._value {
1172 try visitor.visitSingularMessageField(value: v, fieldNumber: 3)
1173 }
1174 if !_storage._externalValue.isEmpty {
1175 try visitor.visitSingularStringField(value: _storage._externalValue, fieldNumber: 4)
1176 }
1177 if !_storage._specificationExtension.isEmpty {
1178 try visitor.visitRepeatedMessageField(value: _storage._specificationExtension, fieldNumber: 5)
1179 }
1180 }
1181 try unknownFields.traverse(visitor: &visitor)
1182 }
1183
1184 fileprivate var _storage = _StorageClass.defaultInstance
1185 }
1186
1187 public struct Openapi_V3_ExampleOrReference: SwiftProtobuf.Message {
1188 public static let protoMessageName: String = _protobuf_package + ".ExampleOrReference"
1189
1190 public var oneof: OneOf_Oneof? {
1191 get {return _storage._oneof}
1192 set {_uniqueStorage()._oneof = newValue}
1193 }
1194
1195 public var example: Openapi_V3_Example {
1196 get {
1197 if case .example(let v)? = _storage._oneof {return v}
1198 return Openapi_V3_Example()
1199 }
1200 set {_uniqueStorage()._oneof = .example(newValue)}
1201 }
1202
1203 public var reference: Openapi_V3_Reference {
1204 get {
1205 if case .reference(let v)? = _storage._oneof {return v}
1206 return Openapi_V3_Reference()
1207 }
1208 set {_uniqueStorage()._oneof = .reference(newValue)}
1209 }
1210
1211 public var unknownFields = SwiftProtobuf.UnknownStorage()
1212
1213 public enum OneOf_Oneof: Equatable {
1214 case example(Openapi_V3_Example)
1215 case reference(Openapi_V3_Reference)
1216
1217 public static func ==(lhs: Openapi_V3_ExampleOrReference.OneOf_Oneof, rhs: Openapi_V3_ExampleOrReference.OneOf_Oneof) -> Bool {
1218 switch (lhs, rhs) {
1219 case (.example(let l), .example(let r)): return l == r
1220 case (.reference(let l), .reference(let r)): return l == r
1221 default: return false
1222 }
1223 }
1224 }
1225
1226 public init() {}
1227
1228 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
1229 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
1230 /// initializers are defined in the SwiftProtobuf library. See the Message and
1231 /// Message+*Additions` files.
1232 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
1233 _ = _uniqueStorage()
1234 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
1235 while let fieldNumber = try decoder.nextFieldNumber() {
1236 switch fieldNumber {
1237 case 1:
1238 var v: Openapi_V3_Example?
1239 if let current = _storage._oneof {
1240 try decoder.handleConflictingOneOf()
1241 if case .example(let m) = current {v = m}
1242 }
1243 try decoder.decodeSingularMessageField(value: &v)
1244 if let v = v {_storage._oneof = .example(v)}
1245 case 2:
1246 var v: Openapi_V3_Reference?
1247 if let current = _storage._oneof {
1248 try decoder.handleConflictingOneOf()
1249 if case .reference(let m) = current {v = m}
1250 }
1251 try decoder.decodeSingularMessageField(value: &v)
1252 if let v = v {_storage._oneof = .reference(v)}
1253 default: break
1254 }
1255 }
1256 }
1257 }
1258
1259 /// Used by the encoding methods of the SwiftProtobuf library, not generally
1260 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
1261 /// other serializer methods are defined in the SwiftProtobuf library. See the
1262 /// `Message` and `Message+*Additions` files.
1263 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
1264 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
1265 switch _storage._oneof {
1266 case .example(let v)?:
1267 try visitor.visitSingularMessageField(value: v, fieldNumber: 1)
1268 case .reference(let v)?:
1269 try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
1270 case nil: break
1271 }
1272 }
1273 try unknownFields.traverse(visitor: &visitor)
1274 }
1275
1276 fileprivate var _storage = _StorageClass.defaultInstance
1277 }
1278
1279 public struct Openapi_V3_Examples: SwiftProtobuf.Message {
1280 public static let protoMessageName: String = _protobuf_package + ".Examples"
1281
1282 public var unknownFields = SwiftProtobuf.UnknownStorage()
1283
1284 public init() {}
1285
1286 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
1287 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
1288 /// initializers are defined in the SwiftProtobuf library. See the Message and
1289 /// Message+*Additions` files.
1290 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
1291 while let _ = try decoder.nextFieldNumber() {
1292 }
1293 }
1294
1295 /// Used by the encoding methods of the SwiftProtobuf library, not generally
1296 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
1297 /// other serializer methods are defined in the SwiftProtobuf library. See the
1298 /// `Message` and `Message+*Additions` files.
1299 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
1300 try unknownFields.traverse(visitor: &visitor)
1301 }
1302 }
1303
1304 public struct Openapi_V3_ExamplesOrReferences: SwiftProtobuf.Message {
1305 public static let protoMessageName: String = _protobuf_package + ".ExamplesOrReferences"
1306
1307 public var additionalProperties: [Openapi_V3_NamedExampleOrReference] = []
1308
1309 public var unknownFields = SwiftProtobuf.UnknownStorage()
1310
1311 public init() {}
1312
1313 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
1314 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
1315 /// initializers are defined in the SwiftProtobuf library. See the Message and
1316 /// Message+*Additions` files.
1317 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
1318 while let fieldNumber = try decoder.nextFieldNumber() {
1319 switch fieldNumber {
1320 case 1: try decoder.decodeRepeatedMessageField(value: &self.additionalProperties)
1321 default: break
1322 }
1323 }
1324 }
1325
1326 /// Used by the encoding methods of the SwiftProtobuf library, not generally
1327 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
1328 /// other serializer methods are defined in the SwiftProtobuf library. See the
1329 /// `Message` and `Message+*Additions` files.
1330 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
1331 if !self.additionalProperties.isEmpty {
1332 try visitor.visitRepeatedMessageField(value: self.additionalProperties, fieldNumber: 1)
1333 }
1334 try unknownFields.traverse(visitor: &visitor)
1335 }
1336 }
1337
1338 public struct Openapi_V3_Expression: SwiftProtobuf.Message {
1339 public static let protoMessageName: String = _protobuf_package + ".Expression"
1340
1341 public var additionalProperties: [Openapi_V3_NamedAny] = []
1342
1343 public var unknownFields = SwiftProtobuf.UnknownStorage()
1344
1345 public init() {}
1346
1347 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
1348 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
1349 /// initializers are defined in the SwiftProtobuf library. See the Message and
1350 /// Message+*Additions` files.
1351 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
1352 while let fieldNumber = try decoder.nextFieldNumber() {
1353 switch fieldNumber {
1354 case 1: try decoder.decodeRepeatedMessageField(value: &self.additionalProperties)
1355 default: break
1356 }
1357 }
1358 }
1359
1360 /// Used by the encoding methods of the SwiftProtobuf library, not generally
1361 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
1362 /// other serializer methods are defined in the SwiftProtobuf library. See the
1363 /// `Message` and `Message+*Additions` files.
1364 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
1365 if !self.additionalProperties.isEmpty {
1366 try visitor.visitRepeatedMessageField(value: self.additionalProperties, fieldNumber: 1)
1367 }
1368 try unknownFields.traverse(visitor: &visitor)
1369 }
1370 }
1371
1372 /// Allows referencing an external resource for extended documentation.
1373 public struct Openapi_V3_ExternalDocs: SwiftProtobuf.Message {
1374 public static let protoMessageName: String = _protobuf_package + ".ExternalDocs"
1375
1376 public var description_p: String = String()
1377
1378 public var url: String = String()
1379
1380 public var specificationExtension: [Openapi_V3_NamedAny] = []
1381
1382 public var unknownFields = SwiftProtobuf.UnknownStorage()
1383
1384 public init() {}
1385
1386 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
1387 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
1388 /// initializers are defined in the SwiftProtobuf library. See the Message and
1389 /// Message+*Additions` files.
1390 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
1391 while let fieldNumber = try decoder.nextFieldNumber() {
1392 switch fieldNumber {
1393 case 1: try decoder.decodeSingularStringField(value: &self.description_p)
1394 case 2: try decoder.decodeSingularStringField(value: &self.url)
1395 case 3: try decoder.decodeRepeatedMessageField(value: &self.specificationExtension)
1396 default: break
1397 }
1398 }
1399 }
1400
1401 /// Used by the encoding methods of the SwiftProtobuf library, not generally
1402 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
1403 /// other serializer methods are defined in the SwiftProtobuf library. See the
1404 /// `Message` and `Message+*Additions` files.
1405 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
1406 if !self.description_p.isEmpty {
1407 try visitor.visitSingularStringField(value: self.description_p, fieldNumber: 1)
1408 }
1409 if !self.url.isEmpty {
1410 try visitor.visitSingularStringField(value: self.url, fieldNumber: 2)
1411 }
1412 if !self.specificationExtension.isEmpty {
1413 try visitor.visitRepeatedMessageField(value: self.specificationExtension, fieldNumber: 3)
1414 }
1415 try unknownFields.traverse(visitor: &visitor)
1416 }
1417 }
1418
1419 /// The Header Object follows the structure of the Parameter Object with the following changes: 1. `name` MUST NOT be specified, it is given in the corresponding `headers` map. 1. `in` MUST NOT be specified, it is implicitly in `header`. 1. All traits that are affected by the location MUST be applicable to a location of `header` (for example, `style`).
1420 public struct Openapi_V3_Header: SwiftProtobuf.Message {
1421 public static let protoMessageName: String = _protobuf_package + ".Header"
1422
1423 public var description_p: String {
1424 get {return _storage._description_p}
1425 set {_uniqueStorage()._description_p = newValue}
1426 }
1427
1428 public var required: Bool {
1429 get {return _storage._required}
1430 set {_uniqueStorage()._required = newValue}
1431 }
1432
1433 public var deprecated: Bool {
1434 get {return _storage._deprecated}
1435 set {_uniqueStorage()._deprecated = newValue}
1436 }
1437
1438 public var allowEmptyValue: Bool {
1439 get {return _storage._allowEmptyValue}
1440 set {_uniqueStorage()._allowEmptyValue = newValue}
1441 }
1442
1443 public var style: String {
1444 get {return _storage._style}
1445 set {_uniqueStorage()._style = newValue}
1446 }
1447
1448 public var explode: Bool {
1449 get {return _storage._explode}
1450 set {_uniqueStorage()._explode = newValue}
1451 }
1452
1453 public var allowReserved: Bool {
1454 get {return _storage._allowReserved}
1455 set {_uniqueStorage()._allowReserved = newValue}
1456 }
1457
1458 public var schema: Openapi_V3_SchemaOrReference {
1459 get {return _storage._schema ?? Openapi_V3_SchemaOrReference()}
1460 set {_uniqueStorage()._schema = newValue}
1461 }
1462 /// Returns true if `schema` has been explicitly set.
1463 public var hasSchema: Bool {return _storage._schema != nil}
1464 /// Clears the value of `schema`. Subsequent reads from it will return its default value.
1465 public mutating func clearSchema() {_storage._schema = nil}
1466
1467 public var example: Openapi_V3_Any {
1468 get {return _storage._example ?? Openapi_V3_Any()}
1469 set {_uniqueStorage()._example = newValue}
1470 }
1471 /// Returns true if `example` has been explicitly set.
1472 public var hasExample: Bool {return _storage._example != nil}
1473 /// Clears the value of `example`. Subsequent reads from it will return its default value.
1474 public mutating func clearExample() {_storage._example = nil}
1475
1476 public var examples: Openapi_V3_ExamplesOrReferences {
1477 get {return _storage._examples ?? Openapi_V3_ExamplesOrReferences()}
1478 set {_uniqueStorage()._examples = newValue}
1479 }
1480 /// Returns true if `examples` has been explicitly set.
1481 public var hasExamples: Bool {return _storage._examples != nil}
1482 /// Clears the value of `examples`. Subsequent reads from it will return its default value.
1483 public mutating func clearExamples() {_storage._examples = nil}
1484
1485 public var content: Openapi_V3_MediaTypes {
1486 get {return _storage._content ?? Openapi_V3_MediaTypes()}
1487 set {_uniqueStorage()._content = newValue}
1488 }
1489 /// Returns true if `content` has been explicitly set.
1490 public var hasContent: Bool {return _storage._content != nil}
1491 /// Clears the value of `content`. Subsequent reads from it will return its default value.
1492 public mutating func clearContent() {_storage._content = nil}
1493
1494 public var specificationExtension: [Openapi_V3_NamedAny] {
1495 get {return _storage._specificationExtension}
1496 set {_uniqueStorage()._specificationExtension = newValue}
1497 }
1498
1499 public var unknownFields = SwiftProtobuf.UnknownStorage()
1500
1501 public init() {}
1502
1503 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
1504 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
1505 /// initializers are defined in the SwiftProtobuf library. See the Message and
1506 /// Message+*Additions` files.
1507 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
1508 _ = _uniqueStorage()
1509 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
1510 while let fieldNumber = try decoder.nextFieldNumber() {
1511 switch fieldNumber {
1512 case 1: try decoder.decodeSingularStringField(value: &_storage._description_p)
1513 case 2: try decoder.decodeSingularBoolField(value: &_storage._required)
1514 case 3: try decoder.decodeSingularBoolField(value: &_storage._deprecated)
1515 case 4: try decoder.decodeSingularBoolField(value: &_storage._allowEmptyValue)
1516 case 5: try decoder.decodeSingularStringField(value: &_storage._style)
1517 case 6: try decoder.decodeSingularBoolField(value: &_storage._explode)
1518 case 7: try decoder.decodeSingularBoolField(value: &_storage._allowReserved)
1519 case 8: try decoder.decodeSingularMessageField(value: &_storage._schema)
1520 case 9: try decoder.decodeSingularMessageField(value: &_storage._example)
1521 case 10: try decoder.decodeSingularMessageField(value: &_storage._examples)
1522 case 11: try decoder.decodeSingularMessageField(value: &_storage._content)
1523 case 12: try decoder.decodeRepeatedMessageField(value: &_storage._specificationExtension)
1524 default: break
1525 }
1526 }
1527 }
1528 }
1529
1530 /// Used by the encoding methods of the SwiftProtobuf library, not generally
1531 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
1532 /// other serializer methods are defined in the SwiftProtobuf library. See the
1533 /// `Message` and `Message+*Additions` files.
1534 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
1535 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
1536 if !_storage._description_p.isEmpty {
1537 try visitor.visitSingularStringField(value: _storage._description_p, fieldNumber: 1)
1538 }
1539 if _storage._required != false {
1540 try visitor.visitSingularBoolField(value: _storage._required, fieldNumber: 2)
1541 }
1542 if _storage._deprecated != false {
1543 try visitor.visitSingularBoolField(value: _storage._deprecated, fieldNumber: 3)
1544 }
1545 if _storage._allowEmptyValue != false {
1546 try visitor.visitSingularBoolField(value: _storage._allowEmptyValue, fieldNumber: 4)
1547 }
1548 if !_storage._style.isEmpty {
1549 try visitor.visitSingularStringField(value: _storage._style, fieldNumber: 5)
1550 }
1551 if _storage._explode != false {
1552 try visitor.visitSingularBoolField(value: _storage._explode, fieldNumber: 6)
1553 }
1554 if _storage._allowReserved != false {
1555 try visitor.visitSingularBoolField(value: _storage._allowReserved, fieldNumber: 7)
1556 }
1557 if let v = _storage._schema {
1558 try visitor.visitSingularMessageField(value: v, fieldNumber: 8)
1559 }
1560 if let v = _storage._example {
1561 try visitor.visitSingularMessageField(value: v, fieldNumber: 9)
1562 }
1563 if let v = _storage._examples {
1564 try visitor.visitSingularMessageField(value: v, fieldNumber: 10)
1565 }
1566 if let v = _storage._content {
1567 try visitor.visitSingularMessageField(value: v, fieldNumber: 11)
1568 }
1569 if !_storage._specificationExtension.isEmpty {
1570 try visitor.visitRepeatedMessageField(value: _storage._specificationExtension, fieldNumber: 12)
1571 }
1572 }
1573 try unknownFields.traverse(visitor: &visitor)
1574 }
1575
1576 fileprivate var _storage = _StorageClass.defaultInstance
1577 }
1578
1579 public struct Openapi_V3_HeaderOrReference: SwiftProtobuf.Message {
1580 public static let protoMessageName: String = _protobuf_package + ".HeaderOrReference"
1581
1582 public var oneof: OneOf_Oneof? {
1583 get {return _storage._oneof}
1584 set {_uniqueStorage()._oneof = newValue}
1585 }
1586
1587 public var header: Openapi_V3_Header {
1588 get {
1589 if case .header(let v)? = _storage._oneof {return v}
1590 return Openapi_V3_Header()
1591 }
1592 set {_uniqueStorage()._oneof = .header(newValue)}
1593 }
1594
1595 public var reference: Openapi_V3_Reference {
1596 get {
1597 if case .reference(let v)? = _storage._oneof {return v}
1598 return Openapi_V3_Reference()
1599 }
1600 set {_uniqueStorage()._oneof = .reference(newValue)}
1601 }
1602
1603 public var unknownFields = SwiftProtobuf.UnknownStorage()
1604
1605 public enum OneOf_Oneof: Equatable {
1606 case header(Openapi_V3_Header)
1607 case reference(Openapi_V3_Reference)
1608
1609 public static func ==(lhs: Openapi_V3_HeaderOrReference.OneOf_Oneof, rhs: Openapi_V3_HeaderOrReference.OneOf_Oneof) -> Bool {
1610 switch (lhs, rhs) {
1611 case (.header(let l), .header(let r)): return l == r
1612 case (.reference(let l), .reference(let r)): return l == r
1613 default: return false
1614 }
1615 }
1616 }
1617
1618 public init() {}
1619
1620 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
1621 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
1622 /// initializers are defined in the SwiftProtobuf library. See the Message and
1623 /// Message+*Additions` files.
1624 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
1625 _ = _uniqueStorage()
1626 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
1627 while let fieldNumber = try decoder.nextFieldNumber() {
1628 switch fieldNumber {
1629 case 1:
1630 var v: Openapi_V3_Header?
1631 if let current = _storage._oneof {
1632 try decoder.handleConflictingOneOf()
1633 if case .header(let m) = current {v = m}
1634 }
1635 try decoder.decodeSingularMessageField(value: &v)
1636 if let v = v {_storage._oneof = .header(v)}
1637 case 2:
1638 var v: Openapi_V3_Reference?
1639 if let current = _storage._oneof {
1640 try decoder.handleConflictingOneOf()
1641 if case .reference(let m) = current {v = m}
1642 }
1643 try decoder.decodeSingularMessageField(value: &v)
1644 if let v = v {_storage._oneof = .reference(v)}
1645 default: break
1646 }
1647 }
1648 }
1649 }
1650
1651 /// Used by the encoding methods of the SwiftProtobuf library, not generally
1652 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
1653 /// other serializer methods are defined in the SwiftProtobuf library. See the
1654 /// `Message` and `Message+*Additions` files.
1655 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
1656 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
1657 switch _storage._oneof {
1658 case .header(let v)?:
1659 try visitor.visitSingularMessageField(value: v, fieldNumber: 1)
1660 case .reference(let v)?:
1661 try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
1662 case nil: break
1663 }
1664 }
1665 try unknownFields.traverse(visitor: &visitor)
1666 }
1667
1668 fileprivate var _storage = _StorageClass.defaultInstance
1669 }
1670
1671 public struct Openapi_V3_HeadersOrReferences: SwiftProtobuf.Message {
1672 public static let protoMessageName: String = _protobuf_package + ".HeadersOrReferences"
1673
1674 public var additionalProperties: [Openapi_V3_NamedHeaderOrReference] = []
1675
1676 public var unknownFields = SwiftProtobuf.UnknownStorage()
1677
1678 public init() {}
1679
1680 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
1681 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
1682 /// initializers are defined in the SwiftProtobuf library. See the Message and
1683 /// Message+*Additions` files.
1684 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
1685 while let fieldNumber = try decoder.nextFieldNumber() {
1686 switch fieldNumber {
1687 case 1: try decoder.decodeRepeatedMessageField(value: &self.additionalProperties)
1688 default: break
1689 }
1690 }
1691 }
1692
1693 /// Used by the encoding methods of the SwiftProtobuf library, not generally
1694 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
1695 /// other serializer methods are defined in the SwiftProtobuf library. See the
1696 /// `Message` and `Message+*Additions` files.
1697 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
1698 if !self.additionalProperties.isEmpty {
1699 try visitor.visitRepeatedMessageField(value: self.additionalProperties, fieldNumber: 1)
1700 }
1701 try unknownFields.traverse(visitor: &visitor)
1702 }
1703 }
1704
1705 /// The object provides metadata about the API. The metadata MAY be used by the clients if needed, and MAY be presented in editing or documentation generation tools for convenience.
1706 public struct Openapi_V3_Info: SwiftProtobuf.Message {
1707 public static let protoMessageName: String = _protobuf_package + ".Info"
1708
1709 public var title: String {
1710 get {return _storage._title}
1711 set {_uniqueStorage()._title = newValue}
1712 }
1713
1714 public var description_p: String {
1715 get {return _storage._description_p}
1716 set {_uniqueStorage()._description_p = newValue}
1717 }
1718
1719 public var termsOfService: String {
1720 get {return _storage._termsOfService}
1721 set {_uniqueStorage()._termsOfService = newValue}
1722 }
1723
1724 public var contact: Openapi_V3_Contact {
1725 get {return _storage._contact ?? Openapi_V3_Contact()}
1726 set {_uniqueStorage()._contact = newValue}
1727 }
1728 /// Returns true if `contact` has been explicitly set.
1729 public var hasContact: Bool {return _storage._contact != nil}
1730 /// Clears the value of `contact`. Subsequent reads from it will return its default value.
1731 public mutating func clearContact() {_storage._contact = nil}
1732
1733 public var license: Openapi_V3_License {
1734 get {return _storage._license ?? Openapi_V3_License()}
1735 set {_uniqueStorage()._license = newValue}
1736 }
1737 /// Returns true if `license` has been explicitly set.
1738 public var hasLicense: Bool {return _storage._license != nil}
1739 /// Clears the value of `license`. Subsequent reads from it will return its default value.
1740 public mutating func clearLicense() {_storage._license = nil}
1741
1742 public var version: String {
1743 get {return _storage._version}
1744 set {_uniqueStorage()._version = newValue}
1745 }
1746
1747 public var specificationExtension: [Openapi_V3_NamedAny] {
1748 get {return _storage._specificationExtension}
1749 set {_uniqueStorage()._specificationExtension = newValue}
1750 }
1751
1752 public var unknownFields = SwiftProtobuf.UnknownStorage()
1753
1754 public init() {}
1755
1756 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
1757 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
1758 /// initializers are defined in the SwiftProtobuf library. See the Message and
1759 /// Message+*Additions` files.
1760 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
1761 _ = _uniqueStorage()
1762 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
1763 while let fieldNumber = try decoder.nextFieldNumber() {
1764 switch fieldNumber {
1765 case 1: try decoder.decodeSingularStringField(value: &_storage._title)
1766 case 2: try decoder.decodeSingularStringField(value: &_storage._description_p)
1767 case 3: try decoder.decodeSingularStringField(value: &_storage._termsOfService)
1768 case 4: try decoder.decodeSingularMessageField(value: &_storage._contact)
1769 case 5: try decoder.decodeSingularMessageField(value: &_storage._license)
1770 case 6: try decoder.decodeSingularStringField(value: &_storage._version)
1771 case 7: try decoder.decodeRepeatedMessageField(value: &_storage._specificationExtension)
1772 default: break
1773 }
1774 }
1775 }
1776 }
1777
1778 /// Used by the encoding methods of the SwiftProtobuf library, not generally
1779 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
1780 /// other serializer methods are defined in the SwiftProtobuf library. See the
1781 /// `Message` and `Message+*Additions` files.
1782 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
1783 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
1784 if !_storage._title.isEmpty {
1785 try visitor.visitSingularStringField(value: _storage._title, fieldNumber: 1)
1786 }
1787 if !_storage._description_p.isEmpty {
1788 try visitor.visitSingularStringField(value: _storage._description_p, fieldNumber: 2)
1789 }
1790 if !_storage._termsOfService.isEmpty {
1791 try visitor.visitSingularStringField(value: _storage._termsOfService, fieldNumber: 3)
1792 }
1793 if let v = _storage._contact {
1794 try visitor.visitSingularMessageField(value: v, fieldNumber: 4)
1795 }
1796 if let v = _storage._license {
1797 try visitor.visitSingularMessageField(value: v, fieldNumber: 5)
1798 }
1799 if !_storage._version.isEmpty {
1800 try visitor.visitSingularStringField(value: _storage._version, fieldNumber: 6)
1801 }
1802 if !_storage._specificationExtension.isEmpty {
1803 try visitor.visitRepeatedMessageField(value: _storage._specificationExtension, fieldNumber: 7)
1804 }
1805 }
1806 try unknownFields.traverse(visitor: &visitor)
1807 }
1808
1809 fileprivate var _storage = _StorageClass.defaultInstance
1810 }
1811
1812 public struct Openapi_V3_ItemsItem: SwiftProtobuf.Message {
1813 public static let protoMessageName: String = _protobuf_package + ".ItemsItem"
1814
1815 public var schemaOrReference: [Openapi_V3_SchemaOrReference] = []
1816
1817 public var unknownFields = SwiftProtobuf.UnknownStorage()
1818
1819 public init() {}
1820
1821 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
1822 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
1823 /// initializers are defined in the SwiftProtobuf library. See the Message and
1824 /// Message+*Additions` files.
1825 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
1826 while let fieldNumber = try decoder.nextFieldNumber() {
1827 switch fieldNumber {
1828 case 1: try decoder.decodeRepeatedMessageField(value: &self.schemaOrReference)
1829 default: break
1830 }
1831 }
1832 }
1833
1834 /// Used by the encoding methods of the SwiftProtobuf library, not generally
1835 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
1836 /// other serializer methods are defined in the SwiftProtobuf library. See the
1837 /// `Message` and `Message+*Additions` files.
1838 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
1839 if !self.schemaOrReference.isEmpty {
1840 try visitor.visitRepeatedMessageField(value: self.schemaOrReference, fieldNumber: 1)
1841 }
1842 try unknownFields.traverse(visitor: &visitor)
1843 }
1844 }
1845
1846 /// License information for the exposed API.
1847 public struct Openapi_V3_License: SwiftProtobuf.Message {
1848 public static let protoMessageName: String = _protobuf_package + ".License"
1849
1850 public var name: String = String()
1851
1852 public var url: String = String()
1853
1854 public var specificationExtension: [Openapi_V3_NamedAny] = []
1855
1856 public var unknownFields = SwiftProtobuf.UnknownStorage()
1857
1858 public init() {}
1859
1860 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
1861 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
1862 /// initializers are defined in the SwiftProtobuf library. See the Message and
1863 /// Message+*Additions` files.
1864 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
1865 while let fieldNumber = try decoder.nextFieldNumber() {
1866 switch fieldNumber {
1867 case 1: try decoder.decodeSingularStringField(value: &self.name)
1868 case 2: try decoder.decodeSingularStringField(value: &self.url)
1869 case 3: try decoder.decodeRepeatedMessageField(value: &self.specificationExtension)
1870 default: break
1871 }
1872 }
1873 }
1874
1875 /// Used by the encoding methods of the SwiftProtobuf library, not generally
1876 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
1877 /// other serializer methods are defined in the SwiftProtobuf library. See the
1878 /// `Message` and `Message+*Additions` files.
1879 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
1880 if !self.name.isEmpty {
1881 try visitor.visitSingularStringField(value: self.name, fieldNumber: 1)
1882 }
1883 if !self.url.isEmpty {
1884 try visitor.visitSingularStringField(value: self.url, fieldNumber: 2)
1885 }
1886 if !self.specificationExtension.isEmpty {
1887 try visitor.visitRepeatedMessageField(value: self.specificationExtension, fieldNumber: 3)
1888 }
1889 try unknownFields.traverse(visitor: &visitor)
1890 }
1891 }
1892
1893 /// The `Link object` represents a possible design-time link for a response. The presence of a link does not guarantee the caller's ability to successfully invoke it, rather it provides a known relationship and traversal mechanism between responses and other operations. Unlike _dynamic_ links (i.e. links provided **in** the response payload), the OAS linking mechanism does not require link information in the runtime response. For computing links, and providing instructions to execute them, a runtime expression is used for accessing values in an operation and using them as parameters while invoking the linked operation.
1894 public struct Openapi_V3_Link: SwiftProtobuf.Message {
1895 public static let protoMessageName: String = _protobuf_package + ".Link"
1896
1897 public var operationRef: String {
1898 get {return _storage._operationRef}
1899 set {_uniqueStorage()._operationRef = newValue}
1900 }
1901
1902 public var operationID: String {
1903 get {return _storage._operationID}
1904 set {_uniqueStorage()._operationID = newValue}
1905 }
1906
1907 public var parameters: Openapi_V3_AnysOrExpressions {
1908 get {return _storage._parameters ?? Openapi_V3_AnysOrExpressions()}
1909 set {_uniqueStorage()._parameters = newValue}
1910 }
1911 /// Returns true if `parameters` has been explicitly set.
1912 public var hasParameters: Bool {return _storage._parameters != nil}
1913 /// Clears the value of `parameters`. Subsequent reads from it will return its default value.
1914 public mutating func clearParameters() {_storage._parameters = nil}
1915
1916 public var requestBody: Openapi_V3_AnyOrExpression {
1917 get {return _storage._requestBody ?? Openapi_V3_AnyOrExpression()}
1918 set {_uniqueStorage()._requestBody = newValue}
1919 }
1920 /// Returns true if `requestBody` has been explicitly set.
1921 public var hasRequestBody: Bool {return _storage._requestBody != nil}
1922 /// Clears the value of `requestBody`. Subsequent reads from it will return its default value.
1923 public mutating func clearRequestBody() {_storage._requestBody = nil}
1924
1925 public var description_p: String {
1926 get {return _storage._description_p}
1927 set {_uniqueStorage()._description_p = newValue}
1928 }
1929
1930 public var server: Openapi_V3_Server {
1931 get {return _storage._server ?? Openapi_V3_Server()}
1932 set {_uniqueStorage()._server = newValue}
1933 }
1934 /// Returns true if `server` has been explicitly set.
1935 public var hasServer: Bool {return _storage._server != nil}
1936 /// Clears the value of `server`. Subsequent reads from it will return its default value.
1937 public mutating func clearServer() {_storage._server = nil}
1938
1939 public var specificationExtension: [Openapi_V3_NamedAny] {
1940 get {return _storage._specificationExtension}
1941 set {_uniqueStorage()._specificationExtension = newValue}
1942 }
1943
1944 public var unknownFields = SwiftProtobuf.UnknownStorage()
1945
1946 public init() {}
1947
1948 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
1949 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
1950 /// initializers are defined in the SwiftProtobuf library. See the Message and
1951 /// Message+*Additions` files.
1952 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
1953 _ = _uniqueStorage()
1954 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
1955 while let fieldNumber = try decoder.nextFieldNumber() {
1956 switch fieldNumber {
1957 case 1: try decoder.decodeSingularStringField(value: &_storage._operationRef)
1958 case 2: try decoder.decodeSingularStringField(value: &_storage._operationID)
1959 case 3: try decoder.decodeSingularMessageField(value: &_storage._parameters)
1960 case 4: try decoder.decodeSingularMessageField(value: &_storage._requestBody)
1961 case 5: try decoder.decodeSingularStringField(value: &_storage._description_p)
1962 case 6: try decoder.decodeSingularMessageField(value: &_storage._server)
1963 case 7: try decoder.decodeRepeatedMessageField(value: &_storage._specificationExtension)
1964 default: break
1965 }
1966 }
1967 }
1968 }
1969
1970 /// Used by the encoding methods of the SwiftProtobuf library, not generally
1971 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
1972 /// other serializer methods are defined in the SwiftProtobuf library. See the
1973 /// `Message` and `Message+*Additions` files.
1974 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
1975 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
1976 if !_storage._operationRef.isEmpty {
1977 try visitor.visitSingularStringField(value: _storage._operationRef, fieldNumber: 1)
1978 }
1979 if !_storage._operationID.isEmpty {
1980 try visitor.visitSingularStringField(value: _storage._operationID, fieldNumber: 2)
1981 }
1982 if let v = _storage._parameters {
1983 try visitor.visitSingularMessageField(value: v, fieldNumber: 3)
1984 }
1985 if let v = _storage._requestBody {
1986 try visitor.visitSingularMessageField(value: v, fieldNumber: 4)
1987 }
1988 if !_storage._description_p.isEmpty {
1989 try visitor.visitSingularStringField(value: _storage._description_p, fieldNumber: 5)
1990 }
1991 if let v = _storage._server {
1992 try visitor.visitSingularMessageField(value: v, fieldNumber: 6)
1993 }
1994 if !_storage._specificationExtension.isEmpty {
1995 try visitor.visitRepeatedMessageField(value: _storage._specificationExtension, fieldNumber: 7)
1996 }
1997 }
1998 try unknownFields.traverse(visitor: &visitor)
1999 }
2000
2001 fileprivate var _storage = _StorageClass.defaultInstance
2002 }
2003
2004 public struct Openapi_V3_LinkOrReference: SwiftProtobuf.Message {
2005 public static let protoMessageName: String = _protobuf_package + ".LinkOrReference"
2006
2007 public var oneof: OneOf_Oneof? {
2008 get {return _storage._oneof}
2009 set {_uniqueStorage()._oneof = newValue}
2010 }
2011
2012 public var link: Openapi_V3_Link {
2013 get {
2014 if case .link(let v)? = _storage._oneof {return v}
2015 return Openapi_V3_Link()
2016 }
2017 set {_uniqueStorage()._oneof = .link(newValue)}
2018 }
2019
2020 public var reference: Openapi_V3_Reference {
2021 get {
2022 if case .reference(let v)? = _storage._oneof {return v}
2023 return Openapi_V3_Reference()
2024 }
2025 set {_uniqueStorage()._oneof = .reference(newValue)}
2026 }
2027
2028 public var unknownFields = SwiftProtobuf.UnknownStorage()
2029
2030 public enum OneOf_Oneof: Equatable {
2031 case link(Openapi_V3_Link)
2032 case reference(Openapi_V3_Reference)
2033
2034 public static func ==(lhs: Openapi_V3_LinkOrReference.OneOf_Oneof, rhs: Openapi_V3_LinkOrReference.OneOf_Oneof) -> Bool {
2035 switch (lhs, rhs) {
2036 case (.link(let l), .link(let r)): return l == r
2037 case (.reference(let l), .reference(let r)): return l == r
2038 default: return false
2039 }
2040 }
2041 }
2042
2043 public init() {}
2044
2045 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
2046 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
2047 /// initializers are defined in the SwiftProtobuf library. See the Message and
2048 /// Message+*Additions` files.
2049 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
2050 _ = _uniqueStorage()
2051 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
2052 while let fieldNumber = try decoder.nextFieldNumber() {
2053 switch fieldNumber {
2054 case 1:
2055 var v: Openapi_V3_Link?
2056 if let current = _storage._oneof {
2057 try decoder.handleConflictingOneOf()
2058 if case .link(let m) = current {v = m}
2059 }
2060 try decoder.decodeSingularMessageField(value: &v)
2061 if let v = v {_storage._oneof = .link(v)}
2062 case 2:
2063 var v: Openapi_V3_Reference?
2064 if let current = _storage._oneof {
2065 try decoder.handleConflictingOneOf()
2066 if case .reference(let m) = current {v = m}
2067 }
2068 try decoder.decodeSingularMessageField(value: &v)
2069 if let v = v {_storage._oneof = .reference(v)}
2070 default: break
2071 }
2072 }
2073 }
2074 }
2075
2076 /// Used by the encoding methods of the SwiftProtobuf library, not generally
2077 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
2078 /// other serializer methods are defined in the SwiftProtobuf library. See the
2079 /// `Message` and `Message+*Additions` files.
2080 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
2081 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
2082 switch _storage._oneof {
2083 case .link(let v)?:
2084 try visitor.visitSingularMessageField(value: v, fieldNumber: 1)
2085 case .reference(let v)?:
2086 try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
2087 case nil: break
2088 }
2089 }
2090 try unknownFields.traverse(visitor: &visitor)
2091 }
2092
2093 fileprivate var _storage = _StorageClass.defaultInstance
2094 }
2095
2096 public struct Openapi_V3_LinksOrReferences: SwiftProtobuf.Message {
2097 public static let protoMessageName: String = _protobuf_package + ".LinksOrReferences"
2098
2099 public var additionalProperties: [Openapi_V3_NamedLinkOrReference] = []
2100
2101 public var unknownFields = SwiftProtobuf.UnknownStorage()
2102
2103 public init() {}
2104
2105 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
2106 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
2107 /// initializers are defined in the SwiftProtobuf library. See the Message and
2108 /// Message+*Additions` files.
2109 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
2110 while let fieldNumber = try decoder.nextFieldNumber() {
2111 switch fieldNumber {
2112 case 1: try decoder.decodeRepeatedMessageField(value: &self.additionalProperties)
2113 default: break
2114 }
2115 }
2116 }
2117
2118 /// Used by the encoding methods of the SwiftProtobuf library, not generally
2119 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
2120 /// other serializer methods are defined in the SwiftProtobuf library. See the
2121 /// `Message` and `Message+*Additions` files.
2122 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
2123 if !self.additionalProperties.isEmpty {
2124 try visitor.visitRepeatedMessageField(value: self.additionalProperties, fieldNumber: 1)
2125 }
2126 try unknownFields.traverse(visitor: &visitor)
2127 }
2128 }
2129
2130 /// Each Media Type Object provides schema and examples for the media type identified by its key.
2131 public struct Openapi_V3_MediaType: SwiftProtobuf.Message {
2132 public static let protoMessageName: String = _protobuf_package + ".MediaType"
2133
2134 public var schema: Openapi_V3_SchemaOrReference {
2135 get {return _storage._schema ?? Openapi_V3_SchemaOrReference()}
2136 set {_uniqueStorage()._schema = newValue}
2137 }
2138 /// Returns true if `schema` has been explicitly set.
2139 public var hasSchema: Bool {return _storage._schema != nil}
2140 /// Clears the value of `schema`. Subsequent reads from it will return its default value.
2141 public mutating func clearSchema() {_storage._schema = nil}
2142
2143 public var example: Openapi_V3_Any {
2144 get {return _storage._example ?? Openapi_V3_Any()}
2145 set {_uniqueStorage()._example = newValue}
2146 }
2147 /// Returns true if `example` has been explicitly set.
2148 public var hasExample: Bool {return _storage._example != nil}
2149 /// Clears the value of `example`. Subsequent reads from it will return its default value.
2150 public mutating func clearExample() {_storage._example = nil}
2151
2152 public var examples: Openapi_V3_ExamplesOrReferences {
2153 get {return _storage._examples ?? Openapi_V3_ExamplesOrReferences()}
2154 set {_uniqueStorage()._examples = newValue}
2155 }
2156 /// Returns true if `examples` has been explicitly set.
2157 public var hasExamples: Bool {return _storage._examples != nil}
2158 /// Clears the value of `examples`. Subsequent reads from it will return its default value.
2159 public mutating func clearExamples() {_storage._examples = nil}
2160
2161 public var encoding: Openapi_V3_Encodings {
2162 get {return _storage._encoding ?? Openapi_V3_Encodings()}
2163 set {_uniqueStorage()._encoding = newValue}
2164 }
2165 /// Returns true if `encoding` has been explicitly set.
2166 public var hasEncoding: Bool {return _storage._encoding != nil}
2167 /// Clears the value of `encoding`. Subsequent reads from it will return its default value.
2168 public mutating func clearEncoding() {_storage._encoding = nil}
2169
2170 public var specificationExtension: [Openapi_V3_NamedAny] {
2171 get {return _storage._specificationExtension}
2172 set {_uniqueStorage()._specificationExtension = newValue}
2173 }
2174
2175 public var unknownFields = SwiftProtobuf.UnknownStorage()
2176
2177 public init() {}
2178
2179 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
2180 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
2181 /// initializers are defined in the SwiftProtobuf library. See the Message and
2182 /// Message+*Additions` files.
2183 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
2184 _ = _uniqueStorage()
2185 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
2186 while let fieldNumber = try decoder.nextFieldNumber() {
2187 switch fieldNumber {
2188 case 1: try decoder.decodeSingularMessageField(value: &_storage._schema)
2189 case 2: try decoder.decodeSingularMessageField(value: &_storage._example)
2190 case 3: try decoder.decodeSingularMessageField(value: &_storage._examples)
2191 case 4: try decoder.decodeSingularMessageField(value: &_storage._encoding)
2192 case 5: try decoder.decodeRepeatedMessageField(value: &_storage._specificationExtension)
2193 default: break
2194 }
2195 }
2196 }
2197 }
2198
2199 /// Used by the encoding methods of the SwiftProtobuf library, not generally
2200 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
2201 /// other serializer methods are defined in the SwiftProtobuf library. See the
2202 /// `Message` and `Message+*Additions` files.
2203 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
2204 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
2205 if let v = _storage._schema {
2206 try visitor.visitSingularMessageField(value: v, fieldNumber: 1)
2207 }
2208 if let v = _storage._example {
2209 try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
2210 }
2211 if let v = _storage._examples {
2212 try visitor.visitSingularMessageField(value: v, fieldNumber: 3)
2213 }
2214 if let v = _storage._encoding {
2215 try visitor.visitSingularMessageField(value: v, fieldNumber: 4)
2216 }
2217 if !_storage._specificationExtension.isEmpty {
2218 try visitor.visitRepeatedMessageField(value: _storage._specificationExtension, fieldNumber: 5)
2219 }
2220 }
2221 try unknownFields.traverse(visitor: &visitor)
2222 }
2223
2224 fileprivate var _storage = _StorageClass.defaultInstance
2225 }
2226
2227 public struct Openapi_V3_MediaTypes: SwiftProtobuf.Message {
2228 public static let protoMessageName: String = _protobuf_package + ".MediaTypes"
2229
2230 public var additionalProperties: [Openapi_V3_NamedMediaType] = []
2231
2232 public var unknownFields = SwiftProtobuf.UnknownStorage()
2233
2234 public init() {}
2235
2236 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
2237 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
2238 /// initializers are defined in the SwiftProtobuf library. See the Message and
2239 /// Message+*Additions` files.
2240 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
2241 while let fieldNumber = try decoder.nextFieldNumber() {
2242 switch fieldNumber {
2243 case 1: try decoder.decodeRepeatedMessageField(value: &self.additionalProperties)
2244 default: break
2245 }
2246 }
2247 }
2248
2249 /// Used by the encoding methods of the SwiftProtobuf library, not generally
2250 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
2251 /// other serializer methods are defined in the SwiftProtobuf library. See the
2252 /// `Message` and `Message+*Additions` files.
2253 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
2254 if !self.additionalProperties.isEmpty {
2255 try visitor.visitRepeatedMessageField(value: self.additionalProperties, fieldNumber: 1)
2256 }
2257 try unknownFields.traverse(visitor: &visitor)
2258 }
2259 }
2260
2261 /// Automatically-generated message used to represent maps of Any as ordered (name,value) pairs.
2262 public struct Openapi_V3_NamedAny: SwiftProtobuf.Message {
2263 public static let protoMessageName: String = _protobuf_package + ".NamedAny"
2264
2265 /// Map key
2266 public var name: String {
2267 get {return _storage._name}
2268 set {_uniqueStorage()._name = newValue}
2269 }
2270
2271 /// Mapped value
2272 public var value: Openapi_V3_Any {
2273 get {return _storage._value ?? Openapi_V3_Any()}
2274 set {_uniqueStorage()._value = newValue}
2275 }
2276 /// Returns true if `value` has been explicitly set.
2277 public var hasValue: Bool {return _storage._value != nil}
2278 /// Clears the value of `value`. Subsequent reads from it will return its default value.
2279 public mutating func clearValue() {_storage._value = nil}
2280
2281 public var unknownFields = SwiftProtobuf.UnknownStorage()
2282
2283 public init() {}
2284
2285 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
2286 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
2287 /// initializers are defined in the SwiftProtobuf library. See the Message and
2288 /// Message+*Additions` files.
2289 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
2290 _ = _uniqueStorage()
2291 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
2292 while let fieldNumber = try decoder.nextFieldNumber() {
2293 switch fieldNumber {
2294 case 1: try decoder.decodeSingularStringField(value: &_storage._name)
2295 case 2: try decoder.decodeSingularMessageField(value: &_storage._value)
2296 default: break
2297 }
2298 }
2299 }
2300 }
2301
2302 /// Used by the encoding methods of the SwiftProtobuf library, not generally
2303 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
2304 /// other serializer methods are defined in the SwiftProtobuf library. See the
2305 /// `Message` and `Message+*Additions` files.
2306 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
2307 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
2308 if !_storage._name.isEmpty {
2309 try visitor.visitSingularStringField(value: _storage._name, fieldNumber: 1)
2310 }
2311 if let v = _storage._value {
2312 try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
2313 }
2314 }
2315 try unknownFields.traverse(visitor: &visitor)
2316 }
2317
2318 fileprivate var _storage = _StorageClass.defaultInstance
2319 }
2320
2321 /// Automatically-generated message used to represent maps of AnyOrExpression as ordered (name,value) pairs.
2322 public struct Openapi_V3_NamedAnyOrExpression: SwiftProtobuf.Message {
2323 public static let protoMessageName: String = _protobuf_package + ".NamedAnyOrExpression"
2324
2325 /// Map key
2326 public var name: String {
2327 get {return _storage._name}
2328 set {_uniqueStorage()._name = newValue}
2329 }
2330
2331 /// Mapped value
2332 public var value: Openapi_V3_AnyOrExpression {
2333 get {return _storage._value ?? Openapi_V3_AnyOrExpression()}
2334 set {_uniqueStorage()._value = newValue}
2335 }
2336 /// Returns true if `value` has been explicitly set.
2337 public var hasValue: Bool {return _storage._value != nil}
2338 /// Clears the value of `value`. Subsequent reads from it will return its default value.
2339 public mutating func clearValue() {_storage._value = nil}
2340
2341 public var unknownFields = SwiftProtobuf.UnknownStorage()
2342
2343 public init() {}
2344
2345 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
2346 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
2347 /// initializers are defined in the SwiftProtobuf library. See the Message and
2348 /// Message+*Additions` files.
2349 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
2350 _ = _uniqueStorage()
2351 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
2352 while let fieldNumber = try decoder.nextFieldNumber() {
2353 switch fieldNumber {
2354 case 1: try decoder.decodeSingularStringField(value: &_storage._name)
2355 case 2: try decoder.decodeSingularMessageField(value: &_storage._value)
2356 default: break
2357 }
2358 }
2359 }
2360 }
2361
2362 /// Used by the encoding methods of the SwiftProtobuf library, not generally
2363 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
2364 /// other serializer methods are defined in the SwiftProtobuf library. See the
2365 /// `Message` and `Message+*Additions` files.
2366 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
2367 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
2368 if !_storage._name.isEmpty {
2369 try visitor.visitSingularStringField(value: _storage._name, fieldNumber: 1)
2370 }
2371 if let v = _storage._value {
2372 try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
2373 }
2374 }
2375 try unknownFields.traverse(visitor: &visitor)
2376 }
2377
2378 fileprivate var _storage = _StorageClass.defaultInstance
2379 }
2380
2381 /// Automatically-generated message used to represent maps of CallbackOrReference as ordered (name,value) pairs.
2382 public struct Openapi_V3_NamedCallbackOrReference: SwiftProtobuf.Message {
2383 public static let protoMessageName: String = _protobuf_package + ".NamedCallbackOrReference"
2384
2385 /// Map key
2386 public var name: String {
2387 get {return _storage._name}
2388 set {_uniqueStorage()._name = newValue}
2389 }
2390
2391 /// Mapped value
2392 public var value: Openapi_V3_CallbackOrReference {
2393 get {return _storage._value ?? Openapi_V3_CallbackOrReference()}
2394 set {_uniqueStorage()._value = newValue}
2395 }
2396 /// Returns true if `value` has been explicitly set.
2397 public var hasValue: Bool {return _storage._value != nil}
2398 /// Clears the value of `value`. Subsequent reads from it will return its default value.
2399 public mutating func clearValue() {_storage._value = nil}
2400
2401 public var unknownFields = SwiftProtobuf.UnknownStorage()
2402
2403 public init() {}
2404
2405 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
2406 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
2407 /// initializers are defined in the SwiftProtobuf library. See the Message and
2408 /// Message+*Additions` files.
2409 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
2410 _ = _uniqueStorage()
2411 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
2412 while let fieldNumber = try decoder.nextFieldNumber() {
2413 switch fieldNumber {
2414 case 1: try decoder.decodeSingularStringField(value: &_storage._name)
2415 case 2: try decoder.decodeSingularMessageField(value: &_storage._value)
2416 default: break
2417 }
2418 }
2419 }
2420 }
2421
2422 /// Used by the encoding methods of the SwiftProtobuf library, not generally
2423 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
2424 /// other serializer methods are defined in the SwiftProtobuf library. See the
2425 /// `Message` and `Message+*Additions` files.
2426 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
2427 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
2428 if !_storage._name.isEmpty {
2429 try visitor.visitSingularStringField(value: _storage._name, fieldNumber: 1)
2430 }
2431 if let v = _storage._value {
2432 try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
2433 }
2434 }
2435 try unknownFields.traverse(visitor: &visitor)
2436 }
2437
2438 fileprivate var _storage = _StorageClass.defaultInstance
2439 }
2440
2441 /// Automatically-generated message used to represent maps of Encoding as ordered (name,value) pairs.
2442 public struct Openapi_V3_NamedEncoding: SwiftProtobuf.Message {
2443 public static let protoMessageName: String = _protobuf_package + ".NamedEncoding"
2444
2445 /// Map key
2446 public var name: String {
2447 get {return _storage._name}
2448 set {_uniqueStorage()._name = newValue}
2449 }
2450
2451 /// Mapped value
2452 public var value: Openapi_V3_Encoding {
2453 get {return _storage._value ?? Openapi_V3_Encoding()}
2454 set {_uniqueStorage()._value = newValue}
2455 }
2456 /// Returns true if `value` has been explicitly set.
2457 public var hasValue: Bool {return _storage._value != nil}
2458 /// Clears the value of `value`. Subsequent reads from it will return its default value.
2459 public mutating func clearValue() {_storage._value = nil}
2460
2461 public var unknownFields = SwiftProtobuf.UnknownStorage()
2462
2463 public init() {}
2464
2465 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
2466 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
2467 /// initializers are defined in the SwiftProtobuf library. See the Message and
2468 /// Message+*Additions` files.
2469 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
2470 _ = _uniqueStorage()
2471 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
2472 while let fieldNumber = try decoder.nextFieldNumber() {
2473 switch fieldNumber {
2474 case 1: try decoder.decodeSingularStringField(value: &_storage._name)
2475 case 2: try decoder.decodeSingularMessageField(value: &_storage._value)
2476 default: break
2477 }
2478 }
2479 }
2480 }
2481
2482 /// Used by the encoding methods of the SwiftProtobuf library, not generally
2483 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
2484 /// other serializer methods are defined in the SwiftProtobuf library. See the
2485 /// `Message` and `Message+*Additions` files.
2486 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
2487 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
2488 if !_storage._name.isEmpty {
2489 try visitor.visitSingularStringField(value: _storage._name, fieldNumber: 1)
2490 }
2491 if let v = _storage._value {
2492 try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
2493 }
2494 }
2495 try unknownFields.traverse(visitor: &visitor)
2496 }
2497
2498 fileprivate var _storage = _StorageClass.defaultInstance
2499 }
2500
2501 /// Automatically-generated message used to represent maps of ExampleOrReference as ordered (name,value) pairs.
2502 public struct Openapi_V3_NamedExampleOrReference: SwiftProtobuf.Message {
2503 public static let protoMessageName: String = _protobuf_package + ".NamedExampleOrReference"
2504
2505 /// Map key
2506 public var name: String {
2507 get {return _storage._name}
2508 set {_uniqueStorage()._name = newValue}
2509 }
2510
2511 /// Mapped value
2512 public var value: Openapi_V3_ExampleOrReference {
2513 get {return _storage._value ?? Openapi_V3_ExampleOrReference()}
2514 set {_uniqueStorage()._value = newValue}
2515 }
2516 /// Returns true if `value` has been explicitly set.
2517 public var hasValue: Bool {return _storage._value != nil}
2518 /// Clears the value of `value`. Subsequent reads from it will return its default value.
2519 public mutating func clearValue() {_storage._value = nil}
2520
2521 public var unknownFields = SwiftProtobuf.UnknownStorage()
2522
2523 public init() {}
2524
2525 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
2526 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
2527 /// initializers are defined in the SwiftProtobuf library. See the Message and
2528 /// Message+*Additions` files.
2529 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
2530 _ = _uniqueStorage()
2531 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
2532 while let fieldNumber = try decoder.nextFieldNumber() {
2533 switch fieldNumber {
2534 case 1: try decoder.decodeSingularStringField(value: &_storage._name)
2535 case 2: try decoder.decodeSingularMessageField(value: &_storage._value)
2536 default: break
2537 }
2538 }
2539 }
2540 }
2541
2542 /// Used by the encoding methods of the SwiftProtobuf library, not generally
2543 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
2544 /// other serializer methods are defined in the SwiftProtobuf library. See the
2545 /// `Message` and `Message+*Additions` files.
2546 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
2547 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
2548 if !_storage._name.isEmpty {
2549 try visitor.visitSingularStringField(value: _storage._name, fieldNumber: 1)
2550 }
2551 if let v = _storage._value {
2552 try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
2553 }
2554 }
2555 try unknownFields.traverse(visitor: &visitor)
2556 }
2557
2558 fileprivate var _storage = _StorageClass.defaultInstance
2559 }
2560
2561 /// Automatically-generated message used to represent maps of HeaderOrReference as ordered (name,value) pairs.
2562 public struct Openapi_V3_NamedHeaderOrReference: SwiftProtobuf.Message {
2563 public static let protoMessageName: String = _protobuf_package + ".NamedHeaderOrReference"
2564
2565 /// Map key
2566 public var name: String {
2567 get {return _storage._name}
2568 set {_uniqueStorage()._name = newValue}
2569 }
2570
2571 /// Mapped value
2572 public var value: Openapi_V3_HeaderOrReference {
2573 get {return _storage._value ?? Openapi_V3_HeaderOrReference()}
2574 set {_uniqueStorage()._value = newValue}
2575 }
2576 /// Returns true if `value` has been explicitly set.
2577 public var hasValue: Bool {return _storage._value != nil}
2578 /// Clears the value of `value`. Subsequent reads from it will return its default value.
2579 public mutating func clearValue() {_storage._value = nil}
2580
2581 public var unknownFields = SwiftProtobuf.UnknownStorage()
2582
2583 public init() {}
2584
2585 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
2586 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
2587 /// initializers are defined in the SwiftProtobuf library. See the Message and
2588 /// Message+*Additions` files.
2589 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
2590 _ = _uniqueStorage()
2591 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
2592 while let fieldNumber = try decoder.nextFieldNumber() {
2593 switch fieldNumber {
2594 case 1: try decoder.decodeSingularStringField(value: &_storage._name)
2595 case 2: try decoder.decodeSingularMessageField(value: &_storage._value)
2596 default: break
2597 }
2598 }
2599 }
2600 }
2601
2602 /// Used by the encoding methods of the SwiftProtobuf library, not generally
2603 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
2604 /// other serializer methods are defined in the SwiftProtobuf library. See the
2605 /// `Message` and `Message+*Additions` files.
2606 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
2607 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
2608 if !_storage._name.isEmpty {
2609 try visitor.visitSingularStringField(value: _storage._name, fieldNumber: 1)
2610 }
2611 if let v = _storage._value {
2612 try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
2613 }
2614 }
2615 try unknownFields.traverse(visitor: &visitor)
2616 }
2617
2618 fileprivate var _storage = _StorageClass.defaultInstance
2619 }
2620
2621 /// Automatically-generated message used to represent maps of LinkOrReference as ordered (name,value) pairs.
2622 public struct Openapi_V3_NamedLinkOrReference: SwiftProtobuf.Message {
2623 public static let protoMessageName: String = _protobuf_package + ".NamedLinkOrReference"
2624
2625 /// Map key
2626 public var name: String {
2627 get {return _storage._name}
2628 set {_uniqueStorage()._name = newValue}
2629 }
2630
2631 /// Mapped value
2632 public var value: Openapi_V3_LinkOrReference {
2633 get {return _storage._value ?? Openapi_V3_LinkOrReference()}
2634 set {_uniqueStorage()._value = newValue}
2635 }
2636 /// Returns true if `value` has been explicitly set.
2637 public var hasValue: Bool {return _storage._value != nil}
2638 /// Clears the value of `value`. Subsequent reads from it will return its default value.
2639 public mutating func clearValue() {_storage._value = nil}
2640
2641 public var unknownFields = SwiftProtobuf.UnknownStorage()
2642
2643 public init() {}
2644
2645 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
2646 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
2647 /// initializers are defined in the SwiftProtobuf library. See the Message and
2648 /// Message+*Additions` files.
2649 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
2650 _ = _uniqueStorage()
2651 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
2652 while let fieldNumber = try decoder.nextFieldNumber() {
2653 switch fieldNumber {
2654 case 1: try decoder.decodeSingularStringField(value: &_storage._name)
2655 case 2: try decoder.decodeSingularMessageField(value: &_storage._value)
2656 default: break
2657 }
2658 }
2659 }
2660 }
2661
2662 /// Used by the encoding methods of the SwiftProtobuf library, not generally
2663 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
2664 /// other serializer methods are defined in the SwiftProtobuf library. See the
2665 /// `Message` and `Message+*Additions` files.
2666 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
2667 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
2668 if !_storage._name.isEmpty {
2669 try visitor.visitSingularStringField(value: _storage._name, fieldNumber: 1)
2670 }
2671 if let v = _storage._value {
2672 try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
2673 }
2674 }
2675 try unknownFields.traverse(visitor: &visitor)
2676 }
2677
2678 fileprivate var _storage = _StorageClass.defaultInstance
2679 }
2680
2681 /// Automatically-generated message used to represent maps of MediaType as ordered (name,value) pairs.
2682 public struct Openapi_V3_NamedMediaType: SwiftProtobuf.Message {
2683 public static let protoMessageName: String = _protobuf_package + ".NamedMediaType"
2684
2685 /// Map key
2686 public var name: String {
2687 get {return _storage._name}
2688 set {_uniqueStorage()._name = newValue}
2689 }
2690
2691 /// Mapped value
2692 public var value: Openapi_V3_MediaType {
2693 get {return _storage._value ?? Openapi_V3_MediaType()}
2694 set {_uniqueStorage()._value = newValue}
2695 }
2696 /// Returns true if `value` has been explicitly set.
2697 public var hasValue: Bool {return _storage._value != nil}
2698 /// Clears the value of `value`. Subsequent reads from it will return its default value.
2699 public mutating func clearValue() {_storage._value = nil}
2700
2701 public var unknownFields = SwiftProtobuf.UnknownStorage()
2702
2703 public init() {}
2704
2705 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
2706 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
2707 /// initializers are defined in the SwiftProtobuf library. See the Message and
2708 /// Message+*Additions` files.
2709 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
2710 _ = _uniqueStorage()
2711 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
2712 while let fieldNumber = try decoder.nextFieldNumber() {
2713 switch fieldNumber {
2714 case 1: try decoder.decodeSingularStringField(value: &_storage._name)
2715 case 2: try decoder.decodeSingularMessageField(value: &_storage._value)
2716 default: break
2717 }
2718 }
2719 }
2720 }
2721
2722 /// Used by the encoding methods of the SwiftProtobuf library, not generally
2723 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
2724 /// other serializer methods are defined in the SwiftProtobuf library. See the
2725 /// `Message` and `Message+*Additions` files.
2726 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
2727 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
2728 if !_storage._name.isEmpty {
2729 try visitor.visitSingularStringField(value: _storage._name, fieldNumber: 1)
2730 }
2731 if let v = _storage._value {
2732 try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
2733 }
2734 }
2735 try unknownFields.traverse(visitor: &visitor)
2736 }
2737
2738 fileprivate var _storage = _StorageClass.defaultInstance
2739 }
2740
2741 /// Automatically-generated message used to represent maps of ParameterOrReference as ordered (name,value) pairs.
2742 public struct Openapi_V3_NamedParameterOrReference: SwiftProtobuf.Message {
2743 public static let protoMessageName: String = _protobuf_package + ".NamedParameterOrReference"
2744
2745 /// Map key
2746 public var name: String {
2747 get {return _storage._name}
2748 set {_uniqueStorage()._name = newValue}
2749 }
2750
2751 /// Mapped value
2752 public var value: Openapi_V3_ParameterOrReference {
2753 get {return _storage._value ?? Openapi_V3_ParameterOrReference()}
2754 set {_uniqueStorage()._value = newValue}
2755 }
2756 /// Returns true if `value` has been explicitly set.
2757 public var hasValue: Bool {return _storage._value != nil}
2758 /// Clears the value of `value`. Subsequent reads from it will return its default value.
2759 public mutating func clearValue() {_storage._value = nil}
2760
2761 public var unknownFields = SwiftProtobuf.UnknownStorage()
2762
2763 public init() {}
2764
2765 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
2766 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
2767 /// initializers are defined in the SwiftProtobuf library. See the Message and
2768 /// Message+*Additions` files.
2769 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
2770 _ = _uniqueStorage()
2771 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
2772 while let fieldNumber = try decoder.nextFieldNumber() {
2773 switch fieldNumber {
2774 case 1: try decoder.decodeSingularStringField(value: &_storage._name)
2775 case 2: try decoder.decodeSingularMessageField(value: &_storage._value)
2776 default: break
2777 }
2778 }
2779 }
2780 }
2781
2782 /// Used by the encoding methods of the SwiftProtobuf library, not generally
2783 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
2784 /// other serializer methods are defined in the SwiftProtobuf library. See the
2785 /// `Message` and `Message+*Additions` files.
2786 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
2787 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
2788 if !_storage._name.isEmpty {
2789 try visitor.visitSingularStringField(value: _storage._name, fieldNumber: 1)
2790 }
2791 if let v = _storage._value {
2792 try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
2793 }
2794 }
2795 try unknownFields.traverse(visitor: &visitor)
2796 }
2797
2798 fileprivate var _storage = _StorageClass.defaultInstance
2799 }
2800
2801 /// Automatically-generated message used to represent maps of PathItem as ordered (name,value) pairs.
2802 public struct Openapi_V3_NamedPathItem: SwiftProtobuf.Message {
2803 public static let protoMessageName: String = _protobuf_package + ".NamedPathItem"
2804
2805 /// Map key
2806 public var name: String {
2807 get {return _storage._name}
2808 set {_uniqueStorage()._name = newValue}
2809 }
2810
2811 /// Mapped value
2812 public var value: Openapi_V3_PathItem {
2813 get {return _storage._value ?? Openapi_V3_PathItem()}
2814 set {_uniqueStorage()._value = newValue}
2815 }
2816 /// Returns true if `value` has been explicitly set.
2817 public var hasValue: Bool {return _storage._value != nil}
2818 /// Clears the value of `value`. Subsequent reads from it will return its default value.
2819 public mutating func clearValue() {_storage._value = nil}
2820
2821 public var unknownFields = SwiftProtobuf.UnknownStorage()
2822
2823 public init() {}
2824
2825 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
2826 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
2827 /// initializers are defined in the SwiftProtobuf library. See the Message and
2828 /// Message+*Additions` files.
2829 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
2830 _ = _uniqueStorage()
2831 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
2832 while let fieldNumber = try decoder.nextFieldNumber() {
2833 switch fieldNumber {
2834 case 1: try decoder.decodeSingularStringField(value: &_storage._name)
2835 case 2: try decoder.decodeSingularMessageField(value: &_storage._value)
2836 default: break
2837 }
2838 }
2839 }
2840 }
2841
2842 /// Used by the encoding methods of the SwiftProtobuf library, not generally
2843 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
2844 /// other serializer methods are defined in the SwiftProtobuf library. See the
2845 /// `Message` and `Message+*Additions` files.
2846 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
2847 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
2848 if !_storage._name.isEmpty {
2849 try visitor.visitSingularStringField(value: _storage._name, fieldNumber: 1)
2850 }
2851 if let v = _storage._value {
2852 try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
2853 }
2854 }
2855 try unknownFields.traverse(visitor: &visitor)
2856 }
2857
2858 fileprivate var _storage = _StorageClass.defaultInstance
2859 }
2860
2861 /// Automatically-generated message used to represent maps of RequestBodyOrReference as ordered (name,value) pairs.
2862 public struct Openapi_V3_NamedRequestBodyOrReference: SwiftProtobuf.Message {
2863 public static let protoMessageName: String = _protobuf_package + ".NamedRequestBodyOrReference"
2864
2865 /// Map key
2866 public var name: String {
2867 get {return _storage._name}
2868 set {_uniqueStorage()._name = newValue}
2869 }
2870
2871 /// Mapped value
2872 public var value: Openapi_V3_RequestBodyOrReference {
2873 get {return _storage._value ?? Openapi_V3_RequestBodyOrReference()}
2874 set {_uniqueStorage()._value = newValue}
2875 }
2876 /// Returns true if `value` has been explicitly set.
2877 public var hasValue: Bool {return _storage._value != nil}
2878 /// Clears the value of `value`. Subsequent reads from it will return its default value.
2879 public mutating func clearValue() {_storage._value = nil}
2880
2881 public var unknownFields = SwiftProtobuf.UnknownStorage()
2882
2883 public init() {}
2884
2885 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
2886 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
2887 /// initializers are defined in the SwiftProtobuf library. See the Message and
2888 /// Message+*Additions` files.
2889 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
2890 _ = _uniqueStorage()
2891 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
2892 while let fieldNumber = try decoder.nextFieldNumber() {
2893 switch fieldNumber {
2894 case 1: try decoder.decodeSingularStringField(value: &_storage._name)
2895 case 2: try decoder.decodeSingularMessageField(value: &_storage._value)
2896 default: break
2897 }
2898 }
2899 }
2900 }
2901
2902 /// Used by the encoding methods of the SwiftProtobuf library, not generally
2903 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
2904 /// other serializer methods are defined in the SwiftProtobuf library. See the
2905 /// `Message` and `Message+*Additions` files.
2906 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
2907 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
2908 if !_storage._name.isEmpty {
2909 try visitor.visitSingularStringField(value: _storage._name, fieldNumber: 1)
2910 }
2911 if let v = _storage._value {
2912 try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
2913 }
2914 }
2915 try unknownFields.traverse(visitor: &visitor)
2916 }
2917
2918 fileprivate var _storage = _StorageClass.defaultInstance
2919 }
2920
2921 /// Automatically-generated message used to represent maps of ResponseOrReference as ordered (name,value) pairs.
2922 public struct Openapi_V3_NamedResponseOrReference: SwiftProtobuf.Message {
2923 public static let protoMessageName: String = _protobuf_package + ".NamedResponseOrReference"
2924
2925 /// Map key
2926 public var name: String {
2927 get {return _storage._name}
2928 set {_uniqueStorage()._name = newValue}
2929 }
2930
2931 /// Mapped value
2932 public var value: Openapi_V3_ResponseOrReference {
2933 get {return _storage._value ?? Openapi_V3_ResponseOrReference()}
2934 set {_uniqueStorage()._value = newValue}
2935 }
2936 /// Returns true if `value` has been explicitly set.
2937 public var hasValue: Bool {return _storage._value != nil}
2938 /// Clears the value of `value`. Subsequent reads from it will return its default value.
2939 public mutating func clearValue() {_storage._value = nil}
2940
2941 public var unknownFields = SwiftProtobuf.UnknownStorage()
2942
2943 public init() {}
2944
2945 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
2946 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
2947 /// initializers are defined in the SwiftProtobuf library. See the Message and
2948 /// Message+*Additions` files.
2949 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
2950 _ = _uniqueStorage()
2951 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
2952 while let fieldNumber = try decoder.nextFieldNumber() {
2953 switch fieldNumber {
2954 case 1: try decoder.decodeSingularStringField(value: &_storage._name)
2955 case 2: try decoder.decodeSingularMessageField(value: &_storage._value)
2956 default: break
2957 }
2958 }
2959 }
2960 }
2961
2962 /// Used by the encoding methods of the SwiftProtobuf library, not generally
2963 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
2964 /// other serializer methods are defined in the SwiftProtobuf library. See the
2965 /// `Message` and `Message+*Additions` files.
2966 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
2967 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
2968 if !_storage._name.isEmpty {
2969 try visitor.visitSingularStringField(value: _storage._name, fieldNumber: 1)
2970 }
2971 if let v = _storage._value {
2972 try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
2973 }
2974 }
2975 try unknownFields.traverse(visitor: &visitor)
2976 }
2977
2978 fileprivate var _storage = _StorageClass.defaultInstance
2979 }
2980
2981 /// Automatically-generated message used to represent maps of SchemaOrReference as ordered (name,value) pairs.
2982 public struct Openapi_V3_NamedSchemaOrReference: SwiftProtobuf.Message {
2983 public static let protoMessageName: String = _protobuf_package + ".NamedSchemaOrReference"
2984
2985 /// Map key
2986 public var name: String {
2987 get {return _storage._name}
2988 set {_uniqueStorage()._name = newValue}
2989 }
2990
2991 /// Mapped value
2992 public var value: Openapi_V3_SchemaOrReference {
2993 get {return _storage._value ?? Openapi_V3_SchemaOrReference()}
2994 set {_uniqueStorage()._value = newValue}
2995 }
2996 /// Returns true if `value` has been explicitly set.
2997 public var hasValue: Bool {return _storage._value != nil}
2998 /// Clears the value of `value`. Subsequent reads from it will return its default value.
2999 public mutating func clearValue() {_storage._value = nil}
3000
3001 public var unknownFields = SwiftProtobuf.UnknownStorage()
3002
3003 public init() {}
3004
3005 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
3006 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
3007 /// initializers are defined in the SwiftProtobuf library. See the Message and
3008 /// Message+*Additions` files.
3009 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
3010 _ = _uniqueStorage()
3011 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
3012 while let fieldNumber = try decoder.nextFieldNumber() {
3013 switch fieldNumber {
3014 case 1: try decoder.decodeSingularStringField(value: &_storage._name)
3015 case 2: try decoder.decodeSingularMessageField(value: &_storage._value)
3016 default: break
3017 }
3018 }
3019 }
3020 }
3021
3022 /// Used by the encoding methods of the SwiftProtobuf library, not generally
3023 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
3024 /// other serializer methods are defined in the SwiftProtobuf library. See the
3025 /// `Message` and `Message+*Additions` files.
3026 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
3027 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
3028 if !_storage._name.isEmpty {
3029 try visitor.visitSingularStringField(value: _storage._name, fieldNumber: 1)
3030 }
3031 if let v = _storage._value {
3032 try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
3033 }
3034 }
3035 try unknownFields.traverse(visitor: &visitor)
3036 }
3037
3038 fileprivate var _storage = _StorageClass.defaultInstance
3039 }
3040
3041 /// Automatically-generated message used to represent maps of SecuritySchemeOrReference as ordered (name,value) pairs.
3042 public struct Openapi_V3_NamedSecuritySchemeOrReference: SwiftProtobuf.Message {
3043 public static let protoMessageName: String = _protobuf_package + ".NamedSecuritySchemeOrReference"
3044
3045 /// Map key
3046 public var name: String {
3047 get {return _storage._name}
3048 set {_uniqueStorage()._name = newValue}
3049 }
3050
3051 /// Mapped value
3052 public var value: Openapi_V3_SecuritySchemeOrReference {
3053 get {return _storage._value ?? Openapi_V3_SecuritySchemeOrReference()}
3054 set {_uniqueStorage()._value = newValue}
3055 }
3056 /// Returns true if `value` has been explicitly set.
3057 public var hasValue: Bool {return _storage._value != nil}
3058 /// Clears the value of `value`. Subsequent reads from it will return its default value.
3059 public mutating func clearValue() {_storage._value = nil}
3060
3061 public var unknownFields = SwiftProtobuf.UnknownStorage()
3062
3063 public init() {}
3064
3065 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
3066 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
3067 /// initializers are defined in the SwiftProtobuf library. See the Message and
3068 /// Message+*Additions` files.
3069 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
3070 _ = _uniqueStorage()
3071 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
3072 while let fieldNumber = try decoder.nextFieldNumber() {
3073 switch fieldNumber {
3074 case 1: try decoder.decodeSingularStringField(value: &_storage._name)
3075 case 2: try decoder.decodeSingularMessageField(value: &_storage._value)
3076 default: break
3077 }
3078 }
3079 }
3080 }
3081
3082 /// Used by the encoding methods of the SwiftProtobuf library, not generally
3083 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
3084 /// other serializer methods are defined in the SwiftProtobuf library. See the
3085 /// `Message` and `Message+*Additions` files.
3086 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
3087 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
3088 if !_storage._name.isEmpty {
3089 try visitor.visitSingularStringField(value: _storage._name, fieldNumber: 1)
3090 }
3091 if let v = _storage._value {
3092 try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
3093 }
3094 }
3095 try unknownFields.traverse(visitor: &visitor)
3096 }
3097
3098 fileprivate var _storage = _StorageClass.defaultInstance
3099 }
3100
3101 /// Automatically-generated message used to represent maps of ServerVariable as ordered (name,value) pairs.
3102 public struct Openapi_V3_NamedServerVariable: SwiftProtobuf.Message {
3103 public static let protoMessageName: String = _protobuf_package + ".NamedServerVariable"
3104
3105 /// Map key
3106 public var name: String {
3107 get {return _storage._name}
3108 set {_uniqueStorage()._name = newValue}
3109 }
3110
3111 /// Mapped value
3112 public var value: Openapi_V3_ServerVariable {
3113 get {return _storage._value ?? Openapi_V3_ServerVariable()}
3114 set {_uniqueStorage()._value = newValue}
3115 }
3116 /// Returns true if `value` has been explicitly set.
3117 public var hasValue: Bool {return _storage._value != nil}
3118 /// Clears the value of `value`. Subsequent reads from it will return its default value.
3119 public mutating func clearValue() {_storage._value = nil}
3120
3121 public var unknownFields = SwiftProtobuf.UnknownStorage()
3122
3123 public init() {}
3124
3125 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
3126 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
3127 /// initializers are defined in the SwiftProtobuf library. See the Message and
3128 /// Message+*Additions` files.
3129 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
3130 _ = _uniqueStorage()
3131 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
3132 while let fieldNumber = try decoder.nextFieldNumber() {
3133 switch fieldNumber {
3134 case 1: try decoder.decodeSingularStringField(value: &_storage._name)
3135 case 2: try decoder.decodeSingularMessageField(value: &_storage._value)
3136 default: break
3137 }
3138 }
3139 }
3140 }
3141
3142 /// Used by the encoding methods of the SwiftProtobuf library, not generally
3143 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
3144 /// other serializer methods are defined in the SwiftProtobuf library. See the
3145 /// `Message` and `Message+*Additions` files.
3146 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
3147 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
3148 if !_storage._name.isEmpty {
3149 try visitor.visitSingularStringField(value: _storage._name, fieldNumber: 1)
3150 }
3151 if let v = _storage._value {
3152 try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
3153 }
3154 }
3155 try unknownFields.traverse(visitor: &visitor)
3156 }
3157
3158 fileprivate var _storage = _StorageClass.defaultInstance
3159 }
3160
3161 /// Automatically-generated message used to represent maps of string as ordered (name,value) pairs.
3162 public struct Openapi_V3_NamedString: SwiftProtobuf.Message {
3163 public static let protoMessageName: String = _protobuf_package + ".NamedString"
3164
3165 /// Map key
3166 public var name: String = String()
3167
3168 /// Mapped value
3169 public var value: String = String()
3170
3171 public var unknownFields = SwiftProtobuf.UnknownStorage()
3172
3173 public init() {}
3174
3175 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
3176 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
3177 /// initializers are defined in the SwiftProtobuf library. See the Message and
3178 /// Message+*Additions` files.
3179 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
3180 while let fieldNumber = try decoder.nextFieldNumber() {
3181 switch fieldNumber {
3182 case 1: try decoder.decodeSingularStringField(value: &self.name)
3183 case 2: try decoder.decodeSingularStringField(value: &self.value)
3184 default: break
3185 }
3186 }
3187 }
3188
3189 /// Used by the encoding methods of the SwiftProtobuf library, not generally
3190 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
3191 /// other serializer methods are defined in the SwiftProtobuf library. See the
3192 /// `Message` and `Message+*Additions` files.
3193 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
3194 if !self.name.isEmpty {
3195 try visitor.visitSingularStringField(value: self.name, fieldNumber: 1)
3196 }
3197 if !self.value.isEmpty {
3198 try visitor.visitSingularStringField(value: self.value, fieldNumber: 2)
3199 }
3200 try unknownFields.traverse(visitor: &visitor)
3201 }
3202 }
3203
3204 /// Configuration details for a supported OAuth Flow
3205 public struct Openapi_V3_OauthFlow: SwiftProtobuf.Message {
3206 public static let protoMessageName: String = _protobuf_package + ".OauthFlow"
3207
3208 public var authorizationURL: String {
3209 get {return _storage._authorizationURL}
3210 set {_uniqueStorage()._authorizationURL = newValue}
3211 }
3212
3213 public var tokenURL: String {
3214 get {return _storage._tokenURL}
3215 set {_uniqueStorage()._tokenURL = newValue}
3216 }
3217
3218 public var refreshURL: String {
3219 get {return _storage._refreshURL}
3220 set {_uniqueStorage()._refreshURL = newValue}
3221 }
3222
3223 public var scopes: Openapi_V3_Strings {
3224 get {return _storage._scopes ?? Openapi_V3_Strings()}
3225 set {_uniqueStorage()._scopes = newValue}
3226 }
3227 /// Returns true if `scopes` has been explicitly set.
3228 public var hasScopes: Bool {return _storage._scopes != nil}
3229 /// Clears the value of `scopes`. Subsequent reads from it will return its default value.
3230 public mutating func clearScopes() {_storage._scopes = nil}
3231
3232 public var specificationExtension: [Openapi_V3_NamedAny] {
3233 get {return _storage._specificationExtension}
3234 set {_uniqueStorage()._specificationExtension = newValue}
3235 }
3236
3237 public var unknownFields = SwiftProtobuf.UnknownStorage()
3238
3239 public init() {}
3240
3241 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
3242 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
3243 /// initializers are defined in the SwiftProtobuf library. See the Message and
3244 /// Message+*Additions` files.
3245 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
3246 _ = _uniqueStorage()
3247 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
3248 while let fieldNumber = try decoder.nextFieldNumber() {
3249 switch fieldNumber {
3250 case 1: try decoder.decodeSingularStringField(value: &_storage._authorizationURL)
3251 case 2: try decoder.decodeSingularStringField(value: &_storage._tokenURL)
3252 case 3: try decoder.decodeSingularStringField(value: &_storage._refreshURL)
3253 case 4: try decoder.decodeSingularMessageField(value: &_storage._scopes)
3254 case 5: try decoder.decodeRepeatedMessageField(value: &_storage._specificationExtension)
3255 default: break
3256 }
3257 }
3258 }
3259 }
3260
3261 /// Used by the encoding methods of the SwiftProtobuf library, not generally
3262 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
3263 /// other serializer methods are defined in the SwiftProtobuf library. See the
3264 /// `Message` and `Message+*Additions` files.
3265 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
3266 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
3267 if !_storage._authorizationURL.isEmpty {
3268 try visitor.visitSingularStringField(value: _storage._authorizationURL, fieldNumber: 1)
3269 }
3270 if !_storage._tokenURL.isEmpty {
3271 try visitor.visitSingularStringField(value: _storage._tokenURL, fieldNumber: 2)
3272 }
3273 if !_storage._refreshURL.isEmpty {
3274 try visitor.visitSingularStringField(value: _storage._refreshURL, fieldNumber: 3)
3275 }
3276 if let v = _storage._scopes {
3277 try visitor.visitSingularMessageField(value: v, fieldNumber: 4)
3278 }
3279 if !_storage._specificationExtension.isEmpty {
3280 try visitor.visitRepeatedMessageField(value: _storage._specificationExtension, fieldNumber: 5)
3281 }
3282 }
3283 try unknownFields.traverse(visitor: &visitor)
3284 }
3285
3286 fileprivate var _storage = _StorageClass.defaultInstance
3287 }
3288
3289 /// Allows configuration of the supported OAuth Flows.
3290 public struct Openapi_V3_OauthFlows: SwiftProtobuf.Message {
3291 public static let protoMessageName: String = _protobuf_package + ".OauthFlows"
3292
3293 public var implicit: Openapi_V3_OauthFlow {
3294 get {return _storage._implicit ?? Openapi_V3_OauthFlow()}
3295 set {_uniqueStorage()._implicit = newValue}
3296 }
3297 /// Returns true if `implicit` has been explicitly set.
3298 public var hasImplicit: Bool {return _storage._implicit != nil}
3299 /// Clears the value of `implicit`. Subsequent reads from it will return its default value.
3300 public mutating func clearImplicit() {_storage._implicit = nil}
3301
3302 public var password: Openapi_V3_OauthFlow {
3303 get {return _storage._password ?? Openapi_V3_OauthFlow()}
3304 set {_uniqueStorage()._password = newValue}
3305 }
3306 /// Returns true if `password` has been explicitly set.
3307 public var hasPassword: Bool {return _storage._password != nil}
3308 /// Clears the value of `password`. Subsequent reads from it will return its default value.
3309 public mutating func clearPassword() {_storage._password = nil}
3310
3311 public var clientCredentials: Openapi_V3_OauthFlow {
3312 get {return _storage._clientCredentials ?? Openapi_V3_OauthFlow()}
3313 set {_uniqueStorage()._clientCredentials = newValue}
3314 }
3315 /// Returns true if `clientCredentials` has been explicitly set.
3316 public var hasClientCredentials: Bool {return _storage._clientCredentials != nil}
3317 /// Clears the value of `clientCredentials`. Subsequent reads from it will return its default value.
3318 public mutating func clearClientCredentials() {_storage._clientCredentials = nil}
3319
3320 public var authorizationCode: Openapi_V3_OauthFlow {
3321 get {return _storage._authorizationCode ?? Openapi_V3_OauthFlow()}
3322 set {_uniqueStorage()._authorizationCode = newValue}
3323 }
3324 /// Returns true if `authorizationCode` has been explicitly set.
3325 public var hasAuthorizationCode: Bool {return _storage._authorizationCode != nil}
3326 /// Clears the value of `authorizationCode`. Subsequent reads from it will return its default value.
3327 public mutating func clearAuthorizationCode() {_storage._authorizationCode = nil}
3328
3329 public var specificationExtension: [Openapi_V3_NamedAny] {
3330 get {return _storage._specificationExtension}
3331 set {_uniqueStorage()._specificationExtension = newValue}
3332 }
3333
3334 public var unknownFields = SwiftProtobuf.UnknownStorage()
3335
3336 public init() {}
3337
3338 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
3339 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
3340 /// initializers are defined in the SwiftProtobuf library. See the Message and
3341 /// Message+*Additions` files.
3342 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
3343 _ = _uniqueStorage()
3344 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
3345 while let fieldNumber = try decoder.nextFieldNumber() {
3346 switch fieldNumber {
3347 case 1: try decoder.decodeSingularMessageField(value: &_storage._implicit)
3348 case 2: try decoder.decodeSingularMessageField(value: &_storage._password)
3349 case 3: try decoder.decodeSingularMessageField(value: &_storage._clientCredentials)
3350 case 4: try decoder.decodeSingularMessageField(value: &_storage._authorizationCode)
3351 case 5: try decoder.decodeRepeatedMessageField(value: &_storage._specificationExtension)
3352 default: break
3353 }
3354 }
3355 }
3356 }
3357
3358 /// Used by the encoding methods of the SwiftProtobuf library, not generally
3359 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
3360 /// other serializer methods are defined in the SwiftProtobuf library. See the
3361 /// `Message` and `Message+*Additions` files.
3362 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
3363 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
3364 if let v = _storage._implicit {
3365 try visitor.visitSingularMessageField(value: v, fieldNumber: 1)
3366 }
3367 if let v = _storage._password {
3368 try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
3369 }
3370 if let v = _storage._clientCredentials {
3371 try visitor.visitSingularMessageField(value: v, fieldNumber: 3)
3372 }
3373 if let v = _storage._authorizationCode {
3374 try visitor.visitSingularMessageField(value: v, fieldNumber: 4)
3375 }
3376 if !_storage._specificationExtension.isEmpty {
3377 try visitor.visitRepeatedMessageField(value: _storage._specificationExtension, fieldNumber: 5)
3378 }
3379 }
3380 try unknownFields.traverse(visitor: &visitor)
3381 }
3382
3383 fileprivate var _storage = _StorageClass.defaultInstance
3384 }
3385
3386 public struct Openapi_V3_Object: SwiftProtobuf.Message {
3387 public static let protoMessageName: String = _protobuf_package + ".Object"
3388
3389 public var additionalProperties: [Openapi_V3_NamedAny] = []
3390
3391 public var unknownFields = SwiftProtobuf.UnknownStorage()
3392
3393 public init() {}
3394
3395 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
3396 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
3397 /// initializers are defined in the SwiftProtobuf library. See the Message and
3398 /// Message+*Additions` files.
3399 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
3400 while let fieldNumber = try decoder.nextFieldNumber() {
3401 switch fieldNumber {
3402 case 1: try decoder.decodeRepeatedMessageField(value: &self.additionalProperties)
3403 default: break
3404 }
3405 }
3406 }
3407
3408 /// Used by the encoding methods of the SwiftProtobuf library, not generally
3409 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
3410 /// other serializer methods are defined in the SwiftProtobuf library. See the
3411 /// `Message` and `Message+*Additions` files.
3412 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
3413 if !self.additionalProperties.isEmpty {
3414 try visitor.visitRepeatedMessageField(value: self.additionalProperties, fieldNumber: 1)
3415 }
3416 try unknownFields.traverse(visitor: &visitor)
3417 }
3418 }
3419
3420 /// Describes a single API operation on a path.
3421 public struct Openapi_V3_Operation: SwiftProtobuf.Message {
3422 public static let protoMessageName: String = _protobuf_package + ".Operation"
3423
3424 public var tags: [String] {
3425 get {return _storage._tags}
3426 set {_uniqueStorage()._tags = newValue}
3427 }
3428
3429 public var summary: String {
3430 get {return _storage._summary}
3431 set {_uniqueStorage()._summary = newValue}
3432 }
3433
3434 public var description_p: String {
3435 get {return _storage._description_p}
3436 set {_uniqueStorage()._description_p = newValue}
3437 }
3438
3439 public var externalDocs: Openapi_V3_ExternalDocs {
3440 get {return _storage._externalDocs ?? Openapi_V3_ExternalDocs()}
3441 set {_uniqueStorage()._externalDocs = newValue}
3442 }
3443 /// Returns true if `externalDocs` has been explicitly set.
3444 public var hasExternalDocs: Bool {return _storage._externalDocs != nil}
3445 /// Clears the value of `externalDocs`. Subsequent reads from it will return its default value.
3446 public mutating func clearExternalDocs() {_storage._externalDocs = nil}
3447
3448 public var operationID: String {
3449 get {return _storage._operationID}
3450 set {_uniqueStorage()._operationID = newValue}
3451 }
3452
3453 public var parameters: [Openapi_V3_ParameterOrReference] {
3454 get {return _storage._parameters}
3455 set {_uniqueStorage()._parameters = newValue}
3456 }
3457
3458 public var requestBody: Openapi_V3_RequestBodyOrReference {
3459 get {return _storage._requestBody ?? Openapi_V3_RequestBodyOrReference()}
3460 set {_uniqueStorage()._requestBody = newValue}
3461 }
3462 /// Returns true if `requestBody` has been explicitly set.
3463 public var hasRequestBody: Bool {return _storage._requestBody != nil}
3464 /// Clears the value of `requestBody`. Subsequent reads from it will return its default value.
3465 public mutating func clearRequestBody() {_storage._requestBody = nil}
3466
3467 public var responses: Openapi_V3_Responses {
3468 get {return _storage._responses ?? Openapi_V3_Responses()}
3469 set {_uniqueStorage()._responses = newValue}
3470 }
3471 /// Returns true if `responses` has been explicitly set.
3472 public var hasResponses: Bool {return _storage._responses != nil}
3473 /// Clears the value of `responses`. Subsequent reads from it will return its default value.
3474 public mutating func clearResponses() {_storage._responses = nil}
3475
3476 public var callbacks: Openapi_V3_CallbacksOrReferences {
3477 get {return _storage._callbacks ?? Openapi_V3_CallbacksOrReferences()}
3478 set {_uniqueStorage()._callbacks = newValue}
3479 }
3480 /// Returns true if `callbacks` has been explicitly set.
3481 public var hasCallbacks: Bool {return _storage._callbacks != nil}
3482 /// Clears the value of `callbacks`. Subsequent reads from it will return its default value.
3483 public mutating func clearCallbacks() {_storage._callbacks = nil}
3484
3485 public var deprecated: Bool {
3486 get {return _storage._deprecated}
3487 set {_uniqueStorage()._deprecated = newValue}
3488 }
3489
3490 public var security: [Openapi_V3_SecurityRequirement] {
3491 get {return _storage._security}
3492 set {_uniqueStorage()._security = newValue}
3493 }
3494
3495 public var servers: [Openapi_V3_Server] {
3496 get {return _storage._servers}
3497 set {_uniqueStorage()._servers = newValue}
3498 }
3499
3500 public var specificationExtension: [Openapi_V3_NamedAny] {
3501 get {return _storage._specificationExtension}
3502 set {_uniqueStorage()._specificationExtension = newValue}
3503 }
3504
3505 public var unknownFields = SwiftProtobuf.UnknownStorage()
3506
3507 public init() {}
3508
3509 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
3510 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
3511 /// initializers are defined in the SwiftProtobuf library. See the Message and
3512 /// Message+*Additions` files.
3513 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
3514 _ = _uniqueStorage()
3515 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
3516 while let fieldNumber = try decoder.nextFieldNumber() {
3517 switch fieldNumber {
3518 case 1: try decoder.decodeRepeatedStringField(value: &_storage._tags)
3519 case 2: try decoder.decodeSingularStringField(value: &_storage._summary)
3520 case 3: try decoder.decodeSingularStringField(value: &_storage._description_p)
3521 case 4: try decoder.decodeSingularMessageField(value: &_storage._externalDocs)
3522 case 5: try decoder.decodeSingularStringField(value: &_storage._operationID)
3523 case 6: try decoder.decodeRepeatedMessageField(value: &_storage._parameters)
3524 case 7: try decoder.decodeSingularMessageField(value: &_storage._requestBody)
3525 case 8: try decoder.decodeSingularMessageField(value: &_storage._responses)
3526 case 9: try decoder.decodeSingularMessageField(value: &_storage._callbacks)
3527 case 10: try decoder.decodeSingularBoolField(value: &_storage._deprecated)
3528 case 11: try decoder.decodeRepeatedMessageField(value: &_storage._security)
3529 case 12: try decoder.decodeRepeatedMessageField(value: &_storage._servers)
3530 case 13: try decoder.decodeRepeatedMessageField(value: &_storage._specificationExtension)
3531 default: break
3532 }
3533 }
3534 }
3535 }
3536
3537 /// Used by the encoding methods of the SwiftProtobuf library, not generally
3538 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
3539 /// other serializer methods are defined in the SwiftProtobuf library. See the
3540 /// `Message` and `Message+*Additions` files.
3541 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
3542 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
3543 if !_storage._tags.isEmpty {
3544 try visitor.visitRepeatedStringField(value: _storage._tags, fieldNumber: 1)
3545 }
3546 if !_storage._summary.isEmpty {
3547 try visitor.visitSingularStringField(value: _storage._summary, fieldNumber: 2)
3548 }
3549 if !_storage._description_p.isEmpty {
3550 try visitor.visitSingularStringField(value: _storage._description_p, fieldNumber: 3)
3551 }
3552 if let v = _storage._externalDocs {
3553 try visitor.visitSingularMessageField(value: v, fieldNumber: 4)
3554 }
3555 if !_storage._operationID.isEmpty {
3556 try visitor.visitSingularStringField(value: _storage._operationID, fieldNumber: 5)
3557 }
3558 if !_storage._parameters.isEmpty {
3559 try visitor.visitRepeatedMessageField(value: _storage._parameters, fieldNumber: 6)
3560 }
3561 if let v = _storage._requestBody {
3562 try visitor.visitSingularMessageField(value: v, fieldNumber: 7)
3563 }
3564 if let v = _storage._responses {
3565 try visitor.visitSingularMessageField(value: v, fieldNumber: 8)
3566 }
3567 if let v = _storage._callbacks {
3568 try visitor.visitSingularMessageField(value: v, fieldNumber: 9)
3569 }
3570 if _storage._deprecated != false {
3571 try visitor.visitSingularBoolField(value: _storage._deprecated, fieldNumber: 10)
3572 }
3573 if !_storage._security.isEmpty {
3574 try visitor.visitRepeatedMessageField(value: _storage._security, fieldNumber: 11)
3575 }
3576 if !_storage._servers.isEmpty {
3577 try visitor.visitRepeatedMessageField(value: _storage._servers, fieldNumber: 12)
3578 }
3579 if !_storage._specificationExtension.isEmpty {
3580 try visitor.visitRepeatedMessageField(value: _storage._specificationExtension, fieldNumber: 13)
3581 }
3582 }
3583 try unknownFields.traverse(visitor: &visitor)
3584 }
3585
3586 fileprivate var _storage = _StorageClass.defaultInstance
3587 }
3588
3589 /// Describes a single operation parameter. A unique parameter is defined by a combination of a name and location.
3590 public struct Openapi_V3_Parameter: SwiftProtobuf.Message {
3591 public static let protoMessageName: String = _protobuf_package + ".Parameter"
3592
3593 public var name: String {
3594 get {return _storage._name}
3595 set {_uniqueStorage()._name = newValue}
3596 }
3597
3598 public var `in`: String {
3599 get {return _storage._in}
3600 set {_uniqueStorage()._in = newValue}
3601 }
3602
3603 public var description_p: String {
3604 get {return _storage._description_p}
3605 set {_uniqueStorage()._description_p = newValue}
3606 }
3607
3608 public var required: Bool {
3609 get {return _storage._required}
3610 set {_uniqueStorage()._required = newValue}
3611 }
3612
3613 public var deprecated: Bool {
3614 get {return _storage._deprecated}
3615 set {_uniqueStorage()._deprecated = newValue}
3616 }
3617
3618 public var allowEmptyValue: Bool {
3619 get {return _storage._allowEmptyValue}
3620 set {_uniqueStorage()._allowEmptyValue = newValue}
3621 }
3622
3623 public var style: String {
3624 get {return _storage._style}
3625 set {_uniqueStorage()._style = newValue}
3626 }
3627
3628 public var explode: Bool {
3629 get {return _storage._explode}
3630 set {_uniqueStorage()._explode = newValue}
3631 }
3632
3633 public var allowReserved: Bool {
3634 get {return _storage._allowReserved}
3635 set {_uniqueStorage()._allowReserved = newValue}
3636 }
3637
3638 public var schema: Openapi_V3_SchemaOrReference {
3639 get {return _storage._schema ?? Openapi_V3_SchemaOrReference()}
3640 set {_uniqueStorage()._schema = newValue}
3641 }
3642 /// Returns true if `schema` has been explicitly set.
3643 public var hasSchema: Bool {return _storage._schema != nil}
3644 /// Clears the value of `schema`. Subsequent reads from it will return its default value.
3645 public mutating func clearSchema() {_storage._schema = nil}
3646
3647 public var example: Openapi_V3_Any {
3648 get {return _storage._example ?? Openapi_V3_Any()}
3649 set {_uniqueStorage()._example = newValue}
3650 }
3651 /// Returns true if `example` has been explicitly set.
3652 public var hasExample: Bool {return _storage._example != nil}
3653 /// Clears the value of `example`. Subsequent reads from it will return its default value.
3654 public mutating func clearExample() {_storage._example = nil}
3655
3656 public var examples: Openapi_V3_ExamplesOrReferences {
3657 get {return _storage._examples ?? Openapi_V3_ExamplesOrReferences()}
3658 set {_uniqueStorage()._examples = newValue}
3659 }
3660 /// Returns true if `examples` has been explicitly set.
3661 public var hasExamples: Bool {return _storage._examples != nil}
3662 /// Clears the value of `examples`. Subsequent reads from it will return its default value.
3663 public mutating func clearExamples() {_storage._examples = nil}
3664
3665 public var content: Openapi_V3_MediaTypes {
3666 get {return _storage._content ?? Openapi_V3_MediaTypes()}
3667 set {_uniqueStorage()._content = newValue}
3668 }
3669 /// Returns true if `content` has been explicitly set.
3670 public var hasContent: Bool {return _storage._content != nil}
3671 /// Clears the value of `content`. Subsequent reads from it will return its default value.
3672 public mutating func clearContent() {_storage._content = nil}
3673
3674 public var specificationExtension: [Openapi_V3_NamedAny] {
3675 get {return _storage._specificationExtension}
3676 set {_uniqueStorage()._specificationExtension = newValue}
3677 }
3678
3679 public var unknownFields = SwiftProtobuf.UnknownStorage()
3680
3681 public init() {}
3682
3683 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
3684 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
3685 /// initializers are defined in the SwiftProtobuf library. See the Message and
3686 /// Message+*Additions` files.
3687 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
3688 _ = _uniqueStorage()
3689 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
3690 while let fieldNumber = try decoder.nextFieldNumber() {
3691 switch fieldNumber {
3692 case 1: try decoder.decodeSingularStringField(value: &_storage._name)
3693 case 2: try decoder.decodeSingularStringField(value: &_storage._in)
3694 case 3: try decoder.decodeSingularStringField(value: &_storage._description_p)
3695 case 4: try decoder.decodeSingularBoolField(value: &_storage._required)
3696 case 5: try decoder.decodeSingularBoolField(value: &_storage._deprecated)
3697 case 6: try decoder.decodeSingularBoolField(value: &_storage._allowEmptyValue)
3698 case 7: try decoder.decodeSingularStringField(value: &_storage._style)
3699 case 8: try decoder.decodeSingularBoolField(value: &_storage._explode)
3700 case 9: try decoder.decodeSingularBoolField(value: &_storage._allowReserved)
3701 case 10: try decoder.decodeSingularMessageField(value: &_storage._schema)
3702 case 11: try decoder.decodeSingularMessageField(value: &_storage._example)
3703 case 12: try decoder.decodeSingularMessageField(value: &_storage._examples)
3704 case 13: try decoder.decodeSingularMessageField(value: &_storage._content)
3705 case 14: try decoder.decodeRepeatedMessageField(value: &_storage._specificationExtension)
3706 default: break
3707 }
3708 }
3709 }
3710 }
3711
3712 /// Used by the encoding methods of the SwiftProtobuf library, not generally
3713 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
3714 /// other serializer methods are defined in the SwiftProtobuf library. See the
3715 /// `Message` and `Message+*Additions` files.
3716 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
3717 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
3718 if !_storage._name.isEmpty {
3719 try visitor.visitSingularStringField(value: _storage._name, fieldNumber: 1)
3720 }
3721 if !_storage._in.isEmpty {
3722 try visitor.visitSingularStringField(value: _storage._in, fieldNumber: 2)
3723 }
3724 if !_storage._description_p.isEmpty {
3725 try visitor.visitSingularStringField(value: _storage._description_p, fieldNumber: 3)
3726 }
3727 if _storage._required != false {
3728 try visitor.visitSingularBoolField(value: _storage._required, fieldNumber: 4)
3729 }
3730 if _storage._deprecated != false {
3731 try visitor.visitSingularBoolField(value: _storage._deprecated, fieldNumber: 5)
3732 }
3733 if _storage._allowEmptyValue != false {
3734 try visitor.visitSingularBoolField(value: _storage._allowEmptyValue, fieldNumber: 6)
3735 }
3736 if !_storage._style.isEmpty {
3737 try visitor.visitSingularStringField(value: _storage._style, fieldNumber: 7)
3738 }
3739 if _storage._explode != false {
3740 try visitor.visitSingularBoolField(value: _storage._explode, fieldNumber: 8)
3741 }
3742 if _storage._allowReserved != false {
3743 try visitor.visitSingularBoolField(value: _storage._allowReserved, fieldNumber: 9)
3744 }
3745 if let v = _storage._schema {
3746 try visitor.visitSingularMessageField(value: v, fieldNumber: 10)
3747 }
3748 if let v = _storage._example {
3749 try visitor.visitSingularMessageField(value: v, fieldNumber: 11)
3750 }
3751 if let v = _storage._examples {
3752 try visitor.visitSingularMessageField(value: v, fieldNumber: 12)
3753 }
3754 if let v = _storage._content {
3755 try visitor.visitSingularMessageField(value: v, fieldNumber: 13)
3756 }
3757 if !_storage._specificationExtension.isEmpty {
3758 try visitor.visitRepeatedMessageField(value: _storage._specificationExtension, fieldNumber: 14)
3759 }
3760 }
3761 try unknownFields.traverse(visitor: &visitor)
3762 }
3763
3764 fileprivate var _storage = _StorageClass.defaultInstance
3765 }
3766
3767 public struct Openapi_V3_ParameterOrReference: SwiftProtobuf.Message {
3768 public static let protoMessageName: String = _protobuf_package + ".ParameterOrReference"
3769
3770 public var oneof: OneOf_Oneof? {
3771 get {return _storage._oneof}
3772 set {_uniqueStorage()._oneof = newValue}
3773 }
3774
3775 public var parameter: Openapi_V3_Parameter {
3776 get {
3777 if case .parameter(let v)? = _storage._oneof {return v}
3778 return Openapi_V3_Parameter()
3779 }
3780 set {_uniqueStorage()._oneof = .parameter(newValue)}
3781 }
3782
3783 public var reference: Openapi_V3_Reference {
3784 get {
3785 if case .reference(let v)? = _storage._oneof {return v}
3786 return Openapi_V3_Reference()
3787 }
3788 set {_uniqueStorage()._oneof = .reference(newValue)}
3789 }
3790
3791 public var unknownFields = SwiftProtobuf.UnknownStorage()
3792
3793 public enum OneOf_Oneof: Equatable {
3794 case parameter(Openapi_V3_Parameter)
3795 case reference(Openapi_V3_Reference)
3796
3797 public static func ==(lhs: Openapi_V3_ParameterOrReference.OneOf_Oneof, rhs: Openapi_V3_ParameterOrReference.OneOf_Oneof) -> Bool {
3798 switch (lhs, rhs) {
3799 case (.parameter(let l), .parameter(let r)): return l == r
3800 case (.reference(let l), .reference(let r)): return l == r
3801 default: return false
3802 }
3803 }
3804 }
3805
3806 public init() {}
3807
3808 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
3809 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
3810 /// initializers are defined in the SwiftProtobuf library. See the Message and
3811 /// Message+*Additions` files.
3812 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
3813 _ = _uniqueStorage()
3814 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
3815 while let fieldNumber = try decoder.nextFieldNumber() {
3816 switch fieldNumber {
3817 case 1:
3818 var v: Openapi_V3_Parameter?
3819 if let current = _storage._oneof {
3820 try decoder.handleConflictingOneOf()
3821 if case .parameter(let m) = current {v = m}
3822 }
3823 try decoder.decodeSingularMessageField(value: &v)
3824 if let v = v {_storage._oneof = .parameter(v)}
3825 case 2:
3826 var v: Openapi_V3_Reference?
3827 if let current = _storage._oneof {
3828 try decoder.handleConflictingOneOf()
3829 if case .reference(let m) = current {v = m}
3830 }
3831 try decoder.decodeSingularMessageField(value: &v)
3832 if let v = v {_storage._oneof = .reference(v)}
3833 default: break
3834 }
3835 }
3836 }
3837 }
3838
3839 /// Used by the encoding methods of the SwiftProtobuf library, not generally
3840 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
3841 /// other serializer methods are defined in the SwiftProtobuf library. See the
3842 /// `Message` and `Message+*Additions` files.
3843 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
3844 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
3845 switch _storage._oneof {
3846 case .parameter(let v)?:
3847 try visitor.visitSingularMessageField(value: v, fieldNumber: 1)
3848 case .reference(let v)?:
3849 try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
3850 case nil: break
3851 }
3852 }
3853 try unknownFields.traverse(visitor: &visitor)
3854 }
3855
3856 fileprivate var _storage = _StorageClass.defaultInstance
3857 }
3858
3859 public struct Openapi_V3_ParametersOrReferences: SwiftProtobuf.Message {
3860 public static let protoMessageName: String = _protobuf_package + ".ParametersOrReferences"
3861
3862 public var additionalProperties: [Openapi_V3_NamedParameterOrReference] = []
3863
3864 public var unknownFields = SwiftProtobuf.UnknownStorage()
3865
3866 public init() {}
3867
3868 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
3869 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
3870 /// initializers are defined in the SwiftProtobuf library. See the Message and
3871 /// Message+*Additions` files.
3872 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
3873 while let fieldNumber = try decoder.nextFieldNumber() {
3874 switch fieldNumber {
3875 case 1: try decoder.decodeRepeatedMessageField(value: &self.additionalProperties)
3876 default: break
3877 }
3878 }
3879 }
3880
3881 /// Used by the encoding methods of the SwiftProtobuf library, not generally
3882 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
3883 /// other serializer methods are defined in the SwiftProtobuf library. See the
3884 /// `Message` and `Message+*Additions` files.
3885 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
3886 if !self.additionalProperties.isEmpty {
3887 try visitor.visitRepeatedMessageField(value: self.additionalProperties, fieldNumber: 1)
3888 }
3889 try unknownFields.traverse(visitor: &visitor)
3890 }
3891 }
3892
3893 /// Describes the operations available on a single path. A Path Item MAY be empty, due to ACL constraints. The path itself is still exposed to the documentation viewer but they will not know which operations and parameters are available.
3894 public struct Openapi_V3_PathItem: SwiftProtobuf.Message {
3895 public static let protoMessageName: String = _protobuf_package + ".PathItem"
3896
3897 public var ref: String {
3898 get {return _storage._ref}
3899 set {_uniqueStorage()._ref = newValue}
3900 }
3901
3902 public var summary: String {
3903 get {return _storage._summary}
3904 set {_uniqueStorage()._summary = newValue}
3905 }
3906
3907 public var description_p: String {
3908 get {return _storage._description_p}
3909 set {_uniqueStorage()._description_p = newValue}
3910 }
3911
3912 public var get: Openapi_V3_Operation {
3913 get {return _storage._get ?? Openapi_V3_Operation()}
3914 set {_uniqueStorage()._get = newValue}
3915 }
3916 /// Returns true if `get` has been explicitly set.
3917 public var hasGet: Bool {return _storage._get != nil}
3918 /// Clears the value of `get`. Subsequent reads from it will return its default value.
3919 public mutating func clearGet() {_storage._get = nil}
3920
3921 public var put: Openapi_V3_Operation {
3922 get {return _storage._put ?? Openapi_V3_Operation()}
3923 set {_uniqueStorage()._put = newValue}
3924 }
3925 /// Returns true if `put` has been explicitly set.
3926 public var hasPut: Bool {return _storage._put != nil}
3927 /// Clears the value of `put`. Subsequent reads from it will return its default value.
3928 public mutating func clearPut() {_storage._put = nil}
3929
3930 public var post: Openapi_V3_Operation {
3931 get {return _storage._post ?? Openapi_V3_Operation()}
3932 set {_uniqueStorage()._post = newValue}
3933 }
3934 /// Returns true if `post` has been explicitly set.
3935 public var hasPost: Bool {return _storage._post != nil}
3936 /// Clears the value of `post`. Subsequent reads from it will return its default value.
3937 public mutating func clearPost() {_storage._post = nil}
3938
3939 public var delete: Openapi_V3_Operation {
3940 get {return _storage._delete ?? Openapi_V3_Operation()}
3941 set {_uniqueStorage()._delete = newValue}
3942 }
3943 /// Returns true if `delete` has been explicitly set.
3944 public var hasDelete: Bool {return _storage._delete != nil}
3945 /// Clears the value of `delete`. Subsequent reads from it will return its default value.
3946 public mutating func clearDelete() {_storage._delete = nil}
3947
3948 public var options: Openapi_V3_Operation {
3949 get {return _storage._options ?? Openapi_V3_Operation()}
3950 set {_uniqueStorage()._options = newValue}
3951 }
3952 /// Returns true if `options` has been explicitly set.
3953 public var hasOptions: Bool {return _storage._options != nil}
3954 /// Clears the value of `options`. Subsequent reads from it will return its default value.
3955 public mutating func clearOptions() {_storage._options = nil}
3956
3957 public var head: Openapi_V3_Operation {
3958 get {return _storage._head ?? Openapi_V3_Operation()}
3959 set {_uniqueStorage()._head = newValue}
3960 }
3961 /// Returns true if `head` has been explicitly set.
3962 public var hasHead: Bool {return _storage._head != nil}
3963 /// Clears the value of `head`. Subsequent reads from it will return its default value.
3964 public mutating func clearHead() {_storage._head = nil}
3965
3966 public var patch: Openapi_V3_Operation {
3967 get {return _storage._patch ?? Openapi_V3_Operation()}
3968 set {_uniqueStorage()._patch = newValue}
3969 }
3970 /// Returns true if `patch` has been explicitly set.
3971 public var hasPatch: Bool {return _storage._patch != nil}
3972 /// Clears the value of `patch`. Subsequent reads from it will return its default value.
3973 public mutating func clearPatch() {_storage._patch = nil}
3974
3975 public var trace: Openapi_V3_Operation {
3976 get {return _storage._trace ?? Openapi_V3_Operation()}
3977 set {_uniqueStorage()._trace = newValue}
3978 }
3979 /// Returns true if `trace` has been explicitly set.
3980 public var hasTrace: Bool {return _storage._trace != nil}
3981 /// Clears the value of `trace`. Subsequent reads from it will return its default value.
3982 public mutating func clearTrace() {_storage._trace = nil}
3983
3984 public var servers: [Openapi_V3_Server] {
3985 get {return _storage._servers}
3986 set {_uniqueStorage()._servers = newValue}
3987 }
3988
3989 public var parameters: [Openapi_V3_ParameterOrReference] {
3990 get {return _storage._parameters}
3991 set {_uniqueStorage()._parameters = newValue}
3992 }
3993
3994 public var specificationExtension: [Openapi_V3_NamedAny] {
3995 get {return _storage._specificationExtension}
3996 set {_uniqueStorage()._specificationExtension = newValue}
3997 }
3998
3999 public var unknownFields = SwiftProtobuf.UnknownStorage()
4000
4001 public init() {}
4002
4003 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
4004 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
4005 /// initializers are defined in the SwiftProtobuf library. See the Message and
4006 /// Message+*Additions` files.
4007 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
4008 _ = _uniqueStorage()
4009 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
4010 while let fieldNumber = try decoder.nextFieldNumber() {
4011 switch fieldNumber {
4012 case 1: try decoder.decodeSingularStringField(value: &_storage._ref)
4013 case 2: try decoder.decodeSingularStringField(value: &_storage._summary)
4014 case 3: try decoder.decodeSingularStringField(value: &_storage._description_p)
4015 case 4: try decoder.decodeSingularMessageField(value: &_storage._get)
4016 case 5: try decoder.decodeSingularMessageField(value: &_storage._put)
4017 case 6: try decoder.decodeSingularMessageField(value: &_storage._post)
4018 case 7: try decoder.decodeSingularMessageField(value: &_storage._delete)
4019 case 8: try decoder.decodeSingularMessageField(value: &_storage._options)
4020 case 9: try decoder.decodeSingularMessageField(value: &_storage._head)
4021 case 10: try decoder.decodeSingularMessageField(value: &_storage._patch)
4022 case 11: try decoder.decodeSingularMessageField(value: &_storage._trace)
4023 case 12: try decoder.decodeRepeatedMessageField(value: &_storage._servers)
4024 case 13: try decoder.decodeRepeatedMessageField(value: &_storage._parameters)
4025 case 14: try decoder.decodeRepeatedMessageField(value: &_storage._specificationExtension)
4026 default: break
4027 }
4028 }
4029 }
4030 }
4031
4032 /// Used by the encoding methods of the SwiftProtobuf library, not generally
4033 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
4034 /// other serializer methods are defined in the SwiftProtobuf library. See the
4035 /// `Message` and `Message+*Additions` files.
4036 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
4037 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
4038 if !_storage._ref.isEmpty {
4039 try visitor.visitSingularStringField(value: _storage._ref, fieldNumber: 1)
4040 }
4041 if !_storage._summary.isEmpty {
4042 try visitor.visitSingularStringField(value: _storage._summary, fieldNumber: 2)
4043 }
4044 if !_storage._description_p.isEmpty {
4045 try visitor.visitSingularStringField(value: _storage._description_p, fieldNumber: 3)
4046 }
4047 if let v = _storage._get {
4048 try visitor.visitSingularMessageField(value: v, fieldNumber: 4)
4049 }
4050 if let v = _storage._put {
4051 try visitor.visitSingularMessageField(value: v, fieldNumber: 5)
4052 }
4053 if let v = _storage._post {
4054 try visitor.visitSingularMessageField(value: v, fieldNumber: 6)
4055 }
4056 if let v = _storage._delete {
4057 try visitor.visitSingularMessageField(value: v, fieldNumber: 7)
4058 }
4059 if let v = _storage._options {
4060 try visitor.visitSingularMessageField(value: v, fieldNumber: 8)
4061 }
4062 if let v = _storage._head {
4063 try visitor.visitSingularMessageField(value: v, fieldNumber: 9)
4064 }
4065 if let v = _storage._patch {
4066 try visitor.visitSingularMessageField(value: v, fieldNumber: 10)
4067 }
4068 if let v = _storage._trace {
4069 try visitor.visitSingularMessageField(value: v, fieldNumber: 11)
4070 }
4071 if !_storage._servers.isEmpty {
4072 try visitor.visitRepeatedMessageField(value: _storage._servers, fieldNumber: 12)
4073 }
4074 if !_storage._parameters.isEmpty {
4075 try visitor.visitRepeatedMessageField(value: _storage._parameters, fieldNumber: 13)
4076 }
4077 if !_storage._specificationExtension.isEmpty {
4078 try visitor.visitRepeatedMessageField(value: _storage._specificationExtension, fieldNumber: 14)
4079 }
4080 }
4081 try unknownFields.traverse(visitor: &visitor)
4082 }
4083
4084 fileprivate var _storage = _StorageClass.defaultInstance
4085 }
4086
4087 /// Holds the relative paths to the individual endpoints and their operations. The path is appended to the URL from the `Server Object` in order to construct the full URL. The Paths MAY be empty, due to ACL constraints.
4088 public struct Openapi_V3_Paths: SwiftProtobuf.Message {
4089 public static let protoMessageName: String = _protobuf_package + ".Paths"
4090
4091 public var path: [Openapi_V3_NamedPathItem] = []
4092
4093 public var specificationExtension: [Openapi_V3_NamedAny] = []
4094
4095 public var unknownFields = SwiftProtobuf.UnknownStorage()
4096
4097 public init() {}
4098
4099 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
4100 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
4101 /// initializers are defined in the SwiftProtobuf library. See the Message and
4102 /// Message+*Additions` files.
4103 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
4104 while let fieldNumber = try decoder.nextFieldNumber() {
4105 switch fieldNumber {
4106 case 1: try decoder.decodeRepeatedMessageField(value: &self.path)
4107 case 2: try decoder.decodeRepeatedMessageField(value: &self.specificationExtension)
4108 default: break
4109 }
4110 }
4111 }
4112
4113 /// Used by the encoding methods of the SwiftProtobuf library, not generally
4114 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
4115 /// other serializer methods are defined in the SwiftProtobuf library. See the
4116 /// `Message` and `Message+*Additions` files.
4117 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
4118 if !self.path.isEmpty {
4119 try visitor.visitRepeatedMessageField(value: self.path, fieldNumber: 1)
4120 }
4121 if !self.specificationExtension.isEmpty {
4122 try visitor.visitRepeatedMessageField(value: self.specificationExtension, fieldNumber: 2)
4123 }
4124 try unknownFields.traverse(visitor: &visitor)
4125 }
4126 }
4127
4128 public struct Openapi_V3_Properties: SwiftProtobuf.Message {
4129 public static let protoMessageName: String = _protobuf_package + ".Properties"
4130
4131 public var additionalProperties: [Openapi_V3_NamedSchemaOrReference] = []
4132
4133 public var unknownFields = SwiftProtobuf.UnknownStorage()
4134
4135 public init() {}
4136
4137 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
4138 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
4139 /// initializers are defined in the SwiftProtobuf library. See the Message and
4140 /// Message+*Additions` files.
4141 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
4142 while let fieldNumber = try decoder.nextFieldNumber() {
4143 switch fieldNumber {
4144 case 1: try decoder.decodeRepeatedMessageField(value: &self.additionalProperties)
4145 default: break
4146 }
4147 }
4148 }
4149
4150 /// Used by the encoding methods of the SwiftProtobuf library, not generally
4151 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
4152 /// other serializer methods are defined in the SwiftProtobuf library. See the
4153 /// `Message` and `Message+*Additions` files.
4154 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
4155 if !self.additionalProperties.isEmpty {
4156 try visitor.visitRepeatedMessageField(value: self.additionalProperties, fieldNumber: 1)
4157 }
4158 try unknownFields.traverse(visitor: &visitor)
4159 }
4160 }
4161
4162 /// A simple object to allow referencing other components in the specification, internally and externally. The Reference Object is defined by JSON Reference and follows the same structure, behavior and rules. For this specification, reference resolution is accomplished as defined by the JSON Reference specification and not by the JSON Schema specification.
4163 public struct Openapi_V3_Reference: SwiftProtobuf.Message {
4164 public static let protoMessageName: String = _protobuf_package + ".Reference"
4165
4166 public var ref: String = String()
4167
4168 public var unknownFields = SwiftProtobuf.UnknownStorage()
4169
4170 public init() {}
4171
4172 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
4173 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
4174 /// initializers are defined in the SwiftProtobuf library. See the Message and
4175 /// Message+*Additions` files.
4176 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
4177 while let fieldNumber = try decoder.nextFieldNumber() {
4178 switch fieldNumber {
4179 case 1: try decoder.decodeSingularStringField(value: &self.ref)
4180 default: break
4181 }
4182 }
4183 }
4184
4185 /// Used by the encoding methods of the SwiftProtobuf library, not generally
4186 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
4187 /// other serializer methods are defined in the SwiftProtobuf library. See the
4188 /// `Message` and `Message+*Additions` files.
4189 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
4190 if !self.ref.isEmpty {
4191 try visitor.visitSingularStringField(value: self.ref, fieldNumber: 1)
4192 }
4193 try unknownFields.traverse(visitor: &visitor)
4194 }
4195 }
4196
4197 public struct Openapi_V3_RequestBodiesOrReferences: SwiftProtobuf.Message {
4198 public static let protoMessageName: String = _protobuf_package + ".RequestBodiesOrReferences"
4199
4200 public var additionalProperties: [Openapi_V3_NamedRequestBodyOrReference] = []
4201
4202 public var unknownFields = SwiftProtobuf.UnknownStorage()
4203
4204 public init() {}
4205
4206 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
4207 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
4208 /// initializers are defined in the SwiftProtobuf library. See the Message and
4209 /// Message+*Additions` files.
4210 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
4211 while let fieldNumber = try decoder.nextFieldNumber() {
4212 switch fieldNumber {
4213 case 1: try decoder.decodeRepeatedMessageField(value: &self.additionalProperties)
4214 default: break
4215 }
4216 }
4217 }
4218
4219 /// Used by the encoding methods of the SwiftProtobuf library, not generally
4220 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
4221 /// other serializer methods are defined in the SwiftProtobuf library. See the
4222 /// `Message` and `Message+*Additions` files.
4223 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
4224 if !self.additionalProperties.isEmpty {
4225 try visitor.visitRepeatedMessageField(value: self.additionalProperties, fieldNumber: 1)
4226 }
4227 try unknownFields.traverse(visitor: &visitor)
4228 }
4229 }
4230
4231 /// Describes a single request body.
4232 public struct Openapi_V3_RequestBody: SwiftProtobuf.Message {
4233 public static let protoMessageName: String = _protobuf_package + ".RequestBody"
4234
4235 public var description_p: String {
4236 get {return _storage._description_p}
4237 set {_uniqueStorage()._description_p = newValue}
4238 }
4239
4240 public var content: Openapi_V3_MediaTypes {
4241 get {return _storage._content ?? Openapi_V3_MediaTypes()}
4242 set {_uniqueStorage()._content = newValue}
4243 }
4244 /// Returns true if `content` has been explicitly set.
4245 public var hasContent: Bool {return _storage._content != nil}
4246 /// Clears the value of `content`. Subsequent reads from it will return its default value.
4247 public mutating func clearContent() {_storage._content = nil}
4248
4249 public var required: Bool {
4250 get {return _storage._required}
4251 set {_uniqueStorage()._required = newValue}
4252 }
4253
4254 public var specificationExtension: [Openapi_V3_NamedAny] {
4255 get {return _storage._specificationExtension}
4256 set {_uniqueStorage()._specificationExtension = newValue}
4257 }
4258
4259 public var unknownFields = SwiftProtobuf.UnknownStorage()
4260
4261 public init() {}
4262
4263 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
4264 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
4265 /// initializers are defined in the SwiftProtobuf library. See the Message and
4266 /// Message+*Additions` files.
4267 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
4268 _ = _uniqueStorage()
4269 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
4270 while let fieldNumber = try decoder.nextFieldNumber() {
4271 switch fieldNumber {
4272 case 1: try decoder.decodeSingularStringField(value: &_storage._description_p)
4273 case 2: try decoder.decodeSingularMessageField(value: &_storage._content)
4274 case 3: try decoder.decodeSingularBoolField(value: &_storage._required)
4275 case 4: try decoder.decodeRepeatedMessageField(value: &_storage._specificationExtension)
4276 default: break
4277 }
4278 }
4279 }
4280 }
4281
4282 /// Used by the encoding methods of the SwiftProtobuf library, not generally
4283 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
4284 /// other serializer methods are defined in the SwiftProtobuf library. See the
4285 /// `Message` and `Message+*Additions` files.
4286 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
4287 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
4288 if !_storage._description_p.isEmpty {
4289 try visitor.visitSingularStringField(value: _storage._description_p, fieldNumber: 1)
4290 }
4291 if let v = _storage._content {
4292 try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
4293 }
4294 if _storage._required != false {
4295 try visitor.visitSingularBoolField(value: _storage._required, fieldNumber: 3)
4296 }
4297 if !_storage._specificationExtension.isEmpty {
4298 try visitor.visitRepeatedMessageField(value: _storage._specificationExtension, fieldNumber: 4)
4299 }
4300 }
4301 try unknownFields.traverse(visitor: &visitor)
4302 }
4303
4304 fileprivate var _storage = _StorageClass.defaultInstance
4305 }
4306
4307 public struct Openapi_V3_RequestBodyOrReference: SwiftProtobuf.Message {
4308 public static let protoMessageName: String = _protobuf_package + ".RequestBodyOrReference"
4309
4310 public var oneof: OneOf_Oneof? {
4311 get {return _storage._oneof}
4312 set {_uniqueStorage()._oneof = newValue}
4313 }
4314
4315 public var requestBody: Openapi_V3_RequestBody {
4316 get {
4317 if case .requestBody(let v)? = _storage._oneof {return v}
4318 return Openapi_V3_RequestBody()
4319 }
4320 set {_uniqueStorage()._oneof = .requestBody(newValue)}
4321 }
4322
4323 public var reference: Openapi_V3_Reference {
4324 get {
4325 if case .reference(let v)? = _storage._oneof {return v}
4326 return Openapi_V3_Reference()
4327 }
4328 set {_uniqueStorage()._oneof = .reference(newValue)}
4329 }
4330
4331 public var unknownFields = SwiftProtobuf.UnknownStorage()
4332
4333 public enum OneOf_Oneof: Equatable {
4334 case requestBody(Openapi_V3_RequestBody)
4335 case reference(Openapi_V3_Reference)
4336
4337 public static func ==(lhs: Openapi_V3_RequestBodyOrReference.OneOf_Oneof, rhs: Openapi_V3_RequestBodyOrReference.OneOf_Oneof) -> Bool {
4338 switch (lhs, rhs) {
4339 case (.requestBody(let l), .requestBody(let r)): return l == r
4340 case (.reference(let l), .reference(let r)): return l == r
4341 default: return false
4342 }
4343 }
4344 }
4345
4346 public init() {}
4347
4348 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
4349 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
4350 /// initializers are defined in the SwiftProtobuf library. See the Message and
4351 /// Message+*Additions` files.
4352 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
4353 _ = _uniqueStorage()
4354 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
4355 while let fieldNumber = try decoder.nextFieldNumber() {
4356 switch fieldNumber {
4357 case 1:
4358 var v: Openapi_V3_RequestBody?
4359 if let current = _storage._oneof {
4360 try decoder.handleConflictingOneOf()
4361 if case .requestBody(let m) = current {v = m}
4362 }
4363 try decoder.decodeSingularMessageField(value: &v)
4364 if let v = v {_storage._oneof = .requestBody(v)}
4365 case 2:
4366 var v: Openapi_V3_Reference?
4367 if let current = _storage._oneof {
4368 try decoder.handleConflictingOneOf()
4369 if case .reference(let m) = current {v = m}
4370 }
4371 try decoder.decodeSingularMessageField(value: &v)
4372 if let v = v {_storage._oneof = .reference(v)}
4373 default: break
4374 }
4375 }
4376 }
4377 }
4378
4379 /// Used by the encoding methods of the SwiftProtobuf library, not generally
4380 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
4381 /// other serializer methods are defined in the SwiftProtobuf library. See the
4382 /// `Message` and `Message+*Additions` files.
4383 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
4384 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
4385 switch _storage._oneof {
4386 case .requestBody(let v)?:
4387 try visitor.visitSingularMessageField(value: v, fieldNumber: 1)
4388 case .reference(let v)?:
4389 try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
4390 case nil: break
4391 }
4392 }
4393 try unknownFields.traverse(visitor: &visitor)
4394 }
4395
4396 fileprivate var _storage = _StorageClass.defaultInstance
4397 }
4398
4399 /// Describes a single response from an API Operation, including design-time, static `links` to operations based on the response.
4400 public struct Openapi_V3_Response: SwiftProtobuf.Message {
4401 public static let protoMessageName: String = _protobuf_package + ".Response"
4402
4403 public var description_p: String {
4404 get {return _storage._description_p}
4405 set {_uniqueStorage()._description_p = newValue}
4406 }
4407
4408 public var headers: Openapi_V3_HeadersOrReferences {
4409 get {return _storage._headers ?? Openapi_V3_HeadersOrReferences()}
4410 set {_uniqueStorage()._headers = newValue}
4411 }
4412 /// Returns true if `headers` has been explicitly set.
4413 public var hasHeaders: Bool {return _storage._headers != nil}
4414 /// Clears the value of `headers`. Subsequent reads from it will return its default value.
4415 public mutating func clearHeaders() {_storage._headers = nil}
4416
4417 public var content: Openapi_V3_MediaTypes {
4418 get {return _storage._content ?? Openapi_V3_MediaTypes()}
4419 set {_uniqueStorage()._content = newValue}
4420 }
4421 /// Returns true if `content` has been explicitly set.
4422 public var hasContent: Bool {return _storage._content != nil}
4423 /// Clears the value of `content`. Subsequent reads from it will return its default value.
4424 public mutating func clearContent() {_storage._content = nil}
4425
4426 public var links: Openapi_V3_LinksOrReferences {
4427 get {return _storage._links ?? Openapi_V3_LinksOrReferences()}
4428 set {_uniqueStorage()._links = newValue}
4429 }
4430 /// Returns true if `links` has been explicitly set.
4431 public var hasLinks: Bool {return _storage._links != nil}
4432 /// Clears the value of `links`. Subsequent reads from it will return its default value.
4433 public mutating func clearLinks() {_storage._links = nil}
4434
4435 public var specificationExtension: [Openapi_V3_NamedAny] {
4436 get {return _storage._specificationExtension}
4437 set {_uniqueStorage()._specificationExtension = newValue}
4438 }
4439
4440 public var unknownFields = SwiftProtobuf.UnknownStorage()
4441
4442 public init() {}
4443
4444 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
4445 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
4446 /// initializers are defined in the SwiftProtobuf library. See the Message and
4447 /// Message+*Additions` files.
4448 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
4449 _ = _uniqueStorage()
4450 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
4451 while let fieldNumber = try decoder.nextFieldNumber() {
4452 switch fieldNumber {
4453 case 1: try decoder.decodeSingularStringField(value: &_storage._description_p)
4454 case 2: try decoder.decodeSingularMessageField(value: &_storage._headers)
4455 case 3: try decoder.decodeSingularMessageField(value: &_storage._content)
4456 case 4: try decoder.decodeSingularMessageField(value: &_storage._links)
4457 case 5: try decoder.decodeRepeatedMessageField(value: &_storage._specificationExtension)
4458 default: break
4459 }
4460 }
4461 }
4462 }
4463
4464 /// Used by the encoding methods of the SwiftProtobuf library, not generally
4465 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
4466 /// other serializer methods are defined in the SwiftProtobuf library. See the
4467 /// `Message` and `Message+*Additions` files.
4468 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
4469 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
4470 if !_storage._description_p.isEmpty {
4471 try visitor.visitSingularStringField(value: _storage._description_p, fieldNumber: 1)
4472 }
4473 if let v = _storage._headers {
4474 try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
4475 }
4476 if let v = _storage._content {
4477 try visitor.visitSingularMessageField(value: v, fieldNumber: 3)
4478 }
4479 if let v = _storage._links {
4480 try visitor.visitSingularMessageField(value: v, fieldNumber: 4)
4481 }
4482 if !_storage._specificationExtension.isEmpty {
4483 try visitor.visitRepeatedMessageField(value: _storage._specificationExtension, fieldNumber: 5)
4484 }
4485 }
4486 try unknownFields.traverse(visitor: &visitor)
4487 }
4488
4489 fileprivate var _storage = _StorageClass.defaultInstance
4490 }
4491
4492 public struct Openapi_V3_ResponseOrReference: SwiftProtobuf.Message {
4493 public static let protoMessageName: String = _protobuf_package + ".ResponseOrReference"
4494
4495 public var oneof: OneOf_Oneof? {
4496 get {return _storage._oneof}
4497 set {_uniqueStorage()._oneof = newValue}
4498 }
4499
4500 public var response: Openapi_V3_Response {
4501 get {
4502 if case .response(let v)? = _storage._oneof {return v}
4503 return Openapi_V3_Response()
4504 }
4505 set {_uniqueStorage()._oneof = .response(newValue)}
4506 }
4507
4508 public var reference: Openapi_V3_Reference {
4509 get {
4510 if case .reference(let v)? = _storage._oneof {return v}
4511 return Openapi_V3_Reference()
4512 }
4513 set {_uniqueStorage()._oneof = .reference(newValue)}
4514 }
4515
4516 public var unknownFields = SwiftProtobuf.UnknownStorage()
4517
4518 public enum OneOf_Oneof: Equatable {
4519 case response(Openapi_V3_Response)
4520 case reference(Openapi_V3_Reference)
4521
4522 public static func ==(lhs: Openapi_V3_ResponseOrReference.OneOf_Oneof, rhs: Openapi_V3_ResponseOrReference.OneOf_Oneof) -> Bool {
4523 switch (lhs, rhs) {
4524 case (.response(let l), .response(let r)): return l == r
4525 case (.reference(let l), .reference(let r)): return l == r
4526 default: return false
4527 }
4528 }
4529 }
4530
4531 public init() {}
4532
4533 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
4534 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
4535 /// initializers are defined in the SwiftProtobuf library. See the Message and
4536 /// Message+*Additions` files.
4537 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
4538 _ = _uniqueStorage()
4539 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
4540 while let fieldNumber = try decoder.nextFieldNumber() {
4541 switch fieldNumber {
4542 case 1:
4543 var v: Openapi_V3_Response?
4544 if let current = _storage._oneof {
4545 try decoder.handleConflictingOneOf()
4546 if case .response(let m) = current {v = m}
4547 }
4548 try decoder.decodeSingularMessageField(value: &v)
4549 if let v = v {_storage._oneof = .response(v)}
4550 case 2:
4551 var v: Openapi_V3_Reference?
4552 if let current = _storage._oneof {
4553 try decoder.handleConflictingOneOf()
4554 if case .reference(let m) = current {v = m}
4555 }
4556 try decoder.decodeSingularMessageField(value: &v)
4557 if let v = v {_storage._oneof = .reference(v)}
4558 default: break
4559 }
4560 }
4561 }
4562 }
4563
4564 /// Used by the encoding methods of the SwiftProtobuf library, not generally
4565 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
4566 /// other serializer methods are defined in the SwiftProtobuf library. See the
4567 /// `Message` and `Message+*Additions` files.
4568 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
4569 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
4570 switch _storage._oneof {
4571 case .response(let v)?:
4572 try visitor.visitSingularMessageField(value: v, fieldNumber: 1)
4573 case .reference(let v)?:
4574 try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
4575 case nil: break
4576 }
4577 }
4578 try unknownFields.traverse(visitor: &visitor)
4579 }
4580
4581 fileprivate var _storage = _StorageClass.defaultInstance
4582 }
4583
4584 /// A container for the expected responses of an operation. The container maps a HTTP response code to the expected response. The documentation is not necessarily expected to cover all possible HTTP response codes because they may not be known in advance. However, documentation is expected to cover a successful operation response and any known errors. The `default` MAY be used as a default response object for all HTTP codes that are not covered individually by the specification. The `Responses Object` MUST contain at least one response code, and it SHOULD be the response for a successful operation call.
4585 public struct Openapi_V3_Responses: SwiftProtobuf.Message {
4586 public static let protoMessageName: String = _protobuf_package + ".Responses"
4587
4588 public var `default`: Openapi_V3_ResponseOrReference {
4589 get {return _storage._default ?? Openapi_V3_ResponseOrReference()}
4590 set {_uniqueStorage()._default = newValue}
4591 }
4592 /// Returns true if ``default`` has been explicitly set.
4593 public var hasDefault: Bool {return _storage._default != nil}
4594 /// Clears the value of ``default``. Subsequent reads from it will return its default value.
4595 public mutating func clearDefault() {_storage._default = nil}
4596
4597 public var responseOrReference: [Openapi_V3_NamedResponseOrReference] {
4598 get {return _storage._responseOrReference}
4599 set {_uniqueStorage()._responseOrReference = newValue}
4600 }
4601
4602 public var specificationExtension: [Openapi_V3_NamedAny] {
4603 get {return _storage._specificationExtension}
4604 set {_uniqueStorage()._specificationExtension = newValue}
4605 }
4606
4607 public var unknownFields = SwiftProtobuf.UnknownStorage()
4608
4609 public init() {}
4610
4611 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
4612 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
4613 /// initializers are defined in the SwiftProtobuf library. See the Message and
4614 /// Message+*Additions` files.
4615 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
4616 _ = _uniqueStorage()
4617 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
4618 while let fieldNumber = try decoder.nextFieldNumber() {
4619 switch fieldNumber {
4620 case 1: try decoder.decodeSingularMessageField(value: &_storage._default)
4621 case 2: try decoder.decodeRepeatedMessageField(value: &_storage._responseOrReference)
4622 case 3: try decoder.decodeRepeatedMessageField(value: &_storage._specificationExtension)
4623 default: break
4624 }
4625 }
4626 }
4627 }
4628
4629 /// Used by the encoding methods of the SwiftProtobuf library, not generally
4630 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
4631 /// other serializer methods are defined in the SwiftProtobuf library. See the
4632 /// `Message` and `Message+*Additions` files.
4633 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
4634 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
4635 if let v = _storage._default {
4636 try visitor.visitSingularMessageField(value: v, fieldNumber: 1)
4637 }
4638 if !_storage._responseOrReference.isEmpty {
4639 try visitor.visitRepeatedMessageField(value: _storage._responseOrReference, fieldNumber: 2)
4640 }
4641 if !_storage._specificationExtension.isEmpty {
4642 try visitor.visitRepeatedMessageField(value: _storage._specificationExtension, fieldNumber: 3)
4643 }
4644 }
4645 try unknownFields.traverse(visitor: &visitor)
4646 }
4647
4648 fileprivate var _storage = _StorageClass.defaultInstance
4649 }
4650
4651 public struct Openapi_V3_ResponsesOrReferences: SwiftProtobuf.Message {
4652 public static let protoMessageName: String = _protobuf_package + ".ResponsesOrReferences"
4653
4654 public var additionalProperties: [Openapi_V3_NamedResponseOrReference] = []
4655
4656 public var unknownFields = SwiftProtobuf.UnknownStorage()
4657
4658 public init() {}
4659
4660 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
4661 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
4662 /// initializers are defined in the SwiftProtobuf library. See the Message and
4663 /// Message+*Additions` files.
4664 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
4665 while let fieldNumber = try decoder.nextFieldNumber() {
4666 switch fieldNumber {
4667 case 1: try decoder.decodeRepeatedMessageField(value: &self.additionalProperties)
4668 default: break
4669 }
4670 }
4671 }
4672
4673 /// Used by the encoding methods of the SwiftProtobuf library, not generally
4674 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
4675 /// other serializer methods are defined in the SwiftProtobuf library. See the
4676 /// `Message` and `Message+*Additions` files.
4677 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
4678 if !self.additionalProperties.isEmpty {
4679 try visitor.visitRepeatedMessageField(value: self.additionalProperties, fieldNumber: 1)
4680 }
4681 try unknownFields.traverse(visitor: &visitor)
4682 }
4683 }
4684
4685 /// The Schema Object allows the definition of input and output data types. These types can be objects, but also primitives and arrays. This object is an extended subset of the JSON Schema Specification Wright Draft 00. For more information about the properties, see JSON Schema Core and JSON Schema Validation. Unless stated otherwise, the property definitions follow the JSON Schema.
4686 public struct Openapi_V3_Schema: SwiftProtobuf.Message {
4687 public static let protoMessageName: String = _protobuf_package + ".Schema"
4688
4689 public var nullable: Bool {
4690 get {return _storage._nullable}
4691 set {_uniqueStorage()._nullable = newValue}
4692 }
4693
4694 public var discriminator: Openapi_V3_Discriminator {
4695 get {return _storage._discriminator ?? Openapi_V3_Discriminator()}
4696 set {_uniqueStorage()._discriminator = newValue}
4697 }
4698 /// Returns true if `discriminator` has been explicitly set.
4699 public var hasDiscriminator: Bool {return _storage._discriminator != nil}
4700 /// Clears the value of `discriminator`. Subsequent reads from it will return its default value.
4701 public mutating func clearDiscriminator() {_storage._discriminator = nil}
4702
4703 public var readOnly: Bool {
4704 get {return _storage._readOnly}
4705 set {_uniqueStorage()._readOnly = newValue}
4706 }
4707
4708 public var writeOnly: Bool {
4709 get {return _storage._writeOnly}
4710 set {_uniqueStorage()._writeOnly = newValue}
4711 }
4712
4713 public var xml: Openapi_V3_Xml {
4714 get {return _storage._xml ?? Openapi_V3_Xml()}
4715 set {_uniqueStorage()._xml = newValue}
4716 }
4717 /// Returns true if `xml` has been explicitly set.
4718 public var hasXml: Bool {return _storage._xml != nil}
4719 /// Clears the value of `xml`. Subsequent reads from it will return its default value.
4720 public mutating func clearXml() {_storage._xml = nil}
4721
4722 public var externalDocs: Openapi_V3_ExternalDocs {
4723 get {return _storage._externalDocs ?? Openapi_V3_ExternalDocs()}
4724 set {_uniqueStorage()._externalDocs = newValue}
4725 }
4726 /// Returns true if `externalDocs` has been explicitly set.
4727 public var hasExternalDocs: Bool {return _storage._externalDocs != nil}
4728 /// Clears the value of `externalDocs`. Subsequent reads from it will return its default value.
4729 public mutating func clearExternalDocs() {_storage._externalDocs = nil}
4730
4731 public var example: Openapi_V3_Any {
4732 get {return _storage._example ?? Openapi_V3_Any()}
4733 set {_uniqueStorage()._example = newValue}
4734 }
4735 /// Returns true if `example` has been explicitly set.
4736 public var hasExample: Bool {return _storage._example != nil}
4737 /// Clears the value of `example`. Subsequent reads from it will return its default value.
4738 public mutating func clearExample() {_storage._example = nil}
4739
4740 public var deprecated: Bool {
4741 get {return _storage._deprecated}
4742 set {_uniqueStorage()._deprecated = newValue}
4743 }
4744
4745 public var title: String {
4746 get {return _storage._title}
4747 set {_uniqueStorage()._title = newValue}
4748 }
4749
4750 public var multipleOf: Double {
4751 get {return _storage._multipleOf}
4752 set {_uniqueStorage()._multipleOf = newValue}
4753 }
4754
4755 public var maximum: Double {
4756 get {return _storage._maximum}
4757 set {_uniqueStorage()._maximum = newValue}
4758 }
4759
4760 public var exclusiveMaximum: Bool {
4761 get {return _storage._exclusiveMaximum}
4762 set {_uniqueStorage()._exclusiveMaximum = newValue}
4763 }
4764
4765 public var minimum: Double {
4766 get {return _storage._minimum}
4767 set {_uniqueStorage()._minimum = newValue}
4768 }
4769
4770 public var exclusiveMinimum: Bool {
4771 get {return _storage._exclusiveMinimum}
4772 set {_uniqueStorage()._exclusiveMinimum = newValue}
4773 }
4774
4775 public var maxLength: Int64 {
4776 get {return _storage._maxLength}
4777 set {_uniqueStorage()._maxLength = newValue}
4778 }
4779
4780 public var minLength: Int64 {
4781 get {return _storage._minLength}
4782 set {_uniqueStorage()._minLength = newValue}
4783 }
4784
4785 public var pattern: String {
4786 get {return _storage._pattern}
4787 set {_uniqueStorage()._pattern = newValue}
4788 }
4789
4790 public var maxItems: Int64 {
4791 get {return _storage._maxItems}
4792 set {_uniqueStorage()._maxItems = newValue}
4793 }
4794
4795 public var minItems: Int64 {
4796 get {return _storage._minItems}
4797 set {_uniqueStorage()._minItems = newValue}
4798 }
4799
4800 public var uniqueItems: Bool {
4801 get {return _storage._uniqueItems}
4802 set {_uniqueStorage()._uniqueItems = newValue}
4803 }
4804
4805 public var maxProperties: Int64 {
4806 get {return _storage._maxProperties}
4807 set {_uniqueStorage()._maxProperties = newValue}
4808 }
4809
4810 public var minProperties: Int64 {
4811 get {return _storage._minProperties}
4812 set {_uniqueStorage()._minProperties = newValue}
4813 }
4814
4815 public var required: [String] {
4816 get {return _storage._required}
4817 set {_uniqueStorage()._required = newValue}
4818 }
4819
4820 public var `enum`: [Openapi_V3_Any] {
4821 get {return _storage._enum}
4822 set {_uniqueStorage()._enum = newValue}
4823 }
4824
4825 public var type: String {
4826 get {return _storage._type}
4827 set {_uniqueStorage()._type = newValue}
4828 }
4829
4830 public var allOf: [Openapi_V3_SchemaOrReference] {
4831 get {return _storage._allOf}
4832 set {_uniqueStorage()._allOf = newValue}
4833 }
4834
4835 public var oneOf: [Openapi_V3_SchemaOrReference] {
4836 get {return _storage._oneOf}
4837 set {_uniqueStorage()._oneOf = newValue}
4838 }
4839
4840 public var anyOf: [Openapi_V3_SchemaOrReference] {
4841 get {return _storage._anyOf}
4842 set {_uniqueStorage()._anyOf = newValue}
4843 }
4844
4845 public var not: Openapi_V3_Schema {
4846 get {return _storage._not ?? Openapi_V3_Schema()}
4847 set {_uniqueStorage()._not = newValue}
4848 }
4849 /// Returns true if `not` has been explicitly set.
4850 public var hasNot: Bool {return _storage._not != nil}
4851 /// Clears the value of `not`. Subsequent reads from it will return its default value.
4852 public mutating func clearNot() {_storage._not = nil}
4853
4854 public var items: Openapi_V3_ItemsItem {
4855 get {return _storage._items ?? Openapi_V3_ItemsItem()}
4856 set {_uniqueStorage()._items = newValue}
4857 }
4858 /// Returns true if `items` has been explicitly set.
4859 public var hasItems: Bool {return _storage._items != nil}
4860 /// Clears the value of `items`. Subsequent reads from it will return its default value.
4861 public mutating func clearItems() {_storage._items = nil}
4862
4863 public var properties: Openapi_V3_Properties {
4864 get {return _storage._properties ?? Openapi_V3_Properties()}
4865 set {_uniqueStorage()._properties = newValue}
4866 }
4867 /// Returns true if `properties` has been explicitly set.
4868 public var hasProperties: Bool {return _storage._properties != nil}
4869 /// Clears the value of `properties`. Subsequent reads from it will return its default value.
4870 public mutating func clearProperties() {_storage._properties = nil}
4871
4872 public var additionalProperties: Openapi_V3_AdditionalPropertiesItem {
4873 get {return _storage._additionalProperties ?? Openapi_V3_AdditionalPropertiesItem()}
4874 set {_uniqueStorage()._additionalProperties = newValue}
4875 }
4876 /// Returns true if `additionalProperties` has been explicitly set.
4877 public var hasAdditionalProperties: Bool {return _storage._additionalProperties != nil}
4878 /// Clears the value of `additionalProperties`. Subsequent reads from it will return its default value.
4879 public mutating func clearAdditionalProperties() {_storage._additionalProperties = nil}
4880
4881 public var `default`: Openapi_V3_DefaultType {
4882 get {return _storage._default ?? Openapi_V3_DefaultType()}
4883 set {_uniqueStorage()._default = newValue}
4884 }
4885 /// Returns true if ``default`` has been explicitly set.
4886 public var hasDefault: Bool {return _storage._default != nil}
4887 /// Clears the value of ``default``. Subsequent reads from it will return its default value.
4888 public mutating func clearDefault() {_storage._default = nil}
4889
4890 public var description_p: String {
4891 get {return _storage._description_p}
4892 set {_uniqueStorage()._description_p = newValue}
4893 }
4894
4895 public var format: String {
4896 get {return _storage._format}
4897 set {_uniqueStorage()._format = newValue}
4898 }
4899
4900 public var specificationExtension: [Openapi_V3_NamedAny] {
4901 get {return _storage._specificationExtension}
4902 set {_uniqueStorage()._specificationExtension = newValue}
4903 }
4904
4905 public var unknownFields = SwiftProtobuf.UnknownStorage()
4906
4907 public init() {}
4908
4909 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
4910 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
4911 /// initializers are defined in the SwiftProtobuf library. See the Message and
4912 /// Message+*Additions` files.
4913 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
4914 _ = _uniqueStorage()
4915 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
4916 while let fieldNumber = try decoder.nextFieldNumber() {
4917 switch fieldNumber {
4918 case 1: try decoder.decodeSingularBoolField(value: &_storage._nullable)
4919 case 2: try decoder.decodeSingularMessageField(value: &_storage._discriminator)
4920 case 3: try decoder.decodeSingularBoolField(value: &_storage._readOnly)
4921 case 4: try decoder.decodeSingularBoolField(value: &_storage._writeOnly)
4922 case 5: try decoder.decodeSingularMessageField(value: &_storage._xml)
4923 case 6: try decoder.decodeSingularMessageField(value: &_storage._externalDocs)
4924 case 7: try decoder.decodeSingularMessageField(value: &_storage._example)
4925 case 8: try decoder.decodeSingularBoolField(value: &_storage._deprecated)
4926 case 9: try decoder.decodeSingularStringField(value: &_storage._title)
4927 case 10: try decoder.decodeSingularDoubleField(value: &_storage._multipleOf)
4928 case 11: try decoder.decodeSingularDoubleField(value: &_storage._maximum)
4929 case 12: try decoder.decodeSingularBoolField(value: &_storage._exclusiveMaximum)
4930 case 13: try decoder.decodeSingularDoubleField(value: &_storage._minimum)
4931 case 14: try decoder.decodeSingularBoolField(value: &_storage._exclusiveMinimum)
4932 case 15: try decoder.decodeSingularInt64Field(value: &_storage._maxLength)
4933 case 16: try decoder.decodeSingularInt64Field(value: &_storage._minLength)
4934 case 17: try decoder.decodeSingularStringField(value: &_storage._pattern)
4935 case 18: try decoder.decodeSingularInt64Field(value: &_storage._maxItems)
4936 case 19: try decoder.decodeSingularInt64Field(value: &_storage._minItems)
4937 case 20: try decoder.decodeSingularBoolField(value: &_storage._uniqueItems)
4938 case 21: try decoder.decodeSingularInt64Field(value: &_storage._maxProperties)
4939 case 22: try decoder.decodeSingularInt64Field(value: &_storage._minProperties)
4940 case 23: try decoder.decodeRepeatedStringField(value: &_storage._required)
4941 case 24: try decoder.decodeRepeatedMessageField(value: &_storage._enum)
4942 case 25: try decoder.decodeSingularStringField(value: &_storage._type)
4943 case 26: try decoder.decodeRepeatedMessageField(value: &_storage._allOf)
4944 case 27: try decoder.decodeRepeatedMessageField(value: &_storage._oneOf)
4945 case 28: try decoder.decodeRepeatedMessageField(value: &_storage._anyOf)
4946 case 29: try decoder.decodeSingularMessageField(value: &_storage._not)
4947 case 30: try decoder.decodeSingularMessageField(value: &_storage._items)
4948 case 31: try decoder.decodeSingularMessageField(value: &_storage._properties)
4949 case 32: try decoder.decodeSingularMessageField(value: &_storage._additionalProperties)
4950 case 33: try decoder.decodeSingularMessageField(value: &_storage._default)
4951 case 34: try decoder.decodeSingularStringField(value: &_storage._description_p)
4952 case 35: try decoder.decodeSingularStringField(value: &_storage._format)
4953 case 36: try decoder.decodeRepeatedMessageField(value: &_storage._specificationExtension)
4954 default: break
4955 }
4956 }
4957 }
4958 }
4959
4960 /// Used by the encoding methods of the SwiftProtobuf library, not generally
4961 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
4962 /// other serializer methods are defined in the SwiftProtobuf library. See the
4963 /// `Message` and `Message+*Additions` files.
4964 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
4965 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
4966 if _storage._nullable != false {
4967 try visitor.visitSingularBoolField(value: _storage._nullable, fieldNumber: 1)
4968 }
4969 if let v = _storage._discriminator {
4970 try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
4971 }
4972 if _storage._readOnly != false {
4973 try visitor.visitSingularBoolField(value: _storage._readOnly, fieldNumber: 3)
4974 }
4975 if _storage._writeOnly != false {
4976 try visitor.visitSingularBoolField(value: _storage._writeOnly, fieldNumber: 4)
4977 }
4978 if let v = _storage._xml {
4979 try visitor.visitSingularMessageField(value: v, fieldNumber: 5)
4980 }
4981 if let v = _storage._externalDocs {
4982 try visitor.visitSingularMessageField(value: v, fieldNumber: 6)
4983 }
4984 if let v = _storage._example {
4985 try visitor.visitSingularMessageField(value: v, fieldNumber: 7)
4986 }
4987 if _storage._deprecated != false {
4988 try visitor.visitSingularBoolField(value: _storage._deprecated, fieldNumber: 8)
4989 }
4990 if !_storage._title.isEmpty {
4991 try visitor.visitSingularStringField(value: _storage._title, fieldNumber: 9)
4992 }
4993 if _storage._multipleOf != 0 {
4994 try visitor.visitSingularDoubleField(value: _storage._multipleOf, fieldNumber: 10)
4995 }
4996 if _storage._maximum != 0 {
4997 try visitor.visitSingularDoubleField(value: _storage._maximum, fieldNumber: 11)
4998 }
4999 if _storage._exclusiveMaximum != false {
5000 try visitor.visitSingularBoolField(value: _storage._exclusiveMaximum, fieldNumber: 12)
5001 }
5002 if _storage._minimum != 0 {
5003 try visitor.visitSingularDoubleField(value: _storage._minimum, fieldNumber: 13)
5004 }
5005 if _storage._exclusiveMinimum != false {
5006 try visitor.visitSingularBoolField(value: _storage._exclusiveMinimum, fieldNumber: 14)
5007 }
5008 if _storage._maxLength != 0 {
5009 try visitor.visitSingularInt64Field(value: _storage._maxLength, fieldNumber: 15)
5010 }
5011 if _storage._minLength != 0 {
5012 try visitor.visitSingularInt64Field(value: _storage._minLength, fieldNumber: 16)
5013 }
5014 if !_storage._pattern.isEmpty {
5015 try visitor.visitSingularStringField(value: _storage._pattern, fieldNumber: 17)
5016 }
5017 if _storage._maxItems != 0 {
5018 try visitor.visitSingularInt64Field(value: _storage._maxItems, fieldNumber: 18)
5019 }
5020 if _storage._minItems != 0 {
5021 try visitor.visitSingularInt64Field(value: _storage._minItems, fieldNumber: 19)
5022 }
5023 if _storage._uniqueItems != false {
5024 try visitor.visitSingularBoolField(value: _storage._uniqueItems, fieldNumber: 20)
5025 }
5026 if _storage._maxProperties != 0 {
5027 try visitor.visitSingularInt64Field(value: _storage._maxProperties, fieldNumber: 21)
5028 }
5029 if _storage._minProperties != 0 {
5030 try visitor.visitSingularInt64Field(value: _storage._minProperties, fieldNumber: 22)
5031 }
5032 if !_storage._required.isEmpty {
5033 try visitor.visitRepeatedStringField(value: _storage._required, fieldNumber: 23)
5034 }
5035 if !_storage._enum.isEmpty {
5036 try visitor.visitRepeatedMessageField(value: _storage._enum, fieldNumber: 24)
5037 }
5038 if !_storage._type.isEmpty {
5039 try visitor.visitSingularStringField(value: _storage._type, fieldNumber: 25)
5040 }
5041 if !_storage._allOf.isEmpty {
5042 try visitor.visitRepeatedMessageField(value: _storage._allOf, fieldNumber: 26)
5043 }
5044 if !_storage._oneOf.isEmpty {
5045 try visitor.visitRepeatedMessageField(value: _storage._oneOf, fieldNumber: 27)
5046 }
5047 if !_storage._anyOf.isEmpty {
5048 try visitor.visitRepeatedMessageField(value: _storage._anyOf, fieldNumber: 28)
5049 }
5050 if let v = _storage._not {
5051 try visitor.visitSingularMessageField(value: v, fieldNumber: 29)
5052 }
5053 if let v = _storage._items {
5054 try visitor.visitSingularMessageField(value: v, fieldNumber: 30)
5055 }
5056 if let v = _storage._properties {
5057 try visitor.visitSingularMessageField(value: v, fieldNumber: 31)
5058 }
5059 if let v = _storage._additionalProperties {
5060 try visitor.visitSingularMessageField(value: v, fieldNumber: 32)
5061 }
5062 if let v = _storage._default {
5063 try visitor.visitSingularMessageField(value: v, fieldNumber: 33)
5064 }
5065 if !_storage._description_p.isEmpty {
5066 try visitor.visitSingularStringField(value: _storage._description_p, fieldNumber: 34)
5067 }
5068 if !_storage._format.isEmpty {
5069 try visitor.visitSingularStringField(value: _storage._format, fieldNumber: 35)
5070 }
5071 if !_storage._specificationExtension.isEmpty {
5072 try visitor.visitRepeatedMessageField(value: _storage._specificationExtension, fieldNumber: 36)
5073 }
5074 }
5075 try unknownFields.traverse(visitor: &visitor)
5076 }
5077
5078 fileprivate var _storage = _StorageClass.defaultInstance
5079 }
5080
5081 public struct Openapi_V3_SchemaOrReference: SwiftProtobuf.Message {
5082 public static let protoMessageName: String = _protobuf_package + ".SchemaOrReference"
5083
5084 public var oneof: OneOf_Oneof? {
5085 get {return _storage._oneof}
5086 set {_uniqueStorage()._oneof = newValue}
5087 }
5088
5089 public var schema: Openapi_V3_Schema {
5090 get {
5091 if case .schema(let v)? = _storage._oneof {return v}
5092 return Openapi_V3_Schema()
5093 }
5094 set {_uniqueStorage()._oneof = .schema(newValue)}
5095 }
5096
5097 public var reference: Openapi_V3_Reference {
5098 get {
5099 if case .reference(let v)? = _storage._oneof {return v}
5100 return Openapi_V3_Reference()
5101 }
5102 set {_uniqueStorage()._oneof = .reference(newValue)}
5103 }
5104
5105 public var unknownFields = SwiftProtobuf.UnknownStorage()
5106
5107 public enum OneOf_Oneof: Equatable {
5108 case schema(Openapi_V3_Schema)
5109 case reference(Openapi_V3_Reference)
5110
5111 public static func ==(lhs: Openapi_V3_SchemaOrReference.OneOf_Oneof, rhs: Openapi_V3_SchemaOrReference.OneOf_Oneof) -> Bool {
5112 switch (lhs, rhs) {
5113 case (.schema(let l), .schema(let r)): return l == r
5114 case (.reference(let l), .reference(let r)): return l == r
5115 default: return false
5116 }
5117 }
5118 }
5119
5120 public init() {}
5121
5122 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
5123 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
5124 /// initializers are defined in the SwiftProtobuf library. See the Message and
5125 /// Message+*Additions` files.
5126 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
5127 _ = _uniqueStorage()
5128 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
5129 while let fieldNumber = try decoder.nextFieldNumber() {
5130 switch fieldNumber {
5131 case 1:
5132 var v: Openapi_V3_Schema?
5133 if let current = _storage._oneof {
5134 try decoder.handleConflictingOneOf()
5135 if case .schema(let m) = current {v = m}
5136 }
5137 try decoder.decodeSingularMessageField(value: &v)
5138 if let v = v {_storage._oneof = .schema(v)}
5139 case 2:
5140 var v: Openapi_V3_Reference?
5141 if let current = _storage._oneof {
5142 try decoder.handleConflictingOneOf()
5143 if case .reference(let m) = current {v = m}
5144 }
5145 try decoder.decodeSingularMessageField(value: &v)
5146 if let v = v {_storage._oneof = .reference(v)}
5147 default: break
5148 }
5149 }
5150 }
5151 }
5152
5153 /// Used by the encoding methods of the SwiftProtobuf library, not generally
5154 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
5155 /// other serializer methods are defined in the SwiftProtobuf library. See the
5156 /// `Message` and `Message+*Additions` files.
5157 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
5158 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
5159 switch _storage._oneof {
5160 case .schema(let v)?:
5161 try visitor.visitSingularMessageField(value: v, fieldNumber: 1)
5162 case .reference(let v)?:
5163 try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
5164 case nil: break
5165 }
5166 }
5167 try unknownFields.traverse(visitor: &visitor)
5168 }
5169
5170 fileprivate var _storage = _StorageClass.defaultInstance
5171 }
5172
5173 public struct Openapi_V3_SchemasOrReferences: SwiftProtobuf.Message {
5174 public static let protoMessageName: String = _protobuf_package + ".SchemasOrReferences"
5175
5176 public var additionalProperties: [Openapi_V3_NamedSchemaOrReference] = []
5177
5178 public var unknownFields = SwiftProtobuf.UnknownStorage()
5179
5180 public init() {}
5181
5182 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
5183 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
5184 /// initializers are defined in the SwiftProtobuf library. See the Message and
5185 /// Message+*Additions` files.
5186 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
5187 while let fieldNumber = try decoder.nextFieldNumber() {
5188 switch fieldNumber {
5189 case 1: try decoder.decodeRepeatedMessageField(value: &self.additionalProperties)
5190 default: break
5191 }
5192 }
5193 }
5194
5195 /// Used by the encoding methods of the SwiftProtobuf library, not generally
5196 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
5197 /// other serializer methods are defined in the SwiftProtobuf library. See the
5198 /// `Message` and `Message+*Additions` files.
5199 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
5200 if !self.additionalProperties.isEmpty {
5201 try visitor.visitRepeatedMessageField(value: self.additionalProperties, fieldNumber: 1)
5202 }
5203 try unknownFields.traverse(visitor: &visitor)
5204 }
5205 }
5206
5207 /// Lists the required security schemes to execute this operation. The name used for each property MUST correspond to a security scheme declared in the Security Schemes under the Components Object. Security Requirement Objects that contain multiple schemes require that all schemes MUST be satisfied for a request to be authorized. This enables support for scenarios where multiple query parameters or HTTP headers are required to convey security information. When a list of Security Requirement Objects is defined on the Open API object or Operation Object, only one of Security Requirement Objects in the list needs to be satisfied to authorize the request.
5208 public struct Openapi_V3_SecurityRequirement: SwiftProtobuf.Message {
5209 public static let protoMessageName: String = _protobuf_package + ".SecurityRequirement"
5210
5211 public var unknownFields = SwiftProtobuf.UnknownStorage()
5212
5213 public init() {}
5214
5215 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
5216 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
5217 /// initializers are defined in the SwiftProtobuf library. See the Message and
5218 /// Message+*Additions` files.
5219 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
5220 while let _ = try decoder.nextFieldNumber() {
5221 }
5222 }
5223
5224 /// Used by the encoding methods of the SwiftProtobuf library, not generally
5225 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
5226 /// other serializer methods are defined in the SwiftProtobuf library. See the
5227 /// `Message` and `Message+*Additions` files.
5228 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
5229 try unknownFields.traverse(visitor: &visitor)
5230 }
5231 }
5232
5233 /// Defines a security scheme that can be used by the operations. Supported schemes are HTTP authentication, an API key (either as a header or as a query parameter), OAuth2's common flows (implicit, password, application and access code) as defined in RFC6749, and OpenID Connect Discovery.
5234 public struct Openapi_V3_SecurityScheme: SwiftProtobuf.Message {
5235 public static let protoMessageName: String = _protobuf_package + ".SecurityScheme"
5236
5237 public var type: String {
5238 get {return _storage._type}
5239 set {_uniqueStorage()._type = newValue}
5240 }
5241
5242 public var description_p: String {
5243 get {return _storage._description_p}
5244 set {_uniqueStorage()._description_p = newValue}
5245 }
5246
5247 public var name: String {
5248 get {return _storage._name}
5249 set {_uniqueStorage()._name = newValue}
5250 }
5251
5252 public var `in`: String {
5253 get {return _storage._in}
5254 set {_uniqueStorage()._in = newValue}
5255 }
5256
5257 public var scheme: String {
5258 get {return _storage._scheme}
5259 set {_uniqueStorage()._scheme = newValue}
5260 }
5261
5262 public var bearerFormat: String {
5263 get {return _storage._bearerFormat}
5264 set {_uniqueStorage()._bearerFormat = newValue}
5265 }
5266
5267 public var flows: Openapi_V3_OauthFlows {
5268 get {return _storage._flows ?? Openapi_V3_OauthFlows()}
5269 set {_uniqueStorage()._flows = newValue}
5270 }
5271 /// Returns true if `flows` has been explicitly set.
5272 public var hasFlows: Bool {return _storage._flows != nil}
5273 /// Clears the value of `flows`. Subsequent reads from it will return its default value.
5274 public mutating func clearFlows() {_storage._flows = nil}
5275
5276 public var openIDConnectURL: String {
5277 get {return _storage._openIDConnectURL}
5278 set {_uniqueStorage()._openIDConnectURL = newValue}
5279 }
5280
5281 public var specificationExtension: [Openapi_V3_NamedAny] {
5282 get {return _storage._specificationExtension}
5283 set {_uniqueStorage()._specificationExtension = newValue}
5284 }
5285
5286 public var unknownFields = SwiftProtobuf.UnknownStorage()
5287
5288 public init() {}
5289
5290 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
5291 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
5292 /// initializers are defined in the SwiftProtobuf library. See the Message and
5293 /// Message+*Additions` files.
5294 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
5295 _ = _uniqueStorage()
5296 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
5297 while let fieldNumber = try decoder.nextFieldNumber() {
5298 switch fieldNumber {
5299 case 1: try decoder.decodeSingularStringField(value: &_storage._type)
5300 case 2: try decoder.decodeSingularStringField(value: &_storage._description_p)
5301 case 3: try decoder.decodeSingularStringField(value: &_storage._name)
5302 case 4: try decoder.decodeSingularStringField(value: &_storage._in)
5303 case 5: try decoder.decodeSingularStringField(value: &_storage._scheme)
5304 case 6: try decoder.decodeSingularStringField(value: &_storage._bearerFormat)
5305 case 7: try decoder.decodeSingularMessageField(value: &_storage._flows)
5306 case 8: try decoder.decodeSingularStringField(value: &_storage._openIDConnectURL)
5307 case 9: try decoder.decodeRepeatedMessageField(value: &_storage._specificationExtension)
5308 default: break
5309 }
5310 }
5311 }
5312 }
5313
5314 /// Used by the encoding methods of the SwiftProtobuf library, not generally
5315 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
5316 /// other serializer methods are defined in the SwiftProtobuf library. See the
5317 /// `Message` and `Message+*Additions` files.
5318 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
5319 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
5320 if !_storage._type.isEmpty {
5321 try visitor.visitSingularStringField(value: _storage._type, fieldNumber: 1)
5322 }
5323 if !_storage._description_p.isEmpty {
5324 try visitor.visitSingularStringField(value: _storage._description_p, fieldNumber: 2)
5325 }
5326 if !_storage._name.isEmpty {
5327 try visitor.visitSingularStringField(value: _storage._name, fieldNumber: 3)
5328 }
5329 if !_storage._in.isEmpty {
5330 try visitor.visitSingularStringField(value: _storage._in, fieldNumber: 4)
5331 }
5332 if !_storage._scheme.isEmpty {
5333 try visitor.visitSingularStringField(value: _storage._scheme, fieldNumber: 5)
5334 }
5335 if !_storage._bearerFormat.isEmpty {
5336 try visitor.visitSingularStringField(value: _storage._bearerFormat, fieldNumber: 6)
5337 }
5338 if let v = _storage._flows {
5339 try visitor.visitSingularMessageField(value: v, fieldNumber: 7)
5340 }
5341 if !_storage._openIDConnectURL.isEmpty {
5342 try visitor.visitSingularStringField(value: _storage._openIDConnectURL, fieldNumber: 8)
5343 }
5344 if !_storage._specificationExtension.isEmpty {
5345 try visitor.visitRepeatedMessageField(value: _storage._specificationExtension, fieldNumber: 9)
5346 }
5347 }
5348 try unknownFields.traverse(visitor: &visitor)
5349 }
5350
5351 fileprivate var _storage = _StorageClass.defaultInstance
5352 }
5353
5354 public struct Openapi_V3_SecuritySchemeOrReference: SwiftProtobuf.Message {
5355 public static let protoMessageName: String = _protobuf_package + ".SecuritySchemeOrReference"
5356
5357 public var oneof: OneOf_Oneof? {
5358 get {return _storage._oneof}
5359 set {_uniqueStorage()._oneof = newValue}
5360 }
5361
5362 public var securityScheme: Openapi_V3_SecurityScheme {
5363 get {
5364 if case .securityScheme(let v)? = _storage._oneof {return v}
5365 return Openapi_V3_SecurityScheme()
5366 }
5367 set {_uniqueStorage()._oneof = .securityScheme(newValue)}
5368 }
5369
5370 public var reference: Openapi_V3_Reference {
5371 get {
5372 if case .reference(let v)? = _storage._oneof {return v}
5373 return Openapi_V3_Reference()
5374 }
5375 set {_uniqueStorage()._oneof = .reference(newValue)}
5376 }
5377
5378 public var unknownFields = SwiftProtobuf.UnknownStorage()
5379
5380 public enum OneOf_Oneof: Equatable {
5381 case securityScheme(Openapi_V3_SecurityScheme)
5382 case reference(Openapi_V3_Reference)
5383
5384 public static func ==(lhs: Openapi_V3_SecuritySchemeOrReference.OneOf_Oneof, rhs: Openapi_V3_SecuritySchemeOrReference.OneOf_Oneof) -> Bool {
5385 switch (lhs, rhs) {
5386 case (.securityScheme(let l), .securityScheme(let r)): return l == r
5387 case (.reference(let l), .reference(let r)): return l == r
5388 default: return false
5389 }
5390 }
5391 }
5392
5393 public init() {}
5394
5395 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
5396 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
5397 /// initializers are defined in the SwiftProtobuf library. See the Message and
5398 /// Message+*Additions` files.
5399 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
5400 _ = _uniqueStorage()
5401 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
5402 while let fieldNumber = try decoder.nextFieldNumber() {
5403 switch fieldNumber {
5404 case 1:
5405 var v: Openapi_V3_SecurityScheme?
5406 if let current = _storage._oneof {
5407 try decoder.handleConflictingOneOf()
5408 if case .securityScheme(let m) = current {v = m}
5409 }
5410 try decoder.decodeSingularMessageField(value: &v)
5411 if let v = v {_storage._oneof = .securityScheme(v)}
5412 case 2:
5413 var v: Openapi_V3_Reference?
5414 if let current = _storage._oneof {
5415 try decoder.handleConflictingOneOf()
5416 if case .reference(let m) = current {v = m}
5417 }
5418 try decoder.decodeSingularMessageField(value: &v)
5419 if let v = v {_storage._oneof = .reference(v)}
5420 default: break
5421 }
5422 }
5423 }
5424 }
5425
5426 /// Used by the encoding methods of the SwiftProtobuf library, not generally
5427 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
5428 /// other serializer methods are defined in the SwiftProtobuf library. See the
5429 /// `Message` and `Message+*Additions` files.
5430 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
5431 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
5432 switch _storage._oneof {
5433 case .securityScheme(let v)?:
5434 try visitor.visitSingularMessageField(value: v, fieldNumber: 1)
5435 case .reference(let v)?:
5436 try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
5437 case nil: break
5438 }
5439 }
5440 try unknownFields.traverse(visitor: &visitor)
5441 }
5442
5443 fileprivate var _storage = _StorageClass.defaultInstance
5444 }
5445
5446 public struct Openapi_V3_SecuritySchemesOrReferences: SwiftProtobuf.Message {
5447 public static let protoMessageName: String = _protobuf_package + ".SecuritySchemesOrReferences"
5448
5449 public var additionalProperties: [Openapi_V3_NamedSecuritySchemeOrReference] = []
5450
5451 public var unknownFields = SwiftProtobuf.UnknownStorage()
5452
5453 public init() {}
5454
5455 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
5456 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
5457 /// initializers are defined in the SwiftProtobuf library. See the Message and
5458 /// Message+*Additions` files.
5459 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
5460 while let fieldNumber = try decoder.nextFieldNumber() {
5461 switch fieldNumber {
5462 case 1: try decoder.decodeRepeatedMessageField(value: &self.additionalProperties)
5463 default: break
5464 }
5465 }
5466 }
5467
5468 /// Used by the encoding methods of the SwiftProtobuf library, not generally
5469 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
5470 /// other serializer methods are defined in the SwiftProtobuf library. See the
5471 /// `Message` and `Message+*Additions` files.
5472 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
5473 if !self.additionalProperties.isEmpty {
5474 try visitor.visitRepeatedMessageField(value: self.additionalProperties, fieldNumber: 1)
5475 }
5476 try unknownFields.traverse(visitor: &visitor)
5477 }
5478 }
5479
5480 /// An object representing a Server.
5481 public struct Openapi_V3_Server: SwiftProtobuf.Message {
5482 public static let protoMessageName: String = _protobuf_package + ".Server"
5483
5484 public var url: String {
5485 get {return _storage._url}
5486 set {_uniqueStorage()._url = newValue}
5487 }
5488
5489 public var description_p: String {
5490 get {return _storage._description_p}
5491 set {_uniqueStorage()._description_p = newValue}
5492 }
5493
5494 public var variables: Openapi_V3_ServerVariables {
5495 get {return _storage._variables ?? Openapi_V3_ServerVariables()}
5496 set {_uniqueStorage()._variables = newValue}
5497 }
5498 /// Returns true if `variables` has been explicitly set.
5499 public var hasVariables: Bool {return _storage._variables != nil}
5500 /// Clears the value of `variables`. Subsequent reads from it will return its default value.
5501 public mutating func clearVariables() {_storage._variables = nil}
5502
5503 public var specificationExtension: [Openapi_V3_NamedAny] {
5504 get {return _storage._specificationExtension}
5505 set {_uniqueStorage()._specificationExtension = newValue}
5506 }
5507
5508 public var unknownFields = SwiftProtobuf.UnknownStorage()
5509
5510 public init() {}
5511
5512 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
5513 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
5514 /// initializers are defined in the SwiftProtobuf library. See the Message and
5515 /// Message+*Additions` files.
5516 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
5517 _ = _uniqueStorage()
5518 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
5519 while let fieldNumber = try decoder.nextFieldNumber() {
5520 switch fieldNumber {
5521 case 1: try decoder.decodeSingularStringField(value: &_storage._url)
5522 case 2: try decoder.decodeSingularStringField(value: &_storage._description_p)
5523 case 3: try decoder.decodeSingularMessageField(value: &_storage._variables)
5524 case 4: try decoder.decodeRepeatedMessageField(value: &_storage._specificationExtension)
5525 default: break
5526 }
5527 }
5528 }
5529 }
5530
5531 /// Used by the encoding methods of the SwiftProtobuf library, not generally
5532 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
5533 /// other serializer methods are defined in the SwiftProtobuf library. See the
5534 /// `Message` and `Message+*Additions` files.
5535 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
5536 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
5537 if !_storage._url.isEmpty {
5538 try visitor.visitSingularStringField(value: _storage._url, fieldNumber: 1)
5539 }
5540 if !_storage._description_p.isEmpty {
5541 try visitor.visitSingularStringField(value: _storage._description_p, fieldNumber: 2)
5542 }
5543 if let v = _storage._variables {
5544 try visitor.visitSingularMessageField(value: v, fieldNumber: 3)
5545 }
5546 if !_storage._specificationExtension.isEmpty {
5547 try visitor.visitRepeatedMessageField(value: _storage._specificationExtension, fieldNumber: 4)
5548 }
5549 }
5550 try unknownFields.traverse(visitor: &visitor)
5551 }
5552
5553 fileprivate var _storage = _StorageClass.defaultInstance
5554 }
5555
5556 /// An object representing a Server Variable for server URL template substitution.
5557 public struct Openapi_V3_ServerVariable: SwiftProtobuf.Message {
5558 public static let protoMessageName: String = _protobuf_package + ".ServerVariable"
5559
5560 public var `enum`: [String] = []
5561
5562 public var `default`: String = String()
5563
5564 public var description_p: String = String()
5565
5566 public var specificationExtension: [Openapi_V3_NamedAny] = []
5567
5568 public var unknownFields = SwiftProtobuf.UnknownStorage()
5569
5570 public init() {}
5571
5572 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
5573 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
5574 /// initializers are defined in the SwiftProtobuf library. See the Message and
5575 /// Message+*Additions` files.
5576 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
5577 while let fieldNumber = try decoder.nextFieldNumber() {
5578 switch fieldNumber {
5579 case 1: try decoder.decodeRepeatedStringField(value: &self.`enum`)
5580 case 2: try decoder.decodeSingularStringField(value: &self.`default`)
5581 case 3: try decoder.decodeSingularStringField(value: &self.description_p)
5582 case 4: try decoder.decodeRepeatedMessageField(value: &self.specificationExtension)
5583 default: break
5584 }
5585 }
5586 }
5587
5588 /// Used by the encoding methods of the SwiftProtobuf library, not generally
5589 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
5590 /// other serializer methods are defined in the SwiftProtobuf library. See the
5591 /// `Message` and `Message+*Additions` files.
5592 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
5593 if !self.`enum`.isEmpty {
5594 try visitor.visitRepeatedStringField(value: self.`enum`, fieldNumber: 1)
5595 }
5596 if !self.`default`.isEmpty {
5597 try visitor.visitSingularStringField(value: self.`default`, fieldNumber: 2)
5598 }
5599 if !self.description_p.isEmpty {
5600 try visitor.visitSingularStringField(value: self.description_p, fieldNumber: 3)
5601 }
5602 if !self.specificationExtension.isEmpty {
5603 try visitor.visitRepeatedMessageField(value: self.specificationExtension, fieldNumber: 4)
5604 }
5605 try unknownFields.traverse(visitor: &visitor)
5606 }
5607 }
5608
5609 public struct Openapi_V3_ServerVariables: SwiftProtobuf.Message {
5610 public static let protoMessageName: String = _protobuf_package + ".ServerVariables"
5611
5612 public var additionalProperties: [Openapi_V3_NamedServerVariable] = []
5613
5614 public var unknownFields = SwiftProtobuf.UnknownStorage()
5615
5616 public init() {}
5617
5618 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
5619 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
5620 /// initializers are defined in the SwiftProtobuf library. See the Message and
5621 /// Message+*Additions` files.
5622 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
5623 while let fieldNumber = try decoder.nextFieldNumber() {
5624 switch fieldNumber {
5625 case 1: try decoder.decodeRepeatedMessageField(value: &self.additionalProperties)
5626 default: break
5627 }
5628 }
5629 }
5630
5631 /// Used by the encoding methods of the SwiftProtobuf library, not generally
5632 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
5633 /// other serializer methods are defined in the SwiftProtobuf library. See the
5634 /// `Message` and `Message+*Additions` files.
5635 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
5636 if !self.additionalProperties.isEmpty {
5637 try visitor.visitRepeatedMessageField(value: self.additionalProperties, fieldNumber: 1)
5638 }
5639 try unknownFields.traverse(visitor: &visitor)
5640 }
5641 }
5642
5643 /// Any property starting with x- is valid.
5644 public struct Openapi_V3_SpecificationExtension: SwiftProtobuf.Message {
5645 public static let protoMessageName: String = _protobuf_package + ".SpecificationExtension"
5646
5647 public var oneof: Openapi_V3_SpecificationExtension.OneOf_Oneof? = nil
5648
5649 public var number: Double {
5650 get {
5651 if case .number(let v)? = oneof {return v}
5652 return 0
5653 }
5654 set {oneof = .number(newValue)}
5655 }
5656
5657 public var boolean: Bool {
5658 get {
5659 if case .boolean(let v)? = oneof {return v}
5660 return false
5661 }
5662 set {oneof = .boolean(newValue)}
5663 }
5664
5665 public var string: String {
5666 get {
5667 if case .string(let v)? = oneof {return v}
5668 return String()
5669 }
5670 set {oneof = .string(newValue)}
5671 }
5672
5673 public var unknownFields = SwiftProtobuf.UnknownStorage()
5674
5675 public enum OneOf_Oneof: Equatable {
5676 case number(Double)
5677 case boolean(Bool)
5678 case string(String)
5679
5680 public static func ==(lhs: Openapi_V3_SpecificationExtension.OneOf_Oneof, rhs: Openapi_V3_SpecificationExtension.OneOf_Oneof) -> Bool {
5681 switch (lhs, rhs) {
5682 case (.number(let l), .number(let r)): return l == r
5683 case (.boolean(let l), .boolean(let r)): return l == r
5684 case (.string(let l), .string(let r)): return l == r
5685 default: return false
5686 }
5687 }
5688 }
5689
5690 public init() {}
5691
5692 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
5693 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
5694 /// initializers are defined in the SwiftProtobuf library. See the Message and
5695 /// Message+*Additions` files.
5696 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
5697 while let fieldNumber = try decoder.nextFieldNumber() {
5698 switch fieldNumber {
5699 case 1:
5700 if self.oneof != nil {try decoder.handleConflictingOneOf()}
5701 var v: Double?
5702 try decoder.decodeSingularDoubleField(value: &v)
5703 if let v = v {self.oneof = .number(v)}
5704 case 2:
5705 if self.oneof != nil {try decoder.handleConflictingOneOf()}
5706 var v: Bool?
5707 try decoder.decodeSingularBoolField(value: &v)
5708 if let v = v {self.oneof = .boolean(v)}
5709 case 3:
5710 if self.oneof != nil {try decoder.handleConflictingOneOf()}
5711 var v: String?
5712 try decoder.decodeSingularStringField(value: &v)
5713 if let v = v {self.oneof = .string(v)}
5714 default: break
5715 }
5716 }
5717 }
5718
5719 /// Used by the encoding methods of the SwiftProtobuf library, not generally
5720 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
5721 /// other serializer methods are defined in the SwiftProtobuf library. See the
5722 /// `Message` and `Message+*Additions` files.
5723 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
5724 switch self.oneof {
5725 case .number(let v)?:
5726 try visitor.visitSingularDoubleField(value: v, fieldNumber: 1)
5727 case .boolean(let v)?:
5728 try visitor.visitSingularBoolField(value: v, fieldNumber: 2)
5729 case .string(let v)?:
5730 try visitor.visitSingularStringField(value: v, fieldNumber: 3)
5731 case nil: break
5732 }
5733 try unknownFields.traverse(visitor: &visitor)
5734 }
5735 }
5736
5737 public struct Openapi_V3_StringArray: SwiftProtobuf.Message {
5738 public static let protoMessageName: String = _protobuf_package + ".StringArray"
5739
5740 public var value: [String] = []
5741
5742 public var unknownFields = SwiftProtobuf.UnknownStorage()
5743
5744 public init() {}
5745
5746 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
5747 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
5748 /// initializers are defined in the SwiftProtobuf library. See the Message and
5749 /// Message+*Additions` files.
5750 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
5751 while let fieldNumber = try decoder.nextFieldNumber() {
5752 switch fieldNumber {
5753 case 1: try decoder.decodeRepeatedStringField(value: &self.value)
5754 default: break
5755 }
5756 }
5757 }
5758
5759 /// Used by the encoding methods of the SwiftProtobuf library, not generally
5760 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
5761 /// other serializer methods are defined in the SwiftProtobuf library. See the
5762 /// `Message` and `Message+*Additions` files.
5763 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
5764 if !self.value.isEmpty {
5765 try visitor.visitRepeatedStringField(value: self.value, fieldNumber: 1)
5766 }
5767 try unknownFields.traverse(visitor: &visitor)
5768 }
5769 }
5770
5771 public struct Openapi_V3_Strings: SwiftProtobuf.Message {
5772 public static let protoMessageName: String = _protobuf_package + ".Strings"
5773
5774 public var additionalProperties: [Openapi_V3_NamedString] = []
5775
5776 public var unknownFields = SwiftProtobuf.UnknownStorage()
5777
5778 public init() {}
5779
5780 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
5781 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
5782 /// initializers are defined in the SwiftProtobuf library. See the Message and
5783 /// Message+*Additions` files.
5784 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
5785 while let fieldNumber = try decoder.nextFieldNumber() {
5786 switch fieldNumber {
5787 case 1: try decoder.decodeRepeatedMessageField(value: &self.additionalProperties)
5788 default: break
5789 }
5790 }
5791 }
5792
5793 /// Used by the encoding methods of the SwiftProtobuf library, not generally
5794 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
5795 /// other serializer methods are defined in the SwiftProtobuf library. See the
5796 /// `Message` and `Message+*Additions` files.
5797 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
5798 if !self.additionalProperties.isEmpty {
5799 try visitor.visitRepeatedMessageField(value: self.additionalProperties, fieldNumber: 1)
5800 }
5801 try unknownFields.traverse(visitor: &visitor)
5802 }
5803 }
5804
5805 /// Adds metadata to a single tag that is used by the Operation Object. It is not mandatory to have a Tag Object per tag defined in the Operation Object instances.
5806 public struct Openapi_V3_Tag: SwiftProtobuf.Message {
5807 public static let protoMessageName: String = _protobuf_package + ".Tag"
5808
5809 public var name: String {
5810 get {return _storage._name}
5811 set {_uniqueStorage()._name = newValue}
5812 }
5813
5814 public var description_p: String {
5815 get {return _storage._description_p}
5816 set {_uniqueStorage()._description_p = newValue}
5817 }
5818
5819 public var externalDocs: Openapi_V3_ExternalDocs {
5820 get {return _storage._externalDocs ?? Openapi_V3_ExternalDocs()}
5821 set {_uniqueStorage()._externalDocs = newValue}
5822 }
5823 /// Returns true if `externalDocs` has been explicitly set.
5824 public var hasExternalDocs: Bool {return _storage._externalDocs != nil}
5825 /// Clears the value of `externalDocs`. Subsequent reads from it will return its default value.
5826 public mutating func clearExternalDocs() {_storage._externalDocs = nil}
5827
5828 public var specificationExtension: [Openapi_V3_NamedAny] {
5829 get {return _storage._specificationExtension}
5830 set {_uniqueStorage()._specificationExtension = newValue}
5831 }
5832
5833 public var unknownFields = SwiftProtobuf.UnknownStorage()
5834
5835 public init() {}
5836
5837 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
5838 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
5839 /// initializers are defined in the SwiftProtobuf library. See the Message and
5840 /// Message+*Additions` files.
5841 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
5842 _ = _uniqueStorage()
5843 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
5844 while let fieldNumber = try decoder.nextFieldNumber() {
5845 switch fieldNumber {
5846 case 1: try decoder.decodeSingularStringField(value: &_storage._name)
5847 case 2: try decoder.decodeSingularStringField(value: &_storage._description_p)
5848 case 3: try decoder.decodeSingularMessageField(value: &_storage._externalDocs)
5849 case 4: try decoder.decodeRepeatedMessageField(value: &_storage._specificationExtension)
5850 default: break
5851 }
5852 }
5853 }
5854 }
5855
5856 /// Used by the encoding methods of the SwiftProtobuf library, not generally
5857 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
5858 /// other serializer methods are defined in the SwiftProtobuf library. See the
5859 /// `Message` and `Message+*Additions` files.
5860 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
5861 try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
5862 if !_storage._name.isEmpty {
5863 try visitor.visitSingularStringField(value: _storage._name, fieldNumber: 1)
5864 }
5865 if !_storage._description_p.isEmpty {
5866 try visitor.visitSingularStringField(value: _storage._description_p, fieldNumber: 2)
5867 }
5868 if let v = _storage._externalDocs {
5869 try visitor.visitSingularMessageField(value: v, fieldNumber: 3)
5870 }
5871 if !_storage._specificationExtension.isEmpty {
5872 try visitor.visitRepeatedMessageField(value: _storage._specificationExtension, fieldNumber: 4)
5873 }
5874 }
5875 try unknownFields.traverse(visitor: &visitor)
5876 }
5877
5878 fileprivate var _storage = _StorageClass.defaultInstance
5879 }
5880
5881 /// A metadata object that allows for more fine-tuned XML model definitions. When using arrays, XML element names are *not* inferred (for singular/plural forms) and the `name` property SHOULD be used to add that information. See examples for expected behavior.
5882 public struct Openapi_V3_Xml: SwiftProtobuf.Message {
5883 public static let protoMessageName: String = _protobuf_package + ".Xml"
5884
5885 public var name: String = String()
5886
5887 public var namespace: String = String()
5888
5889 public var prefix: String = String()
5890
5891 public var attribute: Bool = false
5892
5893 public var wrapped: Bool = false
5894
5895 public var specificationExtension: [Openapi_V3_NamedAny] = []
5896
5897 public var unknownFields = SwiftProtobuf.UnknownStorage()
5898
5899 public init() {}
5900
5901 /// Used by the decoding initializers in the SwiftProtobuf library, not generally
5902 /// used directly. `init(serializedData:)`, `init(jsonUTF8Data:)`, and other decoding
5903 /// initializers are defined in the SwiftProtobuf library. See the Message and
5904 /// Message+*Additions` files.
5905 public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
5906 while let fieldNumber = try decoder.nextFieldNumber() {
5907 switch fieldNumber {
5908 case 1: try decoder.decodeSingularStringField(value: &self.name)
5909 case 2: try decoder.decodeSingularStringField(value: &self.namespace)
5910 case 3: try decoder.decodeSingularStringField(value: &self.prefix)
5911 case 4: try decoder.decodeSingularBoolField(value: &self.attribute)
5912 case 5: try decoder.decodeSingularBoolField(value: &self.wrapped)
5913 case 6: try decoder.decodeRepeatedMessageField(value: &self.specificationExtension)
5914 default: break
5915 }
5916 }
5917 }
5918
5919 /// Used by the encoding methods of the SwiftProtobuf library, not generally
5920 /// used directly. `Message.serializedData()`, `Message.jsonUTF8Data()`, and
5921 /// other serializer methods are defined in the SwiftProtobuf library. See the
5922 /// `Message` and `Message+*Additions` files.
5923 public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
5924 if !self.name.isEmpty {
5925 try visitor.visitSingularStringField(value: self.name, fieldNumber: 1)
5926 }
5927 if !self.namespace.isEmpty {
5928 try visitor.visitSingularStringField(value: self.namespace, fieldNumber: 2)
5929 }
5930 if !self.prefix.isEmpty {
5931 try visitor.visitSingularStringField(value: self.prefix, fieldNumber: 3)
5932 }
5933 if self.attribute != false {
5934 try visitor.visitSingularBoolField(value: self.attribute, fieldNumber: 4)
5935 }
5936 if self.wrapped != false {
5937 try visitor.visitSingularBoolField(value: self.wrapped, fieldNumber: 5)
5938 }
5939 if !self.specificationExtension.isEmpty {
5940 try visitor.visitRepeatedMessageField(value: self.specificationExtension, fieldNumber: 6)
5941 }
5942 try unknownFields.traverse(visitor: &visitor)
5943 }
5944 }
5945
5946 // MARK: - Code below here is support for the SwiftProtobuf runtime.
5947
5948 fileprivate let _protobuf_package = "openapi.v3"
5949
5950 extension Openapi_V3_AdditionalPropertiesItem: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
5951 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
5952 1: .standard(proto: "schema_or_reference"),
5953 2: .same(proto: "boolean"),
5954 ]
5955
5956 fileprivate class _StorageClass {
5957 var _oneof: Openapi_V3_AdditionalPropertiesItem.OneOf_Oneof?
5958
5959 static let defaultInstance = _StorageClass()
5960
5961 private init() {}
5962
5963 init(copying source: _StorageClass) {
5964 _oneof = source._oneof
5965 }
5966 }
5967
5968 fileprivate mutating func _uniqueStorage() -> _StorageClass {
5969 if !isKnownUniquelyReferenced(&_storage) {
5970 _storage = _StorageClass(copying: _storage)
5971 }
5972 return _storage
5973 }
5974
5975 public func _protobuf_generated_isEqualTo(other: Openapi_V3_AdditionalPropertiesItem) -> Bool {
5976 if _storage !== other._storage {
5977 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
5978 if _storage._oneof != other_storage._oneof {return false}
5979 return true
5980 }
5981 if !storagesAreEqual {return false}
5982 }
5983 if unknownFields != other.unknownFields {return false}
5984 return true
5985 }
5986 }
5987
5988 extension Openapi_V3_Any: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
5989 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
5990 1: .same(proto: "value"),
5991 2: .same(proto: "yaml"),
5992 ]
5993
5994 fileprivate class _StorageClass {
5995 var _value: SwiftProtobuf.Google_Protobuf_Any? = nil
5996 var _yaml: String = String()
5997
5998 static let defaultInstance = _StorageClass()
5999
6000 private init() {}
6001
6002 init(copying source: _StorageClass) {
6003 _value = source._value
6004 _yaml = source._yaml
6005 }
6006 }
6007
6008 fileprivate mutating func _uniqueStorage() -> _StorageClass {
6009 if !isKnownUniquelyReferenced(&_storage) {
6010 _storage = _StorageClass(copying: _storage)
6011 }
6012 return _storage
6013 }
6014
6015 public func _protobuf_generated_isEqualTo(other: Openapi_V3_Any) -> Bool {
6016 if _storage !== other._storage {
6017 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
6018 if _storage._value != other_storage._value {return false}
6019 if _storage._yaml != other_storage._yaml {return false}
6020 return true
6021 }
6022 if !storagesAreEqual {return false}
6023 }
6024 if unknownFields != other.unknownFields {return false}
6025 return true
6026 }
6027 }
6028
6029 extension Openapi_V3_AnyOrExpression: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
6030 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
6031 1: .same(proto: "any"),
6032 2: .same(proto: "expression"),
6033 ]
6034
6035 fileprivate class _StorageClass {
6036 var _oneof: Openapi_V3_AnyOrExpression.OneOf_Oneof?
6037
6038 static let defaultInstance = _StorageClass()
6039
6040 private init() {}
6041
6042 init(copying source: _StorageClass) {
6043 _oneof = source._oneof
6044 }
6045 }
6046
6047 fileprivate mutating func _uniqueStorage() -> _StorageClass {
6048 if !isKnownUniquelyReferenced(&_storage) {
6049 _storage = _StorageClass(copying: _storage)
6050 }
6051 return _storage
6052 }
6053
6054 public func _protobuf_generated_isEqualTo(other: Openapi_V3_AnyOrExpression) -> Bool {
6055 if _storage !== other._storage {
6056 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
6057 if _storage._oneof != other_storage._oneof {return false}
6058 return true
6059 }
6060 if !storagesAreEqual {return false}
6061 }
6062 if unknownFields != other.unknownFields {return false}
6063 return true
6064 }
6065 }
6066
6067 extension Openapi_V3_AnysOrExpressions: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
6068 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
6069 1: .standard(proto: "additional_properties"),
6070 ]
6071
6072 public func _protobuf_generated_isEqualTo(other: Openapi_V3_AnysOrExpressions) -> Bool {
6073 if self.additionalProperties != other.additionalProperties {return false}
6074 if unknownFields != other.unknownFields {return false}
6075 return true
6076 }
6077 }
6078
6079 extension Openapi_V3_Callback: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
6080 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
6081 1: .same(proto: "path"),
6082 2: .standard(proto: "specification_extension"),
6083 ]
6084
6085 public func _protobuf_generated_isEqualTo(other: Openapi_V3_Callback) -> Bool {
6086 if self.path != other.path {return false}
6087 if self.specificationExtension != other.specificationExtension {return false}
6088 if unknownFields != other.unknownFields {return false}
6089 return true
6090 }
6091 }
6092
6093 extension Openapi_V3_CallbackOrReference: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
6094 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
6095 1: .same(proto: "callback"),
6096 2: .same(proto: "reference"),
6097 ]
6098
6099 fileprivate class _StorageClass {
6100 var _oneof: Openapi_V3_CallbackOrReference.OneOf_Oneof?
6101
6102 static let defaultInstance = _StorageClass()
6103
6104 private init() {}
6105
6106 init(copying source: _StorageClass) {
6107 _oneof = source._oneof
6108 }
6109 }
6110
6111 fileprivate mutating func _uniqueStorage() -> _StorageClass {
6112 if !isKnownUniquelyReferenced(&_storage) {
6113 _storage = _StorageClass(copying: _storage)
6114 }
6115 return _storage
6116 }
6117
6118 public func _protobuf_generated_isEqualTo(other: Openapi_V3_CallbackOrReference) -> Bool {
6119 if _storage !== other._storage {
6120 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
6121 if _storage._oneof != other_storage._oneof {return false}
6122 return true
6123 }
6124 if !storagesAreEqual {return false}
6125 }
6126 if unknownFields != other.unknownFields {return false}
6127 return true
6128 }
6129 }
6130
6131 extension Openapi_V3_CallbacksOrReferences: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
6132 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
6133 1: .standard(proto: "additional_properties"),
6134 ]
6135
6136 public func _protobuf_generated_isEqualTo(other: Openapi_V3_CallbacksOrReferences) -> Bool {
6137 if self.additionalProperties != other.additionalProperties {return false}
6138 if unknownFields != other.unknownFields {return false}
6139 return true
6140 }
6141 }
6142
6143 extension Openapi_V3_Components: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
6144 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
6145 1: .same(proto: "schemas"),
6146 2: .same(proto: "responses"),
6147 3: .same(proto: "parameters"),
6148 4: .same(proto: "examples"),
6149 5: .standard(proto: "request_bodies"),
6150 6: .same(proto: "headers"),
6151 7: .standard(proto: "security_schemes"),
6152 8: .same(proto: "links"),
6153 9: .same(proto: "callbacks"),
6154 10: .standard(proto: "specification_extension"),
6155 ]
6156
6157 fileprivate class _StorageClass {
6158 var _schemas: Openapi_V3_SchemasOrReferences? = nil
6159 var _responses: Openapi_V3_ResponsesOrReferences? = nil
6160 var _parameters: Openapi_V3_ParametersOrReferences? = nil
6161 var _examples: Openapi_V3_ExamplesOrReferences? = nil
6162 var _requestBodies: Openapi_V3_RequestBodiesOrReferences? = nil
6163 var _headers: Openapi_V3_HeadersOrReferences? = nil
6164 var _securitySchemes: Openapi_V3_SecuritySchemesOrReferences? = nil
6165 var _links: Openapi_V3_LinksOrReferences? = nil
6166 var _callbacks: Openapi_V3_CallbacksOrReferences? = nil
6167 var _specificationExtension: [Openapi_V3_NamedAny] = []
6168
6169 static let defaultInstance = _StorageClass()
6170
6171 private init() {}
6172
6173 init(copying source: _StorageClass) {
6174 _schemas = source._schemas
6175 _responses = source._responses
6176 _parameters = source._parameters
6177 _examples = source._examples
6178 _requestBodies = source._requestBodies
6179 _headers = source._headers
6180 _securitySchemes = source._securitySchemes
6181 _links = source._links
6182 _callbacks = source._callbacks
6183 _specificationExtension = source._specificationExtension
6184 }
6185 }
6186
6187 fileprivate mutating func _uniqueStorage() -> _StorageClass {
6188 if !isKnownUniquelyReferenced(&_storage) {
6189 _storage = _StorageClass(copying: _storage)
6190 }
6191 return _storage
6192 }
6193
6194 public func _protobuf_generated_isEqualTo(other: Openapi_V3_Components) -> Bool {
6195 if _storage !== other._storage {
6196 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
6197 if _storage._schemas != other_storage._schemas {return false}
6198 if _storage._responses != other_storage._responses {return false}
6199 if _storage._parameters != other_storage._parameters {return false}
6200 if _storage._examples != other_storage._examples {return false}
6201 if _storage._requestBodies != other_storage._requestBodies {return false}
6202 if _storage._headers != other_storage._headers {return false}
6203 if _storage._securitySchemes != other_storage._securitySchemes {return false}
6204 if _storage._links != other_storage._links {return false}
6205 if _storage._callbacks != other_storage._callbacks {return false}
6206 if _storage._specificationExtension != other_storage._specificationExtension {return false}
6207 return true
6208 }
6209 if !storagesAreEqual {return false}
6210 }
6211 if unknownFields != other.unknownFields {return false}
6212 return true
6213 }
6214 }
6215
6216 extension Openapi_V3_Contact: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
6217 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
6218 1: .same(proto: "name"),
6219 2: .same(proto: "url"),
6220 3: .same(proto: "email"),
6221 4: .standard(proto: "specification_extension"),
6222 ]
6223
6224 public func _protobuf_generated_isEqualTo(other: Openapi_V3_Contact) -> Bool {
6225 if self.name != other.name {return false}
6226 if self.url != other.url {return false}
6227 if self.email != other.email {return false}
6228 if self.specificationExtension != other.specificationExtension {return false}
6229 if unknownFields != other.unknownFields {return false}
6230 return true
6231 }
6232 }
6233
6234 extension Openapi_V3_DefaultType: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
6235 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
6236 1: .same(proto: "number"),
6237 2: .same(proto: "boolean"),
6238 3: .same(proto: "string"),
6239 ]
6240
6241 public func _protobuf_generated_isEqualTo(other: Openapi_V3_DefaultType) -> Bool {
6242 if self.oneof != other.oneof {return false}
6243 if unknownFields != other.unknownFields {return false}
6244 return true
6245 }
6246 }
6247
6248 extension Openapi_V3_Discriminator: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
6249 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
6250 1: .standard(proto: "property_name"),
6251 2: .same(proto: "mapping"),
6252 ]
6253
6254 fileprivate class _StorageClass {
6255 var _propertyName: String = String()
6256 var _mapping: Openapi_V3_Strings? = nil
6257
6258 static let defaultInstance = _StorageClass()
6259
6260 private init() {}
6261
6262 init(copying source: _StorageClass) {
6263 _propertyName = source._propertyName
6264 _mapping = source._mapping
6265 }
6266 }
6267
6268 fileprivate mutating func _uniqueStorage() -> _StorageClass {
6269 if !isKnownUniquelyReferenced(&_storage) {
6270 _storage = _StorageClass(copying: _storage)
6271 }
6272 return _storage
6273 }
6274
6275 public func _protobuf_generated_isEqualTo(other: Openapi_V3_Discriminator) -> Bool {
6276 if _storage !== other._storage {
6277 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
6278 if _storage._propertyName != other_storage._propertyName {return false}
6279 if _storage._mapping != other_storage._mapping {return false}
6280 return true
6281 }
6282 if !storagesAreEqual {return false}
6283 }
6284 if unknownFields != other.unknownFields {return false}
6285 return true
6286 }
6287 }
6288
6289 extension Openapi_V3_Document: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
6290 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
6291 1: .same(proto: "openapi"),
6292 2: .same(proto: "info"),
6293 3: .same(proto: "servers"),
6294 4: .same(proto: "paths"),
6295 5: .same(proto: "components"),
6296 6: .same(proto: "security"),
6297 7: .same(proto: "tags"),
6298 8: .standard(proto: "external_docs"),
6299 9: .standard(proto: "specification_extension"),
6300 ]
6301
6302 fileprivate class _StorageClass {
6303 var _openapi: String = String()
6304 var _info: Openapi_V3_Info? = nil
6305 var _servers: [Openapi_V3_Server] = []
6306 var _paths: Openapi_V3_Paths? = nil
6307 var _components: Openapi_V3_Components? = nil
6308 var _security: [Openapi_V3_SecurityRequirement] = []
6309 var _tags: [Openapi_V3_Tag] = []
6310 var _externalDocs: Openapi_V3_ExternalDocs? = nil
6311 var _specificationExtension: [Openapi_V3_NamedAny] = []
6312
6313 static let defaultInstance = _StorageClass()
6314
6315 private init() {}
6316
6317 init(copying source: _StorageClass) {
6318 _openapi = source._openapi
6319 _info = source._info
6320 _servers = source._servers
6321 _paths = source._paths
6322 _components = source._components
6323 _security = source._security
6324 _tags = source._tags
6325 _externalDocs = source._externalDocs
6326 _specificationExtension = source._specificationExtension
6327 }
6328 }
6329
6330 fileprivate mutating func _uniqueStorage() -> _StorageClass {
6331 if !isKnownUniquelyReferenced(&_storage) {
6332 _storage = _StorageClass(copying: _storage)
6333 }
6334 return _storage
6335 }
6336
6337 public func _protobuf_generated_isEqualTo(other: Openapi_V3_Document) -> Bool {
6338 if _storage !== other._storage {
6339 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
6340 if _storage._openapi != other_storage._openapi {return false}
6341 if _storage._info != other_storage._info {return false}
6342 if _storage._servers != other_storage._servers {return false}
6343 if _storage._paths != other_storage._paths {return false}
6344 if _storage._components != other_storage._components {return false}
6345 if _storage._security != other_storage._security {return false}
6346 if _storage._tags != other_storage._tags {return false}
6347 if _storage._externalDocs != other_storage._externalDocs {return false}
6348 if _storage._specificationExtension != other_storage._specificationExtension {return false}
6349 return true
6350 }
6351 if !storagesAreEqual {return false}
6352 }
6353 if unknownFields != other.unknownFields {return false}
6354 return true
6355 }
6356 }
6357
6358 extension Openapi_V3_Encoding: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
6359 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
6360 1: .standard(proto: "content_type"),
6361 2: .same(proto: "headers"),
6362 3: .same(proto: "style"),
6363 4: .same(proto: "explode"),
6364 5: .standard(proto: "allow_reserved"),
6365 6: .standard(proto: "specification_extension"),
6366 ]
6367
6368 fileprivate class _StorageClass {
6369 var _contentType: String = String()
6370 var _headers: Openapi_V3_HeadersOrReferences? = nil
6371 var _style: String = String()
6372 var _explode: Bool = false
6373 var _allowReserved: Bool = false
6374 var _specificationExtension: [Openapi_V3_NamedAny] = []
6375
6376 static let defaultInstance = _StorageClass()
6377
6378 private init() {}
6379
6380 init(copying source: _StorageClass) {
6381 _contentType = source._contentType
6382 _headers = source._headers
6383 _style = source._style
6384 _explode = source._explode
6385 _allowReserved = source._allowReserved
6386 _specificationExtension = source._specificationExtension
6387 }
6388 }
6389
6390 fileprivate mutating func _uniqueStorage() -> _StorageClass {
6391 if !isKnownUniquelyReferenced(&_storage) {
6392 _storage = _StorageClass(copying: _storage)
6393 }
6394 return _storage
6395 }
6396
6397 public func _protobuf_generated_isEqualTo(other: Openapi_V3_Encoding) -> Bool {
6398 if _storage !== other._storage {
6399 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
6400 if _storage._contentType != other_storage._contentType {return false}
6401 if _storage._headers != other_storage._headers {return false}
6402 if _storage._style != other_storage._style {return false}
6403 if _storage._explode != other_storage._explode {return false}
6404 if _storage._allowReserved != other_storage._allowReserved {return false}
6405 if _storage._specificationExtension != other_storage._specificationExtension {return false}
6406 return true
6407 }
6408 if !storagesAreEqual {return false}
6409 }
6410 if unknownFields != other.unknownFields {return false}
6411 return true
6412 }
6413 }
6414
6415 extension Openapi_V3_Encodings: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
6416 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
6417 1: .standard(proto: "additional_properties"),
6418 ]
6419
6420 public func _protobuf_generated_isEqualTo(other: Openapi_V3_Encodings) -> Bool {
6421 if self.additionalProperties != other.additionalProperties {return false}
6422 if unknownFields != other.unknownFields {return false}
6423 return true
6424 }
6425 }
6426
6427 extension Openapi_V3_Example: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
6428 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
6429 1: .same(proto: "summary"),
6430 2: .same(proto: "description"),
6431 3: .same(proto: "value"),
6432 4: .standard(proto: "external_value"),
6433 5: .standard(proto: "specification_extension"),
6434 ]
6435
6436 fileprivate class _StorageClass {
6437 var _summary: String = String()
6438 var _description_p: String = String()
6439 var _value: Openapi_V3_Any? = nil
6440 var _externalValue: String = String()
6441 var _specificationExtension: [Openapi_V3_NamedAny] = []
6442
6443 static let defaultInstance = _StorageClass()
6444
6445 private init() {}
6446
6447 init(copying source: _StorageClass) {
6448 _summary = source._summary
6449 _description_p = source._description_p
6450 _value = source._value
6451 _externalValue = source._externalValue
6452 _specificationExtension = source._specificationExtension
6453 }
6454 }
6455
6456 fileprivate mutating func _uniqueStorage() -> _StorageClass {
6457 if !isKnownUniquelyReferenced(&_storage) {
6458 _storage = _StorageClass(copying: _storage)
6459 }
6460 return _storage
6461 }
6462
6463 public func _protobuf_generated_isEqualTo(other: Openapi_V3_Example) -> Bool {
6464 if _storage !== other._storage {
6465 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
6466 if _storage._summary != other_storage._summary {return false}
6467 if _storage._description_p != other_storage._description_p {return false}
6468 if _storage._value != other_storage._value {return false}
6469 if _storage._externalValue != other_storage._externalValue {return false}
6470 if _storage._specificationExtension != other_storage._specificationExtension {return false}
6471 return true
6472 }
6473 if !storagesAreEqual {return false}
6474 }
6475 if unknownFields != other.unknownFields {return false}
6476 return true
6477 }
6478 }
6479
6480 extension Openapi_V3_ExampleOrReference: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
6481 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
6482 1: .same(proto: "example"),
6483 2: .same(proto: "reference"),
6484 ]
6485
6486 fileprivate class _StorageClass {
6487 var _oneof: Openapi_V3_ExampleOrReference.OneOf_Oneof?
6488
6489 static let defaultInstance = _StorageClass()
6490
6491 private init() {}
6492
6493 init(copying source: _StorageClass) {
6494 _oneof = source._oneof
6495 }
6496 }
6497
6498 fileprivate mutating func _uniqueStorage() -> _StorageClass {
6499 if !isKnownUniquelyReferenced(&_storage) {
6500 _storage = _StorageClass(copying: _storage)
6501 }
6502 return _storage
6503 }
6504
6505 public func _protobuf_generated_isEqualTo(other: Openapi_V3_ExampleOrReference) -> Bool {
6506 if _storage !== other._storage {
6507 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
6508 if _storage._oneof != other_storage._oneof {return false}
6509 return true
6510 }
6511 if !storagesAreEqual {return false}
6512 }
6513 if unknownFields != other.unknownFields {return false}
6514 return true
6515 }
6516 }
6517
6518 extension Openapi_V3_Examples: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
6519 public static let _protobuf_nameMap = SwiftProtobuf._NameMap()
6520
6521 public func _protobuf_generated_isEqualTo(other: Openapi_V3_Examples) -> Bool {
6522 if unknownFields != other.unknownFields {return false}
6523 return true
6524 }
6525 }
6526
6527 extension Openapi_V3_ExamplesOrReferences: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
6528 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
6529 1: .standard(proto: "additional_properties"),
6530 ]
6531
6532 public func _protobuf_generated_isEqualTo(other: Openapi_V3_ExamplesOrReferences) -> Bool {
6533 if self.additionalProperties != other.additionalProperties {return false}
6534 if unknownFields != other.unknownFields {return false}
6535 return true
6536 }
6537 }
6538
6539 extension Openapi_V3_Expression: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
6540 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
6541 1: .standard(proto: "additional_properties"),
6542 ]
6543
6544 public func _protobuf_generated_isEqualTo(other: Openapi_V3_Expression) -> Bool {
6545 if self.additionalProperties != other.additionalProperties {return false}
6546 if unknownFields != other.unknownFields {return false}
6547 return true
6548 }
6549 }
6550
6551 extension Openapi_V3_ExternalDocs: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
6552 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
6553 1: .same(proto: "description"),
6554 2: .same(proto: "url"),
6555 3: .standard(proto: "specification_extension"),
6556 ]
6557
6558 public func _protobuf_generated_isEqualTo(other: Openapi_V3_ExternalDocs) -> Bool {
6559 if self.description_p != other.description_p {return false}
6560 if self.url != other.url {return false}
6561 if self.specificationExtension != other.specificationExtension {return false}
6562 if unknownFields != other.unknownFields {return false}
6563 return true
6564 }
6565 }
6566
6567 extension Openapi_V3_Header: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
6568 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
6569 1: .same(proto: "description"),
6570 2: .same(proto: "required"),
6571 3: .same(proto: "deprecated"),
6572 4: .standard(proto: "allow_empty_value"),
6573 5: .same(proto: "style"),
6574 6: .same(proto: "explode"),
6575 7: .standard(proto: "allow_reserved"),
6576 8: .same(proto: "schema"),
6577 9: .same(proto: "example"),
6578 10: .same(proto: "examples"),
6579 11: .same(proto: "content"),
6580 12: .standard(proto: "specification_extension"),
6581 ]
6582
6583 fileprivate class _StorageClass {
6584 var _description_p: String = String()
6585 var _required: Bool = false
6586 var _deprecated: Bool = false
6587 var _allowEmptyValue: Bool = false
6588 var _style: String = String()
6589 var _explode: Bool = false
6590 var _allowReserved: Bool = false
6591 var _schema: Openapi_V3_SchemaOrReference? = nil
6592 var _example: Openapi_V3_Any? = nil
6593 var _examples: Openapi_V3_ExamplesOrReferences? = nil
6594 var _content: Openapi_V3_MediaTypes? = nil
6595 var _specificationExtension: [Openapi_V3_NamedAny] = []
6596
6597 static let defaultInstance = _StorageClass()
6598
6599 private init() {}
6600
6601 init(copying source: _StorageClass) {
6602 _description_p = source._description_p
6603 _required = source._required
6604 _deprecated = source._deprecated
6605 _allowEmptyValue = source._allowEmptyValue
6606 _style = source._style
6607 _explode = source._explode
6608 _allowReserved = source._allowReserved
6609 _schema = source._schema
6610 _example = source._example
6611 _examples = source._examples
6612 _content = source._content
6613 _specificationExtension = source._specificationExtension
6614 }
6615 }
6616
6617 fileprivate mutating func _uniqueStorage() -> _StorageClass {
6618 if !isKnownUniquelyReferenced(&_storage) {
6619 _storage = _StorageClass(copying: _storage)
6620 }
6621 return _storage
6622 }
6623
6624 public func _protobuf_generated_isEqualTo(other: Openapi_V3_Header) -> Bool {
6625 if _storage !== other._storage {
6626 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
6627 if _storage._description_p != other_storage._description_p {return false}
6628 if _storage._required != other_storage._required {return false}
6629 if _storage._deprecated != other_storage._deprecated {return false}
6630 if _storage._allowEmptyValue != other_storage._allowEmptyValue {return false}
6631 if _storage._style != other_storage._style {return false}
6632 if _storage._explode != other_storage._explode {return false}
6633 if _storage._allowReserved != other_storage._allowReserved {return false}
6634 if _storage._schema != other_storage._schema {return false}
6635 if _storage._example != other_storage._example {return false}
6636 if _storage._examples != other_storage._examples {return false}
6637 if _storage._content != other_storage._content {return false}
6638 if _storage._specificationExtension != other_storage._specificationExtension {return false}
6639 return true
6640 }
6641 if !storagesAreEqual {return false}
6642 }
6643 if unknownFields != other.unknownFields {return false}
6644 return true
6645 }
6646 }
6647
6648 extension Openapi_V3_HeaderOrReference: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
6649 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
6650 1: .same(proto: "header"),
6651 2: .same(proto: "reference"),
6652 ]
6653
6654 fileprivate class _StorageClass {
6655 var _oneof: Openapi_V3_HeaderOrReference.OneOf_Oneof?
6656
6657 static let defaultInstance = _StorageClass()
6658
6659 private init() {}
6660
6661 init(copying source: _StorageClass) {
6662 _oneof = source._oneof
6663 }
6664 }
6665
6666 fileprivate mutating func _uniqueStorage() -> _StorageClass {
6667 if !isKnownUniquelyReferenced(&_storage) {
6668 _storage = _StorageClass(copying: _storage)
6669 }
6670 return _storage
6671 }
6672
6673 public func _protobuf_generated_isEqualTo(other: Openapi_V3_HeaderOrReference) -> Bool {
6674 if _storage !== other._storage {
6675 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
6676 if _storage._oneof != other_storage._oneof {return false}
6677 return true
6678 }
6679 if !storagesAreEqual {return false}
6680 }
6681 if unknownFields != other.unknownFields {return false}
6682 return true
6683 }
6684 }
6685
6686 extension Openapi_V3_HeadersOrReferences: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
6687 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
6688 1: .standard(proto: "additional_properties"),
6689 ]
6690
6691 public func _protobuf_generated_isEqualTo(other: Openapi_V3_HeadersOrReferences) -> Bool {
6692 if self.additionalProperties != other.additionalProperties {return false}
6693 if unknownFields != other.unknownFields {return false}
6694 return true
6695 }
6696 }
6697
6698 extension Openapi_V3_Info: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
6699 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
6700 1: .same(proto: "title"),
6701 2: .same(proto: "description"),
6702 3: .standard(proto: "terms_of_service"),
6703 4: .same(proto: "contact"),
6704 5: .same(proto: "license"),
6705 6: .same(proto: "version"),
6706 7: .standard(proto: "specification_extension"),
6707 ]
6708
6709 fileprivate class _StorageClass {
6710 var _title: String = String()
6711 var _description_p: String = String()
6712 var _termsOfService: String = String()
6713 var _contact: Openapi_V3_Contact? = nil
6714 var _license: Openapi_V3_License? = nil
6715 var _version: String = String()
6716 var _specificationExtension: [Openapi_V3_NamedAny] = []
6717
6718 static let defaultInstance = _StorageClass()
6719
6720 private init() {}
6721
6722 init(copying source: _StorageClass) {
6723 _title = source._title
6724 _description_p = source._description_p
6725 _termsOfService = source._termsOfService
6726 _contact = source._contact
6727 _license = source._license
6728 _version = source._version
6729 _specificationExtension = source._specificationExtension
6730 }
6731 }
6732
6733 fileprivate mutating func _uniqueStorage() -> _StorageClass {
6734 if !isKnownUniquelyReferenced(&_storage) {
6735 _storage = _StorageClass(copying: _storage)
6736 }
6737 return _storage
6738 }
6739
6740 public func _protobuf_generated_isEqualTo(other: Openapi_V3_Info) -> Bool {
6741 if _storage !== other._storage {
6742 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
6743 if _storage._title != other_storage._title {return false}
6744 if _storage._description_p != other_storage._description_p {return false}
6745 if _storage._termsOfService != other_storage._termsOfService {return false}
6746 if _storage._contact != other_storage._contact {return false}
6747 if _storage._license != other_storage._license {return false}
6748 if _storage._version != other_storage._version {return false}
6749 if _storage._specificationExtension != other_storage._specificationExtension {return false}
6750 return true
6751 }
6752 if !storagesAreEqual {return false}
6753 }
6754 if unknownFields != other.unknownFields {return false}
6755 return true
6756 }
6757 }
6758
6759 extension Openapi_V3_ItemsItem: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
6760 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
6761 1: .standard(proto: "schema_or_reference"),
6762 ]
6763
6764 public func _protobuf_generated_isEqualTo(other: Openapi_V3_ItemsItem) -> Bool {
6765 if self.schemaOrReference != other.schemaOrReference {return false}
6766 if unknownFields != other.unknownFields {return false}
6767 return true
6768 }
6769 }
6770
6771 extension Openapi_V3_License: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
6772 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
6773 1: .same(proto: "name"),
6774 2: .same(proto: "url"),
6775 3: .standard(proto: "specification_extension"),
6776 ]
6777
6778 public func _protobuf_generated_isEqualTo(other: Openapi_V3_License) -> Bool {
6779 if self.name != other.name {return false}
6780 if self.url != other.url {return false}
6781 if self.specificationExtension != other.specificationExtension {return false}
6782 if unknownFields != other.unknownFields {return false}
6783 return true
6784 }
6785 }
6786
6787 extension Openapi_V3_Link: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
6788 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
6789 1: .standard(proto: "operation_ref"),
6790 2: .standard(proto: "operation_id"),
6791 3: .same(proto: "parameters"),
6792 4: .standard(proto: "request_body"),
6793 5: .same(proto: "description"),
6794 6: .same(proto: "server"),
6795 7: .standard(proto: "specification_extension"),
6796 ]
6797
6798 fileprivate class _StorageClass {
6799 var _operationRef: String = String()
6800 var _operationID: String = String()
6801 var _parameters: Openapi_V3_AnysOrExpressions? = nil
6802 var _requestBody: Openapi_V3_AnyOrExpression? = nil
6803 var _description_p: String = String()
6804 var _server: Openapi_V3_Server? = nil
6805 var _specificationExtension: [Openapi_V3_NamedAny] = []
6806
6807 static let defaultInstance = _StorageClass()
6808
6809 private init() {}
6810
6811 init(copying source: _StorageClass) {
6812 _operationRef = source._operationRef
6813 _operationID = source._operationID
6814 _parameters = source._parameters
6815 _requestBody = source._requestBody
6816 _description_p = source._description_p
6817 _server = source._server
6818 _specificationExtension = source._specificationExtension
6819 }
6820 }
6821
6822 fileprivate mutating func _uniqueStorage() -> _StorageClass {
6823 if !isKnownUniquelyReferenced(&_storage) {
6824 _storage = _StorageClass(copying: _storage)
6825 }
6826 return _storage
6827 }
6828
6829 public func _protobuf_generated_isEqualTo(other: Openapi_V3_Link) -> Bool {
6830 if _storage !== other._storage {
6831 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
6832 if _storage._operationRef != other_storage._operationRef {return false}
6833 if _storage._operationID != other_storage._operationID {return false}
6834 if _storage._parameters != other_storage._parameters {return false}
6835 if _storage._requestBody != other_storage._requestBody {return false}
6836 if _storage._description_p != other_storage._description_p {return false}
6837 if _storage._server != other_storage._server {return false}
6838 if _storage._specificationExtension != other_storage._specificationExtension {return false}
6839 return true
6840 }
6841 if !storagesAreEqual {return false}
6842 }
6843 if unknownFields != other.unknownFields {return false}
6844 return true
6845 }
6846 }
6847
6848 extension Openapi_V3_LinkOrReference: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
6849 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
6850 1: .same(proto: "link"),
6851 2: .same(proto: "reference"),
6852 ]
6853
6854 fileprivate class _StorageClass {
6855 var _oneof: Openapi_V3_LinkOrReference.OneOf_Oneof?
6856
6857 static let defaultInstance = _StorageClass()
6858
6859 private init() {}
6860
6861 init(copying source: _StorageClass) {
6862 _oneof = source._oneof
6863 }
6864 }
6865
6866 fileprivate mutating func _uniqueStorage() -> _StorageClass {
6867 if !isKnownUniquelyReferenced(&_storage) {
6868 _storage = _StorageClass(copying: _storage)
6869 }
6870 return _storage
6871 }
6872
6873 public func _protobuf_generated_isEqualTo(other: Openapi_V3_LinkOrReference) -> Bool {
6874 if _storage !== other._storage {
6875 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
6876 if _storage._oneof != other_storage._oneof {return false}
6877 return true
6878 }
6879 if !storagesAreEqual {return false}
6880 }
6881 if unknownFields != other.unknownFields {return false}
6882 return true
6883 }
6884 }
6885
6886 extension Openapi_V3_LinksOrReferences: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
6887 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
6888 1: .standard(proto: "additional_properties"),
6889 ]
6890
6891 public func _protobuf_generated_isEqualTo(other: Openapi_V3_LinksOrReferences) -> Bool {
6892 if self.additionalProperties != other.additionalProperties {return false}
6893 if unknownFields != other.unknownFields {return false}
6894 return true
6895 }
6896 }
6897
6898 extension Openapi_V3_MediaType: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
6899 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
6900 1: .same(proto: "schema"),
6901 2: .same(proto: "example"),
6902 3: .same(proto: "examples"),
6903 4: .same(proto: "encoding"),
6904 5: .standard(proto: "specification_extension"),
6905 ]
6906
6907 fileprivate class _StorageClass {
6908 var _schema: Openapi_V3_SchemaOrReference? = nil
6909 var _example: Openapi_V3_Any? = nil
6910 var _examples: Openapi_V3_ExamplesOrReferences? = nil
6911 var _encoding: Openapi_V3_Encodings? = nil
6912 var _specificationExtension: [Openapi_V3_NamedAny] = []
6913
6914 static let defaultInstance = _StorageClass()
6915
6916 private init() {}
6917
6918 init(copying source: _StorageClass) {
6919 _schema = source._schema
6920 _example = source._example
6921 _examples = source._examples
6922 _encoding = source._encoding
6923 _specificationExtension = source._specificationExtension
6924 }
6925 }
6926
6927 fileprivate mutating func _uniqueStorage() -> _StorageClass {
6928 if !isKnownUniquelyReferenced(&_storage) {
6929 _storage = _StorageClass(copying: _storage)
6930 }
6931 return _storage
6932 }
6933
6934 public func _protobuf_generated_isEqualTo(other: Openapi_V3_MediaType) -> Bool {
6935 if _storage !== other._storage {
6936 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
6937 if _storage._schema != other_storage._schema {return false}
6938 if _storage._example != other_storage._example {return false}
6939 if _storage._examples != other_storage._examples {return false}
6940 if _storage._encoding != other_storage._encoding {return false}
6941 if _storage._specificationExtension != other_storage._specificationExtension {return false}
6942 return true
6943 }
6944 if !storagesAreEqual {return false}
6945 }
6946 if unknownFields != other.unknownFields {return false}
6947 return true
6948 }
6949 }
6950
6951 extension Openapi_V3_MediaTypes: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
6952 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
6953 1: .standard(proto: "additional_properties"),
6954 ]
6955
6956 public func _protobuf_generated_isEqualTo(other: Openapi_V3_MediaTypes) -> Bool {
6957 if self.additionalProperties != other.additionalProperties {return false}
6958 if unknownFields != other.unknownFields {return false}
6959 return true
6960 }
6961 }
6962
6963 extension Openapi_V3_NamedAny: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
6964 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
6965 1: .same(proto: "name"),
6966 2: .same(proto: "value"),
6967 ]
6968
6969 fileprivate class _StorageClass {
6970 var _name: String = String()
6971 var _value: Openapi_V3_Any? = nil
6972
6973 static let defaultInstance = _StorageClass()
6974
6975 private init() {}
6976
6977 init(copying source: _StorageClass) {
6978 _name = source._name
6979 _value = source._value
6980 }
6981 }
6982
6983 fileprivate mutating func _uniqueStorage() -> _StorageClass {
6984 if !isKnownUniquelyReferenced(&_storage) {
6985 _storage = _StorageClass(copying: _storage)
6986 }
6987 return _storage
6988 }
6989
6990 public func _protobuf_generated_isEqualTo(other: Openapi_V3_NamedAny) -> Bool {
6991 if _storage !== other._storage {
6992 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
6993 if _storage._name != other_storage._name {return false}
6994 if _storage._value != other_storage._value {return false}
6995 return true
6996 }
6997 if !storagesAreEqual {return false}
6998 }
6999 if unknownFields != other.unknownFields {return false}
7000 return true
7001 }
7002 }
7003
7004 extension Openapi_V3_NamedAnyOrExpression: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
7005 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
7006 1: .same(proto: "name"),
7007 2: .same(proto: "value"),
7008 ]
7009
7010 fileprivate class _StorageClass {
7011 var _name: String = String()
7012 var _value: Openapi_V3_AnyOrExpression? = nil
7013
7014 static let defaultInstance = _StorageClass()
7015
7016 private init() {}
7017
7018 init(copying source: _StorageClass) {
7019 _name = source._name
7020 _value = source._value
7021 }
7022 }
7023
7024 fileprivate mutating func _uniqueStorage() -> _StorageClass {
7025 if !isKnownUniquelyReferenced(&_storage) {
7026 _storage = _StorageClass(copying: _storage)
7027 }
7028 return _storage
7029 }
7030
7031 public func _protobuf_generated_isEqualTo(other: Openapi_V3_NamedAnyOrExpression) -> Bool {
7032 if _storage !== other._storage {
7033 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
7034 if _storage._name != other_storage._name {return false}
7035 if _storage._value != other_storage._value {return false}
7036 return true
7037 }
7038 if !storagesAreEqual {return false}
7039 }
7040 if unknownFields != other.unknownFields {return false}
7041 return true
7042 }
7043 }
7044
7045 extension Openapi_V3_NamedCallbackOrReference: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
7046 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
7047 1: .same(proto: "name"),
7048 2: .same(proto: "value"),
7049 ]
7050
7051 fileprivate class _StorageClass {
7052 var _name: String = String()
7053 var _value: Openapi_V3_CallbackOrReference? = nil
7054
7055 static let defaultInstance = _StorageClass()
7056
7057 private init() {}
7058
7059 init(copying source: _StorageClass) {
7060 _name = source._name
7061 _value = source._value
7062 }
7063 }
7064
7065 fileprivate mutating func _uniqueStorage() -> _StorageClass {
7066 if !isKnownUniquelyReferenced(&_storage) {
7067 _storage = _StorageClass(copying: _storage)
7068 }
7069 return _storage
7070 }
7071
7072 public func _protobuf_generated_isEqualTo(other: Openapi_V3_NamedCallbackOrReference) -> Bool {
7073 if _storage !== other._storage {
7074 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
7075 if _storage._name != other_storage._name {return false}
7076 if _storage._value != other_storage._value {return false}
7077 return true
7078 }
7079 if !storagesAreEqual {return false}
7080 }
7081 if unknownFields != other.unknownFields {return false}
7082 return true
7083 }
7084 }
7085
7086 extension Openapi_V3_NamedEncoding: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
7087 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
7088 1: .same(proto: "name"),
7089 2: .same(proto: "value"),
7090 ]
7091
7092 fileprivate class _StorageClass {
7093 var _name: String = String()
7094 var _value: Openapi_V3_Encoding? = nil
7095
7096 static let defaultInstance = _StorageClass()
7097
7098 private init() {}
7099
7100 init(copying source: _StorageClass) {
7101 _name = source._name
7102 _value = source._value
7103 }
7104 }
7105
7106 fileprivate mutating func _uniqueStorage() -> _StorageClass {
7107 if !isKnownUniquelyReferenced(&_storage) {
7108 _storage = _StorageClass(copying: _storage)
7109 }
7110 return _storage
7111 }
7112
7113 public func _protobuf_generated_isEqualTo(other: Openapi_V3_NamedEncoding) -> Bool {
7114 if _storage !== other._storage {
7115 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
7116 if _storage._name != other_storage._name {return false}
7117 if _storage._value != other_storage._value {return false}
7118 return true
7119 }
7120 if !storagesAreEqual {return false}
7121 }
7122 if unknownFields != other.unknownFields {return false}
7123 return true
7124 }
7125 }
7126
7127 extension Openapi_V3_NamedExampleOrReference: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
7128 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
7129 1: .same(proto: "name"),
7130 2: .same(proto: "value"),
7131 ]
7132
7133 fileprivate class _StorageClass {
7134 var _name: String = String()
7135 var _value: Openapi_V3_ExampleOrReference? = nil
7136
7137 static let defaultInstance = _StorageClass()
7138
7139 private init() {}
7140
7141 init(copying source: _StorageClass) {
7142 _name = source._name
7143 _value = source._value
7144 }
7145 }
7146
7147 fileprivate mutating func _uniqueStorage() -> _StorageClass {
7148 if !isKnownUniquelyReferenced(&_storage) {
7149 _storage = _StorageClass(copying: _storage)
7150 }
7151 return _storage
7152 }
7153
7154 public func _protobuf_generated_isEqualTo(other: Openapi_V3_NamedExampleOrReference) -> Bool {
7155 if _storage !== other._storage {
7156 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
7157 if _storage._name != other_storage._name {return false}
7158 if _storage._value != other_storage._value {return false}
7159 return true
7160 }
7161 if !storagesAreEqual {return false}
7162 }
7163 if unknownFields != other.unknownFields {return false}
7164 return true
7165 }
7166 }
7167
7168 extension Openapi_V3_NamedHeaderOrReference: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
7169 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
7170 1: .same(proto: "name"),
7171 2: .same(proto: "value"),
7172 ]
7173
7174 fileprivate class _StorageClass {
7175 var _name: String = String()
7176 var _value: Openapi_V3_HeaderOrReference? = nil
7177
7178 static let defaultInstance = _StorageClass()
7179
7180 private init() {}
7181
7182 init(copying source: _StorageClass) {
7183 _name = source._name
7184 _value = source._value
7185 }
7186 }
7187
7188 fileprivate mutating func _uniqueStorage() -> _StorageClass {
7189 if !isKnownUniquelyReferenced(&_storage) {
7190 _storage = _StorageClass(copying: _storage)
7191 }
7192 return _storage
7193 }
7194
7195 public func _protobuf_generated_isEqualTo(other: Openapi_V3_NamedHeaderOrReference) -> Bool {
7196 if _storage !== other._storage {
7197 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
7198 if _storage._name != other_storage._name {return false}
7199 if _storage._value != other_storage._value {return false}
7200 return true
7201 }
7202 if !storagesAreEqual {return false}
7203 }
7204 if unknownFields != other.unknownFields {return false}
7205 return true
7206 }
7207 }
7208
7209 extension Openapi_V3_NamedLinkOrReference: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
7210 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
7211 1: .same(proto: "name"),
7212 2: .same(proto: "value"),
7213 ]
7214
7215 fileprivate class _StorageClass {
7216 var _name: String = String()
7217 var _value: Openapi_V3_LinkOrReference? = nil
7218
7219 static let defaultInstance = _StorageClass()
7220
7221 private init() {}
7222
7223 init(copying source: _StorageClass) {
7224 _name = source._name
7225 _value = source._value
7226 }
7227 }
7228
7229 fileprivate mutating func _uniqueStorage() -> _StorageClass {
7230 if !isKnownUniquelyReferenced(&_storage) {
7231 _storage = _StorageClass(copying: _storage)
7232 }
7233 return _storage
7234 }
7235
7236 public func _protobuf_generated_isEqualTo(other: Openapi_V3_NamedLinkOrReference) -> Bool {
7237 if _storage !== other._storage {
7238 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
7239 if _storage._name != other_storage._name {return false}
7240 if _storage._value != other_storage._value {return false}
7241 return true
7242 }
7243 if !storagesAreEqual {return false}
7244 }
7245 if unknownFields != other.unknownFields {return false}
7246 return true
7247 }
7248 }
7249
7250 extension Openapi_V3_NamedMediaType: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
7251 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
7252 1: .same(proto: "name"),
7253 2: .same(proto: "value"),
7254 ]
7255
7256 fileprivate class _StorageClass {
7257 var _name: String = String()
7258 var _value: Openapi_V3_MediaType? = nil
7259
7260 static let defaultInstance = _StorageClass()
7261
7262 private init() {}
7263
7264 init(copying source: _StorageClass) {
7265 _name = source._name
7266 _value = source._value
7267 }
7268 }
7269
7270 fileprivate mutating func _uniqueStorage() -> _StorageClass {
7271 if !isKnownUniquelyReferenced(&_storage) {
7272 _storage = _StorageClass(copying: _storage)
7273 }
7274 return _storage
7275 }
7276
7277 public func _protobuf_generated_isEqualTo(other: Openapi_V3_NamedMediaType) -> Bool {
7278 if _storage !== other._storage {
7279 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
7280 if _storage._name != other_storage._name {return false}
7281 if _storage._value != other_storage._value {return false}
7282 return true
7283 }
7284 if !storagesAreEqual {return false}
7285 }
7286 if unknownFields != other.unknownFields {return false}
7287 return true
7288 }
7289 }
7290
7291 extension Openapi_V3_NamedParameterOrReference: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
7292 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
7293 1: .same(proto: "name"),
7294 2: .same(proto: "value"),
7295 ]
7296
7297 fileprivate class _StorageClass {
7298 var _name: String = String()
7299 var _value: Openapi_V3_ParameterOrReference? = nil
7300
7301 static let defaultInstance = _StorageClass()
7302
7303 private init() {}
7304
7305 init(copying source: _StorageClass) {
7306 _name = source._name
7307 _value = source._value
7308 }
7309 }
7310
7311 fileprivate mutating func _uniqueStorage() -> _StorageClass {
7312 if !isKnownUniquelyReferenced(&_storage) {
7313 _storage = _StorageClass(copying: _storage)
7314 }
7315 return _storage
7316 }
7317
7318 public func _protobuf_generated_isEqualTo(other: Openapi_V3_NamedParameterOrReference) -> Bool {
7319 if _storage !== other._storage {
7320 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
7321 if _storage._name != other_storage._name {return false}
7322 if _storage._value != other_storage._value {return false}
7323 return true
7324 }
7325 if !storagesAreEqual {return false}
7326 }
7327 if unknownFields != other.unknownFields {return false}
7328 return true
7329 }
7330 }
7331
7332 extension Openapi_V3_NamedPathItem: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
7333 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
7334 1: .same(proto: "name"),
7335 2: .same(proto: "value"),
7336 ]
7337
7338 fileprivate class _StorageClass {
7339 var _name: String = String()
7340 var _value: Openapi_V3_PathItem? = nil
7341
7342 static let defaultInstance = _StorageClass()
7343
7344 private init() {}
7345
7346 init(copying source: _StorageClass) {
7347 _name = source._name
7348 _value = source._value
7349 }
7350 }
7351
7352 fileprivate mutating func _uniqueStorage() -> _StorageClass {
7353 if !isKnownUniquelyReferenced(&_storage) {
7354 _storage = _StorageClass(copying: _storage)
7355 }
7356 return _storage
7357 }
7358
7359 public func _protobuf_generated_isEqualTo(other: Openapi_V3_NamedPathItem) -> Bool {
7360 if _storage !== other._storage {
7361 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
7362 if _storage._name != other_storage._name {return false}
7363 if _storage._value != other_storage._value {return false}
7364 return true
7365 }
7366 if !storagesAreEqual {return false}
7367 }
7368 if unknownFields != other.unknownFields {return false}
7369 return true
7370 }
7371 }
7372
7373 extension Openapi_V3_NamedRequestBodyOrReference: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
7374 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
7375 1: .same(proto: "name"),
7376 2: .same(proto: "value"),
7377 ]
7378
7379 fileprivate class _StorageClass {
7380 var _name: String = String()
7381 var _value: Openapi_V3_RequestBodyOrReference? = nil
7382
7383 static let defaultInstance = _StorageClass()
7384
7385 private init() {}
7386
7387 init(copying source: _StorageClass) {
7388 _name = source._name
7389 _value = source._value
7390 }
7391 }
7392
7393 fileprivate mutating func _uniqueStorage() -> _StorageClass {
7394 if !isKnownUniquelyReferenced(&_storage) {
7395 _storage = _StorageClass(copying: _storage)
7396 }
7397 return _storage
7398 }
7399
7400 public func _protobuf_generated_isEqualTo(other: Openapi_V3_NamedRequestBodyOrReference) -> Bool {
7401 if _storage !== other._storage {
7402 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
7403 if _storage._name != other_storage._name {return false}
7404 if _storage._value != other_storage._value {return false}
7405 return true
7406 }
7407 if !storagesAreEqual {return false}
7408 }
7409 if unknownFields != other.unknownFields {return false}
7410 return true
7411 }
7412 }
7413
7414 extension Openapi_V3_NamedResponseOrReference: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
7415 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
7416 1: .same(proto: "name"),
7417 2: .same(proto: "value"),
7418 ]
7419
7420 fileprivate class _StorageClass {
7421 var _name: String = String()
7422 var _value: Openapi_V3_ResponseOrReference? = nil
7423
7424 static let defaultInstance = _StorageClass()
7425
7426 private init() {}
7427
7428 init(copying source: _StorageClass) {
7429 _name = source._name
7430 _value = source._value
7431 }
7432 }
7433
7434 fileprivate mutating func _uniqueStorage() -> _StorageClass {
7435 if !isKnownUniquelyReferenced(&_storage) {
7436 _storage = _StorageClass(copying: _storage)
7437 }
7438 return _storage
7439 }
7440
7441 public func _protobuf_generated_isEqualTo(other: Openapi_V3_NamedResponseOrReference) -> Bool {
7442 if _storage !== other._storage {
7443 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
7444 if _storage._name != other_storage._name {return false}
7445 if _storage._value != other_storage._value {return false}
7446 return true
7447 }
7448 if !storagesAreEqual {return false}
7449 }
7450 if unknownFields != other.unknownFields {return false}
7451 return true
7452 }
7453 }
7454
7455 extension Openapi_V3_NamedSchemaOrReference: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
7456 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
7457 1: .same(proto: "name"),
7458 2: .same(proto: "value"),
7459 ]
7460
7461 fileprivate class _StorageClass {
7462 var _name: String = String()
7463 var _value: Openapi_V3_SchemaOrReference? = nil
7464
7465 static let defaultInstance = _StorageClass()
7466
7467 private init() {}
7468
7469 init(copying source: _StorageClass) {
7470 _name = source._name
7471 _value = source._value
7472 }
7473 }
7474
7475 fileprivate mutating func _uniqueStorage() -> _StorageClass {
7476 if !isKnownUniquelyReferenced(&_storage) {
7477 _storage = _StorageClass(copying: _storage)
7478 }
7479 return _storage
7480 }
7481
7482 public func _protobuf_generated_isEqualTo(other: Openapi_V3_NamedSchemaOrReference) -> Bool {
7483 if _storage !== other._storage {
7484 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
7485 if _storage._name != other_storage._name {return false}
7486 if _storage._value != other_storage._value {return false}
7487 return true
7488 }
7489 if !storagesAreEqual {return false}
7490 }
7491 if unknownFields != other.unknownFields {return false}
7492 return true
7493 }
7494 }
7495
7496 extension Openapi_V3_NamedSecuritySchemeOrReference: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
7497 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
7498 1: .same(proto: "name"),
7499 2: .same(proto: "value"),
7500 ]
7501
7502 fileprivate class _StorageClass {
7503 var _name: String = String()
7504 var _value: Openapi_V3_SecuritySchemeOrReference? = nil
7505
7506 static let defaultInstance = _StorageClass()
7507
7508 private init() {}
7509
7510 init(copying source: _StorageClass) {
7511 _name = source._name
7512 _value = source._value
7513 }
7514 }
7515
7516 fileprivate mutating func _uniqueStorage() -> _StorageClass {
7517 if !isKnownUniquelyReferenced(&_storage) {
7518 _storage = _StorageClass(copying: _storage)
7519 }
7520 return _storage
7521 }
7522
7523 public func _protobuf_generated_isEqualTo(other: Openapi_V3_NamedSecuritySchemeOrReference) -> Bool {
7524 if _storage !== other._storage {
7525 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
7526 if _storage._name != other_storage._name {return false}
7527 if _storage._value != other_storage._value {return false}
7528 return true
7529 }
7530 if !storagesAreEqual {return false}
7531 }
7532 if unknownFields != other.unknownFields {return false}
7533 return true
7534 }
7535 }
7536
7537 extension Openapi_V3_NamedServerVariable: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
7538 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
7539 1: .same(proto: "name"),
7540 2: .same(proto: "value"),
7541 ]
7542
7543 fileprivate class _StorageClass {
7544 var _name: String = String()
7545 var _value: Openapi_V3_ServerVariable? = nil
7546
7547 static let defaultInstance = _StorageClass()
7548
7549 private init() {}
7550
7551 init(copying source: _StorageClass) {
7552 _name = source._name
7553 _value = source._value
7554 }
7555 }
7556
7557 fileprivate mutating func _uniqueStorage() -> _StorageClass {
7558 if !isKnownUniquelyReferenced(&_storage) {
7559 _storage = _StorageClass(copying: _storage)
7560 }
7561 return _storage
7562 }
7563
7564 public func _protobuf_generated_isEqualTo(other: Openapi_V3_NamedServerVariable) -> Bool {
7565 if _storage !== other._storage {
7566 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
7567 if _storage._name != other_storage._name {return false}
7568 if _storage._value != other_storage._value {return false}
7569 return true
7570 }
7571 if !storagesAreEqual {return false}
7572 }
7573 if unknownFields != other.unknownFields {return false}
7574 return true
7575 }
7576 }
7577
7578 extension Openapi_V3_NamedString: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
7579 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
7580 1: .same(proto: "name"),
7581 2: .same(proto: "value"),
7582 ]
7583
7584 public func _protobuf_generated_isEqualTo(other: Openapi_V3_NamedString) -> Bool {
7585 if self.name != other.name {return false}
7586 if self.value != other.value {return false}
7587 if unknownFields != other.unknownFields {return false}
7588 return true
7589 }
7590 }
7591
7592 extension Openapi_V3_OauthFlow: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
7593 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
7594 1: .standard(proto: "authorization_url"),
7595 2: .standard(proto: "token_url"),
7596 3: .standard(proto: "refresh_url"),
7597 4: .same(proto: "scopes"),
7598 5: .standard(proto: "specification_extension"),
7599 ]
7600
7601 fileprivate class _StorageClass {
7602 var _authorizationURL: String = String()
7603 var _tokenURL: String = String()
7604 var _refreshURL: String = String()
7605 var _scopes: Openapi_V3_Strings? = nil
7606 var _specificationExtension: [Openapi_V3_NamedAny] = []
7607
7608 static let defaultInstance = _StorageClass()
7609
7610 private init() {}
7611
7612 init(copying source: _StorageClass) {
7613 _authorizationURL = source._authorizationURL
7614 _tokenURL = source._tokenURL
7615 _refreshURL = source._refreshURL
7616 _scopes = source._scopes
7617 _specificationExtension = source._specificationExtension
7618 }
7619 }
7620
7621 fileprivate mutating func _uniqueStorage() -> _StorageClass {
7622 if !isKnownUniquelyReferenced(&_storage) {
7623 _storage = _StorageClass(copying: _storage)
7624 }
7625 return _storage
7626 }
7627
7628 public func _protobuf_generated_isEqualTo(other: Openapi_V3_OauthFlow) -> Bool {
7629 if _storage !== other._storage {
7630 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
7631 if _storage._authorizationURL != other_storage._authorizationURL {return false}
7632 if _storage._tokenURL != other_storage._tokenURL {return false}
7633 if _storage._refreshURL != other_storage._refreshURL {return false}
7634 if _storage._scopes != other_storage._scopes {return false}
7635 if _storage._specificationExtension != other_storage._specificationExtension {return false}
7636 return true
7637 }
7638 if !storagesAreEqual {return false}
7639 }
7640 if unknownFields != other.unknownFields {return false}
7641 return true
7642 }
7643 }
7644
7645 extension Openapi_V3_OauthFlows: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
7646 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
7647 1: .same(proto: "implicit"),
7648 2: .same(proto: "password"),
7649 3: .standard(proto: "client_credentials"),
7650 4: .standard(proto: "authorization_code"),
7651 5: .standard(proto: "specification_extension"),
7652 ]
7653
7654 fileprivate class _StorageClass {
7655 var _implicit: Openapi_V3_OauthFlow? = nil
7656 var _password: Openapi_V3_OauthFlow? = nil
7657 var _clientCredentials: Openapi_V3_OauthFlow? = nil
7658 var _authorizationCode: Openapi_V3_OauthFlow? = nil
7659 var _specificationExtension: [Openapi_V3_NamedAny] = []
7660
7661 static let defaultInstance = _StorageClass()
7662
7663 private init() {}
7664
7665 init(copying source: _StorageClass) {
7666 _implicit = source._implicit
7667 _password = source._password
7668 _clientCredentials = source._clientCredentials
7669 _authorizationCode = source._authorizationCode
7670 _specificationExtension = source._specificationExtension
7671 }
7672 }
7673
7674 fileprivate mutating func _uniqueStorage() -> _StorageClass {
7675 if !isKnownUniquelyReferenced(&_storage) {
7676 _storage = _StorageClass(copying: _storage)
7677 }
7678 return _storage
7679 }
7680
7681 public func _protobuf_generated_isEqualTo(other: Openapi_V3_OauthFlows) -> Bool {
7682 if _storage !== other._storage {
7683 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
7684 if _storage._implicit != other_storage._implicit {return false}
7685 if _storage._password != other_storage._password {return false}
7686 if _storage._clientCredentials != other_storage._clientCredentials {return false}
7687 if _storage._authorizationCode != other_storage._authorizationCode {return false}
7688 if _storage._specificationExtension != other_storage._specificationExtension {return false}
7689 return true
7690 }
7691 if !storagesAreEqual {return false}
7692 }
7693 if unknownFields != other.unknownFields {return false}
7694 return true
7695 }
7696 }
7697
7698 extension Openapi_V3_Object: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
7699 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
7700 1: .standard(proto: "additional_properties"),
7701 ]
7702
7703 public func _protobuf_generated_isEqualTo(other: Openapi_V3_Object) -> Bool {
7704 if self.additionalProperties != other.additionalProperties {return false}
7705 if unknownFields != other.unknownFields {return false}
7706 return true
7707 }
7708 }
7709
7710 extension Openapi_V3_Operation: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
7711 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
7712 1: .same(proto: "tags"),
7713 2: .same(proto: "summary"),
7714 3: .same(proto: "description"),
7715 4: .standard(proto: "external_docs"),
7716 5: .standard(proto: "operation_id"),
7717 6: .same(proto: "parameters"),
7718 7: .standard(proto: "request_body"),
7719 8: .same(proto: "responses"),
7720 9: .same(proto: "callbacks"),
7721 10: .same(proto: "deprecated"),
7722 11: .same(proto: "security"),
7723 12: .same(proto: "servers"),
7724 13: .standard(proto: "specification_extension"),
7725 ]
7726
7727 fileprivate class _StorageClass {
7728 var _tags: [String] = []
7729 var _summary: String = String()
7730 var _description_p: String = String()
7731 var _externalDocs: Openapi_V3_ExternalDocs? = nil
7732 var _operationID: String = String()
7733 var _parameters: [Openapi_V3_ParameterOrReference] = []
7734 var _requestBody: Openapi_V3_RequestBodyOrReference? = nil
7735 var _responses: Openapi_V3_Responses? = nil
7736 var _callbacks: Openapi_V3_CallbacksOrReferences? = nil
7737 var _deprecated: Bool = false
7738 var _security: [Openapi_V3_SecurityRequirement] = []
7739 var _servers: [Openapi_V3_Server] = []
7740 var _specificationExtension: [Openapi_V3_NamedAny] = []
7741
7742 static let defaultInstance = _StorageClass()
7743
7744 private init() {}
7745
7746 init(copying source: _StorageClass) {
7747 _tags = source._tags
7748 _summary = source._summary
7749 _description_p = source._description_p
7750 _externalDocs = source._externalDocs
7751 _operationID = source._operationID
7752 _parameters = source._parameters
7753 _requestBody = source._requestBody
7754 _responses = source._responses
7755 _callbacks = source._callbacks
7756 _deprecated = source._deprecated
7757 _security = source._security
7758 _servers = source._servers
7759 _specificationExtension = source._specificationExtension
7760 }
7761 }
7762
7763 fileprivate mutating func _uniqueStorage() -> _StorageClass {
7764 if !isKnownUniquelyReferenced(&_storage) {
7765 _storage = _StorageClass(copying: _storage)
7766 }
7767 return _storage
7768 }
7769
7770 public func _protobuf_generated_isEqualTo(other: Openapi_V3_Operation) -> Bool {
7771 if _storage !== other._storage {
7772 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
7773 if _storage._tags != other_storage._tags {return false}
7774 if _storage._summary != other_storage._summary {return false}
7775 if _storage._description_p != other_storage._description_p {return false}
7776 if _storage._externalDocs != other_storage._externalDocs {return false}
7777 if _storage._operationID != other_storage._operationID {return false}
7778 if _storage._parameters != other_storage._parameters {return false}
7779 if _storage._requestBody != other_storage._requestBody {return false}
7780 if _storage._responses != other_storage._responses {return false}
7781 if _storage._callbacks != other_storage._callbacks {return false}
7782 if _storage._deprecated != other_storage._deprecated {return false}
7783 if _storage._security != other_storage._security {return false}
7784 if _storage._servers != other_storage._servers {return false}
7785 if _storage._specificationExtension != other_storage._specificationExtension {return false}
7786 return true
7787 }
7788 if !storagesAreEqual {return false}
7789 }
7790 if unknownFields != other.unknownFields {return false}
7791 return true
7792 }
7793 }
7794
7795 extension Openapi_V3_Parameter: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
7796 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
7797 1: .same(proto: "name"),
7798 2: .same(proto: "in"),
7799 3: .same(proto: "description"),
7800 4: .same(proto: "required"),
7801 5: .same(proto: "deprecated"),
7802 6: .standard(proto: "allow_empty_value"),
7803 7: .same(proto: "style"),
7804 8: .same(proto: "explode"),
7805 9: .standard(proto: "allow_reserved"),
7806 10: .same(proto: "schema"),
7807 11: .same(proto: "example"),
7808 12: .same(proto: "examples"),
7809 13: .same(proto: "content"),
7810 14: .standard(proto: "specification_extension"),
7811 ]
7812
7813 fileprivate class _StorageClass {
7814 var _name: String = String()
7815 var _in: String = String()
7816 var _description_p: String = String()
7817 var _required: Bool = false
7818 var _deprecated: Bool = false
7819 var _allowEmptyValue: Bool = false
7820 var _style: String = String()
7821 var _explode: Bool = false
7822 var _allowReserved: Bool = false
7823 var _schema: Openapi_V3_SchemaOrReference? = nil
7824 var _example: Openapi_V3_Any? = nil
7825 var _examples: Openapi_V3_ExamplesOrReferences? = nil
7826 var _content: Openapi_V3_MediaTypes? = nil
7827 var _specificationExtension: [Openapi_V3_NamedAny] = []
7828
7829 static let defaultInstance = _StorageClass()
7830
7831 private init() {}
7832
7833 init(copying source: _StorageClass) {
7834 _name = source._name
7835 _in = source._in
7836 _description_p = source._description_p
7837 _required = source._required
7838 _deprecated = source._deprecated
7839 _allowEmptyValue = source._allowEmptyValue
7840 _style = source._style
7841 _explode = source._explode
7842 _allowReserved = source._allowReserved
7843 _schema = source._schema
7844 _example = source._example
7845 _examples = source._examples
7846 _content = source._content
7847 _specificationExtension = source._specificationExtension
7848 }
7849 }
7850
7851 fileprivate mutating func _uniqueStorage() -> _StorageClass {
7852 if !isKnownUniquelyReferenced(&_storage) {
7853 _storage = _StorageClass(copying: _storage)
7854 }
7855 return _storage
7856 }
7857
7858 public func _protobuf_generated_isEqualTo(other: Openapi_V3_Parameter) -> Bool {
7859 if _storage !== other._storage {
7860 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
7861 if _storage._name != other_storage._name {return false}
7862 if _storage._in != other_storage._in {return false}
7863 if _storage._description_p != other_storage._description_p {return false}
7864 if _storage._required != other_storage._required {return false}
7865 if _storage._deprecated != other_storage._deprecated {return false}
7866 if _storage._allowEmptyValue != other_storage._allowEmptyValue {return false}
7867 if _storage._style != other_storage._style {return false}
7868 if _storage._explode != other_storage._explode {return false}
7869 if _storage._allowReserved != other_storage._allowReserved {return false}
7870 if _storage._schema != other_storage._schema {return false}
7871 if _storage._example != other_storage._example {return false}
7872 if _storage._examples != other_storage._examples {return false}
7873 if _storage._content != other_storage._content {return false}
7874 if _storage._specificationExtension != other_storage._specificationExtension {return false}
7875 return true
7876 }
7877 if !storagesAreEqual {return false}
7878 }
7879 if unknownFields != other.unknownFields {return false}
7880 return true
7881 }
7882 }
7883
7884 extension Openapi_V3_ParameterOrReference: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
7885 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
7886 1: .same(proto: "parameter"),
7887 2: .same(proto: "reference"),
7888 ]
7889
7890 fileprivate class _StorageClass {
7891 var _oneof: Openapi_V3_ParameterOrReference.OneOf_Oneof?
7892
7893 static let defaultInstance = _StorageClass()
7894
7895 private init() {}
7896
7897 init(copying source: _StorageClass) {
7898 _oneof = source._oneof
7899 }
7900 }
7901
7902 fileprivate mutating func _uniqueStorage() -> _StorageClass {
7903 if !isKnownUniquelyReferenced(&_storage) {
7904 _storage = _StorageClass(copying: _storage)
7905 }
7906 return _storage
7907 }
7908
7909 public func _protobuf_generated_isEqualTo(other: Openapi_V3_ParameterOrReference) -> Bool {
7910 if _storage !== other._storage {
7911 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
7912 if _storage._oneof != other_storage._oneof {return false}
7913 return true
7914 }
7915 if !storagesAreEqual {return false}
7916 }
7917 if unknownFields != other.unknownFields {return false}
7918 return true
7919 }
7920 }
7921
7922 extension Openapi_V3_ParametersOrReferences: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
7923 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
7924 1: .standard(proto: "additional_properties"),
7925 ]
7926
7927 public func _protobuf_generated_isEqualTo(other: Openapi_V3_ParametersOrReferences) -> Bool {
7928 if self.additionalProperties != other.additionalProperties {return false}
7929 if unknownFields != other.unknownFields {return false}
7930 return true
7931 }
7932 }
7933
7934 extension Openapi_V3_PathItem: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
7935 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
7936 1: .standard(proto: "_ref"),
7937 2: .same(proto: "summary"),
7938 3: .same(proto: "description"),
7939 4: .same(proto: "get"),
7940 5: .same(proto: "put"),
7941 6: .same(proto: "post"),
7942 7: .same(proto: "delete"),
7943 8: .same(proto: "options"),
7944 9: .same(proto: "head"),
7945 10: .same(proto: "patch"),
7946 11: .same(proto: "trace"),
7947 12: .same(proto: "servers"),
7948 13: .same(proto: "parameters"),
7949 14: .standard(proto: "specification_extension"),
7950 ]
7951
7952 fileprivate class _StorageClass {
7953 var _ref: String = String()
7954 var _summary: String = String()
7955 var _description_p: String = String()
7956 var _get: Openapi_V3_Operation? = nil
7957 var _put: Openapi_V3_Operation? = nil
7958 var _post: Openapi_V3_Operation? = nil
7959 var _delete: Openapi_V3_Operation? = nil
7960 var _options: Openapi_V3_Operation? = nil
7961 var _head: Openapi_V3_Operation? = nil
7962 var _patch: Openapi_V3_Operation? = nil
7963 var _trace: Openapi_V3_Operation? = nil
7964 var _servers: [Openapi_V3_Server] = []
7965 var _parameters: [Openapi_V3_ParameterOrReference] = []
7966 var _specificationExtension: [Openapi_V3_NamedAny] = []
7967
7968 static let defaultInstance = _StorageClass()
7969
7970 private init() {}
7971
7972 init(copying source: _StorageClass) {
7973 _ref = source._ref
7974 _summary = source._summary
7975 _description_p = source._description_p
7976 _get = source._get
7977 _put = source._put
7978 _post = source._post
7979 _delete = source._delete
7980 _options = source._options
7981 _head = source._head
7982 _patch = source._patch
7983 _trace = source._trace
7984 _servers = source._servers
7985 _parameters = source._parameters
7986 _specificationExtension = source._specificationExtension
7987 }
7988 }
7989
7990 fileprivate mutating func _uniqueStorage() -> _StorageClass {
7991 if !isKnownUniquelyReferenced(&_storage) {
7992 _storage = _StorageClass(copying: _storage)
7993 }
7994 return _storage
7995 }
7996
7997 public func _protobuf_generated_isEqualTo(other: Openapi_V3_PathItem) -> Bool {
7998 if _storage !== other._storage {
7999 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
8000 if _storage._ref != other_storage._ref {return false}
8001 if _storage._summary != other_storage._summary {return false}
8002 if _storage._description_p != other_storage._description_p {return false}
8003 if _storage._get != other_storage._get {return false}
8004 if _storage._put != other_storage._put {return false}
8005 if _storage._post != other_storage._post {return false}
8006 if _storage._delete != other_storage._delete {return false}
8007 if _storage._options != other_storage._options {return false}
8008 if _storage._head != other_storage._head {return false}
8009 if _storage._patch != other_storage._patch {return false}
8010 if _storage._trace != other_storage._trace {return false}
8011 if _storage._servers != other_storage._servers {return false}
8012 if _storage._parameters != other_storage._parameters {return false}
8013 if _storage._specificationExtension != other_storage._specificationExtension {return false}
8014 return true
8015 }
8016 if !storagesAreEqual {return false}
8017 }
8018 if unknownFields != other.unknownFields {return false}
8019 return true
8020 }
8021 }
8022
8023 extension Openapi_V3_Paths: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
8024 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
8025 1: .same(proto: "path"),
8026 2: .standard(proto: "specification_extension"),
8027 ]
8028
8029 public func _protobuf_generated_isEqualTo(other: Openapi_V3_Paths) -> Bool {
8030 if self.path != other.path {return false}
8031 if self.specificationExtension != other.specificationExtension {return false}
8032 if unknownFields != other.unknownFields {return false}
8033 return true
8034 }
8035 }
8036
8037 extension Openapi_V3_Properties: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
8038 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
8039 1: .standard(proto: "additional_properties"),
8040 ]
8041
8042 public func _protobuf_generated_isEqualTo(other: Openapi_V3_Properties) -> Bool {
8043 if self.additionalProperties != other.additionalProperties {return false}
8044 if unknownFields != other.unknownFields {return false}
8045 return true
8046 }
8047 }
8048
8049 extension Openapi_V3_Reference: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
8050 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
8051 1: .standard(proto: "_ref"),
8052 ]
8053
8054 public func _protobuf_generated_isEqualTo(other: Openapi_V3_Reference) -> Bool {
8055 if self.ref != other.ref {return false}
8056 if unknownFields != other.unknownFields {return false}
8057 return true
8058 }
8059 }
8060
8061 extension Openapi_V3_RequestBodiesOrReferences: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
8062 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
8063 1: .standard(proto: "additional_properties"),
8064 ]
8065
8066 public func _protobuf_generated_isEqualTo(other: Openapi_V3_RequestBodiesOrReferences) -> Bool {
8067 if self.additionalProperties != other.additionalProperties {return false}
8068 if unknownFields != other.unknownFields {return false}
8069 return true
8070 }
8071 }
8072
8073 extension Openapi_V3_RequestBody: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
8074 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
8075 1: .same(proto: "description"),
8076 2: .same(proto: "content"),
8077 3: .same(proto: "required"),
8078 4: .standard(proto: "specification_extension"),
8079 ]
8080
8081 fileprivate class _StorageClass {
8082 var _description_p: String = String()
8083 var _content: Openapi_V3_MediaTypes? = nil
8084 var _required: Bool = false
8085 var _specificationExtension: [Openapi_V3_NamedAny] = []
8086
8087 static let defaultInstance = _StorageClass()
8088
8089 private init() {}
8090
8091 init(copying source: _StorageClass) {
8092 _description_p = source._description_p
8093 _content = source._content
8094 _required = source._required
8095 _specificationExtension = source._specificationExtension
8096 }
8097 }
8098
8099 fileprivate mutating func _uniqueStorage() -> _StorageClass {
8100 if !isKnownUniquelyReferenced(&_storage) {
8101 _storage = _StorageClass(copying: _storage)
8102 }
8103 return _storage
8104 }
8105
8106 public func _protobuf_generated_isEqualTo(other: Openapi_V3_RequestBody) -> Bool {
8107 if _storage !== other._storage {
8108 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
8109 if _storage._description_p != other_storage._description_p {return false}
8110 if _storage._content != other_storage._content {return false}
8111 if _storage._required != other_storage._required {return false}
8112 if _storage._specificationExtension != other_storage._specificationExtension {return false}
8113 return true
8114 }
8115 if !storagesAreEqual {return false}
8116 }
8117 if unknownFields != other.unknownFields {return false}
8118 return true
8119 }
8120 }
8121
8122 extension Openapi_V3_RequestBodyOrReference: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
8123 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
8124 1: .standard(proto: "request_body"),
8125 2: .same(proto: "reference"),
8126 ]
8127
8128 fileprivate class _StorageClass {
8129 var _oneof: Openapi_V3_RequestBodyOrReference.OneOf_Oneof?
8130
8131 static let defaultInstance = _StorageClass()
8132
8133 private init() {}
8134
8135 init(copying source: _StorageClass) {
8136 _oneof = source._oneof
8137 }
8138 }
8139
8140 fileprivate mutating func _uniqueStorage() -> _StorageClass {
8141 if !isKnownUniquelyReferenced(&_storage) {
8142 _storage = _StorageClass(copying: _storage)
8143 }
8144 return _storage
8145 }
8146
8147 public func _protobuf_generated_isEqualTo(other: Openapi_V3_RequestBodyOrReference) -> Bool {
8148 if _storage !== other._storage {
8149 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
8150 if _storage._oneof != other_storage._oneof {return false}
8151 return true
8152 }
8153 if !storagesAreEqual {return false}
8154 }
8155 if unknownFields != other.unknownFields {return false}
8156 return true
8157 }
8158 }
8159
8160 extension Openapi_V3_Response: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
8161 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
8162 1: .same(proto: "description"),
8163 2: .same(proto: "headers"),
8164 3: .same(proto: "content"),
8165 4: .same(proto: "links"),
8166 5: .standard(proto: "specification_extension"),
8167 ]
8168
8169 fileprivate class _StorageClass {
8170 var _description_p: String = String()
8171 var _headers: Openapi_V3_HeadersOrReferences? = nil
8172 var _content: Openapi_V3_MediaTypes? = nil
8173 var _links: Openapi_V3_LinksOrReferences? = nil
8174 var _specificationExtension: [Openapi_V3_NamedAny] = []
8175
8176 static let defaultInstance = _StorageClass()
8177
8178 private init() {}
8179
8180 init(copying source: _StorageClass) {
8181 _description_p = source._description_p
8182 _headers = source._headers
8183 _content = source._content
8184 _links = source._links
8185 _specificationExtension = source._specificationExtension
8186 }
8187 }
8188
8189 fileprivate mutating func _uniqueStorage() -> _StorageClass {
8190 if !isKnownUniquelyReferenced(&_storage) {
8191 _storage = _StorageClass(copying: _storage)
8192 }
8193 return _storage
8194 }
8195
8196 public func _protobuf_generated_isEqualTo(other: Openapi_V3_Response) -> Bool {
8197 if _storage !== other._storage {
8198 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
8199 if _storage._description_p != other_storage._description_p {return false}
8200 if _storage._headers != other_storage._headers {return false}
8201 if _storage._content != other_storage._content {return false}
8202 if _storage._links != other_storage._links {return false}
8203 if _storage._specificationExtension != other_storage._specificationExtension {return false}
8204 return true
8205 }
8206 if !storagesAreEqual {return false}
8207 }
8208 if unknownFields != other.unknownFields {return false}
8209 return true
8210 }
8211 }
8212
8213 extension Openapi_V3_ResponseOrReference: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
8214 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
8215 1: .same(proto: "response"),
8216 2: .same(proto: "reference"),
8217 ]
8218
8219 fileprivate class _StorageClass {
8220 var _oneof: Openapi_V3_ResponseOrReference.OneOf_Oneof?
8221
8222 static let defaultInstance = _StorageClass()
8223
8224 private init() {}
8225
8226 init(copying source: _StorageClass) {
8227 _oneof = source._oneof
8228 }
8229 }
8230
8231 fileprivate mutating func _uniqueStorage() -> _StorageClass {
8232 if !isKnownUniquelyReferenced(&_storage) {
8233 _storage = _StorageClass(copying: _storage)
8234 }
8235 return _storage
8236 }
8237
8238 public func _protobuf_generated_isEqualTo(other: Openapi_V3_ResponseOrReference) -> Bool {
8239 if _storage !== other._storage {
8240 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
8241 if _storage._oneof != other_storage._oneof {return false}
8242 return true
8243 }
8244 if !storagesAreEqual {return false}
8245 }
8246 if unknownFields != other.unknownFields {return false}
8247 return true
8248 }
8249 }
8250
8251 extension Openapi_V3_Responses: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
8252 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
8253 1: .same(proto: "default"),
8254 2: .standard(proto: "response_or_reference"),
8255 3: .standard(proto: "specification_extension"),
8256 ]
8257
8258 fileprivate class _StorageClass {
8259 var _default: Openapi_V3_ResponseOrReference? = nil
8260 var _responseOrReference: [Openapi_V3_NamedResponseOrReference] = []
8261 var _specificationExtension: [Openapi_V3_NamedAny] = []
8262
8263 static let defaultInstance = _StorageClass()
8264
8265 private init() {}
8266
8267 init(copying source: _StorageClass) {
8268 _default = source._default
8269 _responseOrReference = source._responseOrReference
8270 _specificationExtension = source._specificationExtension
8271 }
8272 }
8273
8274 fileprivate mutating func _uniqueStorage() -> _StorageClass {
8275 if !isKnownUniquelyReferenced(&_storage) {
8276 _storage = _StorageClass(copying: _storage)
8277 }
8278 return _storage
8279 }
8280
8281 public func _protobuf_generated_isEqualTo(other: Openapi_V3_Responses) -> Bool {
8282 if _storage !== other._storage {
8283 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
8284 if _storage._default != other_storage._default {return false}
8285 if _storage._responseOrReference != other_storage._responseOrReference {return false}
8286 if _storage._specificationExtension != other_storage._specificationExtension {return false}
8287 return true
8288 }
8289 if !storagesAreEqual {return false}
8290 }
8291 if unknownFields != other.unknownFields {return false}
8292 return true
8293 }
8294 }
8295
8296 extension Openapi_V3_ResponsesOrReferences: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
8297 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
8298 1: .standard(proto: "additional_properties"),
8299 ]
8300
8301 public func _protobuf_generated_isEqualTo(other: Openapi_V3_ResponsesOrReferences) -> Bool {
8302 if self.additionalProperties != other.additionalProperties {return false}
8303 if unknownFields != other.unknownFields {return false}
8304 return true
8305 }
8306 }
8307
8308 extension Openapi_V3_Schema: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
8309 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
8310 1: .same(proto: "nullable"),
8311 2: .same(proto: "discriminator"),
8312 3: .standard(proto: "read_only"),
8313 4: .standard(proto: "write_only"),
8314 5: .same(proto: "xml"),
8315 6: .standard(proto: "external_docs"),
8316 7: .same(proto: "example"),
8317 8: .same(proto: "deprecated"),
8318 9: .same(proto: "title"),
8319 10: .standard(proto: "multiple_of"),
8320 11: .same(proto: "maximum"),
8321 12: .standard(proto: "exclusive_maximum"),
8322 13: .same(proto: "minimum"),
8323 14: .standard(proto: "exclusive_minimum"),
8324 15: .standard(proto: "max_length"),
8325 16: .standard(proto: "min_length"),
8326 17: .same(proto: "pattern"),
8327 18: .standard(proto: "max_items"),
8328 19: .standard(proto: "min_items"),
8329 20: .standard(proto: "unique_items"),
8330 21: .standard(proto: "max_properties"),
8331 22: .standard(proto: "min_properties"),
8332 23: .same(proto: "required"),
8333 24: .same(proto: "enum"),
8334 25: .same(proto: "type"),
8335 26: .standard(proto: "all_of"),
8336 27: .standard(proto: "one_of"),
8337 28: .standard(proto: "any_of"),
8338 29: .same(proto: "not"),
8339 30: .same(proto: "items"),
8340 31: .same(proto: "properties"),
8341 32: .standard(proto: "additional_properties"),
8342 33: .same(proto: "default"),
8343 34: .same(proto: "description"),
8344 35: .same(proto: "format"),
8345 36: .standard(proto: "specification_extension"),
8346 ]
8347
8348 fileprivate class _StorageClass {
8349 var _nullable: Bool = false
8350 var _discriminator: Openapi_V3_Discriminator? = nil
8351 var _readOnly: Bool = false
8352 var _writeOnly: Bool = false
8353 var _xml: Openapi_V3_Xml? = nil
8354 var _externalDocs: Openapi_V3_ExternalDocs? = nil
8355 var _example: Openapi_V3_Any? = nil
8356 var _deprecated: Bool = false
8357 var _title: String = String()
8358 var _multipleOf: Double = 0
8359 var _maximum: Double = 0
8360 var _exclusiveMaximum: Bool = false
8361 var _minimum: Double = 0
8362 var _exclusiveMinimum: Bool = false
8363 var _maxLength: Int64 = 0
8364 var _minLength: Int64 = 0
8365 var _pattern: String = String()
8366 var _maxItems: Int64 = 0
8367 var _minItems: Int64 = 0
8368 var _uniqueItems: Bool = false
8369 var _maxProperties: Int64 = 0
8370 var _minProperties: Int64 = 0
8371 var _required: [String] = []
8372 var _enum: [Openapi_V3_Any] = []
8373 var _type: String = String()
8374 var _allOf: [Openapi_V3_SchemaOrReference] = []
8375 var _oneOf: [Openapi_V3_SchemaOrReference] = []
8376 var _anyOf: [Openapi_V3_SchemaOrReference] = []
8377 var _not: Openapi_V3_Schema? = nil
8378 var _items: Openapi_V3_ItemsItem? = nil
8379 var _properties: Openapi_V3_Properties? = nil
8380 var _additionalProperties: Openapi_V3_AdditionalPropertiesItem? = nil
8381 var _default: Openapi_V3_DefaultType? = nil
8382 var _description_p: String = String()
8383 var _format: String = String()
8384 var _specificationExtension: [Openapi_V3_NamedAny] = []
8385
8386 static let defaultInstance = _StorageClass()
8387
8388 private init() {}
8389
8390 init(copying source: _StorageClass) {
8391 _nullable = source._nullable
8392 _discriminator = source._discriminator
8393 _readOnly = source._readOnly
8394 _writeOnly = source._writeOnly
8395 _xml = source._xml
8396 _externalDocs = source._externalDocs
8397 _example = source._example
8398 _deprecated = source._deprecated
8399 _title = source._title
8400 _multipleOf = source._multipleOf
8401 _maximum = source._maximum
8402 _exclusiveMaximum = source._exclusiveMaximum
8403 _minimum = source._minimum
8404 _exclusiveMinimum = source._exclusiveMinimum
8405 _maxLength = source._maxLength
8406 _minLength = source._minLength
8407 _pattern = source._pattern
8408 _maxItems = source._maxItems
8409 _minItems = source._minItems
8410 _uniqueItems = source._uniqueItems
8411 _maxProperties = source._maxProperties
8412 _minProperties = source._minProperties
8413 _required = source._required
8414 _enum = source._enum
8415 _type = source._type
8416 _allOf = source._allOf
8417 _oneOf = source._oneOf
8418 _anyOf = source._anyOf
8419 _not = source._not
8420 _items = source._items
8421 _properties = source._properties
8422 _additionalProperties = source._additionalProperties
8423 _default = source._default
8424 _description_p = source._description_p
8425 _format = source._format
8426 _specificationExtension = source._specificationExtension
8427 }
8428 }
8429
8430 fileprivate mutating func _uniqueStorage() -> _StorageClass {
8431 if !isKnownUniquelyReferenced(&_storage) {
8432 _storage = _StorageClass(copying: _storage)
8433 }
8434 return _storage
8435 }
8436
8437 public func _protobuf_generated_isEqualTo(other: Openapi_V3_Schema) -> Bool {
8438 if _storage !== other._storage {
8439 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
8440 if _storage._nullable != other_storage._nullable {return false}
8441 if _storage._discriminator != other_storage._discriminator {return false}
8442 if _storage._readOnly != other_storage._readOnly {return false}
8443 if _storage._writeOnly != other_storage._writeOnly {return false}
8444 if _storage._xml != other_storage._xml {return false}
8445 if _storage._externalDocs != other_storage._externalDocs {return false}
8446 if _storage._example != other_storage._example {return false}
8447 if _storage._deprecated != other_storage._deprecated {return false}
8448 if _storage._title != other_storage._title {return false}
8449 if _storage._multipleOf != other_storage._multipleOf {return false}
8450 if _storage._maximum != other_storage._maximum {return false}
8451 if _storage._exclusiveMaximum != other_storage._exclusiveMaximum {return false}
8452 if _storage._minimum != other_storage._minimum {return false}
8453 if _storage._exclusiveMinimum != other_storage._exclusiveMinimum {return false}
8454 if _storage._maxLength != other_storage._maxLength {return false}
8455 if _storage._minLength != other_storage._minLength {return false}
8456 if _storage._pattern != other_storage._pattern {return false}
8457 if _storage._maxItems != other_storage._maxItems {return false}
8458 if _storage._minItems != other_storage._minItems {return false}
8459 if _storage._uniqueItems != other_storage._uniqueItems {return false}
8460 if _storage._maxProperties != other_storage._maxProperties {return false}
8461 if _storage._minProperties != other_storage._minProperties {return false}
8462 if _storage._required != other_storage._required {return false}
8463 if _storage._enum != other_storage._enum {return false}
8464 if _storage._type != other_storage._type {return false}
8465 if _storage._allOf != other_storage._allOf {return false}
8466 if _storage._oneOf != other_storage._oneOf {return false}
8467 if _storage._anyOf != other_storage._anyOf {return false}
8468 if _storage._not != other_storage._not {return false}
8469 if _storage._items != other_storage._items {return false}
8470 if _storage._properties != other_storage._properties {return false}
8471 if _storage._additionalProperties != other_storage._additionalProperties {return false}
8472 if _storage._default != other_storage._default {return false}
8473 if _storage._description_p != other_storage._description_p {return false}
8474 if _storage._format != other_storage._format {return false}
8475 if _storage._specificationExtension != other_storage._specificationExtension {return false}
8476 return true
8477 }
8478 if !storagesAreEqual {return false}
8479 }
8480 if unknownFields != other.unknownFields {return false}
8481 return true
8482 }
8483 }
8484
8485 extension Openapi_V3_SchemaOrReference: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
8486 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
8487 1: .same(proto: "schema"),
8488 2: .same(proto: "reference"),
8489 ]
8490
8491 fileprivate class _StorageClass {
8492 var _oneof: Openapi_V3_SchemaOrReference.OneOf_Oneof?
8493
8494 static let defaultInstance = _StorageClass()
8495
8496 private init() {}
8497
8498 init(copying source: _StorageClass) {
8499 _oneof = source._oneof
8500 }
8501 }
8502
8503 fileprivate mutating func _uniqueStorage() -> _StorageClass {
8504 if !isKnownUniquelyReferenced(&_storage) {
8505 _storage = _StorageClass(copying: _storage)
8506 }
8507 return _storage
8508 }
8509
8510 public func _protobuf_generated_isEqualTo(other: Openapi_V3_SchemaOrReference) -> Bool {
8511 if _storage !== other._storage {
8512 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
8513 if _storage._oneof != other_storage._oneof {return false}
8514 return true
8515 }
8516 if !storagesAreEqual {return false}
8517 }
8518 if unknownFields != other.unknownFields {return false}
8519 return true
8520 }
8521 }
8522
8523 extension Openapi_V3_SchemasOrReferences: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
8524 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
8525 1: .standard(proto: "additional_properties"),
8526 ]
8527
8528 public func _protobuf_generated_isEqualTo(other: Openapi_V3_SchemasOrReferences) -> Bool {
8529 if self.additionalProperties != other.additionalProperties {return false}
8530 if unknownFields != other.unknownFields {return false}
8531 return true
8532 }
8533 }
8534
8535 extension Openapi_V3_SecurityRequirement: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
8536 public static let _protobuf_nameMap = SwiftProtobuf._NameMap()
8537
8538 public func _protobuf_generated_isEqualTo(other: Openapi_V3_SecurityRequirement) -> Bool {
8539 if unknownFields != other.unknownFields {return false}
8540 return true
8541 }
8542 }
8543
8544 extension Openapi_V3_SecurityScheme: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
8545 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
8546 1: .same(proto: "type"),
8547 2: .same(proto: "description"),
8548 3: .same(proto: "name"),
8549 4: .same(proto: "in"),
8550 5: .same(proto: "scheme"),
8551 6: .standard(proto: "bearer_format"),
8552 7: .same(proto: "flows"),
8553 8: .standard(proto: "open_id_connect_url"),
8554 9: .standard(proto: "specification_extension"),
8555 ]
8556
8557 fileprivate class _StorageClass {
8558 var _type: String = String()
8559 var _description_p: String = String()
8560 var _name: String = String()
8561 var _in: String = String()
8562 var _scheme: String = String()
8563 var _bearerFormat: String = String()
8564 var _flows: Openapi_V3_OauthFlows? = nil
8565 var _openIDConnectURL: String = String()
8566 var _specificationExtension: [Openapi_V3_NamedAny] = []
8567
8568 static let defaultInstance = _StorageClass()
8569
8570 private init() {}
8571
8572 init(copying source: _StorageClass) {
8573 _type = source._type
8574 _description_p = source._description_p
8575 _name = source._name
8576 _in = source._in
8577 _scheme = source._scheme
8578 _bearerFormat = source._bearerFormat
8579 _flows = source._flows
8580 _openIDConnectURL = source._openIDConnectURL
8581 _specificationExtension = source._specificationExtension
8582 }
8583 }
8584
8585 fileprivate mutating func _uniqueStorage() -> _StorageClass {
8586 if !isKnownUniquelyReferenced(&_storage) {
8587 _storage = _StorageClass(copying: _storage)
8588 }
8589 return _storage
8590 }
8591
8592 public func _protobuf_generated_isEqualTo(other: Openapi_V3_SecurityScheme) -> Bool {
8593 if _storage !== other._storage {
8594 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
8595 if _storage._type != other_storage._type {return false}
8596 if _storage._description_p != other_storage._description_p {return false}
8597 if _storage._name != other_storage._name {return false}
8598 if _storage._in != other_storage._in {return false}
8599 if _storage._scheme != other_storage._scheme {return false}
8600 if _storage._bearerFormat != other_storage._bearerFormat {return false}
8601 if _storage._flows != other_storage._flows {return false}
8602 if _storage._openIDConnectURL != other_storage._openIDConnectURL {return false}
8603 if _storage._specificationExtension != other_storage._specificationExtension {return false}
8604 return true
8605 }
8606 if !storagesAreEqual {return false}
8607 }
8608 if unknownFields != other.unknownFields {return false}
8609 return true
8610 }
8611 }
8612
8613 extension Openapi_V3_SecuritySchemeOrReference: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
8614 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
8615 1: .standard(proto: "security_scheme"),
8616 2: .same(proto: "reference"),
8617 ]
8618
8619 fileprivate class _StorageClass {
8620 var _oneof: Openapi_V3_SecuritySchemeOrReference.OneOf_Oneof?
8621
8622 static let defaultInstance = _StorageClass()
8623
8624 private init() {}
8625
8626 init(copying source: _StorageClass) {
8627 _oneof = source._oneof
8628 }
8629 }
8630
8631 fileprivate mutating func _uniqueStorage() -> _StorageClass {
8632 if !isKnownUniquelyReferenced(&_storage) {
8633 _storage = _StorageClass(copying: _storage)
8634 }
8635 return _storage
8636 }
8637
8638 public func _protobuf_generated_isEqualTo(other: Openapi_V3_SecuritySchemeOrReference) -> Bool {
8639 if _storage !== other._storage {
8640 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
8641 if _storage._oneof != other_storage._oneof {return false}
8642 return true
8643 }
8644 if !storagesAreEqual {return false}
8645 }
8646 if unknownFields != other.unknownFields {return false}
8647 return true
8648 }
8649 }
8650
8651 extension Openapi_V3_SecuritySchemesOrReferences: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
8652 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
8653 1: .standard(proto: "additional_properties"),
8654 ]
8655
8656 public func _protobuf_generated_isEqualTo(other: Openapi_V3_SecuritySchemesOrReferences) -> Bool {
8657 if self.additionalProperties != other.additionalProperties {return false}
8658 if unknownFields != other.unknownFields {return false}
8659 return true
8660 }
8661 }
8662
8663 extension Openapi_V3_Server: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
8664 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
8665 1: .same(proto: "url"),
8666 2: .same(proto: "description"),
8667 3: .same(proto: "variables"),
8668 4: .standard(proto: "specification_extension"),
8669 ]
8670
8671 fileprivate class _StorageClass {
8672 var _url: String = String()
8673 var _description_p: String = String()
8674 var _variables: Openapi_V3_ServerVariables? = nil
8675 var _specificationExtension: [Openapi_V3_NamedAny] = []
8676
8677 static let defaultInstance = _StorageClass()
8678
8679 private init() {}
8680
8681 init(copying source: _StorageClass) {
8682 _url = source._url
8683 _description_p = source._description_p
8684 _variables = source._variables
8685 _specificationExtension = source._specificationExtension
8686 }
8687 }
8688
8689 fileprivate mutating func _uniqueStorage() -> _StorageClass {
8690 if !isKnownUniquelyReferenced(&_storage) {
8691 _storage = _StorageClass(copying: _storage)
8692 }
8693 return _storage
8694 }
8695
8696 public func _protobuf_generated_isEqualTo(other: Openapi_V3_Server) -> Bool {
8697 if _storage !== other._storage {
8698 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
8699 if _storage._url != other_storage._url {return false}
8700 if _storage._description_p != other_storage._description_p {return false}
8701 if _storage._variables != other_storage._variables {return false}
8702 if _storage._specificationExtension != other_storage._specificationExtension {return false}
8703 return true
8704 }
8705 if !storagesAreEqual {return false}
8706 }
8707 if unknownFields != other.unknownFields {return false}
8708 return true
8709 }
8710 }
8711
8712 extension Openapi_V3_ServerVariable: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
8713 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
8714 1: .same(proto: "enum"),
8715 2: .same(proto: "default"),
8716 3: .same(proto: "description"),
8717 4: .standard(proto: "specification_extension"),
8718 ]
8719
8720 public func _protobuf_generated_isEqualTo(other: Openapi_V3_ServerVariable) -> Bool {
8721 if self.`enum` != other.`enum` {return false}
8722 if self.`default` != other.`default` {return false}
8723 if self.description_p != other.description_p {return false}
8724 if self.specificationExtension != other.specificationExtension {return false}
8725 if unknownFields != other.unknownFields {return false}
8726 return true
8727 }
8728 }
8729
8730 extension Openapi_V3_ServerVariables: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
8731 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
8732 1: .standard(proto: "additional_properties"),
8733 ]
8734
8735 public func _protobuf_generated_isEqualTo(other: Openapi_V3_ServerVariables) -> Bool {
8736 if self.additionalProperties != other.additionalProperties {return false}
8737 if unknownFields != other.unknownFields {return false}
8738 return true
8739 }
8740 }
8741
8742 extension Openapi_V3_SpecificationExtension: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
8743 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
8744 1: .same(proto: "number"),
8745 2: .same(proto: "boolean"),
8746 3: .same(proto: "string"),
8747 ]
8748
8749 public func _protobuf_generated_isEqualTo(other: Openapi_V3_SpecificationExtension) -> Bool {
8750 if self.oneof != other.oneof {return false}
8751 if unknownFields != other.unknownFields {return false}
8752 return true
8753 }
8754 }
8755
8756 extension Openapi_V3_StringArray: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
8757 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
8758 1: .same(proto: "value"),
8759 ]
8760
8761 public func _protobuf_generated_isEqualTo(other: Openapi_V3_StringArray) -> Bool {
8762 if self.value != other.value {return false}
8763 if unknownFields != other.unknownFields {return false}
8764 return true
8765 }
8766 }
8767
8768 extension Openapi_V3_Strings: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
8769 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
8770 1: .standard(proto: "additional_properties"),
8771 ]
8772
8773 public func _protobuf_generated_isEqualTo(other: Openapi_V3_Strings) -> Bool {
8774 if self.additionalProperties != other.additionalProperties {return false}
8775 if unknownFields != other.unknownFields {return false}
8776 return true
8777 }
8778 }
8779
8780 extension Openapi_V3_Tag: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
8781 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
8782 1: .same(proto: "name"),
8783 2: .same(proto: "description"),
8784 3: .standard(proto: "external_docs"),
8785 4: .standard(proto: "specification_extension"),
8786 ]
8787
8788 fileprivate class _StorageClass {
8789 var _name: String = String()
8790 var _description_p: String = String()
8791 var _externalDocs: Openapi_V3_ExternalDocs? = nil
8792 var _specificationExtension: [Openapi_V3_NamedAny] = []
8793
8794 static let defaultInstance = _StorageClass()
8795
8796 private init() {}
8797
8798 init(copying source: _StorageClass) {
8799 _name = source._name
8800 _description_p = source._description_p
8801 _externalDocs = source._externalDocs
8802 _specificationExtension = source._specificationExtension
8803 }
8804 }
8805
8806 fileprivate mutating func _uniqueStorage() -> _StorageClass {
8807 if !isKnownUniquelyReferenced(&_storage) {
8808 _storage = _StorageClass(copying: _storage)
8809 }
8810 return _storage
8811 }
8812
8813 public func _protobuf_generated_isEqualTo(other: Openapi_V3_Tag) -> Bool {
8814 if _storage !== other._storage {
8815 let storagesAreEqual: Bool = withExtendedLifetime((_storage, other._storage)) { (_storage, other_storage) in
8816 if _storage._name != other_storage._name {return false}
8817 if _storage._description_p != other_storage._description_p {return false}
8818 if _storage._externalDocs != other_storage._externalDocs {return false}
8819 if _storage._specificationExtension != other_storage._specificationExtension {return false}
8820 return true
8821 }
8822 if !storagesAreEqual {return false}
8823 }
8824 if unknownFields != other.unknownFields {return false}
8825 return true
8826 }
8827 }
8828
8829 extension Openapi_V3_Xml: SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
8830 public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
8831 1: .same(proto: "name"),
8832 2: .same(proto: "namespace"),
8833 3: .same(proto: "prefix"),
8834 4: .same(proto: "attribute"),
8835 5: .same(proto: "wrapped"),
8836 6: .standard(proto: "specification_extension"),
8837 ]
8838
8839 public func _protobuf_generated_isEqualTo(other: Openapi_V3_Xml) -> Bool {
8840 if self.name != other.name {return false}
8841 if self.namespace != other.namespace {return false}
8842 if self.prefix != other.prefix {return false}
8843 if self.attribute != other.attribute {return false}
8844 if self.wrapped != other.wrapped {return false}
8845 if self.specificationExtension != other.specificationExtension {return false}
8846 if unknownFields != other.unknownFields {return false}
8847 return true
8848 }
8849 }