eventsv1

package
v0.5.8 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EventState_name = map[int32]string{
		0: "EVENT_STATE_UNSPECIFIED",
		1: "EVENT_STATE_SAVED",
		2: "EVENT_STATE_PROCESSING",
		3: "EVENT_STATE_COMPLETED",
		4: "EVENT_STATE_FAILED",
	}
	EventState_value = map[string]int32{
		"EVENT_STATE_UNSPECIFIED": 0,
		"EVENT_STATE_SAVED":       1,
		"EVENT_STATE_PROCESSING":  2,
		"EVENT_STATE_COMPLETED":   3,
		"EVENT_STATE_FAILED":      4,
	}
)

Enum value maps for EventState.

View Source
var File_autokitteh_events_v1_event_proto protoreflect.FileDescriptor
View Source
var File_autokitteh_events_v1_svc_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AddEventRecordRequest

type AddEventRecordRequest struct {
	Record *EventRecord `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"`
	// contains filtered or unexported fields
}

func (*AddEventRecordRequest) Descriptor deprecated

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

Deprecated: Use AddEventRecordRequest.ProtoReflect.Descriptor instead.

func (*AddEventRecordRequest) GetRecord

func (x *AddEventRecordRequest) GetRecord() *EventRecord

func (*AddEventRecordRequest) ProtoMessage

func (*AddEventRecordRequest) ProtoMessage()

func (*AddEventRecordRequest) ProtoReflect

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

func (*AddEventRecordRequest) Reset

func (x *AddEventRecordRequest) Reset()

func (*AddEventRecordRequest) String

func (x *AddEventRecordRequest) String() string

type AddEventRecordResponse

type AddEventRecordResponse struct {
	// contains filtered or unexported fields
}

func (*AddEventRecordResponse) Descriptor deprecated

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

Deprecated: Use AddEventRecordResponse.ProtoReflect.Descriptor instead.

func (*AddEventRecordResponse) ProtoMessage

func (*AddEventRecordResponse) ProtoMessage()

func (*AddEventRecordResponse) ProtoReflect

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

func (*AddEventRecordResponse) Reset

func (x *AddEventRecordResponse) Reset()

func (*AddEventRecordResponse) String

func (x *AddEventRecordResponse) String() string

type Event

type Event struct {
	EventId      string                 `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
	ConnectionId string                 `protobuf:"bytes,2,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	EventType    string                 `protobuf:"bytes,3,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"`
	Data         map[string]*v1.Value   `` /* 149-byte string literal not displayed */
	Memo         map[string]string      `` /* 149-byte string literal not displayed */
	CreatedAt    *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	Seq          uint64                 `protobuf:"varint,7,opt,name=seq,proto3" json:"seq,omitempty"`
	// contains filtered or unexported fields
}

func (*Event) Descriptor deprecated

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

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetConnectionId added in v0.5.0

func (x *Event) GetConnectionId() string

func (*Event) GetCreatedAt

func (x *Event) GetCreatedAt() *timestamppb.Timestamp

func (*Event) GetData

func (x *Event) GetData() map[string]*v1.Value

func (*Event) GetEventId

func (x *Event) GetEventId() string

func (*Event) GetEventType

func (x *Event) GetEventType() string

func (*Event) GetMemo

func (x *Event) GetMemo() map[string]string

func (*Event) GetSeq

func (x *Event) GetSeq() 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

type EventRecord

