You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
96 lines
3.5 KiB
96 lines
3.5 KiB
// Code generated by protoc-gen-go. DO NOT EDIT. |
|
// source: error.proto |
|
|
|
package pb |
|
|
|
import proto "github.com/golang/protobuf/proto" |
|
import fmt "fmt" |
|
import math "math" |
|
import any "github.com/golang/protobuf/ptypes/any" |
|
|
|
// Reference imports to suppress errors if they are not otherwise used. |
|
var _ = proto.Marshal |
|
var _ = fmt.Errorf |
|
var _ = math.Inf |
|
|
|
// This is a compile-time assertion to ensure that this generated file |
|
// is compatible with the proto package it is being compiled against. |
|
// A compilation error at this line likely means your copy of the |
|
// proto package needs to be updated. |
|
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package |
|
|
|
// Deprecated: please use ecode.Error |
|
type Error struct { |
|
ErrCode int32 `protobuf:"varint,1,opt,name=err_code,json=errCode,proto3" json:"err_code,omitempty"` |
|
ErrMessage string `protobuf:"bytes,2,opt,name=err_message,json=errMessage,proto3" json:"err_message,omitempty"` |
|
ErrDetail *any.Any `protobuf:"bytes,3,opt,name=err_detail,json=errDetail,proto3" json:"err_detail,omitempty"` |
|
XXX_NoUnkeyedLiteral struct{} `json:"-"` |
|
XXX_unrecognized []byte `json:"-"` |
|
XXX_sizecache int32 `json:"-"` |
|
} |
|
|
|
func (m *Error) Reset() { *m = Error{} } |
|
func (m *Error) String() string { return proto.CompactTextString(m) } |
|
func (*Error) ProtoMessage() {} |
|
func (*Error) Descriptor() ([]byte, []int) { |
|
return fileDescriptor_error_28aad86a4e53115b, []int{0} |
|
} |
|
func (m *Error) XXX_Unmarshal(b []byte) error { |
|
return xxx_messageInfo_Error.Unmarshal(m, b) |
|
} |
|
func (m *Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
|
return xxx_messageInfo_Error.Marshal(b, m, deterministic) |
|
} |
|
func (dst *Error) XXX_Merge(src proto.Message) { |
|
xxx_messageInfo_Error.Merge(dst, src) |
|
} |
|
func (m *Error) XXX_Size() int { |
|
return xxx_messageInfo_Error.Size(m) |
|
} |
|
func (m *Error) XXX_DiscardUnknown() { |
|
xxx_messageInfo_Error.DiscardUnknown(m) |
|
} |
|
|
|
var xxx_messageInfo_Error proto.InternalMessageInfo |
|
|
|
func (m *Error) GetErrCode() int32 { |
|
if m != nil { |
|
return m.ErrCode |
|
} |
|
return 0 |
|
} |
|
|
|
func (m *Error) GetErrMessage() string { |
|
if m != nil { |
|
return m.ErrMessage |
|
} |
|
return "" |
|
} |
|
|
|
func (m *Error) GetErrDetail() *any.Any { |
|
if m != nil { |
|
return m.ErrDetail |
|
} |
|
return nil |
|
} |
|
|
|
func init() { |
|
proto.RegisterType((*Error)(nil), "err.Error") |
|
} |
|
|
|
func init() { proto.RegisterFile("error.proto", fileDescriptor_error_28aad86a4e53115b) } |
|
|
|
var fileDescriptor_error_28aad86a4e53115b = []byte{ |
|
// 164 bytes of a gzipped FileDescriptorProto |
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x34, 0x8d, 0xc1, 0xca, 0x82, 0x40, |
|
0x14, 0x85, 0x99, 0x5f, 0xfc, 0xcb, 0x71, 0x37, 0xb4, 0xd0, 0x36, 0x49, 0x2b, 0x57, 0x23, 0xe4, |
|
0x13, 0x44, 0xb5, 0x6c, 0xe3, 0x0b, 0x88, 0xe6, 0x49, 0x02, 0xf3, 0xc6, 0xd1, 0x20, 0xdf, 0x3e, |
|
0x1c, 0x69, 0x79, 0xcf, 0xf7, 0x71, 0x3f, 0x1d, 0x82, 0x14, 0xda, 0x17, 0x65, 0x14, 0xe3, 0x81, |
|
0xdc, 0xc6, 0xad, 0x48, 0xdb, 0x21, 0x73, 0x53, 0xfd, 0xbe, 0x67, 0x55, 0x3f, 0x2d, 0x7c, 0xff, |
|
0xd1, 0xfe, 0x65, 0xd6, 0x4d, 0xac, 0xd7, 0x20, 0xcb, 0x9b, 0x34, 0x88, 0x54, 0xa2, 0x52, 0xbf, |
|
0x58, 0x81, 0x3c, 0x49, 0x03, 0xb3, 0x73, 0x2f, 0xcb, 0x27, 0x86, 0xa1, 0x6a, 0x11, 0xfd, 0x25, |
|
0x2a, 0x0d, 0x0a, 0x0d, 0xf2, 0xba, 0x2c, 0x26, 0xd7, 0xf3, 0x55, 0x36, 0x18, 0xab, 0x47, 0x17, |
|
0x79, 0x89, 0x4a, 0xc3, 0xc3, 0xc6, 0x2e, 0x51, 0xfb, 0x8b, 0xda, 0x63, 0x3f, 0x15, 0x01, 0xc8, |
|
0xb3, 0xd3, 0xea, 0x7f, 0x07, 0xf2, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf7, 0x41, 0x22, 0xfd, |
|
0xaf, 0x00, 0x00, 0x00, |
|
}
|
|
|