==(_:_:)
type.pb.swift:812static func == (lhs: Google_Protobuf_Option, rhs: Google_Protobuf_Option) -> Bool
static func == (lhs: Google_Protobuf_Option, rhs: Google_Protobuf_Option) -> Bool
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
struct Google_Protobuf_Option
A protocol buffer option, which can be attached to a message, field, enumeration, etc.
@frozen struct Bool
A value type whose instances are either true
or false
.
init()
static let _protobuf_nameMap: _NameMap
static let protoMessageName: String
var hasValue: Bool { get }
Returns true if value
has been explicitly set.
var name: String
The option’s name. For protobuf built-in options (options defined in descriptor.proto), this is the short name. For example, "map_entry"
. For custom options, it should be the fully-qualified name. For example, "google.api.http"
.
var unknownFields: UnknownStorage
var value: Google_Protobuf_Any { get set }
The option’s value packed in an Any message. If the value is a primitive, the corresponding wrapper type defined in google/protobuf/wrappers.proto should be used. If the value is an enum, it should be stored as an int32 value using the google.protobuf.Int32Value type.
mutating func clearValue()
Clears the value of value
. 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