rsmqv1

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetBornTimestamp

func (x *Message) GetBornTimestamp() *timestamppb.Timestamp

func (*Message) GetDeliverTimestamp

func (x *Message) GetDeliverTimestamp() *timestamppb.Timestamp

func (*Message) GetId

func (x *Message) GetId() string

func (*Message) GetMetadata

func (x *Message) GetMetadata() map[string]string

func (*Message) GetOriginMsgId

func (x *Message) GetOriginMsgId() string

func (*Message) GetPayload

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

func (*Message) GetRetryCount

func (x *Message) GetRetryCount() uint32

func (*Message) GetTag

func (x *Message) GetTag() string

func (*Message) GetTopic

func (x *Message) GetTopic() string

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect

func (x *Message) ProtoReflect() protoreflect.Message

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

Jump to

Keyboard shortcuts

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