Documentation ¶
Index ¶
- Variables
- type SpanRef
- func (*SpanRef) Descriptor() ([]byte, []int)deprecated
- func (x *SpanRef) GetRefType() SpanRefType
- func (x *SpanRef) GetSpanId() []byte
- func (x *SpanRef) GetTraceId() []byte
- func (*SpanRef) ProtoMessage()
- func (x *SpanRef) ProtoReflect() protoreflect.Message
- func (x *SpanRef) Reset()
- func (x *SpanRef) String() string
- type SpanRefType
- func (SpanRefType) Descriptor() protoreflect.EnumDescriptor
- func (x SpanRefType) Enum() *SpanRefType
- func (SpanRefType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SpanRefType) Number() protoreflect.EnumNumber
- func (x SpanRefType) String() string
- func (SpanRefType) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SpanRefType_name = map[int32]string{ 0: "CHILD_OF", 1: "FOLLOWS_FROM", } SpanRefType_value = map[string]int32{ "CHILD_OF": 0, "FOLLOWS_FROM": 1, } )
Enum value maps for SpanRefType.
View Source
var File_model_test_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type SpanRef ¶
type SpanRef struct { TraceId []byte `protobuf:"bytes,1,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"` SpanId []byte `protobuf:"bytes,2,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"` RefType SpanRefType `protobuf:"varint,3,opt,name=ref_type,json=refType,proto3,enum=prototest.SpanRefType" json:"ref_type,omitempty"` // contains filtered or unexported fields }
func (*SpanRef) Descriptor
deprecated
func (*SpanRef) GetRefType ¶
func (x *SpanRef) GetRefType() SpanRefType
func (*SpanRef) GetTraceId ¶
func (*SpanRef) ProtoMessage ¶
func (*SpanRef) ProtoMessage()
func (*SpanRef) ProtoReflect ¶ added in v1.24.0
func (x *SpanRef) ProtoReflect() protoreflect.Message
type SpanRefType ¶
type SpanRefType int32
const ( SpanRefType_CHILD_OF SpanRefType = 0 SpanRefType_FOLLOWS_FROM SpanRefType = 1 )
func (SpanRefType) Descriptor ¶ added in v1.24.0
func (SpanRefType) Descriptor() protoreflect.EnumDescriptor
func (SpanRefType) Enum ¶ added in v1.24.0
func (x SpanRefType) Enum() *SpanRefType
func (SpanRefType) EnumDescriptor
deprecated
func (SpanRefType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SpanRefType.Descriptor instead.
func (SpanRefType) Number ¶ added in v1.24.0
func (x SpanRefType) Number() protoreflect.EnumNumber
func (SpanRefType) String ¶
func (x SpanRefType) String() string
func (SpanRefType) Type ¶ added in v1.24.0
func (SpanRefType) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.