init(booleanLiteral:)
Creates a new Google_Protobuf_Value
from a boolean literal.
init(booleanLiteral value: Bool)
Creates a new Google_Protobuf_Value
from a boolean literal.
init(booleanLiteral value: Bool)
s13SwiftProtobuf07Google_B6_ValueV14booleanLiteralACSb_tcfc
What are these?EUE4
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
struct Google_Protobuf_Value
Value
represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
@frozen struct Bool
A value type whose instances are either true
or false
.
init()
init(boolValue: Bool)
Creates a new Google_Protobuf_Value
whose kind
is boolValue
with the given boolean value.
init(extendedGraphemeClusterLiteral value: String)
Creates a new Google_Protobuf_Value
from a character literal.
init(floatLiteral value: Double)
Creates a new Google_Protobuf_Value
from a floating point literal.
init(integerLiteral value: Int64)
Creates a new Google_Protobuf_Value
from an integer literal.
init(listValue: Google_Protobuf_ListValue)
Creates a new Google_Protobuf_Value
whose kind
is listValue
with the given Google_Struct_ListValue
value.
init(nilLiteral: ())
Creates a new Google_Protobuf_Value
from the nil literal.
init(numberValue: Double)
Creates a new Google_Protobuf_Value
whose kind
is numberValue
with the given floating-point value.
init(stringLiteral value: String)
Creates a new Google_Protobuf_Value
from a string literal.
init(stringValue: String)
Creates a new Google_Protobuf_Value
whose kind
is stringValue
with the given string value.
init(structValue: Google_Protobuf_Struct)
Creates a new Google_Protobuf_Value
whose kind
is structValue
with the given Google_Protobuf_Struct
value.
init(unicodeScalarLiteral value: String)
Creates a new Google_Protobuf_Value
from a Unicode scalar literal.
static let _protobuf_nameMap: _NameMap
static let protoMessageName: String
var boolValue: Bool { get set }
Represents a boolean value.
var kind: Google_Protobuf_Value.OneOf_Kind?
The kind of value.
var listValue: Google_Protobuf_ListValue { get set }
Represents a repeated Value
.
var nullValue: Google_Protobuf_NullValue { get set }
Represents a null value.
var numberValue: Double { get set }
Represents a double value.
var stringValue: String { get set }
Represents a string value.
var structValue: Google_Protobuf_Struct { get set }
Represents a structured value.
var unknownFields: UnknownStorage
static func == (lhs: Google_Protobuf_Value, rhs: Google_Protobuf_Value) -> Bool
mutating func decodeMessage<D>(decoder: inout D) throws where D : Decoder
func traverse<V>(visitor: inout V) throws where V : Visitor
enum OneOf_Kind
The kind of value.
typealias BooleanLiteralType = Bool
typealias ExtendedGraphemeClusterLiteralType = String
typealias FloatLiteralType = Double
typealias IntegerLiteralType = Int64
typealias StringLiteralType = String
typealias UnicodeScalarLiteralType = String