// Code generated by protoc-gen-go. DO NOT EDIT. // source: error_msg.proto package bhome_msg 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 ErrorCode int32 const ( ErrorCode_eSuccess ErrorCode = 0 ErrorCode_eError ErrorCode = 1 ErrorCode_eInvalidInput ErrorCode = 2 ErrorCode_eNotRegistered ErrorCode = 3 ErrorCode_eNotFound ErrorCode = 4 ErrorCode_eOffline ErrorCode = 5 ErrorCode_eNoRespond ErrorCode = 6 ErrorCode_eAddressNotMatch ErrorCode = 7 ) var ErrorCode_name = map[int32]string{ 0: "eSuccess", 1: "eError", 2: "eInvalidInput", 3: "eNotRegistered", 4: "eNotFound", 5: "eOffline", 6: "eNoRespond", 7: "eAddressNotMatch", } var ErrorCode_value = map[string]int32{ "eSuccess": 0, "eError": 1, "eInvalidInput": 2, "eNotRegistered": 3, "eNotFound": 4, "eOffline": 5, "eNoRespond": 6, "eAddressNotMatch": 7, } func (x ErrorCode) String() string { return proto.EnumName(ErrorCode_name, int32(x)) } func (ErrorCode) EnumDescriptor() ([]byte, []int) { return fileDescriptor_da93925f7641a6e0, []int{0} } type ErrorMsg struct { ErrCode ErrorCode `protobuf:"varint,1,opt,name=errCode,proto3,enum=bhome_msg.ErrorCode" json:"errCode,omitempty"` ErrString []byte `protobuf:"bytes,2,opt,name=errString,proto3" json:"errString,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ErrorMsg) Reset() { *m = ErrorMsg{} } func (m *ErrorMsg) String() string { return proto.CompactTextString(m) } func (*ErrorMsg) ProtoMessage() {} func (*ErrorMsg) Descriptor() ([]byte, []int) { return fileDescriptor_da93925f7641a6e0, []int{0} } func (m *ErrorMsg) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ErrorMsg.Unmarshal(m, b) } func (m *ErrorMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ErrorMsg.Marshal(b, m, deterministic) } func (m *ErrorMsg) XXX_Merge(src proto.Message) { xxx_messageInfo_ErrorMsg.Merge(m, src) } func (m *ErrorMsg) XXX_Size() int { return xxx_messageInfo_ErrorMsg.Size(m) } func (m *ErrorMsg) XXX_DiscardUnknown() { xxx_messageInfo_ErrorMsg.DiscardUnknown(m) } var xxx_messageInfo_ErrorMsg proto.InternalMessageInfo func (m *ErrorMsg) GetErrCode() ErrorCode { if m != nil { return m.ErrCode } return ErrorCode_eSuccess } func (m *ErrorMsg) GetErrString() []byte { if m != nil { return m.ErrString } return nil } func init() { proto.RegisterEnum("bhome_msg.ErrorCode", ErrorCode_name, ErrorCode_value) proto.RegisterType((*ErrorMsg)(nil), "bhome_msg.ErrorMsg") } func init() { proto.RegisterFile("error_msg.proto", fileDescriptor_da93925f7641a6e0) } var fileDescriptor_da93925f7641a6e0 = []byte{ // 243 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x44, 0x90, 0xc1, 0x4e, 0xc2, 0x40, 0x10, 0x40, 0x5d, 0xd0, 0x42, 0x47, 0x28, 0xeb, 0x84, 0x03, 0x07, 0x0f, 0xc4, 0x13, 0xf1, 0xb0, 0x26, 0xfa, 0x05, 0x6a, 0x34, 0x72, 0xa0, 0x26, 0xe5, 0x62, 0xbc, 0x18, 0xe8, 0x0e, 0xa5, 0x09, 0xdd, 0x69, 0x66, 0xb7, 0xfe, 0x86, 0xbf, 0x6c, 0xda, 0xc4, 0x7a, 0x7d, 0xef, 0xcd, 0x24, 0x33, 0x30, 0x23, 0x11, 0x96, 0xaf, 0xca, 0x17, 0xa6, 0x16, 0x0e, 0x8c,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