protos

package
v0.0.0-...-0172641 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package protos is a generated protocol buffer package.

It is generated from these files:

event.proto

It has these top-level messages:

Event

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthEvent = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEvent   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type Event

type Event struct {
	ID           string            `protobuf:"bytes,1,opt,name=ID,proto3" json:"eventId" bson:"_id"`
	Stream       int32             `protobuf:"varint,2,opt,name=Stream,proto3" json:"stream"`
	Time         *time.Time        `protobuf:"bytes,3,opt,name=Time,stdtime" json:"eventTime"`
	Type         string            `protobuf:"bytes,4,opt,name=Type,proto3" json:"eventType"`
	TypeVersion  string            `protobuf:"bytes,5,opt,name=TypeVersion,proto3" json:"eventTypeVersion"`
	CEVersion    string            `protobuf:"bytes,6,opt,name=CEVersion,proto3" json:"cloudEventVersion"`
	Source       string            `protobuf:"bytes,7,opt,name=Source,proto3" json:"eventSource"`
	Subject      string            `protobuf:"bytes,8,opt,name=Subject,proto3" json:"eventSubject"`
	Acknowledged *time.Time        `protobuf:"bytes,9,opt,name=Acknowledged,stdtime" json:"eventAcknowledged"`
	Metadata     map[string]string `` /* 143-byte string literal not displayed */
	ContentType  string            `protobuf:"bytes,11,opt,name=ContentType,proto3" json:"contentType"`
	Data         []byte            `protobuf:"bytes,12,opt,name=Data,proto3" json:"data,string"`
}

func (*Event) Descriptor

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

func (*Event) GetAcknowledged

func (m *Event) GetAcknowledged() *time.Time

func (*Event) GetCEVersion

func (m *Event) GetCEVersion() string

func (*Event) GetContentType

func (m *Event) GetContentType() string

func (*Event) GetData

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

func (*Event) GetID

func (m *Event) GetID() string

func (*Event) GetMetadata

func (m *Event) GetMetadata() map[string]string

func (*Event) GetSource

func (m *Event) GetSource() string

func (*Event) GetStream

func (m *Event) GetStream() int32

func (*Event) GetSubject

func (m *Event) GetSubject() string

func (*Event) GetTime

func (m *Event) GetTime() *time.Time

func (*Event) GetType

func (m *Event) GetType() string

func (*Event) GetTypeVersion

func (m *Event) GetTypeVersion() string

func (*Event) Marshal

func (m *Event) Marshal() (dAtA []byte, err error)

func (*Event) MarshalTo

func (m *Event) MarshalTo(dAtA []byte) (int, error)

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) Reset

func (m *Event) Reset()

func (*Event) Size

func (m *Event) Size() (n int)

func (*Event) String

func (m *Event) String() string

func (*Event) Unmarshal

func (m *Event) Unmarshal(dAtA []byte) error

func (*Event) XXX_MessageName

func (*Event) XXX_MessageName() string

Jump to

Keyboard shortcuts

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