SwiftstructGRPCProtobufInternal

struct GRPCProtobufInternal.ErrorDetails

Structure

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

Members 34

  1. funcstatic any(InternalSwiftProtobuf.Google_Protobuf_Any) -> GRPCProtobufInternal.ErrorDetails
  2. funcstatic badRequest(violations: [GRPCProtobufInternal.ErrorDetails.BadRequest.FieldViolation]) -> GRPCProtobufInternal.ErrorDetails
  3. funcstatic badRequest(GRPCProtobufInternal.ErrorDetails.BadRequest) -> GRPCProtobufInternal.ErrorDetails
  4. funcstatic debugInfo(stack: [String], detail: String) -> GRPCProtobufInternal.ErrorDetails
  5. funcstatic debugInfo(GRPCProtobufInternal.ErrorDetails.DebugInfo) -> GRPCProtobufInternal.ErrorDetails
  6. funcstatic errorInfo(reason: String, domain: String, metadata: [String : String]) -> GRPCProtobufInternal.ErrorDetails
  7. funcstatic errorInfo(GRPCProtobufInternal.ErrorDetails.ErrorInfo) -> GRPCProtobufInternal.ErrorDetails
  8. funcstatic help(links: [GRPCProtobufInternal.ErrorDetails.Help.Link]) -> GRPCProtobufInternal.ErrorDetails
  9. funcstatic help(GRPCProtobufInternal.ErrorDetails.Help) -> GRPCProtobufInternal.ErrorDetails
  10. funcstatic localizedMessage(locale: String, message: String) -> GRPCProtobufInternal.ErrorDetails
  11. funcstatic localizedMessage(GRPCProtobufInternal.ErrorDetails.LocalizedMessage) -> GRPCProtobufInternal.ErrorDetails
  12. funcstatic preconditionFailure(violations: [GRPCProtobufInternal.ErrorDetails.PreconditionFailure.Violation]) -> GRPCProtobufInternal.ErrorDetails
  13. funcstatic preconditionFailure(GRPCProtobufInternal.ErrorDetails.PreconditionFailure) -> GRPCProtobufInternal.ErrorDetails
  14. funcstatic quotaFailure(violations: [GRPCProtobufInternal.ErrorDetails.QuotaFailure.Violation]) -> GRPCProtobufInternal.ErrorDetails
  15. funcstatic quotaFailure(GRPCProtobufInternal.ErrorDetails.QuotaFailure) -> GRPCProtobufInternal.ErrorDetails
  16. funcstatic requestInfo(requestID: String, servingData: String) -> GRPCProtobufInternal.ErrorDetails
  17. funcstatic requestInfo(GRPCProtobufInternal.ErrorDetails.RequestInfo) -> GRPCProtobufInternal.ErrorDetails
  18. funcstatic resourceInfo(type: String, name: String, errorDescription: String, owner: String) -> GRPCProtobufInternal.ErrorDetails
  19. funcstatic resourceInfo(GRPCProtobufInternal.ErrorDetails.ResourceInfo) -> GRPCProtobufInternal.ErrorDetails
  20. funcstatic retryInfo(delay: Duration) -> GRPCProtobufInternal.ErrorDetails
  21. funcstatic retryInfo(GRPCProtobufInternal.ErrorDetails.RetryInfo) -> GRPCProtobufInternal.ErrorDetails
  22. fieldvar wrapped: GRPCProtobufInternal.ErrorDetails.Wrapped
  23. varvar any: InternalSwiftProtobuf.Google_Protobuf_Any? { get }
  24. varvar badRequest: GRPCProtobufInternal.ErrorDetails.BadRequest? { get }
  25. varvar debugInfo: GRPCProtobufInternal.ErrorDetails.DebugInfo? { get }
  26. varvar description: String { get }
  27. varvar errorInfo: GRPCProtobufInternal.ErrorDetails.ErrorInfo? { get }
  28. varvar help: GRPCProtobufInternal.ErrorDetails.Help? { get }
  29. varvar localizedMessage: GRPCProtobufInternal.ErrorDetails.LocalizedMessage? { get }
  30. varvar preconditionFailure: GRPCProtobufInternal.ErrorDetails.PreconditionFailure? { get }
  31. varvar quotaFailure: GRPCProtobufInternal.ErrorDetails.QuotaFailure? { get }
  32. varvar requestInfo: GRPCProtobufInternal.ErrorDetails.RequestInfo? { get }
  33. varvar resourceInfo: GRPCProtobufInternal.ErrorDetails.ResourceInfo? { get }
  34. varvar retryInfo: GRPCProtobufInternal.ErrorDetails.RetryInfo? { get }
