message

package
v0.0.0-...-2aa8555 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package message is a generated protocol buffer package.

It is generated from these files:

message.proto

It has these top-level messages:

Message

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

type Message struct {
	Topic      string `protobuf:"bytes,1,opt,name=Topic" json:"Topic,omitempty"`
	Index      []byte `protobuf:"bytes,2,opt,name=Index,proto3" json:"Index,omitempty"`
	Payload    []byte `protobuf:"bytes,3,opt,name=Payload,proto3" json:"Payload,omitempty"`
	Qos        int32  `protobuf:"varint,4,opt,name=Qos" json:"Qos,omitempty"`
	TraceID    string `protobuf:"bytes,5,opt,name=TraceID" json:"TraceID,omitempty"`
	BizID      []byte `protobuf:"bytes,6,opt,name=BizID,proto3" json:"BizID,omitempty"`
	CreateTime int64  `protobuf:"varint,7,opt,name=CreateTime" json:"CreateTime,omitempty"`
	ExpireAt   int64  `protobuf:"varint,8,opt,name=ExpireAt" json:"ExpireAt,omitempty"`
	MessageID  int64  `protobuf:"varint,9,opt,name=MessageID" json:"MessageID,omitempty"`
}

func (*Message) Descriptor

func (*Message) Descriptor() ([]byte, []int)

func (*Message) GetBizID

func (m *Message) GetBizID() []byte

func (*Message) GetCreateTime

func (m *Message) GetCreateTime() int64

func (*Message) GetExpireAt

func (m *Message) GetExpireAt() int64

func (*Message) GetIndex

func (m *Message) GetIndex() []byte

func (*Message) GetMessageID

func (m *Message) GetMessageID() int64

func (*Message) GetPayload

func (m *Message) GetPayload() []byte

func (*Message) GetQos

func (m *Message) GetQos() int32

func (*Message) GetTopic

func (m *Message) GetTopic() string

func (*Message) GetTraceID

func (m *Message) GetTraceID() string

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) Reset

func (m *Message) Reset()

func (*Message) String

func (m *Message) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL