hasNamePart
Returns true if namePart
has been explicitly set.
var hasNamePart: Bool { get }
Returns true if namePart
has been explicitly set.
var hasNamePart: Bool { get }
s13SwiftProtobuf07Google_B20_UninterpretedOptionV8NamePartV03hasfG0Sbvp
What are these?776F8
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
struct NamePart
The name of the uninterpreted option. Each string represents a segment in a dot-separated name. is_extension is true iff a segment represents an extension (denoted with parentheses in options specs in .proto files). E.g.,{ [“foo”, false], [“bar.baz”, true], [“moo”, false] } represents “foo.(bar.baz).moo”.
struct Google_Protobuf_UninterpretedOption
A message representing a option the parser does not recognize. This only appears in options protos created by the compiler::Parser class. DescriptorPool resolves these when building Descriptor objects. Therefore, options protos in descriptor objects (e.g. returned by Descriptor::options(), or produced by Descriptor::CopyTo()) will never have UninterpretedOptions in them.
@frozen struct Bool
A value type whose instances are either true
or false
.
init()
static let _protobuf_nameMap: _NameMap
static let protoMessageName: String
var hasIsExtension: Bool { get }
Returns true if isExtension
has been explicitly set.
var isExtension: Bool { get set }
var isInitialized: Bool { get }
var namePart: String { get set }
var unknownFields: UnknownStorage
static func == (lhs: Google_Protobuf_UninterpretedOption.NamePart, rhs: Google_Protobuf_UninterpretedOption.NamePart) -> Bool
mutating func clearIsExtension()
Clears the value of isExtension
. Subsequent reads from it will return its default value.
mutating func clearNamePart()
Clears the value of namePart
. 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