SwiftstructPegasusAPI

struct PegasusAPI.ToolKitProtoTypedValue

Structure

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

Members 12

  1. varstatic var _protobuf_nameMap: InternalSwiftProtobuf._NameMap { get }
  2. varstatic var protoMessageName: String { get }
  3. fieldvar typedValueKind: PegasusAPI.ToolKitProtoTypedValue.OneOf_TypedValueKind?
  4. fieldvar unknownFields: InternalSwiftProtobuf.UnknownStorage
  5. funcdecodeMessage<A where A: InternalSwiftProtobuf.Decoder>(decoder: inout A) throws -> ()
  6. functraverse<A where A: InternalSwiftProtobuf.Visitor>(visitor: inout A) throws -> ()
  7. initinit() -> PegasusAPI.ToolKitProtoTypedValue
  8. varvar collection: PegasusAPI.ToolKitProtoTypedValue.CollectionValue { get set }
  9. varvar entity: PegasusAPI.ToolKitProtoTypedValue.EntityValue { get set }
  10. varvar entityIdentifier: PegasusAPI.ToolKitProtoTypedValue.EntityIdentifierValue { get set }
  11. varvar enumeration: PegasusAPI.ToolKitProtoTypedValue.EnumerationValue { get set }
  12. varvar primitive: PegasusAPI.ToolKitProtoTypedValue.PrimitiveValue { get set }
struct ToolKitProtoTypedValue {
    enum OneOf_TypedValueKind {
        case primitive(PegasusAPI.ToolKitProtoTypedValue.PrimitiveValue)
        case enumeration(PegasusAPI.ToolKitProtoTypedValue.EnumerationValue)
        case entity(PegasusAPI.ToolKitProtoTypedValue.EntityValue)
        case collection(PegasusAPI.ToolKitProtoTypedValue.CollectionValue)
        case entityIdentifier(PegasusAPI.ToolKitProtoTypedValue.EntityIdentifierValue)
    }
    struct PrimitiveValue {
        enum OneOf_PrimitiveValueKind {
            case noneVariant(InternalSwiftProtobuf.Google_Protobuf_NullValue)
            case bool(Swift.Bool)
            case int(Swift.Int64)
            case number(Swift.Double)
            case string(Swift.String)
            case date(InternalSwiftProtobuf.Google_Protobuf_Timestamp)
            case dateComponents(Foundation.Data)
            case url(Swift.String)
            case measurement(PegasusAPI.ToolKitProtoTypedValue.PrimitiveValue.Measurement)
            case currencyAmount(PegasusAPI.ToolKitProtoTypedValue.PrimitiveValue.CurrencyAmount)
            case encodedDateComponents(PegasusAPI.ToolKitProtoTypedValue.PrimitiveValue.DateComponents)
        }
        struct Decimal {
            enum Sign {
                case UNRECOGNIZED(Swift.Int)
                case unspecified
                case minus
                case plus

                init()

                static var _protobuf_nameMap: InternalSwiftProtobuf._NameMap {
                    get
                }
            }
            var sign: PegasusAPI.ToolKitProtoTypedValue.PrimitiveValue.Decimal.Sign
            var exponent: Swift.Int64
            var unknownFields: InternalSwiftProtobuf.UnknownStorage
            var _significand: InternalSwiftProtobuf.Google_Protobuf_Any?

            init()

            var hasSignificand: Swift.Bool {
                get
            }
            var significand: InternalSwiftProtobuf.Google_Protobuf_Any {
                get
                set
            }

            func decodeMessage<A>(decoder: inout A) throws where A: InternalSwiftProtobuf.Decoder
            func clearSignificand()
            func traverse<A>(visitor: inout A) throws where A: InternalSwiftProtobuf.Visitor

            static var _protobuf_nameMap: InternalSwiftProtobuf._NameMap {
                get
            }
            static var protoMessageName: Swift.String {
                get
            }
        }
        struct Measurement {
            var unit: Swift.String
            var value: Swift.Double
            var unitType: PegasusAPI.ToolKitProtoTypeIdentifier.Primitive.MeasurementUnitType
            var unknownFields: InternalSwiftProtobuf.UnknownStorage

            init()

            func decodeMessage<A>(decoder: inout A) throws where A: InternalSwiftProtobuf.Decoder
            func traverse<A>(visitor: inout A) throws where A: InternalSwiftProtobuf.Visitor

