span

package
v0.0.0-...-3b3056d Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthSpan = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSpan   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type Continue

type Continue struct {
	Id                   uint64   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Continue) Descriptor

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

func (*Continue) GetId

func (m *Continue) GetId() uint64

func (*Continue) Marshal

func (m *Continue) Marshal() (dAtA []byte, err error)

func (*Continue) MarshalTo

func (m *Continue) MarshalTo(dAtA []byte) (int, error)

func (*Continue) ProtoMessage

func (*Continue) ProtoMessage()

func (*Continue) Reset

func (m *Continue) Reset()

func (*Continue) Size

func (m *Continue) Size() (n int)

func (*Continue) String

func (m *Continue) String() string

func (*Continue) Unmarshal

func (m *Continue) Unmarshal(dAtA []byte) error

func (*Continue) XXX_DiscardUnknown

func (m *Continue) XXX_DiscardUnknown()

func (*Continue) XXX_Marshal

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

func (*Continue) XXX_Merge

func (dst *Continue) XXX_Merge(src proto.Message)

func (*Continue) XXX_Size

func (m *Continue) XXX_Size() int

func (*Continue) XXX_Unmarshal

func (m *Continue) XXX_Unmarshal(b []byte) error
type Link struct {
	// Types that are valid to be assigned to Link:
	//	*Link_Root
	//	*Link_Parent
	//	*Link_Continue
	Link                 isLink_Link `protobuf_oneof:"link"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*Link) Descriptor

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

func (*Link) GetContinue

func (m *Link) GetContinue() *Continue
func (m *Link) GetLink() isLink_Link

func (*Link) GetParent

func (m *Link) GetParent() *Parent

func (*Link) GetRoot

func (m *Link) GetRoot() *Root

func (*Link) Marshal

func (m *Link) Marshal() (dAtA []byte, err error)

func (*Link) MarshalTo

func (m *Link) MarshalTo(dAtA []byte) (int, error)

func (*Link) ProtoMessage

func (*Link) ProtoMessage()

func (*Link) Reset

func (m *Link) Reset()

func (*Link) Size

func (m *Link) Size() (n int)

func (*Link) String

func (m *Link) String() string

func (*Link) Unmarshal

func (m *Link) Unmarshal(dAtA []byte) error

func (*Link) XXX_DiscardUnknown

func (m *Link) XXX_DiscardUnknown()

func (*Link) XXX_Marshal

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

func (*Link) XXX_Merge

func (dst *Link) XXX_Merge(src proto.Message)

func (*Link) XXX_OneofFuncs

func (*Link) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*Link) XXX_Size

func (m *Link) XXX_Size() int

func (*Link) XXX_Unmarshal

func (m *Link) XXX_Unmarshal(b []byte) error
type Link_Continue struct {
	Continue *Continue `protobuf:"bytes,3,opt,name=continue,oneof"`
}
func (m *Link_Continue) MarshalTo(dAtA []byte) (int, error)
func (m *Link_Continue) Size() (n int)
type Link_Parent struct {
	Parent *Parent `protobuf:"bytes,2,opt,name=parent,oneof"`
}
func (m *Link_Parent) MarshalTo(dAtA []byte) (int, error)
func (m *Link_Parent) Size() (n int)
type Link_Root struct {
	Root *Root `protobuf:"bytes,1,opt,name=root,oneof"`
}
func (m *Link_Root) MarshalTo(dAtA []byte) (int, error)
func (m *Link_Root) Size() (n int)

type Parent

type Parent struct {
	Id                   uint64   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Parent) Descriptor

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

func (*Parent) GetId

func (m *Parent) GetId() uint64

func (*Parent) Marshal

func (m *Parent) Marshal() (dAtA []byte, err error)

func (*Parent) MarshalTo

func (m *Parent) MarshalTo(dAtA []byte) (int, error)

func (*Parent) ProtoMessage

func (*Parent) ProtoMessage()

func (*Parent) Reset

func (m *Parent) Reset()

func (*Parent) Size

func (m *Parent) Size() (n int)

func (*Parent) String

func (m *Parent) String() string

func (*Parent) Unmarshal

func (m *Parent) Unmarshal(dAtA []byte) error

func (*Parent) XXX_DiscardUnknown

func (m *Parent) XXX_DiscardUnknown()

func (*Parent) XXX_Marshal

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

func (*Parent) XXX_Merge

func (dst *Parent) XXX_Merge(src proto.Message)

func (*Parent) XXX_Size

func (m *Parent) XXX_Size() int

func (*Parent) XXX_Unmarshal

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

type Root

type Root struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Root) Descriptor

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

func (*Root) Marshal

func (m *Root) Marshal() (dAtA []byte, err error)

func (*Root) MarshalTo

func (m *Root) MarshalTo(dAtA []byte) (int, error)

func (*Root) ProtoMessage

func (*Root) ProtoMessage()

func (*Root) Reset

func (m *Root) Reset()

func (*Root) Size

func (m *Root) Size() (n int)

func (*Root) String

func (m *Root) String() string

func (*Root) Unmarshal

func (m *Root) Unmarshal(dAtA []byte) error

func (*Root) XXX_DiscardUnknown

func (m *Root) XXX_DiscardUnknown()

func (*Root) XXX_Marshal

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

func (*Root) XXX_Merge

func (dst *Root) XXX_Merge(src proto.Message)

func (*Root) XXX_Size

func (m *Root) XXX_Size() int

func (*Root) XXX_Unmarshal

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

type Span

type Span struct {
	Id                   uint64   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Link                 *Link    `protobuf:"bytes,2,opt,name=link" json:"link,omitempty"`
	BeginCycles          uint64   `protobuf:"varint,3,opt,name=begin_cycles,json=beginCycles,proto3" json:"begin_cycles,omitempty"`
	EndCycles            uint64   `protobuf:"varint,4,opt,name=end_cycles,json=endCycles,proto3" json:"end_cycles,omitempty"`
	Event                uint32   `protobuf:"varint,5,opt,name=event,proto3" json:"event,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Span) Descriptor

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

func (*Span) GetBeginCycles

func (m *Span) GetBeginCycles() uint64

func (*Span) GetEndCycles

func (m *Span) GetEndCycles() uint64

func (*Span) GetEvent

func (m *Span) GetEvent() uint32

func (*Span) GetId

func (m *Span) GetId() uint64
func (m *Span) GetLink() *Link

func (*Span) Marshal

func (m *Span) Marshal() (dAtA []byte, err error)

func (*Span) MarshalTo

func (m *Span) MarshalTo(dAtA []byte) (int, error)

func (*Span) ProtoMessage

func (*Span) ProtoMessage()

func (*Span) Reset

func (m *Span) Reset()

func (*Span) Size

func (m *Span) Size() (n int)

func (*Span) String

func (m *Span) String() string

func (*Span) Unmarshal

func (m *Span) Unmarshal(dAtA []byte) error

func (*Span) XXX_DiscardUnknown

func (m *Span) XXX_DiscardUnknown()

func (*Span) XXX_Marshal

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

func (*Span) XXX_Merge

func (dst *Span) XXX_Merge(src proto.Message)

func (*Span) XXX_Size

func (m *Span) XXX_Size() int

func (*Span) XXX_Unmarshal

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

type SpanSet

type SpanSet struct {
	StartTimeNs          uint64   `protobuf:"varint,1,opt,name=start_time_ns,json=startTimeNs,proto3" json:"start_time_ns,omitempty"`
	CyclesPerSec         uint64   `protobuf:"varint,2,opt,name=cycles_per_sec,json=cyclesPerSec,proto3" json:"cycles_per_sec,omitempty"`
	Spans                []*Span  `protobuf:"bytes,3,rep,name=spans" json:"spans,omitempty"`
	CreateTimeNs         uint64   `protobuf:"varint,4,opt,name=create_time_ns,json=createTimeNs,proto3" json:"create_time_ns,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SpanSet) Descriptor

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

func (*SpanSet) GetCreateTimeNs

func (m *SpanSet) GetCreateTimeNs() uint64

func (*SpanSet) GetCyclesPerSec

func (m *SpanSet) GetCyclesPerSec() uint64

func (*SpanSet) GetSpans

func (m *SpanSet) GetSpans() []*Span

func (*SpanSet) GetStartTimeNs

func (m *SpanSet) GetStartTimeNs() uint64

func (*SpanSet) Marshal

func (m *SpanSet) Marshal() (dAtA []byte, err error)

func (*SpanSet) MarshalTo

func (m *SpanSet) MarshalTo(dAtA []byte) (int, error)

func (*SpanSet) ProtoMessage

func (*SpanSet) ProtoMessage()

func (*SpanSet) Reset

func (m *SpanSet) Reset()

func (*SpanSet) Size

func (m *SpanSet) Size() (n int)

func (*SpanSet) String

func (m *SpanSet) String() string

func (*SpanSet) Unmarshal

func (m *SpanSet) Unmarshal(dAtA []byte) error

func (*SpanSet) XXX_DiscardUnknown

func (m *SpanSet) XXX_DiscardUnknown()

func (*SpanSet) XXX_Marshal

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

func (*SpanSet) XXX_Merge

func (dst *SpanSet) XXX_Merge(src proto.Message)

func (*SpanSet) XXX_Size

func (m *SpanSet) XXX_Size() int

func (*SpanSet) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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