Documentation ¶
Index ¶
- Variables
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetBornTimestamp() *timestamppb.Timestamp
- func (x *Message) GetDeliverTimestamp() *timestamppb.Timestamp
- func (x *Message) GetId() string
- func (x *Message) GetMetadata() map[string]string
- func (x *Message) GetOriginMsgId() string
- func (x *Message) GetPayload() []byte
- func (x *Message) GetRetryCount() uint32
- func (x *Message) GetTag() string
- func (x *Message) GetTopic() string
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_rsmq_v1_rsmq_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { // The unique identifier of the message. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The payload of the message. Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` // The topic of the message. Topic string `protobuf:"bytes,3,opt,name=topic,proto3" json:"topic,omitempty"` // The tag of the message. Tag string `protobuf:"bytes,4,opt,name=tag,proto3" json:"tag,omitempty"` // The metadata of the message. Metadata map[string]string `` /* 157-byte string literal not displayed */ // The timestamp when the message was born. BornTimestamp *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=born_timestamp,json=bornTimestamp,proto3" json:"born_timestamp,omitempty"` // The timestamp when the message was delivered. DeliverTimestamp *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=deliver_timestamp,json=deliverTimestamp,proto3" json:"deliver_timestamp,omitempty"` // The retry count of the message. RetryCount uint32 `protobuf:"varint,8,opt,name=retry_count,json=retryCount,proto3" json:"retry_count,omitempty"` // The original message id of the message. OriginMsgId string `protobuf:"bytes,9,opt,name=origin_msg_id,json=originMsgId,proto3" json:"origin_msg_id,omitempty"` // contains filtered or unexported fields }
The message object that is sent to the message queue.
func (*Message) Descriptor
deprecated
func (*Message) GetBornTimestamp ¶
func (x *Message) GetBornTimestamp() *timestamppb.Timestamp
func (*Message) GetDeliverTimestamp ¶
func (x *Message) GetDeliverTimestamp() *timestamppb.Timestamp
func (*Message) GetMetadata ¶
func (*Message) GetOriginMsgId ¶
func (*Message) GetPayload ¶
func (*Message) GetRetryCount ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.