SwiftstructPrivateMLClient

struct PrivateMLClient.Promptkit_Wireformat_ToolDefinition

Structure

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

Members 10

  1. varstatic var _protobuf_nameMap: InternalSwiftProtobuf._NameMap { get }
  2. varstatic var protoMessageName: String { get }
  3. fieldvar _type: PrivateMLClient.Promptkit_Wireformat_ToolDefinitionType?
  4. fieldvar unknownFields: InternalSwiftProtobuf.UnknownStorage
  5. funcclearType() -> ()
  6. funcdecodeMessage<A where A: InternalSwiftProtobuf.Decoder>(decoder: inout A) throws -> ()
  7. functraverse<A where A: InternalSwiftProtobuf.Visitor>(visitor: inout A) throws -> ()
  8. initinit() -> PrivateMLClient.Promptkit_Wireformat_ToolDefinition
  9. varvar hasType: Bool { get }
  10. varvar type: PrivateMLClient.Promptkit_Wireformat_ToolDefinitionType { get set }
struct Promptkit_Wireformat_ToolDefinition {
    var unknownFields: InternalSwiftProtobuf.UnknownStorage
    var _type: PrivateMLClient.Promptkit_Wireformat_ToolDefinitionType?

    init()

    var hasType: Swift.Bool {
        get
    }
    var type: PrivateMLClient.Promptkit_Wireformat_ToolDefinitionType {
        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
    }
}