            static var _protobuf_nameMap: InternalSwiftProtobuf._NameMap {
                get
            }
            static var protoMessageName: Swift.String {
                get
            }
        }
        struct CurrencyAmount {
            var currencyIdentifier: Swift.String
            var unknownFields: InternalSwiftProtobuf.UnknownStorage
            var _amount: PegasusAPI.ToolKitProtoTypedValue.PrimitiveValue.Decimal?

            init()

            var amount: PegasusAPI.ToolKitProtoTypedValue.PrimitiveValue.Decimal {
                get
                set
            }
            var hasAmount: Swift.Bool {
                get
            }

            func clearAmount()
            func decodeMessage<A>(decoder: inout A) throws where A: InternalSwiftProtobuf.Decoder
            func traverse<A>(visitor: inout A) throws where A: InternalSwiftProtobuf.Visitor

            static var _protobuf_nameMap: InternalSwiftProtobuf._NameMap {
                get
            }
            static var protoMessageName: Swift.String {
                get
            }
        }
        struct App {
            var bundleIdentifier: Swift.String
            var unknownFields: InternalSwiftProtobuf.UnknownStorage

            init()

            func decodeMessage<A>(decoder: inout A) throws where A: InternalSwiftProtobuf.Decoder
            func traverse<A>(visitor: inout A) throws where A: InternalSwiftProtobuf.Visitor

            static var _protobuf_nameMap: InternalSwiftProtobuf._NameMap {
                get
            }
            static var protoMessageName: Swift.String {
                get
            }
        }
        struct DateComponents {
            enum CalendarIdentifier {
                case UNRECOGNIZED(Swift.Int)
                case unspecified
                case gregorian
                case buddhist
                case chinese
                case coptic
                case ethiopicAmeteMihret
                case ethiopicAmeteAlem
                case hebrew
                case iso8601
                case indian
                case islamic
                case islamicCivil
                case japanese
                case persian
                case republicOfChina
                case islamicTabular
                case islamicUmmAlQura

                init()

                static var _protobuf_nameMap: InternalSwiftProtobuf._NameMap {
                    get
                }
            }
            struct Calendar {
                var identifier: PegasusAPI.ToolKitProtoTypedValue.PrimitiveValue.DateComponents.CalendarIdentifier
                var timeZoneIdentifier: Swift.String
                var firstWeekday: Swift.Int64
                var minimumDaysInFirstWeek: Swift.Int64
                var unknownFields: InternalSwiftProtobuf.UnknownStorage
                var _localeIdentifier: Swift.String?

                init()

                var hasLocaleIdentifier: Swift.Bool {
                    get
                }
                var localeIdentifier: Swift.String {
                    get
                    set
                }

                func decodeMessage<A>(decoder: inout A) throws where A: InternalSwiftProtobuf.Decoder
                func clearLocaleIdentifier()
                func traverse<A>(visitor: inout A) throws where A: InternalSwiftProtobuf.Visitor

                static var _protobuf_nameMap: InternalSwiftProtobuf._NameMap {
                    get
                }
                static var protoMessageName: Swift.String {
                    get
                }
            }
            class _StorageClass {
                var _calendar: PegasusAPI.ToolKitProtoTypedValue.PrimitiveValue.DateComponents.Calendar?
                var _timeZoneIdentifier: Swift.String?
                var _era: Swift.Int64?
                var _year: Swift.Int64?
                var _month: Swift.Int64?
                var _day: Swift.Int64?
                var _hour: Swift.Int64?
                var _minute: Swift.Int64?
                var _second: Swift.Int64?
                var _nanosecond: Swift.Int64?
                var _weekday: Swift.Int64?
                var _weekdayOrdinal: Swift.Int64?
                var _quarter: Swift.Int64?
                var _weekOfMonth: Swift.Int64?
                var _weekOfYear: Swift.Int64?
                var _yearForWeekOfYear: Swift.Int64?
            }
            var unknownFields: InternalSwiftProtobuf.UnknownStorage
            var _storage: PegasusAPI.ToolKitProtoTypedValue.PrimitiveValue.DateComponents._StorageClass

            init()

