| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365 | 
							- // Code generated by protoc-gen-go. DO NOT EDIT.
 
- // versions:
 
- // 	protoc-gen-go v1.28.1
 
- // 	protoc        v3.21.9
 
- // source: backend/common/errors.proto
 
- package commonPb
 
- import (
 
- 	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
 
- 	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
 
- 	reflect "reflect"
 
- 	sync "sync"
 
- )
 
- const (
 
- 	// Verify that this generated code is sufficiently up-to-date.
 
- 	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
 
- 	// Verify that runtime/protoimpl is sufficiently up-to-date.
 
- 	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
 
- )
 
- type Error_Code int32
 
- const (
 
- 	Error_OK Error_Code = 0
 
- 	// 鉴权
 
- 	Error_UNAUTHORIZED Error_Code = 10000
 
- 	// 通用请求错误
 
- 	Error_BAD_REQUEST              Error_Code = 11000
 
- 	Error_INVALID_CONTENT_TYPE     Error_Code = 11001
 
- 	Error_INVALID_CONTENT_ENCODING Error_Code = 11002
 
- 	Error_TOO_MANY_REQUESTS        Error_Code = 11003
 
- 	// Config
 
- 	Error_INVALID_STORAGE_TYPE Error_Code = 11100
 
- 	// DataEvent
 
- 	Error_INVALID_DE_DATA Error_Code = 11200
 
- 	// Checkin
 
- 	Error_CHECKIN_REPEATED Error_Code = 20000
 
- 	// Course
 
- 	Error_COURSE_NOT_FOUND Error_Code = 21000
 
- 	// 课程没有权益
 
- 	Error_COURSE_NOT_INTEREST Error_Code = 21001
 
- 	// Recommend
 
- 	Error_MODULE_NOT_FOUND Error_Code = 22000
 
- 	// User Course
 
- 	Error_USER_COURSE_ALREADY_ADDED Error_Code = 23000
 
- 	Error_USER_COURSE_NOT_FOUND     Error_Code = 23001
 
- 	// PT
 
- 	Error_PT_LIMITED Error_Code = 24000
 
- 	// 无效的价格
 
- 	Error_INVALID_PRICE Error_Code = 24100
 
- 	// 无效的 product ID
 
- 	Error_INVALID_PRODUCT_ID Error_Code = 24101
 
- 	// 无效的订单号
 
- 	Error_INVALID_ORDER_NUMBER Error_Code = 24102
 
- 	// 无效的用户 ID
 
- 	Error_INVALID_USER_ID Error_Code = 24103
 
- 	// 无效的收据
 
- 	Error_INVALID_RECEIPT Error_Code = 24104
 
- 	// 异常的 iOS 收据,需要客户端 check 和重试
 
- 	Error_EMPTY_IOS_RECEIPT Error_Code = 24105
 
- 	// UserPlan 相关
 
- 	// 免费用户限制 plan 课程数量
 
- 	Error_USER_PLAN_LIMITED_COURSE_COUNT Error_Code = 24300
 
- 	// ========= SYSTEM =========
 
- 	// 服务自身错误
 
- 	Error_INTERNAL_ERROR Error_Code = 90000
 
- 	// JSONPB encoding/decoding with error
 
- 	Error_JSONPB_ERROR Error_Code = 90100
 
- 	// JSON encoding/decoding with error
 
- 	Error_JSON_ERROR Error_Code = 90101
 
- 	// PB encoding/decoding with error
 
- 	Error_PB_ERROR Error_Code = 90102
 
- 	// 依赖服务错误
 
- 	Error_EXTERNAL_ERROR Error_Code = 91000
 
- )
 
- // Enum value maps for Error_Code.
 