struct ErrorDetails {
    enum Wrapped {
        case errorInfo(GRPCProtobufInternal.ErrorDetails.ErrorInfo)
        case retryInfo(GRPCProtobufInternal.ErrorDetails.RetryInfo)
        case debugInfo(GRPCProtobufInternal.ErrorDetails.DebugInfo)
        case quotaFailure(GRPCProtobufInternal.ErrorDetails.QuotaFailure)
        case preconditionFailure(GRPCProtobufInternal.ErrorDetails.PreconditionFailure)
        case badRequest(GRPCProtobufInternal.ErrorDetails.BadRequest)
        case requestInfo(GRPCProtobufInternal.ErrorDetails.RequestInfo)
        case resourceInfo(GRPCProtobufInternal.ErrorDetails.ResourceInfo)
        case help(GRPCProtobufInternal.ErrorDetails.Help)
        case localizedMessage(GRPCProtobufInternal.ErrorDetails.LocalizedMessage)
        case any(InternalSwiftProtobuf.Google_Protobuf_Any)
    }
    struct ErrorInfo {
        var storage: GRPCProtobufInternal.Google_Rpc_ErrorInfo

        init(reason: Swift.String, domain: Swift.String, metadata: [Swift.String : Swift.String])

        var description: Swift.String {
            get
        }
        var domain: Swift.String {
            get
            set
        }
        var metadata: [Swift.String : Swift.String] {
            get
            set
        }
        var reason: Swift.String {
            get
            set
        }
    }
    struct RetryInfo {
        var delay: Swift.Duration

        init(delay: Swift.Duration)
    }
    struct DebugInfo {
        var storage: GRPCProtobufInternal.Google_Rpc_DebugInfo

        init(stack: [Swift.String], detail: Swift.String)

        var description: Swift.String {
            get
        }
        var detail: Swift.String {
            get
            set
        }
        var stack: [Swift.String] {
            get
            set
        }
    }
    struct QuotaFailure {
        struct Violation {
            var subject: Swift.String
            var violationDescription: Swift.String

            init(subject: Swift.String, description: Swift.String)

            var description: Swift.String {
                get
            }
        }
        var violations: [GRPCProtobufInternal.ErrorDetails.QuotaFailure.Violation]

        init(violations: [GRPCProtobufInternal.ErrorDetails.QuotaFailure.Violation])
    }
    struct PreconditionFailure {
        struct Violation {
            var type: Swift.String
            var subject: Swift.String
            var violationDescription: Swift.String

            init(type: Swift.String, subject: Swift.String, description: Swift.String)

            var description: Swift.String {
                get
            }
        }
        var violations: [GRPCProtobufInternal.ErrorDetails.PreconditionFailure.Violation]

        init(violations: [GRPCProtobufInternal.ErrorDetails.PreconditionFailure.Violation])
    }
    struct BadRequest {
        struct FieldViolation {
            var field: Swift.String
            var violationDescription: Swift.String

            init(field: Swift.String, description: Swift.String)

            var description: Swift.String {
                get
            }
        }
        var violations: [GRPCProtobufInternal.ErrorDetails.BadRequest.FieldViolation]

        init(violations: [GRPCProtobufInternal.ErrorDetails.BadRequest.FieldViolation])
    }
    struct RequestInfo {
        var storage: GRPCProtobufInternal.Google_Rpc_RequestInfo

        init(requestID: Swift.String, servingData: Swift.String)

        var description: Swift.String {
            get
        }
        var requestID: Swift.String {
            get
            set
        }
        var servingData: Swift.String {
            get
            set
        }
    }
    struct ResourceInfo {
        var storage: GRPCProtobufInternal.Google_Rpc_ResourceInfo

        init(type: Swift.String, name: Swift.String, errorDescription: Swift.String, owner: Swift.String)

        var description: Swift.String {
            get
        }
        var errorDescription: Swift.String {
            get
            set
        }
        var name: Swift.String {
            get
            set
        }
        var owner: Swift.String {
            get
            set
        }
        var type: Swift.String {
            get
            set
        }
    }
    struct Help {
        struct Link {
            var url: Swift.String
            var linkDescription: Swift.String

            init(url: Swift.String, description: Swift.String)

            var description: Swift.String {
                get
            }
        }
        var links: [GRPCProtobufInternal.ErrorDetails.Help.Link]

        init(links: [GRPCProtobufInternal.ErrorDetails.Help.Link])
    }
    struct LocalizedMessage {
        var storage: GRPCProtobufInternal.Google_Rpc_LocalizedMessage

        init(locale: Swift.String, message: Swift.String)