            var calendar: PegasusAPI.ToolKitProtoTypedValue.PrimitiveValue.DateComponents.Calendar {
                get
                set
            }
            var day: Swift.Int64 {
                get
                set
            }
            var era: Swift.Int64 {
                get
                set
            }
            var hasCalendar: Swift.Bool {
                get
            }
            var hasDay: Swift.Bool {
                get
            }
            var hasEra: Swift.Bool {
                get
            }
            var hasHour: Swift.Bool {
                get
            }
            var hasMinute: Swift.Bool {
                get
            }
            var hasMonth: Swift.Bool {
                get
            }
            var hasNanosecond: Swift.Bool {
                get
            }
            var hasQuarter: Swift.Bool {
                get
            }
            var hasSecond: Swift.Bool {
                get
            }
            var hasTimeZoneIdentifier: Swift.Bool {
                get
            }
            var hasWeekOfMonth: Swift.Bool {
                get
            }
            var hasWeekOfYear: Swift.Bool {
                get
            }
            var hasWeekday: Swift.Bool {
                get
            }
            var hasWeekdayOrdinal: Swift.Bool {
                get
            }
            var hasYear: Swift.Bool {
                get
            }
            var hasYearForWeekOfYear: Swift.Bool {
                get
            }
            var hour: Swift.Int64 {
                get
                set
            }
            var minute: Swift.Int64 {
                get
                set
            }
            var month: Swift.Int64 {
                get
                set
            }
            var nanosecond: Swift.Int64 {
                get
                set
            }
            var quarter: Swift.Int64 {
                get
                set
            }
            var second: Swift.Int64 {
                get
                set
            }
            var timeZoneIdentifier: Swift.String {
                get
                set
            }
            var weekOfMonth: Swift.Int64 {
                get
                set
            }
            var weekOfYear: Swift.Int64 {
                get
                set
            }
            var weekday: Swift.Int64 {
                get
                set
            }
            var weekdayOrdinal: Swift.Int64 {
                get
                set
            }
            var year: Swift.Int64 {
                get
                set
            }
            var yearForWeekOfYear: Swift.Int64 {
                get
                set
            }

            func clearYearForWeekOfYear()
            func clearMonth()
            func clearMinute()
            func clearSecond()
            func clearQuarter()
            func clearWeekday()
            func clearCalendar()
            func decodeMessage<A>(decoder: inout A) throws where A: InternalSwiftProtobuf.Decoder
            func clearNanosecond()
            func clearWeekOfYear()
            func clearWeekOfMonth()
            func clearWeekdayOrdinal()
            func clearTimeZoneIdentifier()
            func clearDay()
            func clearEra()
            func traverse<A>(visitor: inout A) throws where A: InternalSwiftProtobuf.Visitor
            func clearHour()
            func clearYear()

            static var _protobuf_nameMap: InternalSwiftProtobuf._NameMap {
                get
            }
            static var protoMessageName: Swift.String {
                get
            }
        }
        var primitiveValueKind: PegasusAPI.ToolKitProtoTypedValue.PrimitiveValue.OneOf_PrimitiveValueKind?
        var unknownFields: InternalSwiftProtobuf.UnknownStorage

        init()

        var bool: Swift.Bool {
            get
            set
        }
        var currencyAmount: PegasusAPI.ToolKitProtoTypedValue.PrimitiveValue.CurrencyAmount {
            get
            set
        }
        var date: InternalSwiftProtobuf.Google_Protobuf_Timestamp {
            get
            set
        }
        var dateComponents: Foundation.Data {
            get
            set
        }
        var encodedDateComponents: PegasusAPI.ToolKitProtoTypedValue.PrimitiveValue.DateComponents {
            get
            set
        }
        var int: Swift.Int64 {
            get
            set
        }
        var measurement: PegasusAPI.ToolKitProtoTypedValue.PrimitiveValue.Measurement {
            get
            set
        }
        var noneVariant: InternalSwiftProtobuf.Google_Protobuf_NullValue {
            get
            set
        }
        var number: Swift.Double {
            get
            set
        }
        var string: Swift.String {
            get
            set
        }
        var url: Swift.String {
            get
            set
        }

        func decodeMessage<A>(decoder: inout A) throws where A: InternalSwiftProtobuf.Decoder
        func traverse<A>(visitor: inout A) throws where A: InternalSwiftProtobuf.Visitor

