event

package
v0.0.0-...-e613b9d Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// origin is an identity of the operator who entered the event.
	Origin               string       `protobuf:"bytes,2,opt,name=origin,proto3" json:"origin,omitempty"`
	TimePoint            []*TimePoint `protobuf:"bytes,3,rep,name=time_point,json=timePoint,proto3" json:"time_point,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

Event is Entity.

func (*Event) Descriptor

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

func (*Event) GetId

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

func (*Event) GetOrigin

func (m *Event) GetOrigin() string

func (*Event) GetTimePoint

func (m *Event) GetTimePoint() []*TimePoint

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) Reset

func (m *Event) Reset()

func (*Event) String

func (m *Event) String() string

func (*Event) XXX_DiscardUnknown

func (m *Event) XXX_DiscardUnknown()

func (*Event) XXX_Marshal

func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Event) XXX_Merge

func (m *Event) XXX_Merge(src proto.Message)

func (*Event) XXX_Size

func (m *Event) XXX_Size() int

func (*Event) XXX_Unmarshal

func (m *Event) XXX_Unmarshal(b []byte) error

type TimePoint

type TimePoint struct {
	Timestamp            *timestamp.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Tag                  string               `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

TimePoint is Entity.

func (*TimePoint) Descriptor

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

func (*TimePoint) GetTag

func (m *TimePoint) GetTag() string

func (*TimePoint) GetTimestamp

func (m *TimePoint) GetTimestamp() *timestamp.Timestamp

func (*TimePoint) ProtoMessage

func (*TimePoint) ProtoMessage()

func (*TimePoint) Reset

func (m *TimePoint) Reset()

func (*TimePoint) String

func (m *TimePoint) String() string

func (*TimePoint) XXX_DiscardUnknown

func (m *TimePoint) XXX_DiscardUnknown()

func (*TimePoint) XXX_Marshal

func (m *TimePoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TimePoint) XXX_Merge

func (m *TimePoint) XXX_Merge(src proto.Message)

func (*TimePoint) XXX_Size

func (m *TimePoint) XXX_Size() int

func (*TimePoint) XXX_Unmarshal

func (m *TimePoint) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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