Instance Propertyswift-protobuf 1.28.1SwiftProtobufPluginLibrary
hasSuffix
Returns true if suffix
has been explicitly set.
var hasSuffix: Bool { get }
Other members in extension
Type members
init(
) static let protoMessageName: String
static func == (lhs: Google_Protobuf_Compiler_Version, rhs: Google_Protobuf_Compiler_Version
) -> Bool
Show implementation details (1)
Hide implementation details
Instance members
var hasMajor: Bool
Returns true if
major
has been explicitly set.var hasMinor: Bool
Returns true if
minor
has been explicitly set.var hasPatch: Bool
Returns true if
patch
has been explicitly set.var major: Int32
var minor: Int32
var patch: Int32
var suffix: String
A suffix for alpha, beta or rc release, e.g., “alpha-1”, “rc2”. It should be empty for mainline stable releases.
var unknownFields: UnknownStorage
func clearMajor(
) Clears the value of
major
. Subsequent reads from it will return its default value.func clearMinor(
) Clears the value of
minor
. Subsequent reads from it will return its default value.func clearPatch(
) Clears the value of
patch
. Subsequent reads from it will return its default value.func clearSuffix(
) Clears the value of
suffix
. Subsequent reads from it will return its default value.func decodeMessage<D>(decoder: inout D
) throws func traverse<V>(visitor: inout V
) throws