gravity_sdk_types_event

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: May 27, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Event_Type_name = map[int32]string{
	0: "EVENT",
	1: "SNAPSHOT",
}
View Source
var Event_Type_value = map[string]int32{
	"EVENT":    0,
	"SNAPSHOT": 1,
}

Functions

This section is empty.

Types

type Event

type Event struct {
	PipelineID           uint64     `protobuf:"varint,1,opt,name=pipelineID,proto3" json:"pipelineID,omitempty"`
	Sequence             uint64     `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"`
	Data                 []byte     `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	Type                 Event_Type `protobuf:"varint,4,opt,name=type,proto3,enum=gravity.sdk.types.event.Event_Type" json:"type,omitempty"`
	SnapshotID           string     `protobuf:"bytes,5,opt,name=snapshotID,proto3" json:"snapshotID,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*Event) Descriptor

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

func (*Event) GetData

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

func (*Event) GetPipelineID

func (m *Event) GetPipelineID() uint64

func (*Event) GetSequence

func (m *Event) GetSequence() uint64

func (*Event) GetSnapshotID added in v0.0.10

func (m *Event) GetSnapshotID() string

func (*Event) GetType added in v0.0.10

func (m *Event) GetType() Event_Type

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 Event_Type added in v0.0.10

type Event_Type int32
const (
	Event_EVENT    Event_Type = 0
	Event_SNAPSHOT Event_Type = 1
)

func (Event_Type) EnumDescriptor added in v0.0.10

func (Event_Type) EnumDescriptor() ([]byte, []int)

func (Event_Type) String added in v0.0.10

func (x Event_Type) String() string

Jump to

Keyboard shortcuts

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