|
| 1 | +from google.protobuf.internal import containers as _containers |
| 2 | +from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper |
| 3 | +from google.protobuf import descriptor as _descriptor |
| 4 | +from google.protobuf import message as _message |
| 5 | +from collections.abc import Iterable as _Iterable, Mapping as _Mapping |
| 6 | +from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union |
| 7 | + |
| 8 | +DESCRIPTOR: _descriptor.FileDescriptor |
| 9 | + |
| 10 | +class Validation(_message.Message): |
| 11 | + __slots__ = ("id", "problem_id", "version", "status", "verdict", "error", "error_url", "total", "checked", "valid", "invalid", "groups") |
| 12 | + class Status(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): |
| 13 | + __slots__ = () |
| 14 | + NONE: _ClassVar[Validation.Status] |
| 15 | + PENDING: _ClassVar[Validation.Status] |
| 16 | + TESTING: _ClassVar[Validation.Status] |
| 17 | + COMPLETE: _ClassVar[Validation.Status] |
| 18 | + ERROR: _ClassVar[Validation.Status] |
| 19 | + FAILURE: _ClassVar[Validation.Status] |
| 20 | + SKIPPED: _ClassVar[Validation.Status] |
| 21 | + PROVISIONING: _ClassVar[Validation.Status] |
| 22 | + INITIALIZING: _ClassVar[Validation.Status] |
| 23 | + CANCELLED: _ClassVar[Validation.Status] |
| 24 | + NONE: Validation.Status |
| 25 | + PENDING: Validation.Status |
| 26 | + TESTING: Validation.Status |
| 27 | + COMPLETE: Validation.Status |
| 28 | + ERROR: Validation.Status |
| 29 | + FAILURE: Validation.Status |
| 30 | + SKIPPED: Validation.Status |
| 31 | + PROVISIONING: Validation.Status |
| 32 | + INITIALIZING: Validation.Status |
| 33 | + CANCELLED: Validation.Status |
| 34 | + class Verdict(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): |
| 35 | + __slots__ = () |
| 36 | + NO_VERDICT: _ClassVar[Validation.Verdict] |
| 37 | + VALID: _ClassVar[Validation.Verdict] |
| 38 | + INVALID: _ClassVar[Validation.Verdict] |
| 39 | + BROKEN: _ClassVar[Validation.Verdict] |
| 40 | + NO_VERDICT: Validation.Verdict |
| 41 | + VALID: Validation.Verdict |
| 42 | + INVALID: Validation.Verdict |
| 43 | + BROKEN: Validation.Verdict |
| 44 | + class Run(_message.Message): |
| 45 | + __slots__ = ("id", "index", "status", "verdict", "input_url", "output_url") |
| 46 | + ID_FIELD_NUMBER: _ClassVar[int] |
| 47 | + INDEX_FIELD_NUMBER: _ClassVar[int] |
| 48 | + STATUS_FIELD_NUMBER: _ClassVar[int] |
| 49 | + VERDICT_FIELD_NUMBER: _ClassVar[int] |
| 50 | + INPUT_URL_FIELD_NUMBER: _ClassVar[int] |
| 51 | + OUTPUT_URL_FIELD_NUMBER: _ClassVar[int] |
| 52 | + id: str |
| 53 | + index: int |
| 54 | + status: Validation.Status |
| 55 | + verdict: Validation.Verdict |
| 56 | + input_url: str |
| 57 | + output_url: str |
| 58 | + def __init__(self, id: _Optional[str] = ..., index: _Optional[int] = ..., status: _Optional[_Union[Validation.Status, str]] = ..., verdict: _Optional[_Union[Validation.Verdict, str]] = ..., input_url: _Optional[str] = ..., output_url: _Optional[str] = ...) -> None: ... |
| 59 | + class Group(_message.Message): |
| 60 | + __slots__ = ("index", "testset_id", "runs") |
| 61 | + INDEX_FIELD_NUMBER: _ClassVar[int] |
| 62 | + TESTSET_ID_FIELD_NUMBER: _ClassVar[int] |
| 63 | + RUNS_FIELD_NUMBER: _ClassVar[int] |
| 64 | + index: int |
| 65 | + testset_id: str |
| 66 | + runs: _containers.RepeatedCompositeFieldContainer[Validation.Run] |
| 67 | + def __init__(self, index: _Optional[int] = ..., testset_id: _Optional[str] = ..., runs: _Optional[_Iterable[_Union[Validation.Run, _Mapping]]] = ...) -> None: ... |
| 68 | + ID_FIELD_NUMBER: _ClassVar[int] |
| 69 | + PROBLEM_ID_FIELD_NUMBER: _ClassVar[int] |
| 70 | + VERSION_FIELD_NUMBER: _ClassVar[int] |
| 71 | + STATUS_FIELD_NUMBER: _ClassVar[int] |
| 72 | + VERDICT_FIELD_NUMBER: _ClassVar[int] |
| 73 | + ERROR_FIELD_NUMBER: _ClassVar[int] |
| 74 | + ERROR_URL_FIELD_NUMBER: _ClassVar[int] |
| 75 | + TOTAL_FIELD_NUMBER: _ClassVar[int] |
| 76 | + CHECKED_FIELD_NUMBER: _ClassVar[int] |
| 77 | + VALID_FIELD_NUMBER: _ClassVar[int] |
| 78 | + INVALID_FIELD_NUMBER: _ClassVar[int] |
| 79 | + GROUPS_FIELD_NUMBER: _ClassVar[int] |
| 80 | + id: str |
| 81 | + problem_id: str |
| 82 | + version: int |
| 83 | + status: Validation.Status |
| 84 | + verdict: Validation.Verdict |
| 85 | + error: str |
| 86 | + error_url: str |
| 87 | + total: int |
| 88 | + checked: int |
| 89 | + valid: int |
| 90 | + invalid: int |
| 91 | + groups: _containers.RepeatedCompositeFieldContainer[Validation.Group] |
| 92 | + def __init__(self, id: _Optional[str] = ..., problem_id: _Optional[str] = ..., version: _Optional[int] = ..., status: _Optional[_Union[Validation.Status, str]] = ..., verdict: _Optional[_Union[Validation.Verdict, str]] = ..., error: _Optional[str] = ..., error_url: _Optional[str] = ..., total: _Optional[int] = ..., checked: _Optional[int] = ..., valid: _Optional[int] = ..., invalid: _Optional[int] = ..., groups: _Optional[_Iterable[_Union[Validation.Group, _Mapping]]] = ...) -> None: ... |
0 commit comments