- var (
 
- 	Error_Code_name = map[int32]string{
 
- 		0:     "OK",
 
- 		10000: "UNAUTHORIZED",
 
- 		11000: "BAD_REQUEST",
 
- 		11001: "INVALID_CONTENT_TYPE",
 
- 		11002: "INVALID_CONTENT_ENCODING",
 
- 		11003: "TOO_MANY_REQUESTS",
 
- 		11100: "INVALID_STORAGE_TYPE",
 
- 		11200: "INVALID_DE_DATA",
 
- 		20000: "CHECKIN_REPEATED",
 
- 		21000: "COURSE_NOT_FOUND",
 
- 		21001: "COURSE_NOT_INTEREST",
 
- 		22000: "MODULE_NOT_FOUND",
 
- 		23000: "USER_COURSE_ALREADY_ADDED",
 
- 		23001: "USER_COURSE_NOT_FOUND",
 
- 		24000: "PT_LIMITED",
 
- 		24100: "INVALID_PRICE",
 
- 		24101: "INVALID_PRODUCT_ID",
 
- 		24102: "INVALID_ORDER_NUMBER",
 
- 		24103: "INVALID_USER_ID",
 
- 		24104: "INVALID_RECEIPT",
 
- 		24105: "EMPTY_IOS_RECEIPT",
 
- 		24300: "USER_PLAN_LIMITED_COURSE_COUNT",
 
- 		90000: "INTERNAL_ERROR",
 
- 		90100: "JSONPB_ERROR",
 
- 		90101: "JSON_ERROR",
 
- 		90102: "PB_ERROR",
 
- 		91000: "EXTERNAL_ERROR",
 
- 	}
 
- 	Error_Code_value = map[string]int32{
 
- 		"OK":                             0,
 
- 		"UNAUTHORIZED":                   10000,
 
- 		"BAD_REQUEST":                    11000,
 
- 		"INVALID_CONTENT_TYPE":           11001,
 
- 		"INVALID_CONTENT_ENCODING":       11002,
 
- 		"TOO_MANY_REQUESTS":              11003,
 
- 		"INVALID_STORAGE_TYPE":           11100,
 
- 		"INVALID_DE_DATA":                11200,
 
- 		"CHECKIN_REPEATED":               20000,
 
- 		"COURSE_NOT_FOUND":               21000,
 
- 		"COURSE_NOT_INTEREST":            21001,
 
- 		"MODULE_NOT_FOUND":               22000,
 
- 		"USER_COURSE_ALREADY_ADDED":      23000,
 
- 		"USER_COURSE_NOT_FOUND":          23001,
 
- 		"PT_LIMITED":                     24000,
 
- 		"INVALID_PRICE":                  24100,
 
- 		"INVALID_PRODUCT_ID":             24101,
 
- 		"INVALID_ORDER_NUMBER":           24102,
 
- 		"INVALID_USER_ID":                24103,
 
- 		"INVALID_RECEIPT":                24104,
 
- 		"EMPTY_IOS_RECEIPT":              24105,
 
- 		"USER_PLAN_LIMITED_COURSE_COUNT": 24300,
 
- 		"INTERNAL_ERROR":                 90000,
 
- 		"JSONPB_ERROR":                   90100,
 
- 		"JSON_ERROR":                     90101,
 
- 		"PB_ERROR":                       90102,
 
- 		"EXTERNAL_ERROR":                 91000,
 
- 	}
 
- )
 
- func (x Error_Code) Enum() *Error_Code {
 
- 	p := new(Error_Code)
 
- 	*p = x
 
- 	return p
 
- }
 
- func (x Error_Code) String() string {
 
- 	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
 
- }
 
- func (Error_Code) Descriptor() protoreflect.EnumDescriptor {
 
- 	return file_backend_common_errors_proto_enumTypes[0].Descriptor()
 
- }
 
- func (Error_Code) Type() protoreflect.EnumType {
 
- 	return &file_backend_common_errors_proto_enumTypes[0]
 
- }
 
- func (x Error_Code) Number() protoreflect.EnumNumber {
 
- 	return protoreflect.EnumNumber(x)
 
- }
 
- // Deprecated: Use Error_Code.Descriptor instead.
 
- func (Error_Code) EnumDescriptor() ([]byte, []int) {
 
- 	return file_backend_common_errors_proto_rawDescGZIP(), []int{0, 0}
 
- }
 
- type Error struct {
 
- 	state         protoimpl.MessageState
 
- 	sizeCache     protoimpl.SizeCache
 
- 	unknownFields protoimpl.UnknownFields
 
- 	// 业务错误码
 
- 	Code Error_Code `protobuf:"varint,1,opt,name=code,proto3,enum=backend.common.Error_Code" json:"code,omitempty"`
 
- 	// 错误信息
 
- 	Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
 
- 	// 补充错误信息
 
- 	// @optional
 
- 	Errors []string `protobuf:"bytes,3,rep,name=errors,proto3" json:"errors,omitempty"`
 
- }
 
- func (x *Error) Reset() {
 
- 	*x = Error{}
 
- 	if protoimpl.UnsafeEnabled {
 
- 		mi := &file_backend_common_errors_proto_msgTypes[0]
 
- 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 
- 		ms.StoreMessageInfo(mi)
 
- 	}
 
- }
 
- func (x *Error) String() string {
 
- 	return protoimpl.X.MessageStringOf(x)
 
- }
 
