session

package
v2.36.0 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2022 License: Apache-2.0, BSD-3-Clause, MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Kind_name = map[int32]string{
		0: "INVALID",
		1: "INSTRUCTION_REQUEST",
		2: "INSTRUCTION_RESPONSE",
		3: "DATA_RECEIVED",
		4: "DATA_SENT",
		5: "LOG_ENTRIES",
		6: "HEADER",
		7: "FOOTER",
	}
	Kind_value = map[string]int32{
		"INVALID":              0,
		"INSTRUCTION_REQUEST":  1,
		"INSTRUCTION_RESPONSE": 2,
		"DATA_RECEIVED":        3,
		"DATA_SENT":            4,
		"LOG_ENTRIES":          5,
		"HEADER":               6,
		"FOOTER":               7,
	}
)

Enum value maps for Kind.

View Source
var File_session_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Entry

type Entry struct {
	Kind Kind `` /* 134-byte string literal not displayed */
	// Types that are assignable to Msg:
	//	*Entry_InstReq
	//	*Entry_InstResp
	//	*Entry_Elems
	//	*Entry_LogEntries
	//	*Entry_Header
	//	*Entry_Footer
	Msg       isEntry_Msg `protobuf_oneof:"msg"`
	Timestamp int64       `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*Entry) Descriptor deprecated

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

Deprecated: Use Entry.ProtoReflect.Descriptor instead.

func (*Entry) GetElems

func (x *Entry) GetElems() *fnexecution_v1.Elements

func (*Entry) GetFooter

func (x *Entry) GetFooter() *Footer

func (*Entry) GetHeader

func (x *Entry) GetHeader() *Header

func (*Entry) GetInstReq

func (x *Entry) GetInstReq() *fnexecution_v1.InstructionRequest

func (*Entry) GetInstResp

func (x *Entry) GetInstResp() *fnexecution_v1.InstructionResponse

func (*Entry) GetKind

func (x *Entry) GetKind() Kind

func (*Entry) GetLogEntries

func (x *Entry) GetLogEntries() *fnexecution_v1.LogEntry_List

func (*Entry) GetMsg

func (m *Entry) GetMsg() isEntry_Msg

func (*Entry) GetTimestamp

func (x *Entry) GetTimestamp() int64

func (*Entry) ProtoMessage

func (*Entry) ProtoMessage()

func (*Entry) ProtoReflect

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

func (*Entry) Reset

func (x *Entry) Reset()

func (*Entry) String

func (x *Entry) String() string

type EntryHeader

type EntryHeader struct {
	Len  int64 `protobuf:"varint,1,opt,name=len,proto3" json:"len,omitempty"`
	Kind Kind  `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*EntryHeader) Descriptor deprecated

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

Deprecated: Use EntryHeader.ProtoReflect.Descriptor instead.

func (*EntryHeader) GetKind

func (x *EntryHeader) GetKind() Kind

func (*EntryHeader) GetLen

func (x *EntryHeader) GetLen() int64

func (*EntryHeader) ProtoMessage

func (*EntryHeader) ProtoMessage()

func (*EntryHeader) ProtoReflect

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

func (*EntryHeader) Reset

func (x *EntryHeader) Reset()

func (*EntryHeader) String

func (x *EntryHeader) String() string

type Entry_Elems

type Entry_Elems struct {
	Elems *fnexecution_v1.Elements `protobuf:"bytes,1002,opt,name=elems,proto3,oneof"`
}

type Entry_Footer

type Entry_Footer struct {
	Footer *Footer `protobuf:"bytes,1005,opt,name=footer,proto3,oneof"`
}

type Entry_Header

type Entry_Header struct {
	Header *Header `protobuf:"bytes,1004,opt,name=header,proto3,oneof"`
}

type Entry_InstReq

type Entry_InstReq struct {
	InstReq *fnexecution_v1.InstructionRequest `protobuf:"bytes,1000,opt,name=inst_req,json=instReq,proto3,oneof"`
}

type Entry_InstResp

type Entry_InstResp struct {
	InstResp *fnexecution_v1.InstructionResponse `protobuf:"bytes,1001,opt,name=inst_resp,json=instResp,proto3,oneof"`
}

type Entry_LogEntries

type Entry_LogEntries struct {
	LogEntries *fnexecution_v1.LogEntry_List `protobuf:"bytes,1003,opt,name=log_entries,json=logEntries,proto3,oneof"`
}
type Footer struct {
	// contains filtered or unexported fields
}

func (*Footer) Descriptor deprecated

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

Deprecated: Use Footer.ProtoReflect.Descriptor instead.

func (*Footer) ProtoMessage

func (*Footer) ProtoMessage()

func (*Footer) ProtoReflect

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

func (*Footer) Reset

func (x *Footer) Reset()

func (*Footer) String

func (x *Footer) String() string
type Header struct {
	Version    string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`                         // version identifier of the session schema
	SdkVersion string `protobuf:"bytes,2,opt,name=sdk_version,json=sdkVersion,proto3" json:"sdk_version,omitempty"` // build information for the SDK that generated the session.
	MaxMsgLen  int64  `protobuf:"varint,3,opt,name=max_msg_len,json=maxMsgLen,proto3" json:"max_msg_len,omitempty"` // maximum length of a single entry
	// contains filtered or unexported fields
}

func (*Header) Descriptor deprecated

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

Deprecated: Use Header.ProtoReflect.Descriptor instead.

func (*Header) GetMaxMsgLen

func (x *Header) GetMaxMsgLen() int64

func (*Header) GetSdkVersion

func (x *Header) GetSdkVersion() string

func (*Header) GetVersion

func (x *Header) GetVersion() string

func (*Header) ProtoMessage

func (*Header) ProtoMessage()

func (*Header) ProtoReflect

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

func (*Header) Reset

func (x *Header) Reset()

func (*Header) String

func (x *Header) String() string

type Kind

type Kind int32
const (
	Kind_INVALID              Kind = 0
	Kind_INSTRUCTION_REQUEST  Kind = 1
	Kind_INSTRUCTION_RESPONSE Kind = 2
	Kind_DATA_RECEIVED        Kind = 3
	Kind_DATA_SENT            Kind = 4
	Kind_LOG_ENTRIES          Kind = 5
	Kind_HEADER               Kind = 6
	Kind_FOOTER               Kind = 7
)

func (Kind) Descriptor

func (Kind) Descriptor() protoreflect.EnumDescriptor

func (Kind) Enum

func (x Kind) Enum() *Kind

func (Kind) EnumDescriptor deprecated

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

Deprecated: Use Kind.Descriptor instead.

func (Kind) Number

func (x Kind) Number() protoreflect.EnumNumber

func (Kind) String

func (x Kind) String() string

func (Kind) Type

func (Kind) Type() protoreflect.EnumType

Jump to

Keyboard shortcuts

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