type EventRecord struct {
	Seq       uint32                 `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"`
	EventId   string                 `protobuf:"bytes,2,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
	State     EventState             `protobuf:"varint,3,opt,name=state,proto3,enum=autokitteh.events.v1.EventState" json:"state,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*EventRecord) Descriptor deprecated

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

Deprecated: Use EventRecord.ProtoReflect.Descriptor instead.

func (*EventRecord) GetCreatedAt

func (x *EventRecord) GetCreatedAt() *timestamppb.Timestamp

func (*EventRecord) GetEventId

func (x *EventRecord) GetEventId() string

func (*EventRecord) GetSeq

func (x *EventRecord) GetSeq() uint32

func (*EventRecord) GetState

func (x *EventRecord) GetState() EventState

func (*EventRecord) ProtoMessage

func (*EventRecord) ProtoMessage()

func (*EventRecord) ProtoReflect

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

func (*EventRecord) Reset

func (x *EventRecord) Reset()

func (*EventRecord) String

func (x *EventRecord) String() string

type EventState

type EventState int32
const (
	EventState_EVENT_STATE_UNSPECIFIED EventState = 0
	EventState_EVENT_STATE_SAVED       EventState = 1
	EventState_EVENT_STATE_PROCESSING  EventState = 2
	EventState_EVENT_STATE_COMPLETED   EventState = 3
	EventState_EVENT_STATE_FAILED      EventState = 4
)

func (EventState) Descriptor

func (EventState) Descriptor() protoreflect.EnumDescriptor

func (EventState) Enum

func (x EventState) Enum() *EventState

func (EventState) EnumDescriptor deprecated

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

Deprecated: Use EventState.Descriptor instead.

func (EventState) Number

func (x EventState) Number() protoreflect.EnumNumber

func (EventState) String

func (x EventState) String() string

func (EventState) Type

type GetRequest

type GetRequest struct {
	EventId string `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRequest) Descriptor deprecated

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

Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.

func (*GetRequest) GetEventId

func (x *GetRequest) GetEventId() string

func (*GetRequest) ProtoMessage

func (*GetRequest) ProtoMessage()

func (*GetRequest) ProtoReflect

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

func (*GetRequest) Reset

func (x *GetRequest) Reset()

func (*GetRequest) String

func (x *GetRequest) String() string

type GetResponse

type GetResponse struct {
	Event *Event `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
	// contains filtered or unexported fields
}

func (*GetResponse) Descriptor deprecated

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

Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.

func (*GetResponse) GetEvent

func (x *GetResponse) GetEvent() *Event

func (*GetResponse) ProtoMessage

func (*GetResponse) ProtoMessage()

func (*GetResponse) ProtoReflect

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

func (*GetResponse) Reset

func (x *GetResponse) Reset()

func (*GetResponse) String

func (x *GetResponse) String() string

type ListEventRecordsRequest

type ListEventRecordsRequest struct {
	EventId string     `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
	State   EventState `protobuf:"varint,3,opt,name=state,proto3,enum=autokitteh.events.v1.EventState" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEventRecordsRequest) Descriptor deprecated

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

Deprecated: Use ListEventRecordsRequest.ProtoReflect.Descriptor instead.

func (*ListEventRecordsRequest) GetEventId

func (x *ListEventRecordsRequest) GetEventId() string

func (*ListEventRecordsRequest) GetState

func (x *ListEventRecordsRequest) GetState() EventState

func (*ListEventRecordsRequest) ProtoMessage

func (*ListEventRecordsRequest) ProtoMessage()

func (*ListEventRecordsRequest) ProtoReflect

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

func (*ListEventRecordsRequest) Reset

func (x *ListEventRecordsRequest) Reset()

func (*ListEventRecordsRequest) String

func (x *ListEventRecordsRequest) String() string

type ListEventRecordsResponse

type ListEventRecordsResponse struct {
	Records []*EventRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEventRecordsResponse) Descriptor deprecated

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

Deprecated: Use ListEventRecordsResponse.ProtoReflect.Descriptor instead.

func (*ListEventRecordsResponse) GetRecords

func (x *ListEventRecordsResponse) GetRecords() []*EventRecord

func (*ListEventRecordsResponse) ProtoMessage

func (*ListEventRecordsResponse) ProtoMessage()

func (*ListEventRecordsResponse) ProtoReflect

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

func (*ListEventRecordsResponse) Reset

func (x *ListEventRecordsResponse) Reset()

func (*ListEventRecordsResponse) String

func (x *ListEventRecordsResponse) String() string

type ListRequest

type ListRequest struct {
	IntegrationId string `protobuf:"bytes,1,opt,name=integration_id,json=integrationId,proto3" json:"integration_id,omitempty"`
	ConnectionId  string `protobuf:"bytes,2,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	EventType     string `protobuf:"bytes,3,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRequest) Descriptor deprecated

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

Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.

func (*ListRequest) GetConnectionId added in v0.5.0

func (x *ListRequest) GetConnectionId() string

func (*ListRequest) GetEventType

func (x *ListRequest) GetEventType() string

func (*ListRequest) GetIntegrationId

func (x *ListRequest) GetIntegrationId() string

func (*ListRequest) ProtoMessage

func (*ListRequest) ProtoMessage()

func (*ListRequest) ProtoReflect

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

func (*ListRequest) Reset

func (x *ListRequest) Reset()

func (*ListRequest) String

func (x *ListRequest) String() string

type ListResponse

type ListResponse struct {
	Events []*Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

func (*ListResponse) Descriptor deprecated

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

Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.

func (*ListResponse) GetEvents

func (x *ListResponse) GetEvents() []*Event

func (*ListResponse) ProtoMessage

func (*ListResponse) ProtoMessage()

func (*ListResponse) ProtoReflect

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

func (*ListResponse) Reset

func (x *ListResponse) Reset()

func (*ListResponse) String

func (x *ListResponse) String() string

type SaveRequest

type SaveRequest struct {
	Event *Event `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
	// contains filtered or unexported fields
}

func (*SaveRequest) Descriptor deprecated

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

Deprecated: Use SaveRequest.ProtoReflect.Descriptor instead.

func (*SaveRequest) GetEvent

func (x *SaveRequest) GetEvent() *Event

func (*SaveRequest) ProtoMessage

func (*SaveRequest) ProtoMessage()

func (*SaveRequest) ProtoReflect

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

func (*SaveRequest) Reset

func (x *SaveRequest) Reset()

func (*SaveRequest) String

func (x *SaveRequest) String() string

type SaveResponse

type SaveResponse struct {
	EventId string `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SaveResponse) Descriptor deprecated

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

Deprecated: Use SaveResponse.ProtoReflect.Descriptor instead.

func (*SaveResponse) GetEventId

func (x *SaveResponse) GetEventId() string

func (*SaveResponse) ProtoMessage

func (*SaveResponse) ProtoMessage()

func (*SaveResponse) ProtoReflect

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

func (*SaveResponse) Reset

func (x *SaveResponse) Reset()

func (*SaveResponse) String

func (x *SaveResponse) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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