SwiftenumToolKit

enum ToolKit.TypedValue.PrimitiveValue

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 32

  1. casecase app(ToolKit.TypedValue.PrimitiveValue.AppValue)
  2. casecase attributedString(Foundation.AttributedString)
  3. casecase bool(Bool)
  4. casecase character(Character)
  5. casecase currencyAmount(ToolKit.TypedValue.PrimitiveValue.CurrencyAmountValue)
  6. casecase date(Foundation.Date)
  7. casecase dateComponents(Foundation.DateComponents)
  8. casecase dateInterval(Foundation.DateInterval)
  9. casecase decimal(NSDecimal)
  10. casecase duration(Duration)
  11. casecase file(ToolKit.TypedValue.PrimitiveValue.FileValue)
  12. casecase int(Int)
  13. casecase intentsFile(ToolKit.SecureCodable<INFile>)
  14. casecase measurement(Foundation.Measurement<NSUnit>)
  15. casecase none
  16. casecase number(Double)
  17. casecase paymentMethod(ToolKit.TypedValue.PrimitiveValue.PaymentMethodValue)
  18. casecase person(ToolKit.TypedValue.PrimitiveValue.PersonValue)
  19. casecase personNameComponents(Foundation.PersonNameComponents)
  20. casecase pixelBuffer(ToolKit.TypedValue.PrimitiveValue.PixelBufferValue)
  21. casecase placemark(ToolKit.TypedValue.PrimitiveValue.PlacemarkValue)
  22. casecase recurrenceRule(Foundation.Calendar.RecurrenceRule)
  23. casecase searchableItem(ToolKit.SecureCodable<CSSearchableItem>)
  24. casecase shortcut(ToolKit.TypedValue.PrimitiveValue.Shortcut)
  25. casecase string(String)
  26. casecase url(Foundation.URL)
  27. funcprotobuf(useCase: VoiceShortcutClient.ProtobufUseCase) throws -> ToolKit.ToolKitProtoTypedValue.PrimitiveValue
  28. initinit(protobuf: ToolKit.ToolKitProtoTypedValue.PrimitiveValue) throws -> ToolKit.TypedValue.PrimitiveValue
  29. typealiastypealias ProtobufType = ToolKit.ToolKitProtoTypedValue.PrimitiveValue
  30. varvar debugDescription: String { get }
  31. varvar displayRepresentation: ToolKit.DisplayRepresentation? { get }
  32. varvar primitiveType: ToolKit.TypeIdentifier.PrimitiveTypeIdentifier { get }
enum ToolKit.TypedValue.PrimitiveValue {
    struct AppValue {
        enum CodingKeys {
            case bundleIdentifier
            case displayRepresentation
            case provenance
        }
        let bundleIdentifier: Swift.String
        let displayRepresentation: ToolKit.DisplayRepresentation?
        var provenance: ToolKit.TypedValue.Provenance

        init(bundleIdentifier: Swift.String, displayRepresentation: ToolKit.DisplayRepresentation?, provenance: ToolKit.TypedValue.Provenance?)
        init(bundleIdentifier: Swift.String, displayRepresentation: ToolKit.DisplayRepresentation?)
        init(protobuf: ToolKit.ToolKitProtoTypedValue.PrimitiveValue.App) throws

        func protobuf(useCase: VoiceShortcutClient.ProtobufUseCase) throws -> ToolKit.ToolKitProtoTypedValue.PrimitiveValue.App
    }
    struct Shortcut {
        enum CodingKeys {
            case identifier
            case displayRepresentation
        }
        let identifier: Swift.String
        let displayRepresentation: ToolKit.DisplayRepresentation?

        init(identifier: Swift.String, displayRepresentation: ToolKit.DisplayRepresentation?)
        init(identifier: Swift.String)
        init(protobuf: ToolKit.ToolKitProtoTypedValue.PrimitiveValue.Shortcut) throws

        func protobuf(useCase: VoiceShortcutClient.ProtobufUseCase) throws -> ToolKit.ToolKitProtoTypedValue.PrimitiveValue.Shortcut
    }
    struct PlacemarkValue {
        enum Type {
            enum CodingKeys {
                case currentLocation
                case placemark
            }
            enum CurrentLocationCodingKeys {}
            enum PlacemarkCodingKeys {
                case _0
            }
            case placemark(ToolKit.SecureCodable<__C.CLPlacemark>)
            case currentLocation
        }
        enum CodingKeys {
            case provenance
            case displayRepresentation
            case type
        }
        var provenance: ToolKit.TypedValue.Provenance
        let displayRepresentation: ToolKit.DisplayRepresentation?
        let type: ToolKit.TypedValue.PrimitiveValue.PlacemarkValue.Type

