Instance Propertyswift-protobuf 1.28.1SwiftProtobuf
reserved
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.
descriptor.pb.swift:515var reserved: Bool { get set }
Other members in extension
Type members
init(
) static let protoMessageName: String
static func == (lhs: Google_Protobuf_ExtensionRangeOptions.Declaration, rhs: Google_Protobuf_ExtensionRangeOptions.Declaration
) -> Bool
Show implementation details (1)
Hide implementation details
Instance members
var fullName: String
The fully-qualified name of the extension field. There must be a leading dot in front of the full name.
var hasFullName: Bool
Returns true if
fullName
has been explicitly set.var hasNumber: Bool
Returns true if
number
has been explicitly set.var hasRepeated: Bool
Returns true if
repeated
has been explicitly set.var hasReserved: Bool
Returns true if
reserved
has been explicitly set.var hasType: Bool
Returns true if
type
has been explicitly set.var number: Int32
The extension number declared within the extension range.
var repeated: Bool
If true, indicates that the extension must be defined as repeated. Otherwise the extension must be defined as optional.
var type: String
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
func clearFullName(
) Clears the value of
fullName
. 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 clearRepeated(
) Clears the value of
repeated
. Subsequent reads from it will return its default value.func clearReserved(
) Clears the value of
reserved
. Subsequent reads from it will return its default value.func clearType(
) Clears the value of
type
. Subsequent reads from it will return its default value.func decodeMessage<D>(decoder: inout D
) throws func traverse<V>(visitor: inout V
) throws