Coverage for src / mysingle / protos / common / error_pb2.py: 0%

25 statements  

« prev     ^ index     » next       coverage.py v7.12.0, created at 2025-12-02 00:58 +0900

1# -*- coding: utf-8 -*- 

2# Generated by the protocol buffer compiler. DO NOT EDIT! 

3# NO CHECKED-IN PROTOBUF GENCODE 

4# source: common/error.proto 

5# Protobuf Python Version: 6.33.1 

6"""Generated protocol buffer code.""" 

7 

8from google.protobuf import descriptor as _descriptor 

9from google.protobuf import descriptor_pool as _descriptor_pool 

10from google.protobuf import runtime_version as _runtime_version 

11from google.protobuf import symbol_database as _symbol_database 

12from google.protobuf.internal import builder as _builder 

13 

14_runtime_version.ValidateProtobufRuntimeVersion( 

15 _runtime_version.Domain.PUBLIC, 6, 33, 1, "", "common/error.proto" 

16) 

17# @@protoc_insertion_point(imports) 

18 

19_sym_db = _symbol_database.Default() 

20 

21 

22DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( 

23 b'\n\x12\x63ommon/error.proto\x12\x0cgenai.common\x1a\x1cgoogle/protobuf/struct.proto"\xa9\x02\n\x0b\x45rrorDetail\x12\x12\n\x04\x63ode\x18\x01 \x01(\tR\x04\x63ode\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message\x12\x37\n\x08severity\x18\x03 \x01(\x0e\x32\x1b.genai.common.ErrorSeverityR\x08severity\x12\x43\n\x08metadata\x18\x04 \x03(\x0b\x32\'.genai.common.ErrorDetail.MetadataEntryR\x08metadata\x12\x31\n\x07\x63ontext\x18\x05 \x01(\x0b\x32\x17.google.protobuf.StructR\x07\x63ontext\x1a;\n\rMetadataEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01"\xb2\x01\n\x11ValidationWarning\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message\x12\x12\n\x04line\x18\x02 \x01(\x05R\x04line\x12\x16\n\x06\x63olumn\x18\x03 \x01(\x05R\x06\x63olumn\x12\x37\n\x08severity\x18\x04 \x01(\x0e\x32\x1b.genai.common.ErrorSeverityR\x08severity\x12\x1e\n\nsuggestion\x18\x05 \x01(\tR\nsuggestion"\x86\x01\n\x11\x43onversionWarning\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message\x12\x37\n\x08severity\x18\x02 \x01(\x0e\x32\x1b.genai.common.ErrorSeverityR\x08severity\x12\x1e\n\nreversible\x18\x03 \x01(\x08R\nreversible*\x9b\x01\n\rErrorSeverity\x12\x1e\n\x1a\x45RROR_SEVERITY_UNSPECIFIED\x10\x00\x12\x17\n\x13\x45RROR_SEVERITY_INFO\x10\x01\x12\x1a\n\x16\x45RROR_SEVERITY_WARNING\x10\x02\x12\x18\n\x14\x45RROR_SEVERITY_ERROR\x10\x03\x12\x1b\n\x17\x45RROR_SEVERITY_CRITICAL\x10\x04\x62\x06proto3' 

24) 

25 

26_globals = globals() 

27_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) 

28_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "common.error_pb2", _globals) 

29if not _descriptor._USE_C_DESCRIPTORS: 

30 DESCRIPTOR._loaded_options = None 

31 _globals["_ERRORDETAIL_METADATAENTRY"]._loaded_options = None 

32 _globals["_ERRORDETAIL_METADATAENTRY"]._serialized_options = b"8\001" 

33 _globals["_ERRORSEVERITY"]._serialized_start = 685 

34 _globals["_ERRORSEVERITY"]._serialized_end = 840 

35 _globals["_ERRORDETAIL"]._serialized_start = 67 

36 _globals["_ERRORDETAIL"]._serialized_end = 364 

37 _globals["_ERRORDETAIL_METADATAENTRY"]._serialized_start = 305 

38 _globals["_ERRORDETAIL_METADATAENTRY"]._serialized_end = 364 

39 _globals["_VALIDATIONWARNING"]._serialized_start = 367 

40 _globals["_VALIDATIONWARNING"]._serialized_end = 545 

41 _globals["_CONVERSIONWARNING"]._serialized_start = 548 

42 _globals["_CONVERSIONWARNING"]._serialized_end = 682 

43# @@protoc_insertion_point(module_scope)