SwiftstructPCCAgentClientCommon

struct PCCAgentClientCommon.Tie_PromptTemplate.PromptTemplateV1.RichVariableBinding.RichVariable

Structure

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

Members 7

  1. varstatic var _protobuf_nameMap: InternalSwiftProtobuf._NameMap { get }
  2. varstatic var protoMessageName: String { get }
  3. fieldvar components: [PCCAgentClientCommon.Tie_PromptTemplate.PromptTemplateV1.RichVariableBinding.RichVariable.Component]+0x0
  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() -> PCCAgentClientCommon.Tie_PromptTemplate.PromptTemplateV1.RichVariableBinding.RichVariable
struct PCCAgentClientCommon.Tie_PromptTemplate.PromptTemplateV1.RichVariableBinding.RichVariable {
    struct Component {
        enum OneOf_Content {
            case contentText(PCCAgentClientCommon.Tie_PromptTemplate.PromptTemplateV1.RichVariableBinding.RichVariable.Component.ContentText)
            case imageData(PCCAgentClientCommon.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: PCCAgentClientCommon.Tie_PromptTemplate.PromptTemplateV1.RichVariableBinding.RichVariable.Component.OneOf_Content?
        var unknownFields: InternalSwiftProtobuf.UnknownStorage

        init()

        var contentText: PCCAgentClientCommon.Tie_PromptTemplate.PromptTemplateV1.RichVariableBinding.RichVariable.Component.ContentText {
            get
            set
        }
        var imageData: PCCAgentClientCommon.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: [PCCAgentClientCommon.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
    }
}