        init(codablePlacemark: ToolKit.SecureCodable<__C.CLPlacemark>, displayRepresentation: ToolKit.DisplayRepresentation?, provenance: ToolKit.TypedValue.Provenance?)
        init(type: ToolKit.TypedValue.PrimitiveValue.PlacemarkValue.Type, displayRepresentation: ToolKit.DisplayRepresentation?, provenance: ToolKit.TypedValue.Provenance?)
        init(protobuf: ToolKit.ToolKitProtoTypedValue.PrimitiveValue.Placemark) throws
        init(placemark: __C.CLPlacemark, provenance: ToolKit.TypedValue.Provenance?)
        init(placemark: __C.CLPlacemark)

        var placemark: __C.CLPlacemark {
            get
        }

        func protobuf(useCase: VoiceShortcutClient.ProtobufUseCase) throws -> ToolKit.ToolKitProtoTypedValue.PrimitiveValue.Placemark

        static var currentLocation: ToolKit.TypedValue.PrimitiveValue.PlacemarkValue {
            get
        }
    }
    struct PersonValue {
        enum CodingKeys {
            case displayRepresentation
            case provenance
            case codablePerson
        }
        let displayRepresentation: ToolKit.DisplayRepresentation?
        var provenance: ToolKit.TypedValue.Provenance
        let codablePerson: ToolKit.SecureCodable<__C.INPerson>

        init(person: __C.INPerson, provenance: ToolKit.TypedValue.Provenance?)
        init(person: __C.INPerson, displayRepresentation: ToolKit.DisplayRepresentation?, provenance: ToolKit.TypedValue.Provenance?)
        init(person: __C.INPerson)
        init(protobuf: ToolKit.ToolKitProtoTypedValue.PrimitiveValue.Person) throws

        var description: Swift.String {
            get
        }
        var person: __C.INPerson {
            get
        }

        func protobuf(useCase: VoiceShortcutClient.ProtobufUseCase) throws -> ToolKit.ToolKitProtoTypedValue.PrimitiveValue.Person
    }
    struct CurrencyAmountValue {
        enum CodingKeys {
            case amount
            case currencyIdentifier
            case displayRepresentation
        }
        let amount: __C.NSDecimal
        let currencyIdentifier: Swift.String
        let displayRepresentation: ToolKit.DisplayRepresentation?

        init(amount: __C.NSDecimal, currencyIdentifier: Swift.String, displayRepresentation: ToolKit.DisplayRepresentation?)
        init(amount: __C.NSDecimal, currencyIdentifier: Swift.String)
        init(protobuf: ToolKit.ToolKitProtoTypedValue.PrimitiveValue.CurrencyAmount) throws

        func protobuf(useCase: VoiceShortcutClient.ProtobufUseCase) throws -> ToolKit.ToolKitProtoTypedValue.PrimitiveValue.CurrencyAmount
    }
    struct PaymentMethodValue {
        enum Type {
            enum CodingKeys {
                case unknown
                case checking
                case savings
                case brokerage
                case debit
                case credit
                case prepaid
                case store
                case applePay
            }
            enum UnknownCodingKeys {}
            enum CheckingCodingKeys {}
            enum SavingsCodingKeys {}
            enum BrokerageCodingKeys {}
            enum DebitCodingKeys {}
            enum CreditCodingKeys {}
            enum PrepaidCodingKeys {}
            enum StoreCodingKeys {}
            enum ApplePayCodingKeys {}
            case unknown
            case checking
            case savings
            case brokerage
            case debit
            case credit
            case prepaid
            case store
            case applePay

            init(protobuf: ToolKit.ToolKitProtoTypedValue.PrimitiveValue.PaymentMethod.TypeEnum) throws

            var intentsType: __C.INPaymentMethodType {
                get
            }

            func protobuf(useCase: VoiceShortcutClient.ProtobufUseCase) -> ToolKit.ToolKitProtoTypedValue.PrimitiveValue.PaymentMethod.TypeEnum
        }
        enum CodingKeys {
            case type
            case identificationHint
            case displayRepresentation
        }
        let type: ToolKit.TypedValue.PrimitiveValue.PaymentMethodValue.Type
        let identificationHint: Swift.String?
        let displayRepresentation: ToolKit.DisplayRepresentation?

        init(type: ToolKit.TypedValue.PrimitiveValue.PaymentMethodValue.Type, identificationHint: Swift.String?, displayRepresentation: ToolKit.DisplayRepresentation?)
        init(type: ToolKit.TypedValue.PrimitiveValue.PaymentMethodValue.Type, identificationHint: Swift.String?)
        init(protobuf: ToolKit.ToolKitProtoTypedValue.PrimitiveValue.PaymentMethod) throws

        func protobuf(useCase: VoiceShortcutClient.ProtobufUseCase) throws -> ToolKit.ToolKitProtoTypedValue.PrimitiveValue.PaymentMethod
    }
    struct FileValue {
        enum CodingKeys {
            case displayRepresentation
            case codableFile
            case fileURL
            case provenance
        }
        let displayRepresentation: ToolKit.DisplayRepresentation?
        let codableFile: ToolKit.SecureCodable<__C.INFile>
        var provenance: ToolKit.TypedValue.Provenance