- func (*Error) ProtoMessage() {}
 
- func (x *Error) ProtoReflect() protoreflect.Message {
 
- 	mi := &file_backend_common_errors_proto_msgTypes[0]
 
- 	if protoimpl.UnsafeEnabled && x != nil {
 
- 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 
- 		if ms.LoadMessageInfo() == nil {
 
- 			ms.StoreMessageInfo(mi)
 
- 		}
 
- 		return ms
 
- 	}
 
- 	return mi.MessageOf(x)
 
- }
 
- // Deprecated: Use Error.ProtoReflect.Descriptor instead.
 
- func (*Error) Descriptor() ([]byte, []int) {
 
- 	return file_backend_common_errors_proto_rawDescGZIP(), []int{0}
 
- }
 
- func (x *Error) GetCode() Error_Code {
 
- 	if x != nil {
 
- 		return x.Code
 
- 	}
 
- 	return Error_OK
 
- }
 
- func (x *Error) GetMsg() string {
 
- 	if x != nil {
 
- 		return x.Msg
 
- 	}
 
- 	return ""
 
- }
 
- func (x *Error) GetErrors() []string {
 
- 	if x != nil {
 
- 		return x.Errors
 
- 	}
 
- 	return nil
 
- }
 
- var File_backend_common_errors_proto protoreflect.FileDescriptor
 
