Instance Propertyswift-protobuf 1.29.0SwiftProtobuf
hasSourceContext
Returns true if sourceContext
has been explicitly set.
var hasSourceContext: Bool { get }
Returns true if sourceContext
has been explicitly set.
var hasSourceContext: Bool { get }
s13SwiftProtobuf07Google_B5_TypeV16hasSourceContextSbvp
What are these?1QMOM
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
struct Google_Protobuf_Type
A protocol buffer message type.
@frozen struct Bool
A value type whose instances are either true
or false
.
init()
static let _protobuf_nameMap: _NameMap
static let protoMessageName: String
var edition: String
The source edition string, only valid when syntax is SYNTAX_EDITIONS.
var fields: [Google_Protobuf_Field]
The list of fields.
var name: String
The fully qualified message name.
var oneofs: [String]
The list of types appearing in oneof
definitions in this type.
var options: [Google_Protobuf_Option]
The protocol buffer options.
var sourceContext: Google_Protobuf_SourceContext { get set }
The source context.
var syntax: Google_Protobuf_Syntax
The source syntax.
var unknownFields: UnknownStorage
static func == (lhs: Google_Protobuf_Type, rhs: Google_Protobuf_Type) -> Bool
mutating func clearSourceContext()
Clears the value of sourceContext
. Subsequent reads from it will return its default value.
mutating func decodeMessage<D>(decoder: inout D) throws where D : Decoder
func traverse<V>(visitor: inout V) throws where V : Visitor