hasSyntax
Returns true if syntax
has been explicitly set.
var hasSyntax: Bool { get }
Returns true if syntax
has been explicitly set.
var hasSyntax: Bool { get }
s13SwiftProtobuf07Google_B20_FileDescriptorProtoV9hasSyntaxSbvp
What are these?8NE09
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
struct Google_Protobuf_FileDescriptorProto
Describes a complete .proto file.
@frozen struct Bool
A value type whose instances are either true
or false
.
init()
static let _protobuf_nameMap: _NameMap
static let protoMessageName: String
var dependency: [String]
Names of files imported by this file.
var edition: Google_Protobuf_Edition { get set }
The edition of the proto file. WARNING: This field should only be used by protobuf plugins or special cases like the proto compiler. Other uses are discouraged and developers should rely on the protoreflect APIs for their client language.
var enumType: [Google_Protobuf_EnumDescriptorProto]
var `extension`: [Google_Protobuf_FieldDescriptorProto]
var hasEdition: Bool { get }
Returns true if edition
has been explicitly set.
var hasName: Bool { get }
Returns true if name
has been explicitly set.
var hasOptions: Bool { get }
Returns true if options
has been explicitly set.
var hasPackage: Bool { get }
Returns true if package
has been explicitly set.
var hasSourceCodeInfo: Bool { get }
Returns true if sourceCodeInfo
has been explicitly set.
var isInitialized: Bool { get }
var messageType: [Google_Protobuf_DescriptorProto]
All top-level definitions in this file.
var name: String { get set }
file name, relative to root of source tree
var options: Google_Protobuf_FileOptions { get set }
var package: String { get set }
e.g. “foo”, “foo.bar”, etc.
var publicDependency: [Int32]
Indexes of the public imported files in the dependency list above.
var service: [Google_Protobuf_ServiceDescriptorProto]
var sourceCodeInfo: Google_Protobuf_SourceCodeInfo { get set }
This field contains optional information about the original source code. You may safely remove this entire field without harming runtime functionality of the descriptors – the information is needed only by development tools.
var syntax: String { get set }
The syntax of the proto file. The supported values are “proto2”, “proto3”, and “editions”.
var unknownFields: UnknownStorage
var weakDependency: [Int32]
Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
static func == (lhs: Google_Protobuf_FileDescriptorProto, rhs: Google_Protobuf_FileDescriptorProto) -> Bool
mutating func clearEdition()
Clears the value of edition
. Subsequent reads from it will return its default value.
mutating func clearName()
Clears the value of name
. Subsequent reads from it will return its default value.
mutating func clearOptions()
Clears the value of options
. Subsequent reads from it will return its default value.
mutating func clearPackage()
Clears the value of package
. Subsequent reads from it will return its default value.
mutating func clearSourceCodeInfo()
Clears the value of sourceCodeInfo
. Subsequent reads from it will return its default value.
mutating func clearSyntax()
Clears the value of syntax
. 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