clearReserved
Clears the value of reserved
. Subsequent reads from it will return its default value.
mutating func clearReserved()
Clears the value of reserved
. Subsequent reads from it will return its default value.
mutating func clearReserved()
s13SwiftProtobuf07Google_B22_ExtensionRangeOptionsV11DeclarationV13clearReservedyyF
What are these?799U0
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
struct Declaration
struct Google_Protobuf_ExtensionRangeOptions
init()
static let _protobuf_nameMap: _NameMap
static let protoMessageName: String
var fullName: String { get set }
The fully-qualified name of the extension field. There must be a leading dot in front of the full name.
var hasFullName: Bool { get }
Returns true if fullName
has been explicitly set.
var hasNumber: Bool { get }
Returns true if number
has been explicitly set.
var hasRepeated: Bool { get }
Returns true if repeated
has been explicitly set.
var hasReserved: Bool { get }
Returns true if reserved
has been explicitly set.
var hasType: Bool { get }
Returns true if type
has been explicitly set.
var number: Int32 { get set }
The extension number declared within the extension range.
var repeated: Bool { get set }
If true, indicates that the extension must be defined as repeated. Otherwise the extension must be defined as optional.
var reserved: Bool { get set }
If true, indicates that the number is reserved in the extension range, and any extension field with the number will fail to compile. Set this when a declared extension field is deleted.
var type: String { get set }
The fully-qualified type name of the extension field. Unlike Metadata.type, Declaration.type must have a leading dot for messages and enums.
var unknownFields: UnknownStorage
static func == (lhs: Google_Protobuf_ExtensionRangeOptions.Declaration, rhs: Google_Protobuf_ExtensionRangeOptions.Declaration) -> Bool
mutating func clearFullName()
Clears the value of fullName
. Subsequent reads from it will return its default value.
mutating func clearNumber()
Clears the value of number
. Subsequent reads from it will return its default value.
mutating func clearRepeated()
Clears the value of repeated
. Subsequent reads from it will return its default value.
mutating func clearType()
Clears the value of type
. 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