// Code generated by protoc-gen-gogo. DO NOT EDIT. // source: broker/message.proto package broker import ( fmt "fmt" proto "github.com/gogo/protobuf/proto" timestamp "github.com/golang/protobuf/ptypes/timestamp" 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.GoGoProtoPackageIsVersion3 // please upgrade the proto package // Message represents a message emitted by the Mainflux adapters layer. type Message struct { Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` Subtopic string `protobuf:"bytes,2,opt,name=subtopic,proto3" json:"subtopic,omitempty"` Publisher string `protobuf:"bytes,3,opt,name=publisher,proto3" json:"publisher,omitempty"` Protocol string `protobuf:"bytes,4,opt,name=protocol,proto3" json:"protocol,omitempty"` Payload []byte `protobuf:"bytes,5,opt,name=payload,proto3" json:"payload,omitempty"` Created *timestamp.Timestamp `protobuf:"bytes,6,opt,name=created,proto3" json:"created,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *Message) Reset() { *m = Message{} } func (m *Message) String() string { return proto.CompactTextString(m) } func (*Message) ProtoMessage() {} func (*Message) Descriptor() ([]byte, []int) { return fileDescriptor_6357da820a7eacc2, []int{0} } func (m *Message) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Message.Unmarshal(m, b) } func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Message.Marshal(b, m, deterministic) } func (m *Message) XXX_Merge(src proto.Message) { xxx_messageInfo_Message.Merge(m, src) } func (m *Message) XXX_Size() int { return xxx_messageInfo_Message.Size(m) } func (m *Message) XXX_DiscardUnknown() { xxx_messageInfo_Message.DiscardUnknown(m) } var xxx_messageInfo_Message proto.InternalMessageInfo func (m *Message) GetChannel() string { if m != nil { return m.Channel } return "" } func (m *Message) GetSubtopic() string { if m != nil { return m.Subtopic } return "" } func (m *Message) GetPublisher() string { if m != nil { return m.Publisher } return "" } func (m *Message) GetProtocol() string { if m != nil { return m.Protocol } return "" } func (m *Message) GetPayload() []byte { if m != nil { return m.Payload } return nil } func (m *Message) GetCreated() *timestamp.Timestamp { if m != nil { return m.Created } return nil } func init() { proto.RegisterType((*Message)(nil), "broker.Message") } func init() { proto.RegisterFile("broker/message.proto", fileDescriptor_6357da820a7eacc2) } var fileDescriptor_6357da820a7eacc2 = []byte{ // 202 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x44, 0x8f, 0xcb, 0x6e, 0x84, 0x20, 0x18, 0x85, 0x43, 0x2f, 0x5a, 0x69, 0x57, 0xa4, 0x0b, 0x62, 0x9a, 0xd4, 0x74, 0xe5, 0x0a, 0x93, 0xb6, 0xaf, 0x31, 0x1b, 0x33, 0x2f, 0x00, 0xf8, 0x8f, 0x9a, 0x41, 0x7f, 0x02, 0xb8, 0x98, 0x47, 0x9c, 0xb7, 0x9a, 0x08, 0x61, 0x66, 0xf9, 0x9d, 0x4b, 0x4e, 0x0e, 0xfd, 0x54, 0x0e, 0xcf, 0xe0, 0xba, 0x05, 0xbc, 0x97, 0x23, 0x08, 0xeb, 0x30, 0x20, 0x2b, 0x92, 0x5a, 0x7f, 0x8f, 0x88, 0xa3, 0x81, 0x2e, 0xaa, 0x6a, 0x3b, 0x75, 0x61, 0x5e, 0xc0, 0x07, 0xb9, 0xd8, 0x14, 0xfc, 0xb9, 0x12, 0x5a, 0x1e, 0x52, 0x95, 0x71, 0x5a, 0xea, 0x49, 0xae, 0x2b, 0x18, 0x4e, 0x1a, 0xd2, 0x56, 0x7d, 0x46, 0x56, 0xd3, 0x37, 0xbf, 0xa9, 0x80, 0x76, 0xd6, 0xfc, 0x29, 0x5a, 0x77, 0x66, 0x5f, 0xb4, 0xb2, 0x9b, 0x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