        static var _protobuf_nameMap: InternalSwiftProtobuf._NameMap {
            get
        }
        static var protoMessageName: Swift.String {
            get
        }
    }
    struct EnumerationValue {
        var caseValue: Swift.String
        var unknownFields: InternalSwiftProtobuf.UnknownStorage
        var _type: PegasusAPI.ToolKitProtoTypeIdentifier?

        init()

        var hasType: Swift.Bool {
            get
        }
        var type: PegasusAPI.ToolKitProtoTypeIdentifier {
            get
            set
        }

        func decodeMessage<A>(decoder: inout A) throws where A: InternalSwiftProtobuf.Decoder
        func traverse<A>(visitor: inout A) throws where A: InternalSwiftProtobuf.Visitor
        func clearType()

        static var _protobuf_nameMap: InternalSwiftProtobuf._NameMap {
            get
        }
        static var protoMessageName: Swift.String {
            get
        }
    }
    struct EntityValue {
        var identifier: Swift.String
        var properties: [Swift.String : PegasusAPI.ToolKitProtoTypedValue]
        var unknownFields: InternalSwiftProtobuf.UnknownStorage
        var _type: PegasusAPI.ToolKitProtoTypeIdentifier?

        init()

        var hasType: Swift.Bool {
            get
        }
        var type: PegasusAPI.ToolKitProtoTypeIdentifier {
            get
            set
        }

        func decodeMessage<A>(decoder: inout A) throws where A: InternalSwiftProtobuf.Decoder
        func traverse<A>(visitor: inout A) throws where A: InternalSwiftProtobuf.Visitor
        func clearType()

        static var _protobuf_nameMap: InternalSwiftProtobuf._NameMap {
            get
        }
        static var protoMessageName: Swift.String {
            get
        }
    }
    struct CollectionValue {
        var values: [PegasusAPI.ToolKitProtoTypedValue]
        var unknownFields: InternalSwiftProtobuf.UnknownStorage
        var _type: PegasusAPI.ToolKitProtoTypeIdentifier?

        init()

        var hasType: Swift.Bool {
            get
        }
        var type: PegasusAPI.ToolKitProtoTypeIdentifier {
            get
            set
        }

        func decodeMessage<A>(decoder: inout A) throws where A: InternalSwiftProtobuf.Decoder
        func traverse<A>(visitor: inout A) throws where A: InternalSwiftProtobuf.Visitor
        func clearType()

        static var _protobuf_nameMap: InternalSwiftProtobuf._NameMap {
            get
        }
        static var protoMessageName: Swift.String {
            get
        }
    }
    struct EntityIdentifierValue {
        var identifier: Swift.String
        var unknownFields: InternalSwiftProtobuf.UnknownStorage
        var _type: PegasusAPI.ToolKitProtoTypeIdentifier?

        init()

        var hasType: Swift.Bool {
            get
        }
        var type: PegasusAPI.ToolKitProtoTypeIdentifier {
            get
            set
        }

        func decodeMessage<A>(decoder: inout A) throws where A: InternalSwiftProtobuf.Decoder
        func traverse<A>(visitor: inout A) throws where A: InternalSwiftProtobuf.Visitor
        func clearType()

        static var _protobuf_nameMap: InternalSwiftProtobuf._NameMap {
            get
        }
        static var protoMessageName: Swift.String {
            get
        }
    }
    var typedValueKind: PegasusAPI.ToolKitProtoTypedValue.OneOf_TypedValueKind?
    var unknownFields: InternalSwiftProtobuf.UnknownStorage

    init()

    var collection: PegasusAPI.ToolKitProtoTypedValue.CollectionValue {
        get
        set
    }
    var entity: PegasusAPI.ToolKitProtoTypedValue.EntityValue {
        get
        set
    }
    var entityIdentifier: PegasusAPI.ToolKitProtoTypedValue.EntityIdentifierValue {
        get
        set
    }
    var enumeration: PegasusAPI.ToolKitProtoTypedValue.EnumerationValue {
        get
        set
    }
    var primitive: PegasusAPI.ToolKitProtoTypedValue.PrimitiveValue {
        get
        set
    }

    func decodeMessage<A>(decoder: inout A) throws where A: InternalSwiftProtobuf.Decoder
    func traverse<A>(visitor: inout A) throws where A: InternalSwiftProtobuf.Visitor

    static var _protobuf_nameMap: InternalSwiftProtobuf._NameMap {
        get
    }
    static var protoMessageName: Swift.String {
        get
    }
}