prototest

package
v1.54.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use SpanRef.ProtoReflect.Descriptor instead.

func (*SpanRef) GetRefType

func (x *SpanRef) GetRefType() SpanRefType

func (*SpanRef) GetSpanId

func (x *SpanRef) GetSpanId() []byte

func (*SpanRef) GetTraceId

func (x *SpanRef) GetTraceId() []byte

func (*SpanRef) ProtoMessage

func (*SpanRef) ProtoMessage()

func (*SpanRef) ProtoReflect added in v1.24.0

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

func (*SpanRef) Reset

func (x *SpanRef) Reset()

func (*SpanRef) String

func (x *SpanRef) String() string

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) 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

Jump to

Keyboard shortcuts

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