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