SwiftstructPCCAgentClientCommon

struct PCCAgentClientCommon.Tie_ToolChoice

Structure

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

Members 18

  1. varstatic var _protobuf_nameMap: InternalSwiftProtobuf._NameMap { get }
  2. varstatic var protoMessageName: String { get }
  3. fieldvar _allowedFunctions: PCCAgentClientCommon.Tie_ToolChoice.AllowedFunctions?
  4. fieldvar _functionChoice: PCCAgentClientCommon.Tie_ToolChoice.FunctionChoice?
  5. fieldvar _type: PCCAgentClientCommon.Tie_ToolChoice.ValueType?
  6. fieldvar unknownFields: InternalSwiftProtobuf.UnknownStorage
  7. funcclearAllowedFunctions() -> ()
  8. funcclearFunctionChoice() -> ()
  9. funcclearType() -> ()
  10. funcdecodeMessage<A where A: InternalSwiftProtobuf.Decoder>(decoder: inout A) throws -> ()
  11. functraverse<A where A: InternalSwiftProtobuf.Visitor>(visitor: inout A) throws -> ()
  12. initinit() -> PCCAgentClientCommon.Tie_ToolChoice
  13. varvar allowedFunctions: PCCAgentClientCommon.Tie_ToolChoice.AllowedFunctions { get set }
  14. varvar functionChoice: PCCAgentClientCommon.Tie_ToolChoice.FunctionChoice { get set }
  15. varvar hasAllowedFunctions: Bool { get }
  16. varvar hasFunctionChoice: Bool { get }
  17. varvar hasType: Bool { get }
  18. varvar type: PCCAgentClientCommon.Tie_ToolChoice.ValueType { get set }
struct Tie_ToolChoice {
    enum ValueType {
        case UNRECOGNIZED(Swift.Int)
        case notSet
        case none
        case automatic
        case required
        case function
        case functions

        init()

        static var _protobuf_nameMap: InternalSwiftProtobuf._NameMap {
            get
        }
    }
    struct FunctionChoice {
        var unknownFields: InternalSwiftProtobuf.UnknownStorage
        var _name: Swift.String?

        init()

        var hasName: Swift.Bool {
            get
        }
        var name: 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
        func clearName()

        static var _protobuf_nameMap: InternalSwiftProtobuf._NameMap {
            get
        }
        static var protoMessageName: Swift.String {
            get
        }
    }
    struct AllowedFunctions {
        var names: [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
        }
    }
    var unknownFields: InternalSwiftProtobuf.UnknownStorage
    var _type: PCCAgentClientCommon.Tie_ToolChoice.ValueType?
    var _functionChoice: PCCAgentClientCommon.Tie_ToolChoice.FunctionChoice?
    var _allowedFunctions: PCCAgentClientCommon.Tie_ToolChoice.AllowedFunctions?

    init()

    var allowedFunctions: PCCAgentClientCommon.Tie_ToolChoice.AllowedFunctions {
        get
        set
    }
    var functionChoice: PCCAgentClientCommon.Tie_ToolChoice.FunctionChoice {
        get
        set
    }
    var hasAllowedFunctions: Swift.Bool {
        get
    }
    var hasFunctionChoice: Swift.Bool {
        get
    }
    var hasType: Swift.Bool {
        get
    }
    var type: PCCAgentClientCommon.Tie_ToolChoice.ValueType {
        get
        set
    }

    func clearFunctionChoice()
    func decodeMessage<A>(decoder: inout A) throws where A: InternalSwiftProtobuf.Decoder
    func clearAllowedFunctions()
    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
    }
}