Instance Propertyswift-protobuf 1.28.1SwiftProtobuf
hasPositiveIntValue
Returns true if positiveIntValue
has been explicitly set.
var hasPositiveIntValue: Bool { get }
Other members in extension
Types
struct NamePart
The name of the uninterpreted option. Each string represents a segment in a dot-separated name. is_extension is true iff a segment represents an extension (denoted with parentheses in options specs in .proto files). E.g.,{ [“foo”, false], [“bar.baz”, true], [“moo”, false] } represents “foo.(bar.baz).moo”.
Type members
init(
) static let protoMessageName: String
static func == (lhs: Google_Protobuf_UninterpretedOption, rhs: Google_Protobuf_UninterpretedOption
) -> Bool
Show implementation details (1)
Hide implementation details
Instance members
var aggregateValue: String
var doubleValue: Double
var hasAggregateValue: Bool
Returns true if
aggregateValue
has been explicitly set.var hasDoubleValue: Bool
Returns true if
doubleValue
has been explicitly set.var hasIdentifierValue: Bool
Returns true if
identifierValue
has been explicitly set.var hasNegativeIntValue: Bool
Returns true if
negativeIntValue
has been explicitly set.var hasStringValue: Bool
Returns true if
stringValue
has been explicitly set.var identifierValue: String
The value of the uninterpreted option, in whatever type the tokenizer identified it as during parsing. Exactly one of these should be set.
var isInitialized: Bool
var name: [Google_Protobuf_UninterpretedOption.NamePart]
var negativeIntValue: Int64
var positiveIntValue: UInt64
var stringValue: Data
var unknownFields: UnknownStorage
func clearAggregateValue(
) Clears the value of
aggregateValue
. Subsequent reads from it will return its default value.func clearDoubleValue(
) Clears the value of
doubleValue
. Subsequent reads from it will return its default value.func clearIdentifierValue(
) Clears the value of
identifierValue
. Subsequent reads from it will return its default value.func clearNegativeIntValue(
) Clears the value of
negativeIntValue
. Subsequent reads from it will return its default value.func clearPositiveIntValue(
) Clears the value of
positiveIntValue
. Subsequent reads from it will return its default value.func clearStringValue(
) Clears the value of
stringValue
. Subsequent reads from it will return its default value.func decodeMessage<D>(decoder: inout D
) throws func traverse<V>(visitor: inout V
) throws