SwiftstructPCCAgentClientCommon

struct PCCAgentClientCommon.Promptkit_Wireformat_Moderation.CategoryProbabilityPair

Structure

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

Members 11

  1. varstatic var _protobuf_nameMap: InternalSwiftProtobuf._NameMap { get }
  2. varstatic var protoMessageName: String { get }
  3. fieldvar _key: PCCAgentClientCommon.Promptkit_Wireformat_Moderation.Category?
  4. fieldvar unknownFields: InternalSwiftProtobuf.UnknownStorage
  5. fieldvar value: PCCAgentClientCommon.Promptkit_Wireformat_Moderation.Probability+0x0
  6. funcclearKey() -> ()
  7. funcdecodeMessage<A where A: InternalSwiftProtobuf.Decoder>(decoder: inout A) throws -> ()
  8. functraverse<A where A: InternalSwiftProtobuf.Visitor>(visitor: inout A) throws -> ()
  9. initinit() -> PCCAgentClientCommon.Promptkit_Wireformat_Moderation.CategoryProbabilityPair
  10. varvar hasKey: Bool { get }
  11. varvar key: PCCAgentClientCommon.Promptkit_Wireformat_Moderation.Category { get set }
struct PCCAgentClientCommon.Promptkit_Wireformat_Moderation.CategoryProbabilityPair {
    var value: PCCAgentClientCommon.Promptkit_Wireformat_Moderation.Probability
    var unknownFields: InternalSwiftProtobuf.UnknownStorage
    var _key: PCCAgentClientCommon.Promptkit_Wireformat_Moderation.Category?

    init()

    var hasKey: Swift.Bool {
        get
    }
    var key: PCCAgentClientCommon.Promptkit_Wireformat_Moderation.Category {
        get
        set
    }

    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
    }
}