Instance Methodswift-protobuf 1.29.0SwiftProtobuf
clearName
Clears the value of name
. 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 clearName()
s13SwiftProtobuf07Google_B25_EnumValueDescriptorProtoV9clearNameyyF
What are these?4D3JO
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
struct Google_Protobuf_EnumValueDescriptorProto
Describes a value within an enum.
init()
static let _protobuf_nameMap: _NameMap
static let protoMessageName: String
var hasName: Bool { get }
Returns true if name
has been explicitly set.
var hasNumber: Bool { get }
Returns true if number
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 number: Int32 { get set }
var options: Google_Protobuf_EnumValueOptions { get set }
var unknownFields: UnknownStorage
static func == (lhs: Google_Protobuf_EnumValueDescriptorProto, rhs: Google_Protobuf_EnumValueDescriptorProto) -> Bool
mutating func clearNumber()
Clears the value of number
. 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 decodeMessage<D>(decoder: inout D) throws where D : Decoder
func traverse<V>(visitor: inout V) throws where V : Visitor