- var file_backend_common_errors_proto_rawDesc = []byte{
 
- 	0x0a, 0x1b, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
 
- 	0x2f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x62,
 
- 	0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x22, 0xf5, 0x06,
 
- 	0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x2e, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18,
 
- 	0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e,
 
- 	0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x2e, 0x43, 0x6f, 0x64,
 
- 	0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02,
 
- 	0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72,
 
- 	0x6f, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72,
 
- 	0x73, 0x22, 0x91, 0x06, 0x0a, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x06, 0x0a, 0x02, 0x4f, 0x4b,
 
- 	0x10, 0x00, 0x12, 0x11, 0x0a, 0x0c, 0x55, 0x4e, 0x41, 0x55, 0x54, 0x48, 0x4f, 0x52, 0x49, 0x5a,
 
- 	0x45, 0x44, 0x10, 0x90, 0x4e, 0x12, 0x10, 0x0a, 0x0b, 0x42, 0x41, 0x44, 0x5f, 0x52, 0x45, 0x51,
 
- 	0x55, 0x45, 0x53, 0x54, 0x10, 0xf8, 0x55, 0x12, 0x19, 0x0a, 0x14, 0x49, 0x4e, 0x56, 0x41, 0x4c,
 
- 	0x49, 0x44, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x10,
 
- 	0xf9, 0x55, 0x12, 0x1d, 0x0a, 0x18, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x43, 0x4f,
 
- 	0x4e, 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x49, 0x4e, 0x47, 0x10, 0xfa,
 
- 	0x55, 0x12, 0x16, 0x0a, 0x11, 0x54, 0x4f, 0x4f, 0x5f, 0x4d, 0x41, 0x4e, 0x59, 0x5f, 0x52, 0x45,
 
- 	0x51, 0x55, 0x45, 0x53, 0x54, 0x53, 0x10, 0xfb, 0x55, 0x12, 0x19, 0x0a, 0x14, 0x49, 0x4e, 0x56,
 
- 	0x41, 0x4c, 0x49, 0x44, 0x5f, 0x53, 0x54, 0x4f, 0x52, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50,
 
- 	0x45, 0x10, 0xdc, 0x56, 0x12, 0x14, 0x0a, 0x0f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f,
 
- 	0x44, 0x45, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x10, 0xc0, 0x57, 0x12, 0x16, 0x0a, 0x10, 0x43, 0x48,
 
- 	0x45, 0x43, 0x4b, 0x49, 0x4e, 0x5f, 0x52, 0x45, 0x50, 0x45, 0x41, 0x54, 0x45, 0x44, 0x10, 0xa0,
 
- 	0x9c, 0x01, 0x12, 0x16, 0x0a, 0x10, 0x43, 0x4f, 0x55, 0x52, 0x53, 0x45, 0x5f, 0x4e, 0x4f, 0x54,
 
- 	0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x88, 0xa4, 0x01, 0x12, 0x19, 0x0a, 0x13, 0x43, 0x4f,
 
- 	0x55, 0x52, 0x53, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x45, 0x53,
 
- 	0x54, 0x10, 0x89, 0xa4, 0x01, 0x12, 0x16, 0x0a, 0x10, 0x4d, 0x4f, 0x44, 0x55, 0x4c, 0x45, 0x5f,
 
- 	0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0xf0, 0xab, 0x01, 0x12, 0x1f, 0x0a,
 
- 	0x19, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x43, 0x4f, 0x55, 0x52, 0x53, 0x45, 0x5f, 0x41, 0x4c, 0x52,
 
- 	0x45, 0x41, 0x44, 0x59, 0x5f, 0x41, 0x44, 0x44, 0x45, 0x44, 0x10, 0xd8, 0xb3, 0x01, 0x12, 0x1b,
 
- 	0x0a, 0x15, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x43, 0x4f, 0x55, 0x52, 0x53, 0x45, 0x5f, 0x4e, 0x4f,
 
- 	0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0xd9, 0xb3, 0x01, 0x12, 0x10, 0x0a, 0x0a, 0x50,
 
- 	0x54, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x45, 0x44, 0x10, 0xc0, 0xbb, 0x01, 0x12, 0x13, 0x0a,
 
- 	0x0d, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x50, 0x52, 0x49, 0x43, 0x45, 0x10, 0xa4,
 
- 	0xbc, 0x01, 0x12, 0x18, 0x0a, 0x12, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x50, 0x52,
 
- 	0x4f, 0x44, 0x55, 0x43, 0x54, 0x5f, 0x49, 0x44, 0x10, 0xa5, 0xbc, 0x01, 0x12, 0x1a, 0x0a, 0x14,
 
- 	0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x5f, 0x4e, 0x55,
 
- 	0x4d, 0x42, 0x45, 0x52, 0x10, 0xa6, 0xbc, 0x01, 0x12, 0x15, 0x0a, 0x0f, 0x49, 0x4e, 0x56, 0x41,
 
- 	0x4c, 0x49, 0x44, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x49, 0x44, 0x10, 0xa7, 0xbc, 0x01, 0x12,
 
- 	0x15, 0x0a, 0x0f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x52, 0x45, 0x43, 0x45, 0x49,
 
- 	0x50, 0x54, 0x10, 0xa8, 0xbc, 0x01, 0x12, 0x17, 0x0a, 0x11, 0x45, 0x4d, 0x50, 0x54, 0x59, 0x5f,
 
- 	0x49, 0x4f, 0x53, 0x5f, 0x52, 0x45, 0x43, 0x45, 0x49, 0x50, 0x54, 0x10, 0xa9, 0xbc, 0x01, 0x12,
 
- 	0x24, 0x0a, 0x1e, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x50, 0x4c, 0x41, 0x4e, 0x5f, 0x4c, 0x49, 0x4d,
 
- 	0x49, 0x54, 0x45, 0x44, 0x5f, 0x43, 0x4f, 0x55, 0x52, 0x53, 0x45, 0x5f, 0x43, 0x4f, 0x55, 0x4e,
 
- 	0x54, 0x10, 0xec, 0xbd, 0x01, 0x12, 0x14, 0x0a, 0x0e, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x4e, 0x41,
 
- 	0x4c, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x90, 0xbf, 0x05, 0x12, 0x12, 0x0a, 0x0c, 0x4a,
 
- 	0x53, 0x4f, 0x4e, 0x50, 0x42, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0xf4, 0xbf, 0x05, 0x12,
 
- 	0x10, 0x0a, 0x0a, 0x4a, 0x53, 0x4f, 0x4e, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0xf5, 0xbf,
 
- 	0x05, 0x12, 0x0e, 0x0a, 0x08, 0x50, 0x42, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0xf6, 0xbf,
 
- 	0x05, 0x12, 0x14, 0x0a, 0x0e, 0x45, 0x58, 0x54, 0x45, 0x52, 0x4e, 0x41, 0x4c, 0x5f, 0x45, 0x52,
 
- 	0x52, 0x4f, 0x52, 0x10, 0xf8, 0xc6, 0x05, 0x22, 0x05, 0x08, 0x01, 0x10, 0x8f, 0x4e, 0x22, 0x06,
 
- 	0x08, 0x91, 0x4e, 0x10, 0xf7, 0x55, 0x22, 0x06, 0x08, 0xfc, 0x55, 0x10, 0xdb, 0x56, 0x22, 0x06,
 
- 	0x08, 0xdd, 0x56, 0x10, 0xbf, 0x57, 0x22, 0x07, 0x08, 0xc1, 0x57, 0x10, 0x9f, 0x9c, 0x01, 0x22,
 
- 	0x08, 0x08, 0xa1, 0x9c, 0x01, 0x10, 0x87, 0xa4, 0x01, 0x22, 0x08, 0x08, 0x8a, 0xa4, 0x01, 0x10,
 
- 	0xef, 0xab, 0x01, 0x22, 0x08, 0x08, 0xf1, 0xab, 0x01, 0x10, 0xd7, 0xb3, 0x01, 0x22, 0x08, 0x08,
 
- 	0xda, 0xb3, 0x01, 0x10, 0xbf, 0xbb, 0x01, 0x22, 0x08, 0x08, 0xc1, 0xbb, 0x01, 0x10, 0xa3, 0xbc,
 
- 	0x01, 0x22, 0x08, 0x08, 0xaa, 0xbc, 0x01, 0x10, 0xeb, 0xbd, 0x01, 0x22, 0x08, 0x08, 0xd0, 0xbe,
 
- 	0x01, 0x10, 0x8f, 0xbf, 0x05, 0x22, 0x08, 0x08, 0x91, 0xbf, 0x05, 0x10, 0xf3, 0xbf, 0x05, 0x22,
 
- 	0x08, 0x08, 0xf7, 0xbf, 0x05, 0x10, 0xf7, 0xc6, 0x05, 0x22, 0x0a, 0x08, 0xf9, 0xc6, 0x05, 0x10,
 
- 	0xff, 0xff, 0xff, 0xff, 0x07, 0x42, 0x0c, 0x5a, 0x0a, 0x2e, 0x3b, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
 
- 	0x6e, 0x50, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
 
- }
 
