// Code generated by protoc-gen-go. DO NOT EDIT. // source: common/trace-common.proto package v2 import ( fmt "fmt" proto "github.com/golang/protobuf/proto" math "math" ) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type SpanTypeV2 int32 const ( SpanTypeV2_Entry SpanTypeV2 = 0 SpanTypeV2_Exit SpanTypeV2 = 1 SpanTypeV2_Local SpanTypeV2 = 2 ) var SpanTypeV2_name = map[int32]string{ 0: "Entry", 1: "Exit", 2: "Local", } var SpanTypeV2_value = map[string]int32{ "Entry": 0, "Exit": 1, "Local": 2, } func (x SpanTypeV2) String() string { return proto.EnumName(SpanTypeV2_name, int32(x)) } func (SpanTypeV2) EnumDescriptor() ([]byte, []int) { return fileDescriptor_f5d7d2e503402948, []int{0} } type RefTypeV2 int32 const ( RefTypeV2_CrossProcess RefTypeV2 = 0 RefTypeV2_CrossThread RefTypeV2 = 1 ) var RefTypeV2_name = map[int32]string{ 0: "CrossProcess", 1: "CrossThread", } var RefTypeV2_value = map[string]int32{ "CrossProcess": 0, "CrossThread": 1, } func (x RefTypeV2) String() string { return proto.EnumName(RefTypeV2_name, int32(x)) } func (RefTypeV2) EnumDescriptor() ([]byte, []int) { return fileDescriptor_f5d7d2e503402948, []int{1} } type SpanLayerV2 int32 const ( SpanLayerV2_Unknown SpanLayerV2 = 0 SpanLayerV2_Database SpanLayerV2 = 1 SpanLayerV2_RPCFramework SpanLayerV2 = 2 SpanLayerV2_Http SpanLayerV2 = 3 SpanLayerV2_MQ SpanLayerV2 = 4 SpanLayerV2_Cache SpanLayerV2 = 5 ) var SpanLayerV2_name = map[int32]string{ 0: "Unknown", 1: "Database", 2: "RPCFramework", 3: "Http", 4: "MQ", 5: "Cache", } var SpanLayerV2_value = map[string]int32{ "Unknown": 0, "Database": 1, "RPCFramework": 2, "Http": 3, "MQ": 4, "Cache": 5, } func (x SpanLayerV2) String() string { return proto.EnumName(SpanLayerV2_name, int32(x)) } func (SpanLayerV2) EnumDescriptor() ([]byte, []int) { return fileDescriptor_f5d7d2e503402948, []int{2} } type UpstreamSegmentV2 struct { GlobalTraceIds []*UniqueIdV2 `protobuf:"bytes,1,rep,name=globalTraceIds,proto3" json:"globalTraceIds,omitempty"` Segment []byte `protobuf:"bytes,2,opt,name=segment,proto3" json:"segment,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *UpstreamSegmentV2) Reset() { *m = UpstreamSegmentV2{} } func (m *UpstreamSegmentV2) String() string { return proto.CompactTextString(m) } func (*UpstreamSegmentV2) ProtoMessage() {} func (*UpstreamSegmentV2) Descriptor() ([]byte, []int) { return fileDescriptor_f5d7d2e503402948, []int{0} } func (m *UpstreamSegmentV2) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpstreamSegmentV2.Unmarshal(m, b) } func (m *UpstreamSegmentV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpstreamSegmentV2.Marshal(b, m, deterministic) } func (m *UpstreamSegmentV2) XXX_Merge(src proto.Message) { xxx_messageInfo_UpstreamSegmentV2.Merge(m, src) } func (m *UpstreamSegmentV2) XXX_Size() int { return xxx_messageInfo_UpstreamSegmentV2.Size(m) } func (m *UpstreamSegmentV2) XXX_DiscardUnknown() { xxx_messageInfo_UpstreamSegmentV2.DiscardUnknown(m) } var xxx_messageInfo_UpstreamSegmentV2 proto.InternalMessageInfo func (m *UpstreamSegmentV2) GetGlobalTraceIds() []*UniqueIdV2 { if m != nil { return m.GlobalTraceIds } return nil } func (m *UpstreamSegmentV2) GetSegment() []byte { if m != nil { return m.Segment } return nil } type UniqueIdV2 struct { IdParts []int64 `protobuf:"varint,1,rep,packed,name=idParts,proto3" json:"idParts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *UniqueIdV2) Reset() { *m = UniqueIdV2{} } func (m *UniqueIdV2) String() string { return proto.CompactTextString(m) } func (*UniqueIdV2) ProtoMessage() {} func (*UniqueIdV2) Descriptor() ([]byte, []int) { return fileDescriptor_f5d7d2e503402948, []int{1} } func (m *UniqueIdV2) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UniqueIdV2.Unmarshal(m, b) } func (m *UniqueIdV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UniqueIdV2.Marshal(b, m, deterministic) } func (m *UniqueIdV2) XXX_Merge(src proto.Message) { xxx_messageInfo_UniqueIdV2.Merge(m, src) } func (m *UniqueIdV2) XXX_Size() int { return xxx_messageInfo_UniqueIdV2.Size(m) } func (m *UniqueIdV2) XXX_DiscardUnknown() { xxx_messageInfo_UniqueIdV2.DiscardUnknown(m) } var xxx_messageInfo_UniqueIdV2 proto.InternalMessageInfo func (m *UniqueIdV2) GetIdParts() []int64 { if m != nil { return m.IdParts } return nil } func init() { proto.RegisterEnum("SpanTypeV2", SpanTypeV2_name, SpanTypeV2_value) proto.RegisterEnum("RefTypeV2", RefTypeV2_name, RefTypeV2_value) proto.RegisterEnum("SpanLayerV2", SpanLayerV2_name, SpanLayerV2_value) proto.RegisterType((*UpstreamSegmentV2)(nil), "UpstreamSegmentV2") proto.RegisterType((*UniqueIdV2)(nil), "UniqueIdV2") } func init() { proto.RegisterFile("common/trace-common.proto", fileDescriptor_f5d7d2e503402948) } var fileDescriptor_f5d7d2e503402948 = []byte{ // 360 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x91, 0xdf, 0x8a, 0xd3, 0x40, 0x14, 0xc6, 0x9b, 0x74, 0xff, 0x9e, 0x14, 0x1d, 0xe7, 0xaa, 0x7a, 0xb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