code_pb2.pyi 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. # Copyright 2025 Google LLC
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. from typing import ClassVar as _ClassVar
  15. from google.protobuf import descriptor as _descriptor
  16. from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
  17. DESCRIPTOR: _descriptor.FileDescriptor
  18. class Code(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
  19. __slots__ = ()
  20. OK: _ClassVar[Code]
  21. CANCELLED: _ClassVar[Code]
  22. UNKNOWN: _ClassVar[Code]
  23. INVALID_ARGUMENT: _ClassVar[Code]
  24. DEADLINE_EXCEEDED: _ClassVar[Code]
  25. NOT_FOUND: _ClassVar[Code]
  26. ALREADY_EXISTS: _ClassVar[Code]
  27. PERMISSION_DENIED: _ClassVar[Code]
  28. UNAUTHENTICATED: _ClassVar[Code]
  29. RESOURCE_EXHAUSTED: _ClassVar[Code]
  30. FAILED_PRECONDITION: _ClassVar[Code]
  31. ABORTED: _ClassVar[Code]
  32. OUT_OF_RANGE: _ClassVar[Code]
  33. UNIMPLEMENTED: _ClassVar[Code]
  34. INTERNAL: _ClassVar[Code]
  35. UNAVAILABLE: _ClassVar[Code]
  36. DATA_LOSS: _ClassVar[Code]
  37. OK: Code
  38. CANCELLED: Code
  39. UNKNOWN: Code
  40. INVALID_ARGUMENT: Code
  41. DEADLINE_EXCEEDED: Code
  42. NOT_FOUND: Code
  43. ALREADY_EXISTS: Code
  44. PERMISSION_DENIED: Code
  45. UNAUTHENTICATED: Code
  46. RESOURCE_EXHAUSTED: Code
  47. FAILED_PRECONDITION: Code
  48. ABORTED: Code
  49. OUT_OF_RANGE: Code
  50. UNIMPLEMENTED: Code
  51. INTERNAL: Code
  52. UNAVAILABLE: Code
  53. DATA_LOSS: Code