        init(file: __C.INFile, provenance: ToolKit.TypedValue.Provenance?)
        init(file: __C.INFile, displayRepresentation: ToolKit.DisplayRepresentation?, provenance: ToolKit.TypedValue.Provenance?)
        init(file: __C.INFile, displayRepresentation: ToolKit.DisplayRepresentation?)
        init(file: __C.INFile)
        init(protobuf: ToolKit.ToolKitProtoTypedValue.PrimitiveValue.File) throws

        var file: __C.INFile {
            get
        }

        func protobuf(useCase: VoiceShortcutClient.ProtobufUseCase) throws -> ToolKit.ToolKitProtoTypedValue.PrimitiveValue.File
    }
    struct PixelBufferValue {
        enum CodingError {
            case sidebandRequired
            case nilPixelBuffer
        }
        let pixelBuffer: CoreVideo.CVReadOnlyPixelBuffer?

        init(pixelBuffer: CoreVideo.CVReadOnlyPixelBuffer?)
    }
    enum CodingKeys {
        case none
        case bool
        case int
        case number
        case decimal
        case string
        case character
        case date
        case dateComponents
        case url
        case attributedString
        case measurement
        case currencyAmount
        case paymentMethod
        case placemark
        case person
        case file
        case app
        case searchableItem
        case shortcut
        case recurrenceRule
        case dateInterval
        case duration
        case personNameComponents
        case pixelBuffer
        case intentsFile
    }
    enum NoneCodingKeys {}
    enum BoolCodingKeys {
        case _0
    }
    enum IntCodingKeys {
        case _0
    }
    enum NumberCodingKeys {
        case _0
    }
    enum DecimalCodingKeys {
        case _0
    }
    enum StringCodingKeys {
        case _0
    }
    enum CharacterCodingKeys {
        case _0
    }
    enum DateCodingKeys {
        case _0
    }
    enum DateComponentsCodingKeys {
        case _0
    }
    enum UrlCodingKeys {
        case _0
    }
    enum AttributedStringCodingKeys {
        case _0
    }
    enum MeasurementCodingKeys {
        case _0
    }
    enum CurrencyAmountCodingKeys {
        case _0
    }
    enum PaymentMethodCodingKeys {
        case _0
    }
    enum PlacemarkCodingKeys {
        case _0
    }
    enum PersonCodingKeys {
        case _0
    }
    enum FileCodingKeys {
        case _0
    }
    enum AppCodingKeys {
        case _0
    }
    enum SearchableItemCodingKeys {
        case _0
    }
    enum ShortcutCodingKeys {
        case _0
    }
    enum RecurrenceRuleCodingKeys {
        case _0
    }
    enum DateIntervalCodingKeys {
        case _0
    }
    enum DurationCodingKeys {
        case _0
    }
    enum PersonNameComponentsCodingKeys {
        case _0
    }
    enum PixelBufferCodingKeys {
        case _0
    }
    enum IntentsFileCodingKeys {
        case _0
    }
    case bool(Swift.Bool)
    case int(Swift.Int)
    case number(Swift.Double)
    case decimal(__C.NSDecimal)
    case string(Swift.String)
    case character(Swift.Character)
    case date(Foundation.Date)
    case dateComponents(Foundation.DateComponents)
    case url(Foundation.URL)
    case attributedString(Foundation.AttributedString)
    case measurement(Foundation.Measurement<__C.NSUnit>)
    case currencyAmount(ToolKit.TypedValue.PrimitiveValue.CurrencyAmountValue)
    case paymentMethod(ToolKit.TypedValue.PrimitiveValue.PaymentMethodValue)
    case placemark(ToolKit.TypedValue.PrimitiveValue.PlacemarkValue)
    case person(ToolKit.TypedValue.PrimitiveValue.PersonValue)
    case file(ToolKit.TypedValue.PrimitiveValue.FileValue)
    case app(ToolKit.TypedValue.PrimitiveValue.AppValue)
    case searchableItem(ToolKit.SecureCodable<__C.CSSearchableItem>)
    case shortcut(ToolKit.TypedValue.PrimitiveValue.Shortcut)
    case recurrenceRule(Foundation.Calendar.RecurrenceRule)
    case dateInterval(Foundation.DateInterval)
    case duration(Swift.Duration)
    case personNameComponents(Foundation.PersonNameComponents)
    case pixelBuffer(ToolKit.TypedValue.PrimitiveValue.PixelBufferValue)
    case intentsFile(ToolKit.SecureCodable<__C.INFile>)
    case none

    init(protobuf: ToolKit.ToolKitProtoTypedValue.PrimitiveValue) throws

    var debugDescription: Swift.String {
        get
    }
    var displayRepresentation: ToolKit.DisplayRepresentation? {
        get
    }
    var primitiveType: ToolKit.TypeIdentifier.PrimitiveTypeIdentifier {
        get
    }

    func protobuf(useCase: VoiceShortcutClient.ProtobufUseCase) throws -> ToolKit.ToolKitProtoTypedValue.PrimitiveValue
}