        var description: Swift.String {
            get
        }
        var locale: Swift.String {
            get
            set
        }
        var message: Swift.String {
            get
            set
        }
    }
    var wrapped: GRPCProtobufInternal.ErrorDetails.Wrapped

    var any: InternalSwiftProtobuf.Google_Protobuf_Any? {
        get
    }
    var badRequest: GRPCProtobufInternal.ErrorDetails.BadRequest? {
        get
    }
    var debugInfo: GRPCProtobufInternal.ErrorDetails.DebugInfo? {
        get
    }
    var description: Swift.String {
        get
    }
    var errorInfo: GRPCProtobufInternal.ErrorDetails.ErrorInfo? {
        get
    }
    var help: GRPCProtobufInternal.ErrorDetails.Help? {
        get
    }
    var localizedMessage: GRPCProtobufInternal.ErrorDetails.LocalizedMessage? {
        get
    }
    var preconditionFailure: GRPCProtobufInternal.ErrorDetails.PreconditionFailure? {
        get
    }
    var quotaFailure: GRPCProtobufInternal.ErrorDetails.QuotaFailure? {
        get
    }
    var requestInfo: GRPCProtobufInternal.ErrorDetails.RequestInfo? {
        get
    }
    var resourceInfo: GRPCProtobufInternal.ErrorDetails.ResourceInfo? {
        get
    }
    var retryInfo: GRPCProtobufInternal.ErrorDetails.RetryInfo? {
        get
    }

    static func badRequest(violations: [GRPCProtobufInternal.ErrorDetails.BadRequest.FieldViolation]) -> GRPCProtobufInternal.ErrorDetails
    static func badRequest(_: GRPCProtobufInternal.ErrorDetails.BadRequest) -> GRPCProtobufInternal.ErrorDetails
    static func requestInfo(requestID: Swift.String, servingData: Swift.String) -> GRPCProtobufInternal.ErrorDetails
    static func requestInfo(_: GRPCProtobufInternal.ErrorDetails.RequestInfo) -> GRPCProtobufInternal.ErrorDetails
    static func quotaFailure(violations: [GRPCProtobufInternal.ErrorDetails.QuotaFailure.Violation]) -> GRPCProtobufInternal.ErrorDetails
    static func quotaFailure(_: GRPCProtobufInternal.ErrorDetails.QuotaFailure) -> GRPCProtobufInternal.ErrorDetails
    static func resourceInfo(type: Swift.String, name: Swift.String, errorDescription: Swift.String, owner: Swift.String) -> GRPCProtobufInternal.ErrorDetails
    static func resourceInfo(_: GRPCProtobufInternal.ErrorDetails.ResourceInfo) -> GRPCProtobufInternal.ErrorDetails
    static func localizedMessage(locale: Swift.String, message: Swift.String) -> GRPCProtobufInternal.ErrorDetails
    static func localizedMessage(_: GRPCProtobufInternal.ErrorDetails.LocalizedMessage) -> GRPCProtobufInternal.ErrorDetails
    static func preconditionFailure(violations: [GRPCProtobufInternal.ErrorDetails.PreconditionFailure.Violation]) -> GRPCProtobufInternal.ErrorDetails
    static func preconditionFailure(_: GRPCProtobufInternal.ErrorDetails.PreconditionFailure) -> GRPCProtobufInternal.ErrorDetails
    static func any(_: InternalSwiftProtobuf.Google_Protobuf_Any) -> GRPCProtobufInternal.ErrorDetails
    static func help(links: [GRPCProtobufInternal.ErrorDetails.Help.Link]) -> GRPCProtobufInternal.ErrorDetails
    static func help(_: GRPCProtobufInternal.ErrorDetails.Help) -> GRPCProtobufInternal.ErrorDetails
    static func debugInfo(stack: [Swift.String], detail: Swift.String) -> GRPCProtobufInternal.ErrorDetails
    static func debugInfo(_: GRPCProtobufInternal.ErrorDetails.DebugInfo) -> GRPCProtobufInternal.ErrorDetails
    static func errorInfo(reason: Swift.String, domain: Swift.String, metadata: [Swift.String : Swift.String]) -> GRPCProtobufInternal.ErrorDetails
    static func errorInfo(_: GRPCProtobufInternal.ErrorDetails.ErrorInfo) -> GRPCProtobufInternal.ErrorDetails
    static func retryInfo(delay: Swift.Duration) -> GRPCProtobufInternal.ErrorDetails
    static func retryInfo(_: GRPCProtobufInternal.ErrorDetails.RetryInfo) -> GRPCProtobufInternal.ErrorDetails
}