pb

package
v2.17.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_resource_aggregate_cqrs_eventbus_pb_eventbus_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Event

type Event struct {
	Version     uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	EventType   string `protobuf:"bytes,2,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"`
	GroupId     string `protobuf:"bytes,3,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	AggregateId string `protobuf:"bytes,4,opt,name=aggregate_id,json=aggregateId,proto3" json:"aggregate_id,omitempty"`
	Data        []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
	IsSnapshot  bool   `protobuf:"varint,6,opt,name=is_snapshot,json=isSnapshot,proto3" json:"is_snapshot,omitempty"`
	Timestamp   int64  `protobuf:"varint,7,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*Event) Descriptor deprecated

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

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetAggregateId

func (x *Event) GetAggregateId() string

func (*Event) GetData

func (x *Event) GetData() []byte

func (*Event) GetEventType

func (x *Event) GetEventType() string

func (*Event) GetGroupId

func (x *Event) GetGroupId() string

func (*Event) GetIsSnapshot

func (x *Event) GetIsSnapshot() bool

func (*Event) GetTimestamp

func (x *Event) GetTimestamp() int64

func (*Event) GetVersion

func (x *Event) GetVersion() uint64

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

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

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

Jump to

Keyboard shortcuts

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