SwiftstructPrivateMLClient

struct PrivateMLClient.Promptkit_Wireformat_PromptComponent

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 _priority: Int32?
  4. fieldvar _privacy: PrivateMLClient.Promptkit_Wireformat_PromptComponentPrivacy?
  5. fieldvar _value: PrivateMLClient.Promptkit_Wireformat_PromptComponentValue?
  6. fieldvar unknownFields: InternalSwiftProtobuf.UnknownStorage
  7. funcclearPriority() -> ()
  8. funcclearPrivacy() -> ()
  9. funcclearValue() -> ()
  10. funcdecodeMessage<A where A: InternalSwiftProtobuf.Decoder>(decoder: inout A) throws -> ()
  11. functraverse<A where A: InternalSwiftProtobuf.Visitor>(visitor: inout A) throws -> ()
  12. initinit() -> PrivateMLClient.Promptkit_Wireformat_PromptComponent
  13. varvar hasPriority: Bool { get }
  14. varvar hasPrivacy: Bool { get }
  15. varvar hasValue: Bool { get }
  16. varvar priority: Int32 { get set }
  17. varvar privacy: PrivateMLClient.Promptkit_Wireformat_PromptComponentPrivacy { get set }
  18. varvar value: PrivateMLClient.Promptkit_Wireformat_PromptComponentValue { get set }
struct Promptkit_Wireformat_PromptComponent {
    var unknownFields: InternalSwiftProtobuf.UnknownStorage
    var _value: PrivateMLClient.Promptkit_Wireformat_PromptComponentValue?
    var _priority: Swift.Int32?
    var _privacy: PrivateMLClient.Promptkit_Wireformat_PromptComponentPrivacy?

    init()

    var hasPriority: Swift.Bool {
        get
    }
    var hasPrivacy: Swift.Bool {
        get
    }
    var hasValue: Swift.Bool {
        get
    }
    var priority: Swift.Int32 {
        get
        set
    }
    var privacy: PrivateMLClient.Promptkit_Wireformat_PromptComponentPrivacy {
        get
        set
    }
    var value: PrivateMLClient.Promptkit_Wireformat_PromptComponentValue {
        get
        set
    }

    func clearValue()
    func clearPrivacy()
    func clearPriority()
    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
    }
}