Instance Methodswift-protobuf 1.29.0SwiftProtobuf
clearOptions
Clears the value of options
. 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 clearOptions()
s13SwiftProtobuf07Google_B21_OneofDescriptorProtoV12clearOptionsyyF
What are these?52OO2
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
struct Google_Protobuf_OneofDescriptorProto
Describes a oneof.
init()
static let _protobuf_nameMap: _NameMap
static let protoMessageName: String
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 isInitialized: Bool { get }
var name: String { get set }
var options: Google_Protobuf_OneofOptions { get set }
var unknownFields: UnknownStorage
static func == (lhs: Google_Protobuf_OneofDescriptorProto, rhs: Google_Protobuf_OneofDescriptorProto) -> Bool
mutating func clearName()
Clears the value of name
. 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