proto

package
v1.9.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: May 19, 2023 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_event_schema_types_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type EventSchemaKey

type EventSchemaKey struct {
	WriteKey        string `protobuf:"bytes,1,opt,name=writeKey,proto3" json:"writeKey,omitempty"`
	EventType       string `protobuf:"bytes,2,opt,name=eventType,proto3" json:"eventType,omitempty"`
	EventIdentifier string `protobuf:"bytes,3,opt,name=eventIdentifier,proto3" json:"eventIdentifier,omitempty"`
	// contains filtered or unexported fields
}

func (*EventSchemaKey) Descriptor deprecated

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

Deprecated: Use EventSchemaKey.ProtoReflect.Descriptor instead.

func (*EventSchemaKey) GetEventIdentifier

func (x *EventSchemaKey) GetEventIdentifier() string

func (*EventSchemaKey) GetEventType

func (x *EventSchemaKey) GetEventType() string

func (*EventSchemaKey) GetWriteKey

func (x *EventSchemaKey) GetWriteKey() string

func (*EventSchemaKey) MustMarshal

func (esk *EventSchemaKey) MustMarshal() []byte

func (*EventSchemaKey) ProtoMessage

func (*EventSchemaKey) ProtoMessage()

func (*EventSchemaKey) ProtoReflect

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

func (*EventSchemaKey) Reset

func (x *EventSchemaKey) Reset()

func (*EventSchemaKey) String

func (x *EventSchemaKey) String() string

type EventSchemaMessage

type EventSchemaMessage struct {
	WorkspaceID   string                 `protobuf:"bytes,1,opt,name=workspaceID,proto3" json:"workspaceID,omitempty"`
	Key           *EventSchemaKey        `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	Schema        map[string]string      `` /* 153-byte string literal not displayed */
	ObservedAt    *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=observedAt,proto3" json:"observedAt,omitempty"`
	Sample        []byte                 `protobuf:"bytes,5,opt,name=sample,proto3" json:"sample,omitempty"`
	CorrelationID []byte                 `protobuf:"bytes,6,opt,name=correlationID,proto3" json:"correlationID,omitempty"`
	// contains filtered or unexported fields
}

func UnmarshalEventSchemaMessage

func UnmarshalEventSchemaMessage(raw []byte) (*EventSchemaMessage, error)

UnmarshalEventSchemaMessage creates a new event schema message from the provided protobuf bytes.

func (*EventSchemaMessage) Descriptor deprecated

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

Deprecated: Use EventSchemaMessage.ProtoReflect.Descriptor instead.

func (*EventSchemaMessage) GetCorrelationID

func (x *EventSchemaMessage) GetCorrelationID() []byte

func (*EventSchemaMessage) GetKey

func (x *EventSchemaMessage) GetKey() *EventSchemaKey

func (*EventSchemaMessage) GetObservedAt

func (x *EventSchemaMessage) GetObservedAt() *timestamppb.Timestamp

func (*EventSchemaMessage) GetSample

func (x *EventSchemaMessage) GetSample() []byte

func (*EventSchemaMessage) GetSchema

func (x *EventSchemaMessage) GetSchema() map[string]string

func (*EventSchemaMessage) GetWorkspaceID

func (x *EventSchemaMessage) GetWorkspaceID() string

func (*EventSchemaMessage) MustMarshal

func (esm *EventSchemaMessage) MustMarshal() []byte

func (*EventSchemaMessage) ProtoMessage

func (*EventSchemaMessage) ProtoMessage()

func (*EventSchemaMessage) ProtoReflect

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

func (*EventSchemaMessage) Reset

func (x *EventSchemaMessage) Reset()

func (*EventSchemaMessage) String

func (x *EventSchemaMessage) String() string

Jump to

Keyboard shortcuts

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