- var (
 
- 	file_backend_common_errors_proto_rawDescOnce sync.Once
 
- 	file_backend_common_errors_proto_rawDescData = file_backend_common_errors_proto_rawDesc
 
- )
 
- func file_backend_common_errors_proto_rawDescGZIP() []byte {
 
- 	file_backend_common_errors_proto_rawDescOnce.Do(func() {
 
- 		file_backend_common_errors_proto_rawDescData = protoimpl.X.CompressGZIP(file_backend_common_errors_proto_rawDescData)
 
- 	})
 
- 	return file_backend_common_errors_proto_rawDescData
 
- }
 
- var file_backend_common_errors_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
 
- var file_backend_common_errors_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
 
- var file_backend_common_errors_proto_goTypes = []interface{}{
 
- 	(Error_Code)(0), // 0: backend.common.Error.Code
 
- 	(*Error)(nil),   // 1: backend.common.Error
 
- }
 
- var file_backend_common_errors_proto_depIdxs = []int32{
 
- 	0, // 0: backend.common.Error.code:type_name -> backend.common.Error.Code
 
- 	1, // [1:1] is the sub-list for method output_type
 
- 	1, // [1:1] is the sub-list for method input_type
 
- 	1, // [1:1] is the sub-list for extension type_name
 
- 	1, // [1:1] is the sub-list for extension extendee
 
- 	0, // [0:1] is the sub-list for field type_name
 
- }
 
- func init() { file_backend_common_errors_proto_init() }
 
- func file_backend_common_errors_proto_init() {
 
- 	if File_backend_common_errors_proto != nil {
 
- 		return
 
- 	}
 
- 	if !protoimpl.UnsafeEnabled {
 
- 		file_backend_common_errors_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
 
- 			switch v := v.(*Error); i {
 
- 			case 0:
 
- 				return &v.state
 
- 			case 1:
 
- 				return &v.sizeCache
 
- 			case 2:
 
- 				return &v.unknownFields
 
- 			default:
 
- 				return nil
 
- 			}
 
- 		}
 
- 	}
 
- 	type x struct{}
 
- 	out := protoimpl.TypeBuilder{
 
- 		File: protoimpl.DescBuilder{
 
- 			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
 
- 			RawDescriptor: file_backend_common_errors_proto_rawDesc,
 
- 			NumEnums:      1,
 
- 			NumMessages:   1,
 
- 			NumExtensions: 0,
 
- 			NumServices:   0,
 
- 		},
 
- 		GoTypes:           file_backend_common_errors_proto_goTypes,
 
- 		DependencyIndexes: file_backend_common_errors_proto_depIdxs,
 
- 		EnumInfos:         file_backend_common_errors_proto_enumTypes,
 
- 		MessageInfos:      file_backend_common_errors_proto_msgTypes,
 
- 	}.Build()
 
- 	File_backend_common_errors_proto = out.File
 
- 	file_backend_common_errors_proto_rawDesc = nil
 
- 	file_backend_common_errors_proto_goTypes = nil
 
- 	file_backend_common_errors_proto_depIdxs = nil
 
- }
 
 
  |