// Code generated by protoc-gen-go. DO NOT EDIT.
// source: error.proto

package external

import (
	fmt "fmt"
	proto "github.com/golang/protobuf/proto"
	math "math"
)

// 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.ProtoPackageIsVersion3 // please upgrade the proto package

type Error struct {
	Code                 int64        `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Message              string       `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	DataError            []*DataError `protobuf:"bytes,3,rep,name=dataError,proto3" json:"dataError,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_0579b252106fcf4a, []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 (m *Error) XXX_Merge(src proto.Message) {
	xxx_messageInfo_Error.Merge(m, 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) GetCode() int64 {
	if m != nil {
		return m.Code
	}
	return 0
}

func (m *Error) GetMessage() string {
	if m != nil {
		return m.Message
	}
	return ""
}

func (m *Error) GetDataError() []*DataError {
	if m != nil {
		return m.DataError
	}
	return nil
}

type DataError struct {
	Code                 int64    `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Description          string   `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *DataError) Reset()         { *m = DataError{} }
func (m *DataError) String() string { return proto.CompactTextString(m) }
func (*DataError) ProtoMessage()    {}
func (*DataError) Descriptor() ([]byte, []int) {
	return fileDescriptor_0579b252106fcf4a, []int{1}
}

func (m *DataError) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_DataError.Unmarshal(m, b)
}
func (m *DataError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_DataError.Marshal(b, m, deterministic)
}
func (m *DataError) XXX_Merge(src proto.Message) {
	xxx_messageInfo_DataError.Merge(m, src)
}
func (m *DataError) XXX_Size() int {
	return xxx_messageInfo_DataError.Size(m)
}
func (m *DataError) XXX_DiscardUnknown() {
	xxx_messageInfo_DataError.DiscardUnknown(m)
}

var xxx_messageInfo_DataError proto.InternalMessageInfo

func (m *DataError) GetCode() int64 {
	if m != nil {
		return m.Code
	}
	return 0
}

func (m *DataError) GetDescription() string {
	if m != nil {
		return m.Description
	}
	return ""
}

func init() {
	proto.RegisterType((*Error)(nil), "dto.Error")
	proto.RegisterType((*DataError)(nil), "dto.DataError")
}

func init() { proto.RegisterFile("error.proto", fileDescriptor_0579b252106fcf4a) }

var fileDescriptor_0579b252106fcf4a = []byte{
	// 160 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x4e, 0x2d, 0x2a, 0xca,
	0x2f, 0xd2, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x4e, 0x29, 0xc9, 0x57, 0x4a, 0xe6, 0x62,
	0x75, 0x05, 0x89, 0x09, 0x09, 0x71, 0xb1, 0x24, 0xe7, 0xa7, 0xa4, 0x4a, 0x30, 0x2a, 0x30, 0x6a,
	0x30, 0x07, 0x81, 0xd9, 0x42, 0x12, 0x5c, 0xec, 0xb9, 0xa9, 0xc5, 0xc5, 0x89, 0xe9, 0xa9, 0x12,
	0x4c, 0x0a, 0x8c, 0x1a, 0x9c, 0x41, 0x30, 0xae, 0x90, 0x0e, 0x17, 0x67, 0x4a, 0x62, 0x49, 0x22,
	0x58, 0xab, 0x04, 0xb3, 0x02, 0xb3, 0x06, 0xb7, 0x11, 0x9f, 0x5e, 0x4a, 0x49, 0xbe, 0x9e, 0x0b,
	0x4c, 0x34, 0x08, 0xa1, 0x40, 0xc9, 0x91, 0x8b, 0x13, 0x2e, 0x8e, 0xd5, 0x22, 0x05, 0x2e, 0xee,
	0x94, 0xd4, 0xe2, 0xe4, 0xa2, 0xcc, 0x82, 0x92, 0xcc, 0xfc, 0x3c, 0xa8, 0x65, 0xc8, 0x42, 0x4e,
	0x3c, 0x51, 0x5c, 0x7a, 0xd6, 0xa9, 0x15, 0x25, 0xa9, 0x45, 0x79, 0x89, 0x39, 0x49, 0x6c, 0x60,
	0x1f, 0x18, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x13, 0x72, 0xf8, 0x6f, 0xd0, 0x00, 0x00, 0x00,
}
