SwiftstructVisualLookUp

struct VisualLookUp.Tie_PromptTemplate.PromptTemplateV1

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 _promptTemplateID: String?
  4. fieldvar promptTemplateVariableBindings: [VisualLookUp.Tie_PromptTemplate.PromptTemplateV1.PromptTemplateVariable]+0x0
  5. fieldvar richVariableBindings: [VisualLookUp.Tie_PromptTemplate.PromptTemplateV1.RichVariableBinding]+0x8
  6. fieldvar unknownFields: InternalSwiftProtobuf.UnknownStorage
  7. funcclearPromptTemplateID() -> ()
  8. funcdecodeMessage<A where A: InternalSwiftProtobuf.Decoder>(decoder: inout A) throws -> ()
  9. functraverse<A where A: InternalSwiftProtobuf.Visitor>(visitor: inout A) throws -> ()
  10. initinit() -> VisualLookUp.Tie_PromptTemplate.PromptTemplateV1
  11. varvar hasPromptTemplateID: Bool { get }
  12. varvar promptTemplateID: String { get set }
struct VisualLookUp.Tie_PromptTemplate.PromptTemplateV1 {
    struct PromptTemplateVariable {
        var unknownFields: InternalSwiftProtobuf.UnknownStorage
        var _name: Swift.String?
        var _value: Swift.String?

        init()

        var hasName: Swift.Bool {
            get
        }
        var hasValue: Swift.Bool {
            get
        }
        var name: Swift.String {
            get
            set
        }
        var value: Swift.String {
            get
            set
        }

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

        static var _protobuf_nameMap: InternalSwiftProtobuf._NameMap {
            get
        }
        static var protoMessageName: Swift.String {
            get
        }
    }
    struct RichVariableBinding {
        struct RichVariable {
            struct Component {
                enum OneOf_Content {
                    case contentText(VisualLookUp.Tie_PromptTemplate.PromptTemplateV1.RichVariableBinding.RichVariable.Component.ContentText)
                    case imageData(VisualLookUp.Tie_ImageData)
                }
                struct ContentText {
                    var unknownFields: InternalSwiftProtobuf.UnknownStorage
                    var _text: Swift.String?
                    var _isSelfAttention: Swift.Bool?

                    init()

                    var hasIsSelfAttention: Swift.Bool {
                        get
                    }
                    var hasText: Swift.Bool {
                        get
                    }
                    var isSelfAttention: Swift.Bool {
                        get
                        set
                    }
                    var text: Swift.String {
                        get
                        set
                    }

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

                    static var _protobuf_nameMap: InternalSwiftProtobuf._NameMap {
                        get
                    }
                    static var protoMessageName: Swift.String {
                        get
                    }
                }
                var content: VisualLookUp.Tie_PromptTemplate.PromptTemplateV1.RichVariableBinding.RichVariable.Component.OneOf_Content?
                var unknownFields: InternalSwiftProtobuf.UnknownStorage

                init()

                var contentText: VisualLookUp.Tie_PromptTemplate.PromptTemplateV1.RichVariableBinding.RichVariable.Component.ContentText {
                    get
                    set
                }
                var imageData: VisualLookUp.Tie_ImageData {
                    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
                }
            }
            var components: [VisualLookUp.Tie_PromptTemplate.PromptTemplateV1.RichVariableBinding.RichVariable.Component]
            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
            }
        }
        var unknownFields: InternalSwiftProtobuf.UnknownStorage
        var _key: Swift.String?
        var _richVariable: VisualLookUp.Tie_PromptTemplate.PromptTemplateV1.RichVariableBinding.RichVariable?

        init()

        var hasKey: Swift.Bool {
            get
        }
        var hasRichVariable: Swift.Bool {
            get
        }
        var key: Swift.String {
            get
            set
        }
        var richVariable: VisualLookUp.Tie_PromptTemplate.PromptTemplateV1.RichVariableBinding.RichVariable {
            get
            set
        }

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

        static var _protobuf_nameMap: InternalSwiftProtobuf._NameMap {
            get
        }
        static var protoMessageName: Swift.String {
            get
        }
    }
    var promptTemplateVariableBindings: [VisualLookUp.Tie_PromptTemplate.PromptTemplateV1.PromptTemplateVariable]
    var richVariableBindings: [VisualLookUp.Tie_PromptTemplate.PromptTemplateV1.RichVariableBinding]
    var unknownFields: InternalSwiftProtobuf.UnknownStorage
    var _promptTemplateID: Swift.String?

    init()

    var hasPromptTemplateID: Swift.Bool {
        get
    }
    var promptTemplateID: Swift.String {
        get
        set
    }

    func clearPromptTemplateID()
    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
    }
}