Instance Methodswift-protobuf 1.28.1SwiftProtobuf
clearOptions
Clears the value of options
. Subsequent reads from it will return its default value.
mutating func clearOptions()
Other members in extension
Type members
init(
) static let protoMessageName: String
static func == (lhs: Google_Protobuf_EnumValueDescriptorProto, rhs: Google_Protobuf_EnumValueDescriptorProto
) -> Bool
Show implementation details (1)
Hide implementation details
Instance members
var hasName: Bool
Returns true if
name
has been explicitly set.var hasNumber: Bool
Returns true if
number
has been explicitly set.var hasOptions: Bool
Returns true if
options
has been explicitly set.var isInitialized: Bool
var name: String
var number: Int32
var options: Google_Protobuf_EnumValueOptions
var unknownFields: UnknownStorage
func clearName(
) Clears the value of
name
. Subsequent reads from it will return its default value.func clearNumber(
) Clears the value of
number
. Subsequent reads from it will return its default value.func decodeMessage<D>(decoder: inout D
) throws func traverse<V>(visitor: inout V
) throws