protobuf

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_protobuf_event_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Event

type Event struct {
	Timestamp int64  `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	ObjectID  string `protobuf:"bytes,2,opt,name=ObjectID,proto3" json:"ObjectID,omitempty"`
	Name      string `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"`
	Payload   string `protobuf:"bytes,4,opt,name=Payload,proto3" json:"Payload,omitempty"`
	Version   int32  `protobuf:"varint,6,opt,name=Version,proto3" json:"Version,omitempty"`
	// contains filtered or unexported fields
}

func (*Event) Descriptor deprecated

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

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetName

func (x *Event) GetName() string

func (*Event) GetObjectID

func (x *Event) GetObjectID() string

func (*Event) GetPayload

func (x *Event) GetPayload() string

func (*Event) GetTimestamp

func (x *Event) GetTimestamp() int64

func (*Event) GetVersion

func (x *Event) GetVersion() int32

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