// Code generated by protoc-gen-go. DO NOT EDIT. // source: aiot_business.proto package aiot 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 // 请求的body体 type BusinessReq struct { Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` Authorization string `protobuf:"bytes,2,opt,name=authorization,proto3" json:"authorization,omitempty"` Ip string `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"` Port string `protobuf:"bytes,4,opt,name=port,proto3" json:"port,omitempty"` Req []byte `protobuf:"bytes,5,opt,name=req,proto3" json:"req,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *BusinessReq) Reset() { *m = BusinessReq{} } func (m *BusinessReq) String() string { return proto.CompactTextString(m) } func (*BusinessReq) ProtoMessage() {} func (*BusinessReq) Descriptor() ([]byte, []int) { return fileDescriptor_29eca6d4b33e7fd8, []int{0} } func (m *BusinessReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BusinessReq.Unmarshal(m, b) } func (m *BusinessReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_BusinessReq.Marshal(b, m, deterministic) } func (m *BusinessReq) XXX_Merge(src proto.Message) { xxx_messageInfo_BusinessReq.Merge(m, src) } func (m *BusinessReq) XXX_Size() int { return xxx_messageInfo_BusinessReq.Size(m) } func (m *BusinessReq) XXX_DiscardUnknown() { xxx_messageInfo_BusinessReq.DiscardUnknown(m) } var xxx_messageInfo_BusinessReq proto.InternalMessageInfo func (m *BusinessReq) GetTopic() string { if m != nil { return m.Topic } return "" } func (m *BusinessReq) GetAuthorization() string { if m != nil { return m.Authorization } return "" } func (m *BusinessReq) GetIp() string { if m != nil { return m.Ip } return "" } func (m *BusinessReq) GetPort() string { if m != nil { return m.Port } return "" } func (m *BusinessReq) GetReq() []byte { if m != nil { return m.Req } return nil } // 响应的body体 type BusinessReply struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Success bool `protobuf:"varint,3,opt,name=success,proto3" json:"success,omitempty"` Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *BusinessReply) Reset() { *m = BusinessReply{} } func (m *BusinessReply) String() string { return proto.CompactTextString(m) } func (*BusinessReply) ProtoMessage() {} func (*BusinessReply) Descriptor() ([]byte, []int) { return fileDescriptor_29eca6d4b33e7fd8, []int{1} } func (m *BusinessReply) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BusinessReply.Unmarshal(m, b) } func (m *BusinessReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_BusinessReply.Marshal(b, m, deterministic) } func (m *BusinessReply) XXX_Merge(src proto.Message) { xxx_messageInfo_BusinessReply.Merge(m, src) } func (m *BusinessReply) XXX_Size() int { return xxx_messageInfo_BusinessReply.Size(m) } func (m *BusinessReply) XXX_DiscardUnknown() { xxx_messageInfo_BusinessReply.DiscardUnknown(m) } var xxx_messageInfo_BusinessReply proto.InternalMessageInfo func (m *BusinessReply) GetCode() int32 { if m != nil { return m.Code } return 0 } func (m *BusinessReply) GetMsg() string { if m != nil { return m.Msg } return "" } func (m *BusinessReply) GetSuccess() bool { if m != nil { return m.Success } return false } func (m *BusinessReply) GetData() []byte { if m != nil { return m.Data } return nil } func init() { proto.RegisterType((*BusinessReq)(nil), "aiot.BusinessReq") proto.RegisterType((*BusinessReply)(nil), "aiot.BusinessReply") } func init() { proto.RegisterFile("aiot_business.proto", fileDescriptor_29eca6d4b33e7fd8) } var fileDescriptor_29eca6d4b33e7fd8 = []byte{ // 269 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x50, 0x3d, 0x4f, 0xc3, 0x30, 0x10, 0x6d, 0xd3, 0x84, 0x8f, 0x4b, 0x5b, 0xd1, 0x2b, 0x83, 0x95, 0xa9, 0x8a, 0x18, 0x3a, 0x05, 0x09, 0x06, 0x66, 0x58, 0x58, 0x91, 0xfb, 0x03, 0x50, 0xea, 0x58, 0x60, 0x29, 0xc9, 0xb9, 0xb1, 0x03, 0x2a, 0x0b, 0x7f, 0x1d, 0xf9, 0xd2, 0x0a, 0xe8, 0xf6, 0x3e, 0xfc, 0xfc, 0x4e, 0x0f, 0x96, 0xa5, 0x21, 0xff, 0xba, 0xed, 0x9d, 0x69, 0xb5, 0x73, 0x85, 0xed, 0xc8, 0x13, 0xc6, 0x41, 0xcc, 0x16, 0x6c, 0x29, 0x6a, 0x1a, 0x6a, 0x07, 0x23, 0xff, 0x86, 0xf4, 0xe9, 0xf0, 0x54, 0xea, 0x1d, 0x5e, 0x43, 0xe2, 0xc9, 0x1a, 0x25, 0xc6, 0xab, 0xf1, 0xfa, 0x52, 0x0e, 0x04, 0x6f, 0x60, 0x56, 0xf6, 0xfe, 0x9d, 0x3a, 0xf3, 0x55, 0x7a, 0x43, 0xad, 0x88, 0xd8, 0xfd, 0x2f, 0xe2, 0x1c, 0x22, 0x63, 0xc5, 0x84, 0xad, 0xc8, 0x58, 0x44, 0x88, 0x2d, 0x75, 0x5e, 0xc4, 0xac, 0x30, 0xc6, 0x2b, 0x98, 0x74, 0x7a, 0x27, 0x92, 0xd5, 0x78, 0x3d, 0x95, 0x01, 0xe6, 0x0a, 0x66, 0xbf, 0x07, 0xd8, 0x7a, 0x1f, 0x62, 0x8a, 0x2a, 0xcd, 0x17, 0x24, 0x92, 0x71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