perxis.common.error_pb2
Generated protocol buffer code.
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: 5.27.2 6"""Generated protocol buffer code.""" 7from google.protobuf import descriptor as _descriptor 8from google.protobuf import descriptor_pool as _descriptor_pool 9from google.protobuf import runtime_version as _runtime_version 10from google.protobuf import symbol_database as _symbol_database 11from google.protobuf.internal import builder as _builder 12_runtime_version.ValidateProtobufRuntimeVersion( 13 _runtime_version.Domain.PUBLIC, 14 5, 15 27, 16 2, 17 '', 18 'common/error.proto' 19) 20# @@protoc_insertion_point(imports) 21 22_sym_db = _symbol_database.Default() 23 24 25from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2 26 27 28DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x12\x63ommon/error.proto\x12\x06\x63ommon\x1a\x1cgoogle/protobuf/struct.proto\"\xe8\x05\n\x05\x45rror\x12\x12\n\nerror_code\x18\x01 \x01(\x04\x12\x10\n\x08\x65rror_id\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x0e\n\x06\x64omain\x18\x04 \x01(\t\x12\x0f\n\x07message\x18\x05 \x01(\t\x12\x0f\n\x07\x64\x65tails\x18\x06 \x01(\t\x12-\n\x08metadata\x18\t \x03(\x0b\x32\x1b.common.Error.MetadataEntry\x12-\n\x0b\x62\x61\x64_request\x18\n \x01(\x0b\x32\x18.common.Error.BadRequest\x12+\n\ndebug_info\x18\x0b \x01(\x0b\x32\x17.common.Error.DebugInfo\x12 \n\x04help\x18\x64 \x01(\x0b\x32\x12.common.Error.Help\x12;\n\x12localized_messages\x18\xc8\x01 \x03(\x0b\x32\x1e.common.Error.LocalizedMessage\x12\x1e\n\x06\x65rrors\x18\xf4\x03 \x03(\x0b\x32\r.common.Error\x1a{\n\nBadRequest\x12\x37\n\x06\x65rrors\x18\x01 \x03(\x0b\x32\'.common.Error.BadRequest.FieldViolation\x1a\x34\n\x0e\x46ieldViolation\x12\r\n\x05\x66ield\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x1aX\n\x04Help\x12&\n\x05links\x18\x01 \x03(\x0b\x32\x17.common.Error.Help.Link\x1a(\n\x04Link\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12\x0b\n\x03url\x18\x02 \x01(\t\x1a\x30\n\tDebugInfo\x12\x13\n\x0bstack_trace\x18\x01 \x03(\t\x12\x0e\n\x06\x64\x65tail\x18\x02 \x01(\t\x1a\x33\n\x10LocalizedMessage\x12\x0e\n\x06locale\x18\x01 \x01(\t\x12\x0f\n\x07message\x18\x02 \x01(\t\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x32Z0git.perx.ru/perxis/perxis-go/proto/common;commonb\x06proto3') 29 30_globals = globals() 31_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) 32_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'common.error_pb2', _globals) 33if not _descriptor._USE_C_DESCRIPTORS: 34 _globals['DESCRIPTOR']._loaded_options = None 35 _globals['DESCRIPTOR']._serialized_options = b'Z0git.perx.ru/perxis/perxis-go/proto/common;common' 36 _globals['_ERROR_METADATAENTRY']._loaded_options = None 37 _globals['_ERROR_METADATAENTRY']._serialized_options = b'8\001' 38 _globals['_ERROR']._serialized_start=61 39 _globals['_ERROR']._serialized_end=805 40 _globals['_ERROR_BADREQUEST']._serialized_start=440 41 _globals['_ERROR_BADREQUEST']._serialized_end=563 42 _globals['_ERROR_BADREQUEST_FIELDVIOLATION']._serialized_start=511 43 _globals['_ERROR_BADREQUEST_FIELDVIOLATION']._serialized_end=563 44 _globals['_ERROR_HELP']._serialized_start=565 45 _globals['_ERROR_HELP']._serialized_end=653 46 _globals['_ERROR_HELP_LINK']._serialized_start=613 47 _globals['_ERROR_HELP_LINK']._serialized_end=653 48 _globals['_ERROR_DEBUGINFO']._serialized_start=655 49 _globals['_ERROR_DEBUGINFO']._serialized_end=703 50 _globals['_ERROR_LOCALIZEDMESSAGE']._serialized_start=705 51 _globals['_ERROR_LOCALIZEDMESSAGE']._serialized_end=756 52 _globals['_ERROR_METADATAENTRY']._serialized_start=758 53 _globals['_ERROR_METADATAENTRY']._serialized_end=805 54# @@protoc_insertion_point(module_scope)
DESCRIPTOR =
<google.protobuf.descriptor.FileDescriptor object>