trace.pb.go 90 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240
  1. // Copyright 2017, OpenCensus Authors
  2. //
  3. // Licensed under the Apache License, Version 2.0 (the "License");
  4. // you may not use this file except in compliance with the License.
  5. // You may obtain a copy of the License at
  6. //
  7. // http://www.apache.org/licenses/LICENSE-2.0
  8. //
  9. // Unless required by applicable law or agreed to in writing, software
  10. // distributed under the License is distributed on an "AS IS" BASIS,
  11. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. // See the License for the specific language governing permissions and
  13. // limitations under the License.
  14. // Code generated by protoc-gen-go. DO NOT EDIT.
  15. // versions:
  16. // protoc-gen-go v1.25.0
  17. // protoc v3.12.3
  18. // source: opencensus/proto/trace/v1/trace.proto
  19. package v1
  20. import (
  21. v1 "github.com/census-instrumentation/opencensus-proto/gen-go/resource/v1"
  22. proto "github.com/golang/protobuf/proto"
  23. timestamp "github.com/golang/protobuf/ptypes/timestamp"
  24. wrappers "github.com/golang/protobuf/ptypes/wrappers"
  25. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  26. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  27. reflect "reflect"
  28. sync "sync"
  29. )
  30. const (
  31. // Verify that this generated code is sufficiently up-to-date.
  32. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  33. // Verify that runtime/protoimpl is sufficiently up-to-date.
  34. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  35. )
  36. // This is a compile-time assertion that a sufficiently up-to-date version
  37. // of the legacy proto package is being used.
  38. const _ = proto.ProtoPackageIsVersion4
  39. // Type of span. Can be used to specify additional relationships between spans
  40. // in addition to a parent/child relationship.
  41. type Span_SpanKind int32
  42. const (
  43. // Unspecified.
  44. Span_SPAN_KIND_UNSPECIFIED Span_SpanKind = 0
  45. // Indicates that the span covers server-side handling of an RPC or other
  46. // remote network request.
  47. Span_SERVER Span_SpanKind = 1
  48. // Indicates that the span covers the client-side wrapper around an RPC or
  49. // other remote request.
  50. Span_CLIENT Span_SpanKind = 2
  51. )
  52. // Enum value maps for Span_SpanKind.
  53. var (
  54. Span_SpanKind_name = map[int32]string{
  55. 0: "SPAN_KIND_UNSPECIFIED",
  56. 1: "SERVER",
  57. 2: "CLIENT",
  58. }
  59. Span_SpanKind_value = map[string]int32{
  60. "SPAN_KIND_UNSPECIFIED": 0,
  61. "SERVER": 1,
  62. "CLIENT": 2,
  63. }
  64. )
  65. func (x Span_SpanKind) Enum() *Span_SpanKind {
  66. p := new(Span_SpanKind)
  67. *p = x
  68. return p
  69. }
  70. func (x Span_SpanKind) String() string {
  71. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  72. }
  73. func (Span_SpanKind) Descriptor() protoreflect.EnumDescriptor {
  74. return file_opencensus_proto_trace_v1_trace_proto_enumTypes[0].Descriptor()
  75. }
  76. func (Span_SpanKind) Type() protoreflect.EnumType {
  77. return &file_opencensus_proto_trace_v1_trace_proto_enumTypes[0]
  78. }
  79. func (x Span_SpanKind) Number() protoreflect.EnumNumber {
  80. return protoreflect.EnumNumber(x)
  81. }
  82. // Deprecated: Use Span_SpanKind.Descriptor instead.
  83. func (Span_SpanKind) EnumDescriptor() ([]byte, []int) {
  84. return file_opencensus_proto_trace_v1_trace_proto_rawDescGZIP(), []int{0, 0}
  85. }
  86. // Indicates whether the message was sent or received.
  87. type Span_TimeEvent_MessageEvent_Type int32
  88. const (
  89. // Unknown event type.
  90. Span_TimeEvent_MessageEvent_TYPE_UNSPECIFIED Span_TimeEvent_MessageEvent_Type = 0
  91. // Indicates a sent message.
  92. Span_TimeEvent_MessageEvent_SENT Span_TimeEvent_MessageEvent_Type = 1
  93. // Indicates a received message.
  94. Span_TimeEvent_MessageEvent_RECEIVED Span_TimeEvent_MessageEvent_Type = 2
  95. )
  96. // Enum value maps for Span_TimeEvent_MessageEvent_Type.
  97. var (
  98. Span_TimeEvent_MessageEvent_Type_name = map[int32]string{
  99. 0: "TYPE_UNSPECIFIED",
  100. 1: "SENT",
  101. 2: "RECEIVED",
  102. }
  103. Span_TimeEvent_MessageEvent_Type_value = map[string]int32{
  104. "TYPE_UNSPECIFIED": 0,
  105. "SENT": 1,
  106. "RECEIVED": 2,
  107. }
  108. )
  109. func (x Span_TimeEvent_MessageEvent_Type) Enum() *Span_TimeEvent_MessageEvent_Type {
  110. p := new(Span_TimeEvent_MessageEvent_Type)
  111. *p = x
  112. return p
  113. }
  114. func (x Span_TimeEvent_MessageEvent_Type) String() string {
  115. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  116. }
  117. func (Span_TimeEvent_MessageEvent_Type) Descriptor() protoreflect.EnumDescriptor {
  118. return file_opencensus_proto_trace_v1_trace_proto_enumTypes[1].Descriptor()
  119. }
  120. func (Span_TimeEvent_MessageEvent_Type) Type() protoreflect.EnumType {
  121. return &file_opencensus_proto_trace_v1_trace_proto_enumTypes[1]
  122. }
  123. func (x Span_TimeEvent_MessageEvent_Type) Number() protoreflect.EnumNumber {
  124. return protoreflect.EnumNumber(x)
  125. }
  126. // Deprecated: Use Span_TimeEvent_MessageEvent_Type.Descriptor instead.
  127. func (Span_TimeEvent_MessageEvent_Type) EnumDescriptor() ([]byte, []int) {
  128. return file_opencensus_proto_trace_v1_trace_proto_rawDescGZIP(), []int{0, 2, 1, 0}
  129. }
  130. // The relationship of the current span relative to the linked span: child,
  131. // parent, or unspecified.
  132. type Span_Link_Type int32
  133. const (
  134. // The relationship of the two spans is unknown, or known but other
  135. // than parent-child.
  136. Span_Link_TYPE_UNSPECIFIED Span_Link_Type = 0
  137. // The linked span is a child of the current span.
  138. Span_Link_CHILD_LINKED_SPAN Span_Link_Type = 1
  139. // The linked span is a parent of the current span.
  140. Span_Link_PARENT_LINKED_SPAN Span_Link_Type = 2
  141. )
  142. // Enum value maps for Span_Link_Type.
  143. var (
  144. Span_Link_Type_name = map[int32]string{
  145. 0: "TYPE_UNSPECIFIED",
  146. 1: "CHILD_LINKED_SPAN",
  147. 2: "PARENT_LINKED_SPAN",
  148. }
  149. Span_Link_Type_value = map[string]int32{
  150. "TYPE_UNSPECIFIED": 0,
  151. "CHILD_LINKED_SPAN": 1,
  152. "PARENT_LINKED_SPAN": 2,
  153. }
  154. )
  155. func (x Span_Link_Type) Enum() *Span_Link_Type {
  156. p := new(Span_Link_Type)
  157. *p = x
  158. return p
  159. }
  160. func (x Span_Link_Type) String() string {
  161. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  162. }
  163. func (Span_Link_Type) Descriptor() protoreflect.EnumDescriptor {
  164. return file_opencensus_proto_trace_v1_trace_proto_enumTypes[2].Descriptor()
  165. }
  166. func (Span_Link_Type) Type() protoreflect.EnumType {
  167. return &file_opencensus_proto_trace_v1_trace_proto_enumTypes[2]
  168. }
  169. func (x Span_Link_Type) Number() protoreflect.EnumNumber {
  170. return protoreflect.EnumNumber(x)
  171. }
  172. // Deprecated: Use Span_Link_Type.Descriptor instead.
  173. func (Span_Link_Type) EnumDescriptor() ([]byte, []int) {
  174. return file_opencensus_proto_trace_v1_trace_proto_rawDescGZIP(), []int{0, 4, 0}
  175. }
  176. // A span represents a single operation within a trace. Spans can be
  177. // nested to form a trace tree. Spans may also be linked to other spans
  178. // from the same or different trace. And form graphs. Often, a trace
  179. // contains a root span that describes the end-to-end latency, and one
  180. // or more subspans for its sub-operations. A trace can also contain
  181. // multiple root spans, or none at all. Spans do not need to be
  182. // contiguous - there may be gaps or overlaps between spans in a trace.
  183. //
  184. // The next id is 17.
  185. // TODO(bdrutu): Add an example.
  186. type Span struct {
  187. state protoimpl.MessageState
  188. sizeCache protoimpl.SizeCache
  189. unknownFields protoimpl.UnknownFields
  190. // A unique identifier for a trace. All spans from the same trace share
  191. // the same `trace_id`. The ID is a 16-byte array. An ID with all zeroes
  192. // is considered invalid.
  193. //
  194. // This field is semantically required. Receiver should generate new
  195. // random trace_id if empty or invalid trace_id was received.
  196. //
  197. // This field is required.
  198. TraceId []byte `protobuf:"bytes,1,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"`
  199. // A unique identifier for a span within a trace, assigned when the span
  200. // is created. The ID is an 8-byte array. An ID with all zeroes is considered
  201. // invalid.
  202. //
  203. // This field is semantically required. Receiver should generate new
  204. // random span_id if empty or invalid span_id was received.
  205. //
  206. // This field is required.
  207. SpanId []byte `protobuf:"bytes,2,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"`
  208. // The Tracestate on the span.
  209. Tracestate *Span_Tracestate `protobuf:"bytes,15,opt,name=tracestate,proto3" json:"tracestate,omitempty"`
  210. // The `span_id` of this span's parent span. If this is a root span, then this
  211. // field must be empty. The ID is an 8-byte array.
  212. ParentSpanId []byte `protobuf:"bytes,3,opt,name=parent_span_id,json=parentSpanId,proto3" json:"parent_span_id,omitempty"`
  213. // A description of the span's operation.
  214. //
  215. // For example, the name can be a qualified method name or a file name
  216. // and a line number where the operation is called. A best practice is to use
  217. // the same display name at the same call point in an application.
  218. // This makes it easier to correlate spans in different traces.
  219. //
  220. // This field is semantically required to be set to non-empty string.
  221. // When null or empty string received - receiver may use string "name"
  222. // as a replacement. There might be smarted algorithms implemented by
  223. // receiver to fix the empty span name.
  224. //
  225. // This field is required.
  226. Name *TruncatableString `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
  227. // Distinguishes between spans generated in a particular context. For example,
  228. // two spans with the same name may be distinguished using `CLIENT` (caller)
  229. // and `SERVER` (callee) to identify queueing latency associated with the span.
  230. Kind Span_SpanKind `protobuf:"varint,14,opt,name=kind,proto3,enum=opencensus.proto.trace.v1.Span_SpanKind" json:"kind,omitempty"`
  231. // The start time of the span. On the client side, this is the time kept by
  232. // the local machine where the span execution starts. On the server side, this
  233. // is the time when the server's application handler starts running.
  234. //
  235. // This field is semantically required. When not set on receive -
  236. // receiver should set it to the value of end_time field if it was
  237. // set. Or to the current time if neither was set. It is important to
  238. // keep end_time > start_time for consistency.
  239. //
  240. // This field is required.
  241. StartTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
  242. // The end time of the span. On the client side, this is the time kept by
  243. // the local machine where the span execution ends. On the server side, this
  244. // is the time when the server application handler stops running.
  245. //
  246. // This field is semantically required. When not set on receive -
  247. // receiver should set it to start_time value. It is important to
  248. // keep end_time > start_time for consistency.
  249. //
  250. // This field is required.
  251. EndTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
  252. // A set of attributes on the span.
  253. Attributes *Span_Attributes `protobuf:"bytes,7,opt,name=attributes,proto3" json:"attributes,omitempty"`
  254. // A stack trace captured at the start of the span.
  255. StackTrace *StackTrace `protobuf:"bytes,8,opt,name=stack_trace,json=stackTrace,proto3" json:"stack_trace,omitempty"`
  256. // The included time events.
  257. TimeEvents *Span_TimeEvents `protobuf:"bytes,9,opt,name=time_events,json=timeEvents,proto3" json:"time_events,omitempty"`
  258. // The included links.
  259. Links *Span_Links `protobuf:"bytes,10,opt,name=links,proto3" json:"links,omitempty"`
  260. // An optional final status for this span. Semantically when Status
  261. // wasn't set it is means span ended without errors and assume
  262. // Status.Ok (code = 0).
  263. Status *Status `protobuf:"bytes,11,opt,name=status,proto3" json:"status,omitempty"`
  264. // An optional resource that is associated with this span. If not set, this span
  265. // should be part of a batch that does include the resource information, unless resource
  266. // information is unknown.
  267. Resource *v1.Resource `protobuf:"bytes,16,opt,name=resource,proto3" json:"resource,omitempty"`
  268. // A highly recommended but not required flag that identifies when a
  269. // trace crosses a process boundary. True when the parent_span belongs
  270. // to the same process as the current span. This flag is most commonly
  271. // used to indicate the need to adjust time as clocks in different
  272. // processes may not be synchronized.
  273. SameProcessAsParentSpan *wrappers.BoolValue `protobuf:"bytes,12,opt,name=same_process_as_parent_span,json=sameProcessAsParentSpan,proto3" json:"same_process_as_parent_span,omitempty"`
  274. // An optional number of child spans that were generated while this span
  275. // was active. If set, allows an implementation to detect missing child spans.
  276. ChildSpanCount *wrappers.UInt32Value `protobuf:"bytes,13,opt,name=child_span_count,json=childSpanCount,proto3" json:"child_span_count,omitempty"`
  277. }
  278. func (x *Span) Reset() {
  279. *x = Span{}
  280. if protoimpl.UnsafeEnabled {
  281. mi := &file_opencensus_proto_trace_v1_trace_proto_msgTypes[0]
  282. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  283. ms.StoreMessageInfo(mi)
  284. }
  285. }
  286. func (x *Span) String() string {
  287. return protoimpl.X.MessageStringOf(x)
  288. }
  289. func (*Span) ProtoMessage() {}
  290. func (x *Span) ProtoReflect() protoreflect.Message {
  291. mi := &file_opencensus_proto_trace_v1_trace_proto_msgTypes[0]
  292. if protoimpl.UnsafeEnabled && x != nil {
  293. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  294. if ms.LoadMessageInfo() == nil {
  295. ms.StoreMessageInfo(mi)
  296. }
  297. return ms
  298. }
  299. return mi.MessageOf(x)
  300. }
  301. // Deprecated: Use Span.ProtoReflect.Descriptor instead.
  302. func (*Span) Descriptor() ([]byte, []int) {
  303. return file_opencensus_proto_trace_v1_trace_proto_rawDescGZIP(), []int{0}
  304. }
  305. func (x *Span) GetTraceId() []byte {
  306. if x != nil {
  307. return x.TraceId
  308. }
  309. return nil
  310. }
  311. func (x *Span) GetSpanId() []byte {
  312. if x != nil {
  313. return x.SpanId
  314. }
  315. return nil
  316. }
  317. func (x *Span) GetTracestate() *Span_Tracestate {
  318. if x != nil {
  319. return x.Tracestate
  320. }
  321. return nil
  322. }
  323. func (x *Span) GetParentSpanId() []byte {
  324. if x != nil {
  325. return x.ParentSpanId
  326. }
  327. return nil
  328. }
  329. func (x *Span) GetName() *TruncatableString {
  330. if x != nil {
  331. return x.Name
  332. }
  333. return nil
  334. }
  335. func (x *Span) GetKind() Span_SpanKind {
  336. if x != nil {
  337. return x.Kind
  338. }
  339. return Span_SPAN_KIND_UNSPECIFIED
  340. }
  341. func (x *Span) GetStartTime() *timestamp.Timestamp {
  342. if x != nil {
  343. return x.StartTime
  344. }
  345. return nil
  346. }
  347. func (x *Span) GetEndTime() *timestamp.Timestamp {
  348. if x != nil {
  349. return x.EndTime
  350. }
  351. return nil
  352. }
  353. func (x *Span) GetAttributes() *Span_Attributes {
  354. if x != nil {
  355. return x.Attributes
  356. }
  357. return nil
  358. }
  359. func (x *Span) GetStackTrace() *StackTrace {
  360. if x != nil {
  361. return x.StackTrace
  362. }
  363. return nil
  364. }
  365. func (x *Span) GetTimeEvents() *Span_TimeEvents {
  366. if x != nil {
  367. return x.TimeEvents
  368. }
  369. return nil
  370. }
  371. func (x *Span) GetLinks() *Span_Links {
  372. if x != nil {
  373. return x.Links
  374. }
  375. return nil
  376. }
  377. func (x *Span) GetStatus() *Status {
  378. if x != nil {
  379. return x.Status
  380. }
  381. return nil
  382. }
  383. func (x *Span) GetResource() *v1.Resource {
  384. if x != nil {
  385. return x.Resource
  386. }
  387. return nil
  388. }
  389. func (x *Span) GetSameProcessAsParentSpan() *wrappers.BoolValue {
  390. if x != nil {
  391. return x.SameProcessAsParentSpan
  392. }
  393. return nil
  394. }
  395. func (x *Span) GetChildSpanCount() *wrappers.UInt32Value {
  396. if x != nil {
  397. return x.ChildSpanCount
  398. }
  399. return nil
  400. }
  401. // The `Status` type defines a logical error model that is suitable for different
  402. // programming environments, including REST APIs and RPC APIs. This proto's fields
  403. // are a subset of those of
  404. // [google.rpc.Status](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto),
  405. // which is used by [gRPC](https://github.com/grpc).
  406. type Status struct {
  407. state protoimpl.MessageState
  408. sizeCache protoimpl.SizeCache
  409. unknownFields protoimpl.UnknownFields
  410. // The status code. This is optional field. It is safe to assume 0 (OK)
  411. // when not set.
  412. Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  413. // A developer-facing error message, which should be in English.
  414. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
  415. }
  416. func (x *Status) Reset() {
  417. *x = Status{}
  418. if protoimpl.UnsafeEnabled {
  419. mi := &file_opencensus_proto_trace_v1_trace_proto_msgTypes[1]
  420. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  421. ms.StoreMessageInfo(mi)
  422. }
  423. }
  424. func (x *Status) String() string {
  425. return protoimpl.X.MessageStringOf(x)
  426. }
  427. func (*Status) ProtoMessage() {}
  428. func (x *Status) ProtoReflect() protoreflect.Message {
  429. mi := &file_opencensus_proto_trace_v1_trace_proto_msgTypes[1]
  430. if protoimpl.UnsafeEnabled && x != nil {
  431. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  432. if ms.LoadMessageInfo() == nil {
  433. ms.StoreMessageInfo(mi)
  434. }
  435. return ms
  436. }
  437. return mi.MessageOf(x)
  438. }
  439. // Deprecated: Use Status.ProtoReflect.Descriptor instead.
  440. func (*Status) Descriptor() ([]byte, []int) {
  441. return file_opencensus_proto_trace_v1_trace_proto_rawDescGZIP(), []int{1}
  442. }
  443. func (x *Status) GetCode() int32 {
  444. if x != nil {
  445. return x.Code
  446. }
  447. return 0
  448. }
  449. func (x *Status) GetMessage() string {
  450. if x != nil {
  451. return x.Message
  452. }
  453. return ""
  454. }
  455. // The value of an Attribute.
  456. type AttributeValue struct {
  457. state protoimpl.MessageState
  458. sizeCache protoimpl.SizeCache
  459. unknownFields protoimpl.UnknownFields
  460. // The type of the value.
  461. //
  462. // Types that are assignable to Value:
  463. // *AttributeValue_StringValue
  464. // *AttributeValue_IntValue
  465. // *AttributeValue_BoolValue
  466. // *AttributeValue_DoubleValue
  467. Value isAttributeValue_Value `protobuf_oneof:"value"`
  468. }
  469. func (x *AttributeValue) Reset() {
  470. *x = AttributeValue{}
  471. if protoimpl.UnsafeEnabled {
  472. mi := &file_opencensus_proto_trace_v1_trace_proto_msgTypes[2]
  473. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  474. ms.StoreMessageInfo(mi)
  475. }
  476. }
  477. func (x *AttributeValue) String() string {
  478. return protoimpl.X.MessageStringOf(x)
  479. }
  480. func (*AttributeValue) ProtoMessage() {}
  481. func (x *AttributeValue) ProtoReflect() protoreflect.Message {
  482. mi := &file_opencensus_proto_trace_v1_trace_proto_msgTypes[2]
  483. if protoimpl.UnsafeEnabled && x != nil {
  484. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  485. if ms.LoadMessageInfo() == nil {
  486. ms.StoreMessageInfo(mi)
  487. }
  488. return ms
  489. }
  490. return mi.MessageOf(x)
  491. }
  492. // Deprecated: Use AttributeValue.ProtoReflect.Descriptor instead.
  493. func (*AttributeValue) Descriptor() ([]byte, []int) {
  494. return file_opencensus_proto_trace_v1_trace_proto_rawDescGZIP(), []int{2}
  495. }
  496. func (m *AttributeValue) GetValue() isAttributeValue_Value {
  497. if m != nil {
  498. return m.Value
  499. }
  500. return nil
  501. }
  502. func (x *AttributeValue) GetStringValue() *TruncatableString {
  503. if x, ok := x.GetValue().(*AttributeValue_StringValue); ok {
  504. return x.StringValue
  505. }
  506. return nil
  507. }
  508. func (x *AttributeValue) GetIntValue() int64 {
  509. if x, ok := x.GetValue().(*AttributeValue_IntValue); ok {
  510. return x.IntValue
  511. }
  512. return 0
  513. }
  514. func (x *AttributeValue) GetBoolValue() bool {
  515. if x, ok := x.GetValue().(*AttributeValue_BoolValue); ok {
  516. return x.BoolValue
  517. }
  518. return false
  519. }
  520. func (x *AttributeValue) GetDoubleValue() float64 {
  521. if x, ok := x.GetValue().(*AttributeValue_DoubleValue); ok {
  522. return x.DoubleValue
  523. }
  524. return 0
  525. }
  526. type isAttributeValue_Value interface {
  527. isAttributeValue_Value()
  528. }
  529. type AttributeValue_StringValue struct {
  530. // A string up to 256 bytes long.
  531. StringValue *TruncatableString `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3,oneof"`
  532. }
  533. type AttributeValue_IntValue struct {
  534. // A 64-bit signed integer.
  535. IntValue int64 `protobuf:"varint,2,opt,name=int_value,json=intValue,proto3,oneof"`
  536. }
  537. type AttributeValue_BoolValue struct {
  538. // A Boolean value represented by `true` or `false`.
  539. BoolValue bool `protobuf:"varint,3,opt,name=bool_value,json=boolValue,proto3,oneof"`
  540. }
  541. type AttributeValue_DoubleValue struct {
  542. // A double value.
  543. DoubleValue float64 `protobuf:"fixed64,4,opt,name=double_value,json=doubleValue,proto3,oneof"`
  544. }
  545. func (*AttributeValue_StringValue) isAttributeValue_Value() {}
  546. func (*AttributeValue_IntValue) isAttributeValue_Value() {}
  547. func (*AttributeValue_BoolValue) isAttributeValue_Value() {}
  548. func (*AttributeValue_DoubleValue) isAttributeValue_Value() {}
  549. // The call stack which originated this span.
  550. type StackTrace struct {
  551. state protoimpl.MessageState
  552. sizeCache protoimpl.SizeCache
  553. unknownFields protoimpl.UnknownFields
  554. // Stack frames in this stack trace.
  555. StackFrames *StackTrace_StackFrames `protobuf:"bytes,1,opt,name=stack_frames,json=stackFrames,proto3" json:"stack_frames,omitempty"`
  556. // The hash ID is used to conserve network bandwidth for duplicate
  557. // stack traces within a single trace.
  558. //
  559. // Often multiple spans will have identical stack traces.
  560. // The first occurrence of a stack trace should contain both
  561. // `stack_frames` and a value in `stack_trace_hash_id`.
  562. //
  563. // Subsequent spans within the same request can refer
  564. // to that stack trace by setting only `stack_trace_hash_id`.
  565. //
  566. // TODO: describe how to deal with the case where stack_trace_hash_id is
  567. // zero because it was not set.
  568. StackTraceHashId uint64 `protobuf:"varint,2,opt,name=stack_trace_hash_id,json=stackTraceHashId,proto3" json:"stack_trace_hash_id,omitempty"`
  569. }
  570. func (x *StackTrace) Reset() {
  571. *x = StackTrace{}
  572. if protoimpl.UnsafeEnabled {
  573. mi := &file_opencensus_proto_trace_v1_trace_proto_msgTypes[3]
  574. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  575. ms.StoreMessageInfo(mi)
  576. }
  577. }
  578. func (x *StackTrace) String() string {
  579. return protoimpl.X.MessageStringOf(x)
  580. }
  581. func (*StackTrace) ProtoMessage() {}
  582. func (x *StackTrace) ProtoReflect() protoreflect.Message {
  583. mi := &file_opencensus_proto_trace_v1_trace_proto_msgTypes[3]
  584. if protoimpl.UnsafeEnabled && x != nil {
  585. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  586. if ms.LoadMessageInfo() == nil {
  587. ms.StoreMessageInfo(mi)
  588. }
  589. return ms
  590. }
  591. return mi.MessageOf(x)
  592. }
  593. // Deprecated: Use StackTrace.ProtoReflect.Descriptor instead.
  594. func (*StackTrace) Descriptor() ([]byte, []int) {
  595. return file_opencensus_proto_trace_v1_trace_proto_rawDescGZIP(), []int{3}
  596. }
  597. func (x *StackTrace) GetStackFrames() *StackTrace_StackFrames {
  598. if x != nil {
  599. return x.StackFrames
  600. }
  601. return nil
  602. }
  603. func (x *StackTrace) GetStackTraceHashId() uint64 {
  604. if x != nil {
  605. return x.StackTraceHashId
  606. }
  607. return 0
  608. }
  609. // A description of a binary module.
  610. type Module struct {
  611. state protoimpl.MessageState
  612. sizeCache protoimpl.SizeCache
  613. unknownFields protoimpl.UnknownFields
  614. // TODO: document the meaning of this field.
  615. // For example: main binary, kernel modules, and dynamic libraries
  616. // such as libc.so, sharedlib.so.
  617. Module *TruncatableString `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"`
  618. // A unique identifier for the module, usually a hash of its
  619. // contents.
  620. BuildId *TruncatableString `protobuf:"bytes,2,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"`
  621. }
  622. func (x *Module) Reset() {
  623. *x = Module{}
  624. if protoimpl.UnsafeEnabled {
  625. mi := &file_opencensus_proto_trace_v1_trace_proto_msgTypes[4]
  626. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  627. ms.StoreMessageInfo(mi)
  628. }
  629. }
  630. func (x *Module) String() string {
  631. return protoimpl.X.MessageStringOf(x)
  632. }
  633. func (*Module) ProtoMessage() {}
  634. func (x *Module) ProtoReflect() protoreflect.Message {
  635. mi := &file_opencensus_proto_trace_v1_trace_proto_msgTypes[4]
  636. if protoimpl.UnsafeEnabled && x != nil {
  637. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  638. if ms.LoadMessageInfo() == nil {
  639. ms.StoreMessageInfo(mi)
  640. }
  641. return ms
  642. }
  643. return mi.MessageOf(x)
  644. }
  645. // Deprecated: Use Module.ProtoReflect.Descriptor instead.
  646. func (*Module) Descriptor() ([]byte, []int) {
  647. return file_opencensus_proto_trace_v1_trace_proto_rawDescGZIP(), []int{4}
  648. }
  649. func (x *Module) GetModule() *TruncatableString {
  650. if x != nil {
  651. return x.Module
  652. }
  653. return nil
  654. }
  655. func (x *Module) GetBuildId() *TruncatableString {
  656. if x != nil {
  657. return x.BuildId
  658. }
  659. return nil
  660. }
  661. // A string that might be shortened to a specified length.
  662. type TruncatableString struct {
  663. state protoimpl.MessageState
  664. sizeCache protoimpl.SizeCache
  665. unknownFields protoimpl.UnknownFields
  666. // The shortened string. For example, if the original string was 500 bytes long and
  667. // the limit of the string was 128 bytes, then this value contains the first 128
  668. // bytes of the 500-byte string. Note that truncation always happens on a
  669. // character boundary, to ensure that a truncated string is still valid UTF-8.
  670. // Because it may contain multi-byte characters, the size of the truncated string
  671. // may be less than the truncation limit.
  672. Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
  673. // The number of bytes removed from the original string. If this
  674. // value is 0, then the string was not shortened.
  675. TruncatedByteCount int32 `protobuf:"varint,2,opt,name=truncated_byte_count,json=truncatedByteCount,proto3" json:"truncated_byte_count,omitempty"`
  676. }
  677. func (x *TruncatableString) Reset() {
  678. *x = TruncatableString{}
  679. if protoimpl.UnsafeEnabled {
  680. mi := &file_opencensus_proto_trace_v1_trace_proto_msgTypes[5]
  681. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  682. ms.StoreMessageInfo(mi)
  683. }
  684. }
  685. func (x *TruncatableString) String() string {
  686. return protoimpl.X.MessageStringOf(x)
  687. }
  688. func (*TruncatableString) ProtoMessage() {}
  689. func (x *TruncatableString) ProtoReflect() protoreflect.Message {
  690. mi := &file_opencensus_proto_trace_v1_trace_proto_msgTypes[5]
  691. if protoimpl.UnsafeEnabled && x != nil {
  692. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  693. if ms.LoadMessageInfo() == nil {
  694. ms.StoreMessageInfo(mi)
  695. }
  696. return ms
  697. }
  698. return mi.MessageOf(x)
  699. }
  700. // Deprecated: Use TruncatableString.ProtoReflect.Descriptor instead.
  701. func (*TruncatableString) Descriptor() ([]byte, []int) {
  702. return file_opencensus_proto_trace_v1_trace_proto_rawDescGZIP(), []int{5}
  703. }
  704. func (x *TruncatableString) GetValue() string {
  705. if x != nil {
  706. return x.Value
  707. }
  708. return ""
  709. }
  710. func (x *TruncatableString) GetTruncatedByteCount() int32 {
  711. if x != nil {
  712. return x.TruncatedByteCount
  713. }
  714. return 0
  715. }
  716. // This field conveys information about request position in multiple distributed tracing graphs.
  717. // It is a list of Tracestate.Entry with a maximum of 32 members in the list.
  718. //
  719. // See the https://github.com/w3c/distributed-tracing for more details about this field.
  720. type Span_Tracestate struct {
  721. state protoimpl.MessageState
  722. sizeCache protoimpl.SizeCache
  723. unknownFields protoimpl.UnknownFields
  724. // A list of entries that represent the Tracestate.
  725. Entries []*Span_Tracestate_Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
  726. }
  727. func (x *Span_Tracestate) Reset() {
  728. *x = Span_Tracestate{}
  729. if protoimpl.UnsafeEnabled {
  730. mi := &file_opencensus_proto_trace_v1_trace_proto_msgTypes[6]
  731. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  732. ms.StoreMessageInfo(mi)
  733. }
  734. }
  735. func (x *Span_Tracestate) String() string {
  736. return protoimpl.X.MessageStringOf(x)
  737. }
  738. func (*Span_Tracestate) ProtoMessage() {}
  739. func (x *Span_Tracestate) ProtoReflect() protoreflect.Message {
  740. mi := &file_opencensus_proto_trace_v1_trace_proto_msgTypes[6]
  741. if protoimpl.UnsafeEnabled && x != nil {
  742. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  743. if ms.LoadMessageInfo() == nil {
  744. ms.StoreMessageInfo(mi)
  745. }
  746. return ms
  747. }
  748. return mi.MessageOf(x)
  749. }
  750. // Deprecated: Use Span_Tracestate.ProtoReflect.Descriptor instead.
  751. func (*Span_Tracestate) Descriptor() ([]byte, []int) {
  752. return file_opencensus_proto_trace_v1_trace_proto_rawDescGZIP(), []int{0, 0}
  753. }
  754. func (x *Span_Tracestate) GetEntries() []*Span_Tracestate_Entry {
  755. if x != nil {
  756. return x.Entries
  757. }
  758. return nil
  759. }
  760. // A set of attributes, each with a key and a value.
  761. type Span_Attributes struct {
  762. state protoimpl.MessageState
  763. sizeCache protoimpl.SizeCache
  764. unknownFields protoimpl.UnknownFields
  765. // The set of attributes. The value can be a string, an integer, a double
  766. // or the Boolean values `true` or `false`. Note, global attributes like
  767. // server name can be set as tags using resource API. Examples of attributes:
  768. //
  769. // "/http/user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"
  770. // "/http/server_latency": 300
  771. // "abc.com/myattribute": true
  772. // "abc.com/score": 10.239
  773. AttributeMap map[string]*AttributeValue `protobuf:"bytes,1,rep,name=attribute_map,json=attributeMap,proto3" json:"attribute_map,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  774. // The number of attributes that were discarded. Attributes can be discarded
  775. // because their keys are too long or because there are too many attributes.
  776. // If this value is 0, then no attributes were dropped.
  777. DroppedAttributesCount int32 `protobuf:"varint,2,opt,name=dropped_attributes_count,json=droppedAttributesCount,proto3" json:"dropped_attributes_count,omitempty"`
  778. }
  779. func (x *Span_Attributes) Reset() {
  780. *x = Span_Attributes{}
  781. if protoimpl.UnsafeEnabled {
  782. mi := &file_opencensus_proto_trace_v1_trace_proto_msgTypes[7]
  783. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  784. ms.StoreMessageInfo(mi)
  785. }
  786. }
  787. func (x *Span_Attributes) String() string {
  788. return protoimpl.X.MessageStringOf(x)
  789. }
  790. func (*Span_Attributes) ProtoMessage() {}
  791. func (x *Span_Attributes) ProtoReflect() protoreflect.Message {
  792. mi := &file_opencensus_proto_trace_v1_trace_proto_msgTypes[7]
  793. if protoimpl.UnsafeEnabled && x != nil {
  794. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  795. if ms.LoadMessageInfo() == nil {
  796. ms.StoreMessageInfo(mi)
  797. }
  798. return ms
  799. }
  800. return mi.MessageOf(x)
  801. }
  802. // Deprecated: Use Span_Attributes.ProtoReflect.Descriptor instead.
  803. func (*Span_Attributes) Descriptor() ([]byte, []int) {
  804. return file_opencensus_proto_trace_v1_trace_proto_rawDescGZIP(), []int{0, 1}
  805. }
  806. func (x *Span_Attributes) GetAttributeMap() map[string]*AttributeValue {
  807. if x != nil {
  808. return x.AttributeMap
  809. }
  810. return nil
  811. }
  812. func (x *Span_Attributes) GetDroppedAttributesCount() int32 {
  813. if x != nil {
  814. return x.DroppedAttributesCount
  815. }
  816. return 0
  817. }
  818. // A time-stamped annotation or message event in the Span.
  819. type Span_TimeEvent struct {
  820. state protoimpl.MessageState
  821. sizeCache protoimpl.SizeCache
  822. unknownFields protoimpl.UnknownFields
  823. // The time the event occurred.
  824. Time *timestamp.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
  825. // A `TimeEvent` can contain either an `Annotation` object or a
  826. // `MessageEvent` object, but not both.
  827. //
  828. // Types that are assignable to Value:
  829. // *Span_TimeEvent_Annotation_
  830. // *Span_TimeEvent_MessageEvent_
  831. Value isSpan_TimeEvent_Value `protobuf_oneof:"value"`
  832. }
  833. func (x *Span_TimeEvent) Reset() {
  834. *x = Span_TimeEvent{}
  835. if protoimpl.UnsafeEnabled {
  836. mi := &file_opencensus_proto_trace_v1_trace_proto_msgTypes[8]
  837. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  838. ms.StoreMessageInfo(mi)
  839. }
  840. }
  841. func (x *Span_TimeEvent) String() string {
  842. return protoimpl.X.MessageStringOf(x)
  843. }
  844. func (*Span_TimeEvent) ProtoMessage() {}
  845. func (x *Span_TimeEvent) ProtoReflect() protoreflect.Message {
  846. mi := &file_opencensus_proto_trace_v1_trace_proto_msgTypes[8]
  847. if protoimpl.UnsafeEnabled && x != nil {
  848. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  849. if ms.LoadMessageInfo() == nil {
  850. ms.StoreMessageInfo(mi)
  851. }
  852. return ms
  853. }
  854. return mi.MessageOf(x)
  855. }
  856. // Deprecated: Use Span_TimeEvent.ProtoReflect.Descriptor instead.
  857. func (*Span_TimeEvent) Descriptor() ([]byte, []int) {
  858. return file_opencensus_proto_trace_v1_trace_proto_rawDescGZIP(), []int{0, 2}
  859. }
  860. func (x *Span_TimeEvent) GetTime() *timestamp.Timestamp {
  861. if x != nil {
  862. return x.Time
  863. }
  864. return nil
  865. }
  866. func (m *Span_TimeEvent) GetValue() isSpan_TimeEvent_Value {
  867. if m != nil {
  868. return m.Value
  869. }
  870. return nil
  871. }
  872. func (x *Span_TimeEvent) GetAnnotation() *Span_TimeEvent_Annotation {
  873. if x, ok := x.GetValue().(*Span_TimeEvent_Annotation_); ok {
  874. return x.Annotation
  875. }
  876. return nil
  877. }
  878. func (x *Span_TimeEvent) GetMessageEvent() *Span_TimeEvent_MessageEvent {
  879. if x, ok := x.GetValue().(*Span_TimeEvent_MessageEvent_); ok {
  880. return x.MessageEvent
  881. }
  882. return nil
  883. }
  884. type isSpan_TimeEvent_Value interface {
  885. isSpan_TimeEvent_Value()
  886. }
  887. type Span_TimeEvent_Annotation_ struct {
  888. // A text annotation with a set of attributes.
  889. Annotation *Span_TimeEvent_Annotation `protobuf:"bytes,2,opt,name=annotation,proto3,oneof"`
  890. }
  891. type Span_TimeEvent_MessageEvent_ struct {
  892. // An event describing a message sent/received between Spans.
  893. MessageEvent *Span_TimeEvent_MessageEvent `protobuf:"bytes,3,opt,name=message_event,json=messageEvent,proto3,oneof"`
  894. }
  895. func (*Span_TimeEvent_Annotation_) isSpan_TimeEvent_Value() {}
  896. func (*Span_TimeEvent_MessageEvent_) isSpan_TimeEvent_Value() {}
  897. // A collection of `TimeEvent`s. A `TimeEvent` is a time-stamped annotation
  898. // on the span, consisting of either user-supplied key-value pairs, or
  899. // details of a message sent/received between Spans.
  900. type Span_TimeEvents struct {
  901. state protoimpl.MessageState
  902. sizeCache protoimpl.SizeCache
  903. unknownFields protoimpl.UnknownFields
  904. // A collection of `TimeEvent`s.
  905. TimeEvent []*Span_TimeEvent `protobuf:"bytes,1,rep,name=time_event,json=timeEvent,proto3" json:"time_event,omitempty"`
  906. // The number of dropped annotations in all the included time events.
  907. // If the value is 0, then no annotations were dropped.
  908. DroppedAnnotationsCount int32 `protobuf:"varint,2,opt,name=dropped_annotations_count,json=droppedAnnotationsCount,proto3" json:"dropped_annotations_count,omitempty"`
  909. // The number of dropped message events in all the included time events.
  910. // If the value is 0, then no message events were dropped.
  911. DroppedMessageEventsCount int32 `protobuf:"varint,3,opt,name=dropped_message_events_count,json=droppedMessageEventsCount,proto3" json:"dropped_message_events_count,omitempty"`
  912. }
  913. func (x *Span_TimeEvents) Reset() {
  914. *x = Span_TimeEvents{}
  915. if protoimpl.UnsafeEnabled {
  916. mi := &file_opencensus_proto_trace_v1_trace_proto_msgTypes[9]
  917. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  918. ms.StoreMessageInfo(mi)
  919. }
  920. }
  921. func (x *Span_TimeEvents) String() string {
  922. return protoimpl.X.MessageStringOf(x)
  923. }
  924. func (*Span_TimeEvents) ProtoMessage() {}
  925. func (x *Span_TimeEvents) ProtoReflect() protoreflect.Message {
  926. mi := &file_opencensus_proto_trace_v1_trace_proto_msgTypes[9]
  927. if protoimpl.UnsafeEnabled && x != nil {
  928. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  929. if ms.LoadMessageInfo() == nil {
  930. ms.StoreMessageInfo(mi)
  931. }
  932. return ms
  933. }
  934. return mi.MessageOf(x)
  935. }
  936. // Deprecated: Use Span_TimeEvents.ProtoReflect.Descriptor instead.
  937. func (*Span_TimeEvents) Descriptor() ([]byte, []int) {
  938. return file_opencensus_proto_trace_v1_trace_proto_rawDescGZIP(), []int{0, 3}
  939. }
  940. func (x *Span_TimeEvents) GetTimeEvent() []*Span_TimeEvent {
  941. if x != nil {
  942. return x.TimeEvent
  943. }
  944. return nil
  945. }
  946. func (x *Span_TimeEvents) GetDroppedAnnotationsCount() int32 {
  947. if x != nil {
  948. return x.DroppedAnnotationsCount
  949. }
  950. return 0
  951. }
  952. func (x *Span_TimeEvents) GetDroppedMessageEventsCount() int32 {
  953. if x != nil {
  954. return x.DroppedMessageEventsCount
  955. }
  956. return 0
  957. }
  958. // A pointer from the current span to another span in the same trace or in a
  959. // different trace. For example, this can be used in batching operations,
  960. // where a single batch handler processes multiple requests from different
  961. // traces or when the handler receives a request from a different project.
  962. type Span_Link struct {
  963. state protoimpl.MessageState
  964. sizeCache protoimpl.SizeCache
  965. unknownFields protoimpl.UnknownFields
  966. // A unique identifier of a trace that this linked span is part of. The ID is a
  967. // 16-byte array.
  968. TraceId []byte `protobuf:"bytes,1,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"`
  969. // A unique identifier for the linked span. The ID is an 8-byte array.
  970. SpanId []byte `protobuf:"bytes,2,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"`
  971. // The relationship of the current span relative to the linked span.
  972. Type Span_Link_Type `protobuf:"varint,3,opt,name=type,proto3,enum=opencensus.proto.trace.v1.Span_Link_Type" json:"type,omitempty"`
  973. // A set of attributes on the link.
  974. Attributes *Span_Attributes `protobuf:"bytes,4,opt,name=attributes,proto3" json:"attributes,omitempty"`
  975. // The Tracestate associated with the link.
  976. Tracestate *Span_Tracestate `protobuf:"bytes,5,opt,name=tracestate,proto3" json:"tracestate,omitempty"`
  977. }
  978. func (x *Span_Link) Reset() {
  979. *x = Span_Link{}
  980. if protoimpl.UnsafeEnabled {
  981. mi := &file_opencensus_proto_trace_v1_trace_proto_msgTypes[10]
  982. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  983. ms.StoreMessageInfo(mi)
  984. }
  985. }
  986. func (x *Span_Link) String() string {
  987. return protoimpl.X.MessageStringOf(x)
  988. }
  989. func (*Span_Link) ProtoMessage() {}
  990. func (x *Span_Link) ProtoReflect() protoreflect.Message {
  991. mi := &file_opencensus_proto_trace_v1_trace_proto_msgTypes[10]
  992. if protoimpl.UnsafeEnabled && x != nil {
  993. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  994. if ms.LoadMessageInfo() == nil {
  995. ms.StoreMessageInfo(mi)
  996. }
  997. return ms
  998. }
  999. return mi.MessageOf(x)
  1000. }
  1001. // Deprecated: Use Span_Link.ProtoReflect.Descriptor instead.
  1002. func (*Span_Link) Descriptor() ([]byte, []int) {
  1003. return file_opencensus_proto_trace_v1_trace_proto_rawDescGZIP(), []int{0, 4}
  1004. }
  1005. func (x *Span_Link) GetTraceId() []byte {
  1006. if x != nil {
  1007. return x.TraceId
  1008. }
  1009. return nil
  1010. }
  1011. func (x *Span_Link) GetSpanId() []byte {
  1012. if x != nil {
  1013. return x.SpanId
  1014. }
  1015. return nil
  1016. }
  1017. func (x *Span_Link) GetType() Span_Link_Type {
  1018. if x != nil {
  1019. return x.Type
  1020. }
  1021. return Span_Link_TYPE_UNSPECIFIED
  1022. }
  1023. func (x *Span_Link) GetAttributes() *Span_Attributes {
  1024. if x != nil {
  1025. return x.Attributes
  1026. }
  1027. return nil
  1028. }
  1029. func (x *Span_Link) GetTracestate() *Span_Tracestate {
  1030. if x != nil {
  1031. return x.Tracestate
  1032. }
  1033. return nil
  1034. }
  1035. // A collection of links, which are references from this span to a span
  1036. // in the same or different trace.
  1037. type Span_Links struct {
  1038. state protoimpl.MessageState
  1039. sizeCache protoimpl.SizeCache
  1040. unknownFields protoimpl.UnknownFields
  1041. // A collection of links.
  1042. Link []*Span_Link `protobuf:"bytes,1,rep,name=link,proto3" json:"link,omitempty"`
  1043. // The number of dropped links after the maximum size was enforced. If
  1044. // this value is 0, then no links were dropped.
  1045. DroppedLinksCount int32 `protobuf:"varint,2,opt,name=dropped_links_count,json=droppedLinksCount,proto3" json:"dropped_links_count,omitempty"`
  1046. }
  1047. func (x *Span_Links) Reset() {
  1048. *x = Span_Links{}
  1049. if protoimpl.UnsafeEnabled {
  1050. mi := &file_opencensus_proto_trace_v1_trace_proto_msgTypes[11]
  1051. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1052. ms.StoreMessageInfo(mi)
  1053. }
  1054. }
  1055. func (x *Span_Links) String() string {
  1056. return protoimpl.X.MessageStringOf(x)
  1057. }
  1058. func (*Span_Links) ProtoMessage() {}
  1059. func (x *Span_Links) ProtoReflect() protoreflect.Message {
  1060. mi := &file_opencensus_proto_trace_v1_trace_proto_msgTypes[11]
  1061. if protoimpl.UnsafeEnabled && x != nil {
  1062. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1063. if ms.LoadMessageInfo() == nil {
  1064. ms.StoreMessageInfo(mi)
  1065. }
  1066. return ms
  1067. }
  1068. return mi.MessageOf(x)
  1069. }
  1070. // Deprecated: Use Span_Links.ProtoReflect.Descriptor instead.
  1071. func (*Span_Links) Descriptor() ([]byte, []int) {
  1072. return file_opencensus_proto_trace_v1_trace_proto_rawDescGZIP(), []int{0, 5}
  1073. }
  1074. func (x *Span_Links) GetLink() []*Span_Link {
  1075. if x != nil {
  1076. return x.Link
  1077. }
  1078. return nil
  1079. }
  1080. func (x *Span_Links) GetDroppedLinksCount() int32 {
  1081. if x != nil {
  1082. return x.DroppedLinksCount
  1083. }
  1084. return 0
  1085. }
  1086. type Span_Tracestate_Entry struct {
  1087. state protoimpl.MessageState
  1088. sizeCache protoimpl.SizeCache
  1089. unknownFields protoimpl.UnknownFields
  1090. // The key must begin with a lowercase letter, and can only contain
  1091. // lowercase letters 'a'-'z', digits '0'-'9', underscores '_', dashes
  1092. // '-', asterisks '*', and forward slashes '/'.
  1093. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
  1094. // The value is opaque string up to 256 characters printable ASCII
  1095. // RFC0020 characters (i.e., the range 0x20 to 0x7E) except ',' and '='.
  1096. // Note that this also excludes tabs, newlines, carriage returns, etc.
  1097. Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
  1098. }
  1099. func (x *Span_Tracestate_Entry) Reset() {
  1100. *x = Span_Tracestate_Entry{}
  1101. if protoimpl.UnsafeEnabled {
  1102. mi := &file_opencensus_proto_trace_v1_trace_proto_msgTypes[12]
  1103. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1104. ms.StoreMessageInfo(mi)
  1105. }
  1106. }
  1107. func (x *Span_Tracestate_Entry) String() string {
  1108. return protoimpl.X.MessageStringOf(x)
  1109. }
  1110. func (*Span_Tracestate_Entry) ProtoMessage() {}
  1111. func (x *Span_Tracestate_Entry) ProtoReflect() protoreflect.Message {
  1112. mi := &file_opencensus_proto_trace_v1_trace_proto_msgTypes[12]
  1113. if protoimpl.UnsafeEnabled && x != nil {
  1114. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1115. if ms.LoadMessageInfo() == nil {
  1116. ms.StoreMessageInfo(mi)
  1117. }
  1118. return ms
  1119. }
  1120. return mi.MessageOf(x)
  1121. }
  1122. // Deprecated: Use Span_Tracestate_Entry.ProtoReflect.Descriptor instead.
  1123. func (*Span_Tracestate_Entry) Descriptor() ([]byte, []int) {
  1124. return file_opencensus_proto_trace_v1_trace_proto_rawDescGZIP(), []int{0, 0, 0}
  1125. }
  1126. func (x *Span_Tracestate_Entry) GetKey() string {
  1127. if x != nil {
  1128. return x.Key
  1129. }
  1130. return ""
  1131. }
  1132. func (x *Span_Tracestate_Entry) GetValue() string {
  1133. if x != nil {
  1134. return x.Value
  1135. }
  1136. return ""
  1137. }
  1138. // A text annotation with a set of attributes.
  1139. type Span_TimeEvent_Annotation struct {
  1140. state protoimpl.MessageState
  1141. sizeCache protoimpl.SizeCache
  1142. unknownFields protoimpl.UnknownFields
  1143. // A user-supplied message describing the event.
  1144. Description *TruncatableString `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
  1145. // A set of attributes on the annotation.
  1146. Attributes *Span_Attributes `protobuf:"bytes,2,opt,name=attributes,proto3" json:"attributes,omitempty"`
  1147. }
  1148. func (x *Span_TimeEvent_Annotation) Reset() {
  1149. *x = Span_TimeEvent_Annotation{}
  1150. if protoimpl.UnsafeEnabled {
  1151. mi := &file_opencensus_proto_trace_v1_trace_proto_msgTypes[14]
  1152. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1153. ms.StoreMessageInfo(mi)
  1154. }
  1155. }
  1156. func (x *Span_TimeEvent_Annotation) String() string {
  1157. return protoimpl.X.MessageStringOf(x)
  1158. }
  1159. func (*Span_TimeEvent_Annotation) ProtoMessage() {}
  1160. func (x *Span_TimeEvent_Annotation) ProtoReflect() protoreflect.Message {
  1161. mi := &file_opencensus_proto_trace_v1_trace_proto_msgTypes[14]
  1162. if protoimpl.UnsafeEnabled && x != nil {
  1163. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1164. if ms.LoadMessageInfo() == nil {
  1165. ms.StoreMessageInfo(mi)
  1166. }
  1167. return ms
  1168. }
  1169. return mi.MessageOf(x)
  1170. }
  1171. // Deprecated: Use Span_TimeEvent_Annotation.ProtoReflect.Descriptor instead.
  1172. func (*Span_TimeEvent_Annotation) Descriptor() ([]byte, []int) {
  1173. return file_opencensus_proto_trace_v1_trace_proto_rawDescGZIP(), []int{0, 2, 0}
  1174. }
  1175. func (x *Span_TimeEvent_Annotation) GetDescription() *TruncatableString {
  1176. if x != nil {
  1177. return x.Description
  1178. }
  1179. return nil
  1180. }
  1181. func (x *Span_TimeEvent_Annotation) GetAttributes() *Span_Attributes {
  1182. if x != nil {
  1183. return x.Attributes
  1184. }
  1185. return nil
  1186. }
  1187. // An event describing a message sent/received between Spans.
  1188. type Span_TimeEvent_MessageEvent struct {
  1189. state protoimpl.MessageState
  1190. sizeCache protoimpl.SizeCache
  1191. unknownFields protoimpl.UnknownFields
  1192. // The type of MessageEvent. Indicates whether the message was sent or
  1193. // received.
  1194. Type Span_TimeEvent_MessageEvent_Type `protobuf:"varint,1,opt,name=type,proto3,enum=opencensus.proto.trace.v1.Span_TimeEvent_MessageEvent_Type" json:"type,omitempty"`
  1195. // An identifier for the MessageEvent's message that can be used to match
  1196. // SENT and RECEIVED MessageEvents. For example, this field could
  1197. // represent a sequence ID for a streaming RPC. It is recommended to be
  1198. // unique within a Span.
  1199. Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
  1200. // The number of uncompressed bytes sent or received.
  1201. UncompressedSize uint64 `protobuf:"varint,3,opt,name=uncompressed_size,json=uncompressedSize,proto3" json:"uncompressed_size,omitempty"`
  1202. // The number of compressed bytes sent or received. If zero, assumed to
  1203. // be the same size as uncompressed.
  1204. CompressedSize uint64 `protobuf:"varint,4,opt,name=compressed_size,json=compressedSize,proto3" json:"compressed_size,omitempty"`
  1205. }
  1206. func (x *Span_TimeEvent_MessageEvent) Reset() {
  1207. *x = Span_TimeEvent_MessageEvent{}
  1208. if protoimpl.UnsafeEnabled {
  1209. mi := &file_opencensus_proto_trace_v1_trace_proto_msgTypes[15]
  1210. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1211. ms.StoreMessageInfo(mi)
  1212. }
  1213. }
  1214. func (x *Span_TimeEvent_MessageEvent) String() string {
  1215. return protoimpl.X.MessageStringOf(x)
  1216. }
  1217. func (*Span_TimeEvent_MessageEvent) ProtoMessage() {}
  1218. func (x *Span_TimeEvent_MessageEvent) ProtoReflect() protoreflect.Message {
  1219. mi := &file_opencensus_proto_trace_v1_trace_proto_msgTypes[15]
  1220. if protoimpl.UnsafeEnabled && x != nil {
  1221. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1222. if ms.LoadMessageInfo() == nil {
  1223. ms.StoreMessageInfo(mi)
  1224. }
  1225. return ms
  1226. }
  1227. return mi.MessageOf(x)
  1228. }
  1229. // Deprecated: Use Span_TimeEvent_MessageEvent.ProtoReflect.Descriptor instead.
  1230. func (*Span_TimeEvent_MessageEvent) Descriptor() ([]byte, []int) {
  1231. return file_opencensus_proto_trace_v1_trace_proto_rawDescGZIP(), []int{0, 2, 1}
  1232. }
  1233. func (x *Span_TimeEvent_MessageEvent) GetType() Span_TimeEvent_MessageEvent_Type {
  1234. if x != nil {
  1235. return x.Type
  1236. }
  1237. return Span_TimeEvent_MessageEvent_TYPE_UNSPECIFIED
  1238. }
  1239. func (x *Span_TimeEvent_MessageEvent) GetId() uint64 {
  1240. if x != nil {
  1241. return x.Id
  1242. }
  1243. return 0
  1244. }
  1245. func (x *Span_TimeEvent_MessageEvent) GetUncompressedSize() uint64 {
  1246. if x != nil {
  1247. return x.UncompressedSize
  1248. }
  1249. return 0
  1250. }
  1251. func (x *Span_TimeEvent_MessageEvent) GetCompressedSize() uint64 {
  1252. if x != nil {
  1253. return x.CompressedSize
  1254. }
  1255. return 0
  1256. }
  1257. // A single stack frame in a stack trace.
  1258. type StackTrace_StackFrame struct {
  1259. state protoimpl.MessageState
  1260. sizeCache protoimpl.SizeCache
  1261. unknownFields protoimpl.UnknownFields
  1262. // The fully-qualified name that uniquely identifies the function or
  1263. // method that is active in this frame.
  1264. FunctionName *TruncatableString `protobuf:"bytes,1,opt,name=function_name,json=functionName,proto3" json:"function_name,omitempty"`
  1265. // An un-mangled function name, if `function_name` is
  1266. // [mangled](http://www.avabodh.com/cxxin/namemangling.html). The name can
  1267. // be fully qualified.
  1268. OriginalFunctionName *TruncatableString `protobuf:"bytes,2,opt,name=original_function_name,json=originalFunctionName,proto3" json:"original_function_name,omitempty"`
  1269. // The name of the source file where the function call appears.
  1270. FileName *TruncatableString `protobuf:"bytes,3,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
  1271. // The line number in `file_name` where the function call appears.
  1272. LineNumber int64 `protobuf:"varint,4,opt,name=line_number,json=lineNumber,proto3" json:"line_number,omitempty"`
  1273. // The column number where the function call appears, if available.
  1274. // This is important in JavaScript because of its anonymous functions.
  1275. ColumnNumber int64 `protobuf:"varint,5,opt,name=column_number,json=columnNumber,proto3" json:"column_number,omitempty"`
  1276. // The binary module from where the code was loaded.
  1277. LoadModule *Module `protobuf:"bytes,6,opt,name=load_module,json=loadModule,proto3" json:"load_module,omitempty"`
  1278. // The version of the deployed source code.
  1279. SourceVersion *TruncatableString `protobuf:"bytes,7,opt,name=source_version,json=sourceVersion,proto3" json:"source_version,omitempty"`
  1280. }
  1281. func (x *StackTrace_StackFrame) Reset() {
  1282. *x = StackTrace_StackFrame{}
  1283. if protoimpl.UnsafeEnabled {
  1284. mi := &file_opencensus_proto_trace_v1_trace_proto_msgTypes[16]
  1285. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1286. ms.StoreMessageInfo(mi)
  1287. }
  1288. }
  1289. func (x *StackTrace_StackFrame) String() string {
  1290. return protoimpl.X.MessageStringOf(x)
  1291. }
  1292. func (*StackTrace_StackFrame) ProtoMessage() {}
  1293. func (x *StackTrace_StackFrame) ProtoReflect() protoreflect.Message {
  1294. mi := &file_opencensus_proto_trace_v1_trace_proto_msgTypes[16]
  1295. if protoimpl.UnsafeEnabled && x != nil {
  1296. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1297. if ms.LoadMessageInfo() == nil {
  1298. ms.StoreMessageInfo(mi)
  1299. }
  1300. return ms
  1301. }
  1302. return mi.MessageOf(x)
  1303. }
  1304. // Deprecated: Use StackTrace_StackFrame.ProtoReflect.Descriptor instead.
  1305. func (*StackTrace_StackFrame) Descriptor() ([]byte, []int) {
  1306. return file_opencensus_proto_trace_v1_trace_proto_rawDescGZIP(), []int{3, 0}
  1307. }
  1308. func (x *StackTrace_StackFrame) GetFunctionName() *TruncatableString {
  1309. if x != nil {
  1310. return x.FunctionName
  1311. }
  1312. return nil
  1313. }
  1314. func (x *StackTrace_StackFrame) GetOriginalFunctionName() *TruncatableString {
  1315. if x != nil {
  1316. return x.OriginalFunctionName
  1317. }
  1318. return nil
  1319. }
  1320. func (x *StackTrace_StackFrame) GetFileName() *TruncatableString {
  1321. if x != nil {
  1322. return x.FileName
  1323. }
  1324. return nil
  1325. }
  1326. func (x *StackTrace_StackFrame) GetLineNumber() int64 {
  1327. if x != nil {
  1328. return x.LineNumber
  1329. }
  1330. return 0
  1331. }
  1332. func (x *StackTrace_StackFrame) GetColumnNumber() int64 {
  1333. if x != nil {
  1334. return x.ColumnNumber
  1335. }
  1336. return 0
  1337. }
  1338. func (x *StackTrace_StackFrame) GetLoadModule() *Module {
  1339. if x != nil {
  1340. return x.LoadModule
  1341. }
  1342. return nil
  1343. }
  1344. func (x *StackTrace_StackFrame) GetSourceVersion() *TruncatableString {
  1345. if x != nil {
  1346. return x.SourceVersion
  1347. }
  1348. return nil
  1349. }
  1350. // A collection of stack frames, which can be truncated.
  1351. type StackTrace_StackFrames struct {
  1352. state protoimpl.MessageState
  1353. sizeCache protoimpl.SizeCache
  1354. unknownFields protoimpl.UnknownFields
  1355. // Stack frames in this call stack.
  1356. Frame []*StackTrace_StackFrame `protobuf:"bytes,1,rep,name=frame,proto3" json:"frame,omitempty"`
  1357. // The number of stack frames that were dropped because there
  1358. // were too many stack frames.
  1359. // If this value is 0, then no stack frames were dropped.
  1360. DroppedFramesCount int32 `protobuf:"varint,2,opt,name=dropped_frames_count,json=droppedFramesCount,proto3" json:"dropped_frames_count,omitempty"`
  1361. }
  1362. func (x *StackTrace_StackFrames) Reset() {
  1363. *x = StackTrace_StackFrames{}
  1364. if protoimpl.UnsafeEnabled {
  1365. mi := &file_opencensus_proto_trace_v1_trace_proto_msgTypes[17]
  1366. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1367. ms.StoreMessageInfo(mi)
  1368. }
  1369. }
  1370. func (x *StackTrace_StackFrames) String() string {
  1371. return protoimpl.X.MessageStringOf(x)
  1372. }
  1373. func (*StackTrace_StackFrames) ProtoMessage() {}
  1374. func (x *StackTrace_StackFrames) ProtoReflect() protoreflect.Message {
  1375. mi := &file_opencensus_proto_trace_v1_trace_proto_msgTypes[17]
  1376. if protoimpl.UnsafeEnabled && x != nil {
  1377. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1378. if ms.LoadMessageInfo() == nil {
  1379. ms.StoreMessageInfo(mi)
  1380. }
  1381. return ms
  1382. }
  1383. return mi.MessageOf(x)
  1384. }
  1385. // Deprecated: Use StackTrace_StackFrames.ProtoReflect.Descriptor instead.
  1386. func (*StackTrace_StackFrames) Descriptor() ([]byte, []int) {
  1387. return file_opencensus_proto_trace_v1_trace_proto_rawDescGZIP(), []int{3, 1}
  1388. }
  1389. func (x *StackTrace_StackFrames) GetFrame() []*StackTrace_StackFrame {
  1390. if x != nil {
  1391. return x.Frame
  1392. }
  1393. return nil
  1394. }
  1395. func (x *StackTrace_StackFrames) GetDroppedFramesCount() int32 {
  1396. if x != nil {
  1397. return x.DroppedFramesCount
  1398. }
  1399. return 0
  1400. }
  1401. var File_opencensus_proto_trace_v1_trace_proto protoreflect.FileDescriptor
  1402. var file_opencensus_proto_trace_v1_trace_proto_rawDesc = []byte{
  1403. 0x0a, 0x25, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2f, 0x70, 0x72, 0x6f,
  1404. 0x74, 0x6f, 0x2f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x72, 0x61, 0x63,
  1405. 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e,
  1406. 0x73, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e,
  1407. 0x76, 0x31, 0x1a, 0x2b, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2f, 0x70,
  1408. 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2f, 0x76, 0x31,
  1409. 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
  1410. 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
  1411. 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  1412. 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
  1413. 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  1414. 0x22, 0x91, 0x16, 0x0a, 0x04, 0x53, 0x70, 0x61, 0x6e, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x72, 0x61,
  1415. 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, 0x72, 0x61,
  1416. 0x63, 0x65, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x70, 0x61, 0x6e, 0x5f, 0x69, 0x64, 0x18,
  1417. 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x70, 0x61, 0x6e, 0x49, 0x64, 0x12, 0x4a, 0x0a,
  1418. 0x0a, 0x74, 0x72, 0x61, 0x63, 0x65, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28,
  1419. 0x0b, 0x32, 0x2a, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x70,
  1420. 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x70,
  1421. 0x61, 0x6e, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x65, 0x73, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0a, 0x74,
  1422. 0x72, 0x61, 0x63, 0x65, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x70, 0x61, 0x72,
  1423. 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x70, 0x61, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
  1424. 0x0c, 0x52, 0x0c, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x53, 0x70, 0x61, 0x6e, 0x49, 0x64, 0x12,
  1425. 0x40, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e,
  1426. 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  1427. 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61,
  1428. 0x74, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x04, 0x6e, 0x61, 0x6d,
  1429. 0x65, 0x12, 0x3c, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0e, 0x32,
  1430. 0x28, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f,
  1431. 0x74, 0x6f, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x70, 0x61, 0x6e,
  1432. 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12,
  1433. 0x39, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20,
  1434. 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
  1435. 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52,
  1436. 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x65, 0x6e,
  1437. 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
  1438. 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
  1439. 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d,
  1440. 0x65, 0x12, 0x4a, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18,
  1441. 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73,
  1442. 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76,
  1443. 0x31, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65,
  1444. 0x73, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x46, 0x0a,
  1445. 0x0b, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01,
  1446. 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e,
  1447. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53,
  1448. 0x74, 0x61, 0x63, 0x6b, 0x54, 0x72, 0x61, 0x63, 0x65, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x63, 0x6b,
  1449. 0x54, 0x72, 0x61, 0x63, 0x65, 0x12, 0x4b, 0x0a, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x65, 0x76,
  1450. 0x65, 0x6e, 0x74, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6f, 0x70, 0x65,
  1451. 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72,
  1452. 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x2e, 0x54, 0x69, 0x6d, 0x65,
  1453. 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x45, 0x76, 0x65, 0x6e,
  1454. 0x74, 0x73, 0x12, 0x3b, 0x0a, 0x05, 0x6c, 0x69, 0x6e, 0x6b, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28,
  1455. 0x0b, 0x32, 0x25, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x70,
  1456. 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x70,
  1457. 0x61, 0x6e, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x73, 0x52, 0x05, 0x6c, 0x69, 0x6e, 0x6b, 0x73, 0x12,
  1458. 0x39, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32,
  1459. 0x21, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f,
  1460. 0x74, 0x6f, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74,
  1461. 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x42, 0x0a, 0x08, 0x72, 0x65,
  1462. 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6f,
  1463. 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
  1464. 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f,
  1465. 0x75, 0x72, 0x63, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x58,
  1466. 0x0a, 0x1b, 0x73, 0x61, 0x6d, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61,
  1467. 0x73, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x70, 0x61, 0x6e, 0x18, 0x0c, 0x20,
  1468. 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
  1469. 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
  1470. 0x17, 0x73, 0x61, 0x6d, 0x65, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x41, 0x73, 0x50, 0x61,
  1471. 0x72, 0x65, 0x6e, 0x74, 0x53, 0x70, 0x61, 0x6e, 0x12, 0x46, 0x0a, 0x10, 0x63, 0x68, 0x69, 0x6c,
  1472. 0x64, 0x5f, 0x73, 0x70, 0x61, 0x6e, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0d, 0x20, 0x01,
  1473. 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  1474. 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65,
  1475. 0x52, 0x0e, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x53, 0x70, 0x61, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74,
  1476. 0x1a, 0x89, 0x01, 0x0a, 0x0a, 0x54, 0x72, 0x61, 0x63, 0x65, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12,
  1477. 0x4a, 0x0a, 0x07, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
  1478. 0x32, 0x30, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x70, 0x72,
  1479. 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x70, 0x61,
  1480. 0x6e, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x65, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x45, 0x6e, 0x74,
  1481. 0x72, 0x79, 0x52, 0x07, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x1a, 0x2f, 0x0a, 0x05, 0x45,
  1482. 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
  1483. 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
  1484. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x95, 0x02, 0x0a,
  1485. 0x0a, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x61, 0x0a, 0x0d, 0x61,
  1486. 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x01, 0x20, 0x03,
  1487. 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e,
  1488. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53,
  1489. 0x70, 0x61, 0x6e, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x41,
  1490. 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79,
  1491. 0x52, 0x0c, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x4d, 0x61, 0x70, 0x12, 0x38,
  1492. 0x0a, 0x18, 0x64, 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62,
  1493. 0x75, 0x74, 0x65, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
  1494. 0x52, 0x16, 0x64, 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75,
  1495. 0x74, 0x65, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x6a, 0x0a, 0x11, 0x41, 0x74, 0x74, 0x72,
  1496. 0x69, 0x62, 0x75, 0x74, 0x65, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
  1497. 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
  1498. 0x3f, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29,
  1499. 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  1500. 0x6f, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69,
  1501. 0x62, 0x75, 0x74, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
  1502. 0x3a, 0x02, 0x38, 0x01, 0x1a, 0xa4, 0x05, 0x0a, 0x09, 0x54, 0x69, 0x6d, 0x65, 0x45, 0x76, 0x65,
  1503. 0x6e, 0x74, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
  1504. 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
  1505. 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69,
  1506. 0x6d, 0x65, 0x12, 0x56, 0x0a, 0x0a, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  1507. 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e,
  1508. 0x73, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e,
  1509. 0x76, 0x31, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x45, 0x76, 0x65, 0x6e,
  1510. 0x74, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0a,
  1511. 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5d, 0x0a, 0x0d, 0x6d, 0x65,
  1512. 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28,
  1513. 0x0b, 0x32, 0x36, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x70,
  1514. 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x70,
  1515. 0x61, 0x6e, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x4d, 0x65, 0x73,
  1516. 0x73, 0x61, 0x67, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0c, 0x6d, 0x65, 0x73,
  1517. 0x73, 0x61, 0x67, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x1a, 0xa8, 0x01, 0x0a, 0x0a, 0x41, 0x6e,
  1518. 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4e, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63,
  1519. 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e,
  1520. 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  1521. 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61,
  1522. 0x74, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x0b, 0x64, 0x65, 0x73,
  1523. 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4a, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72,
  1524. 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6f,
  1525. 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
  1526. 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x2e, 0x41, 0x74,
  1527. 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62,
  1528. 0x75, 0x74, 0x65, 0x73, 0x1a, 0xfb, 0x01, 0x0a, 0x0c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
  1529. 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x4f, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20,
  1530. 0x01, 0x28, 0x0e, 0x32, 0x3b, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73,
  1531. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e,
  1532. 0x53, 0x70, 0x61, 0x6e, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x4d,
  1533. 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x79, 0x70, 0x65,
  1534. 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
  1535. 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2b, 0x0a, 0x11, 0x75, 0x6e, 0x63, 0x6f, 0x6d, 0x70,
  1536. 0x72, 0x65, 0x73, 0x73, 0x65, 0x64, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
  1537. 0x04, 0x52, 0x10, 0x75, 0x6e, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x65, 0x64, 0x53,
  1538. 0x69, 0x7a, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x65,
  1539. 0x64, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x63, 0x6f,
  1540. 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x65, 0x64, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x34, 0x0a, 0x04,
  1541. 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53,
  1542. 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x45,
  1543. 0x4e, 0x54, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x43, 0x45, 0x49, 0x56, 0x45, 0x44,
  1544. 0x10, 0x02, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0xd3, 0x01, 0x0a, 0x0a,
  1545. 0x54, 0x69, 0x6d, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x48, 0x0a, 0x0a, 0x74, 0x69,
  1546. 0x6d, 0x65, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29,
  1547. 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  1548. 0x6f, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x2e,
  1549. 0x54, 0x69, 0x6d, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x45,
  1550. 0x76, 0x65, 0x6e, 0x74, 0x12, 0x3a, 0x0a, 0x19, 0x64, 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x5f,
  1551. 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e,
  1552. 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x17, 0x64, 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64,
  1553. 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74,
  1554. 0x12, 0x3f, 0x0a, 0x1c, 0x64, 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x73, 0x73,
  1555. 0x61, 0x67, 0x65, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74,
  1556. 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x19, 0x64, 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x4d,
  1557. 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x43, 0x6f, 0x75, 0x6e,
  1558. 0x74, 0x1a, 0xde, 0x02, 0x0a, 0x04, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x72,
  1559. 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, 0x72,
  1560. 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x70, 0x61, 0x6e, 0x5f, 0x69, 0x64,
  1561. 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x70, 0x61, 0x6e, 0x49, 0x64, 0x12, 0x3d,
  1562. 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x6f,
  1563. 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
  1564. 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x2e, 0x4c, 0x69,
  1565. 0x6e, 0x6b, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x4a, 0x0a,
  1566. 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28,
  1567. 0x0b, 0x32, 0x2a, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x70,
  1568. 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x70,
  1569. 0x61, 0x6e, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x0a, 0x61,
  1570. 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x0a, 0x74, 0x72, 0x61,
  1571. 0x63, 0x65, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e,
  1572. 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  1573. 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x2e, 0x54,
  1574. 0x72, 0x61, 0x63, 0x65, 0x73, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0a, 0x74, 0x72, 0x61, 0x63, 0x65,
  1575. 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x4b, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a,
  1576. 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45,
  1577. 0x44, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x48, 0x49, 0x4c, 0x44, 0x5f, 0x4c, 0x49, 0x4e,
  1578. 0x4b, 0x45, 0x44, 0x5f, 0x53, 0x50, 0x41, 0x4e, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x41,
  1579. 0x52, 0x45, 0x4e, 0x54, 0x5f, 0x4c, 0x49, 0x4e, 0x4b, 0x45, 0x44, 0x5f, 0x53, 0x50, 0x41, 0x4e,
  1580. 0x10, 0x02, 0x1a, 0x71, 0x0a, 0x05, 0x4c, 0x69, 0x6e, 0x6b, 0x73, 0x12, 0x38, 0x0a, 0x04, 0x6c,
  1581. 0x69, 0x6e, 0x6b, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6f, 0x70, 0x65, 0x6e,
  1582. 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72, 0x61,
  1583. 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x52,
  1584. 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x12, 0x2e, 0x0a, 0x13, 0x64, 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64,
  1585. 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01,
  1586. 0x28, 0x05, 0x52, 0x11, 0x64, 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x4c, 0x69, 0x6e, 0x6b, 0x73,
  1587. 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x3d, 0x0a, 0x08, 0x53, 0x70, 0x61, 0x6e, 0x4b, 0x69, 0x6e,
  1588. 0x64, 0x12, 0x19, 0x0a, 0x15, 0x53, 0x50, 0x41, 0x4e, 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x55,
  1589. 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06,
  1590. 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4c, 0x49, 0x45,
  1591. 0x4e, 0x54, 0x10, 0x02, 0x22, 0x36, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12,
  1592. 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f,
  1593. 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20,
  1594. 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xd1, 0x01, 0x0a,
  1595. 0x0e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12,
  1596. 0x51, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
  1597. 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73,
  1598. 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76,
  1599. 0x31, 0x2e, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x74, 0x72,
  1600. 0x69, 0x6e, 0x67, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c,
  1601. 0x75, 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
  1602. 0x02, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75,
  1603. 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
  1604. 0x03, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c,
  1605. 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c,
  1606. 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x6f, 0x75, 0x62,
  1607. 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
  1608. 0x22, 0x8b, 0x06, 0x0a, 0x0a, 0x53, 0x74, 0x61, 0x63, 0x6b, 0x54, 0x72, 0x61, 0x63, 0x65, 0x12,
  1609. 0x54, 0x0a, 0x0c, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x73, 0x18,
  1610. 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73,
  1611. 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76,
  1612. 0x31, 0x2e, 0x53, 0x74, 0x61, 0x63, 0x6b, 0x54, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x53, 0x74, 0x61,
  1613. 0x63, 0x6b, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x0b, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x46,
  1614. 0x72, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x2d, 0x0a, 0x13, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5f, 0x74,
  1615. 0x72, 0x61, 0x63, 0x65, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
  1616. 0x28, 0x04, 0x52, 0x10, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x54, 0x72, 0x61, 0x63, 0x65, 0x48, 0x61,
  1617. 0x73, 0x68, 0x49, 0x64, 0x1a, 0xed, 0x03, 0x0a, 0x0a, 0x53, 0x74, 0x61, 0x63, 0x6b, 0x46, 0x72,
  1618. 0x61, 0x6d, 0x65, 0x12, 0x51, 0x0a, 0x0d, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
  1619. 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x6f, 0x70, 0x65,
  1620. 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72,
  1621. 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x61, 0x62,
  1622. 0x6c, 0x65, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x0c, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69,
  1623. 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x62, 0x0a, 0x16, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e,
  1624. 0x61, 0x6c, 0x5f, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
  1625. 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e,
  1626. 0x73, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e,
  1627. 0x76, 0x31, 0x2e, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x74,
  1628. 0x72, 0x69, 0x6e, 0x67, 0x52, 0x14, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x46, 0x75,
  1629. 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x49, 0x0a, 0x09, 0x66, 0x69,
  1630. 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e,
  1631. 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  1632. 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61,
  1633. 0x74, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x08, 0x66, 0x69, 0x6c,
  1634. 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x6e, 0x75,
  1635. 0x6d, 0x62, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x6c, 0x69, 0x6e, 0x65,
  1636. 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e,
  1637. 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x63,
  1638. 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x42, 0x0a, 0x0b, 0x6c,
  1639. 0x6f, 0x61, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b,
  1640. 0x32, 0x21, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x70, 0x72,
  1641. 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64,
  1642. 0x75, 0x6c, 0x65, 0x52, 0x0a, 0x6c, 0x6f, 0x61, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12,
  1643. 0x53, 0x0a, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
  1644. 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65,
  1645. 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65,
  1646. 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x53,
  1647. 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x0d, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72,
  1648. 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0x87, 0x01, 0x0a, 0x0b, 0x53, 0x74, 0x61, 0x63, 0x6b, 0x46, 0x72,
  1649. 0x61, 0x6d, 0x65, 0x73, 0x12, 0x46, 0x0a, 0x05, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
  1650. 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73,
  1651. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e,
  1652. 0x53, 0x74, 0x61, 0x63, 0x6b, 0x54, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x63, 0x6b,
  1653. 0x46, 0x72, 0x61, 0x6d, 0x65, 0x52, 0x05, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x14,
  1654. 0x64, 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x73, 0x5f, 0x63,
  1655. 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x12, 0x64, 0x72, 0x6f, 0x70,
  1656. 0x70, 0x65, 0x64, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x97,
  1657. 0x01, 0x0a, 0x06, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x44, 0x0a, 0x06, 0x6d, 0x6f, 0x64,
  1658. 0x75, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x6f, 0x70, 0x65, 0x6e,
  1659. 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72, 0x61,
  1660. 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x61, 0x62, 0x6c,
  1661. 0x65, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12,
  1662. 0x47, 0x0a, 0x08, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
  1663. 0x0b, 0x32, 0x2c, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x70,
  1664. 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72,
  1665. 0x75, 0x6e, 0x63, 0x61, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52,
  1666. 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x22, 0x5b, 0x0a, 0x11, 0x54, 0x72, 0x75, 0x6e,
  1667. 0x63, 0x61, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x14, 0x0a,
  1668. 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61,
  1669. 0x6c, 0x75, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x64,
  1670. 0x5f, 0x62, 0x79, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
  1671. 0x05, 0x52, 0x12, 0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x64, 0x42, 0x79, 0x74, 0x65,
  1672. 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x8c, 0x01, 0x0a, 0x1c, 0x69, 0x6f, 0x2e, 0x6f, 0x70, 0x65,
  1673. 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72,
  1674. 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0a, 0x54, 0x72, 0x61, 0x63, 0x65, 0x50, 0x72, 0x6f,
  1675. 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x42, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
  1676. 0x2f, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2d, 0x69, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x6d, 0x65,
  1677. 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73,
  1678. 0x75, 0x73, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2d, 0x67, 0x6f, 0x2f,
  1679. 0x74, 0x72, 0x61, 0x63, 0x65, 0x2f, 0x76, 0x31, 0xea, 0x02, 0x19, 0x4f, 0x70, 0x65, 0x6e, 0x43,
  1680. 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x72, 0x61, 0x63,
  1681. 0x65, 0x2e, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  1682. }
  1683. var (
  1684. file_opencensus_proto_trace_v1_trace_proto_rawDescOnce sync.Once
  1685. file_opencensus_proto_trace_v1_trace_proto_rawDescData = file_opencensus_proto_trace_v1_trace_proto_rawDesc
  1686. )
  1687. func file_opencensus_proto_trace_v1_trace_proto_rawDescGZIP() []byte {
  1688. file_opencensus_proto_trace_v1_trace_proto_rawDescOnce.Do(func() {
  1689. file_opencensus_proto_trace_v1_trace_proto_rawDescData = protoimpl.X.CompressGZIP(file_opencensus_proto_trace_v1_trace_proto_rawDescData)
  1690. })
  1691. return file_opencensus_proto_trace_v1_trace_proto_rawDescData
  1692. }
  1693. var file_opencensus_proto_trace_v1_trace_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
  1694. var file_opencensus_proto_trace_v1_trace_proto_msgTypes = make([]protoimpl.MessageInfo, 18)
  1695. var file_opencensus_proto_trace_v1_trace_proto_goTypes = []interface{}{
  1696. (Span_SpanKind)(0), // 0: opencensus.proto.trace.v1.Span.SpanKind
  1697. (Span_TimeEvent_MessageEvent_Type)(0), // 1: opencensus.proto.trace.v1.Span.TimeEvent.MessageEvent.Type
  1698. (Span_Link_Type)(0), // 2: opencensus.proto.trace.v1.Span.Link.Type
  1699. (*Span)(nil), // 3: opencensus.proto.trace.v1.Span
  1700. (*Status)(nil), // 4: opencensus.proto.trace.v1.Status
  1701. (*AttributeValue)(nil), // 5: opencensus.proto.trace.v1.AttributeValue
  1702. (*StackTrace)(nil), // 6: opencensus.proto.trace.v1.StackTrace
  1703. (*Module)(nil), // 7: opencensus.proto.trace.v1.Module
  1704. (*TruncatableString)(nil), // 8: opencensus.proto.trace.v1.TruncatableString
  1705. (*Span_Tracestate)(nil), // 9: opencensus.proto.trace.v1.Span.Tracestate
  1706. (*Span_Attributes)(nil), // 10: opencensus.proto.trace.v1.Span.Attributes
  1707. (*Span_TimeEvent)(nil), // 11: opencensus.proto.trace.v1.Span.TimeEvent
  1708. (*Span_TimeEvents)(nil), // 12: opencensus.proto.trace.v1.Span.TimeEvents
  1709. (*Span_Link)(nil), // 13: opencensus.proto.trace.v1.Span.Link
  1710. (*Span_Links)(nil), // 14: opencensus.proto.trace.v1.Span.Links
  1711. (*Span_Tracestate_Entry)(nil), // 15: opencensus.proto.trace.v1.Span.Tracestate.Entry
  1712. nil, // 16: opencensus.proto.trace.v1.Span.Attributes.AttributeMapEntry
  1713. (*Span_TimeEvent_Annotation)(nil), // 17: opencensus.proto.trace.v1.Span.TimeEvent.Annotation
  1714. (*Span_TimeEvent_MessageEvent)(nil), // 18: opencensus.proto.trace.v1.Span.TimeEvent.MessageEvent
  1715. (*StackTrace_StackFrame)(nil), // 19: opencensus.proto.trace.v1.StackTrace.StackFrame
  1716. (*StackTrace_StackFrames)(nil), // 20: opencensus.proto.trace.v1.StackTrace.StackFrames
  1717. (*timestamp.Timestamp)(nil), // 21: google.protobuf.Timestamp
  1718. (*v1.Resource)(nil), // 22: opencensus.proto.resource.v1.Resource
  1719. (*wrappers.BoolValue)(nil), // 23: google.protobuf.BoolValue
  1720. (*wrappers.UInt32Value)(nil), // 24: google.protobuf.UInt32Value
  1721. }
  1722. var file_opencensus_proto_trace_v1_trace_proto_depIdxs = []int32{
  1723. 9, // 0: opencensus.proto.trace.v1.Span.tracestate:type_name -> opencensus.proto.trace.v1.Span.Tracestate
  1724. 8, // 1: opencensus.proto.trace.v1.Span.name:type_name -> opencensus.proto.trace.v1.TruncatableString
  1725. 0, // 2: opencensus.proto.trace.v1.Span.kind:type_name -> opencensus.proto.trace.v1.Span.SpanKind
  1726. 21, // 3: opencensus.proto.trace.v1.Span.start_time:type_name -> google.protobuf.Timestamp
  1727. 21, // 4: opencensus.proto.trace.v1.Span.end_time:type_name -> google.protobuf.Timestamp
  1728. 10, // 5: opencensus.proto.trace.v1.Span.attributes:type_name -> opencensus.proto.trace.v1.Span.Attributes
  1729. 6, // 6: opencensus.proto.trace.v1.Span.stack_trace:type_name -> opencensus.proto.trace.v1.StackTrace
  1730. 12, // 7: opencensus.proto.trace.v1.Span.time_events:type_name -> opencensus.proto.trace.v1.Span.TimeEvents
  1731. 14, // 8: opencensus.proto.trace.v1.Span.links:type_name -> opencensus.proto.trace.v1.Span.Links
  1732. 4, // 9: opencensus.proto.trace.v1.Span.status:type_name -> opencensus.proto.trace.v1.Status
  1733. 22, // 10: opencensus.proto.trace.v1.Span.resource:type_name -> opencensus.proto.resource.v1.Resource
  1734. 23, // 11: opencensus.proto.trace.v1.Span.same_process_as_parent_span:type_name -> google.protobuf.BoolValue
  1735. 24, // 12: opencensus.proto.trace.v1.Span.child_span_count:type_name -> google.protobuf.UInt32Value
  1736. 8, // 13: opencensus.proto.trace.v1.AttributeValue.string_value:type_name -> opencensus.proto.trace.v1.TruncatableString
  1737. 20, // 14: opencensus.proto.trace.v1.StackTrace.stack_frames:type_name -> opencensus.proto.trace.v1.StackTrace.StackFrames
  1738. 8, // 15: opencensus.proto.trace.v1.Module.module:type_name -> opencensus.proto.trace.v1.TruncatableString
  1739. 8, // 16: opencensus.proto.trace.v1.Module.build_id:type_name -> opencensus.proto.trace.v1.TruncatableString
  1740. 15, // 17: opencensus.proto.trace.v1.Span.Tracestate.entries:type_name -> opencensus.proto.trace.v1.Span.Tracestate.Entry
  1741. 16, // 18: opencensus.proto.trace.v1.Span.Attributes.attribute_map:type_name -> opencensus.proto.trace.v1.Span.Attributes.AttributeMapEntry
  1742. 21, // 19: opencensus.proto.trace.v1.Span.TimeEvent.time:type_name -> google.protobuf.Timestamp
  1743. 17, // 20: opencensus.proto.trace.v1.Span.TimeEvent.annotation:type_name -> opencensus.proto.trace.v1.Span.TimeEvent.Annotation
  1744. 18, // 21: opencensus.proto.trace.v1.Span.TimeEvent.message_event:type_name -> opencensus.proto.trace.v1.Span.TimeEvent.MessageEvent
  1745. 11, // 22: opencensus.proto.trace.v1.Span.TimeEvents.time_event:type_name -> opencensus.proto.trace.v1.Span.TimeEvent
  1746. 2, // 23: opencensus.proto.trace.v1.Span.Link.type:type_name -> opencensus.proto.trace.v1.Span.Link.Type
  1747. 10, // 24: opencensus.proto.trace.v1.Span.Link.attributes:type_name -> opencensus.proto.trace.v1.Span.Attributes
  1748. 9, // 25: opencensus.proto.trace.v1.Span.Link.tracestate:type_name -> opencensus.proto.trace.v1.Span.Tracestate
  1749. 13, // 26: opencensus.proto.trace.v1.Span.Links.link:type_name -> opencensus.proto.trace.v1.Span.Link
  1750. 5, // 27: opencensus.proto.trace.v1.Span.Attributes.AttributeMapEntry.value:type_name -> opencensus.proto.trace.v1.AttributeValue
  1751. 8, // 28: opencensus.proto.trace.v1.Span.TimeEvent.Annotation.description:type_name -> opencensus.proto.trace.v1.TruncatableString
  1752. 10, // 29: opencensus.proto.trace.v1.Span.TimeEvent.Annotation.attributes:type_name -> opencensus.proto.trace.v1.Span.Attributes
  1753. 1, // 30: opencensus.proto.trace.v1.Span.TimeEvent.MessageEvent.type:type_name -> opencensus.proto.trace.v1.Span.TimeEvent.MessageEvent.Type
  1754. 8, // 31: opencensus.proto.trace.v1.StackTrace.StackFrame.function_name:type_name -> opencensus.proto.trace.v1.TruncatableString
  1755. 8, // 32: opencensus.proto.trace.v1.StackTrace.StackFrame.original_function_name:type_name -> opencensus.proto.trace.v1.TruncatableString
  1756. 8, // 33: opencensus.proto.trace.v1.StackTrace.StackFrame.file_name:type_name -> opencensus.proto.trace.v1.TruncatableString
  1757. 7, // 34: opencensus.proto.trace.v1.StackTrace.StackFrame.load_module:type_name -> opencensus.proto.trace.v1.Module
  1758. 8, // 35: opencensus.proto.trace.v1.StackTrace.StackFrame.source_version:type_name -> opencensus.proto.trace.v1.TruncatableString
  1759. 19, // 36: opencensus.proto.trace.v1.StackTrace.StackFrames.frame:type_name -> opencensus.proto.trace.v1.StackTrace.StackFrame
  1760. 37, // [37:37] is the sub-list for method output_type
  1761. 37, // [37:37] is the sub-list for method input_type
  1762. 37, // [37:37] is the sub-list for extension type_name
  1763. 37, // [37:37] is the sub-list for extension extendee
  1764. 0, // [0:37] is the sub-list for field type_name
  1765. }
  1766. func init() { file_opencensus_proto_trace_v1_trace_proto_init() }
  1767. func file_opencensus_proto_trace_v1_trace_proto_init() {
  1768. if File_opencensus_proto_trace_v1_trace_proto != nil {
  1769. return
  1770. }
  1771. if !protoimpl.UnsafeEnabled {
  1772. file_opencensus_proto_trace_v1_trace_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1773. switch v := v.(*Span); i {
  1774. case 0:
  1775. return &v.state
  1776. case 1:
  1777. return &v.sizeCache
  1778. case 2:
  1779. return &v.unknownFields
  1780. default:
  1781. return nil
  1782. }
  1783. }
  1784. file_opencensus_proto_trace_v1_trace_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1785. switch v := v.(*Status); i {
  1786. case 0:
  1787. return &v.state
  1788. case 1:
  1789. return &v.sizeCache
  1790. case 2:
  1791. return &v.unknownFields
  1792. default:
  1793. return nil
  1794. }
  1795. }
  1796. file_opencensus_proto_trace_v1_trace_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1797. switch v := v.(*AttributeValue); i {
  1798. case 0:
  1799. return &v.state
  1800. case 1:
  1801. return &v.sizeCache
  1802. case 2:
  1803. return &v.unknownFields
  1804. default:
  1805. return nil
  1806. }
  1807. }
  1808. file_opencensus_proto_trace_v1_trace_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1809. switch v := v.(*StackTrace); i {
  1810. case 0:
  1811. return &v.state
  1812. case 1:
  1813. return &v.sizeCache
  1814. case 2:
  1815. return &v.unknownFields
  1816. default:
  1817. return nil
  1818. }
  1819. }
  1820. file_opencensus_proto_trace_v1_trace_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1821. switch v := v.(*Module); i {
  1822. case 0:
  1823. return &v.state
  1824. case 1:
  1825. return &v.sizeCache
  1826. case 2:
  1827. return &v.unknownFields
  1828. default:
  1829. return nil
  1830. }
  1831. }
  1832. file_opencensus_proto_trace_v1_trace_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1833. switch v := v.(*TruncatableString); i {
  1834. case 0:
  1835. return &v.state
  1836. case 1:
  1837. return &v.sizeCache
  1838. case 2:
  1839. return &v.unknownFields
  1840. default:
  1841. return nil
  1842. }
  1843. }
  1844. file_opencensus_proto_trace_v1_trace_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1845. switch v := v.(*Span_Tracestate); i {
  1846. case 0:
  1847. return &v.state
  1848. case 1:
  1849. return &v.sizeCache
  1850. case 2:
  1851. return &v.unknownFields
  1852. default:
  1853. return nil
  1854. }
  1855. }
  1856. file_opencensus_proto_trace_v1_trace_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1857. switch v := v.(*Span_Attributes); i {
  1858. case 0:
  1859. return &v.state
  1860. case 1:
  1861. return &v.sizeCache
  1862. case 2:
  1863. return &v.unknownFields
  1864. default:
  1865. return nil
  1866. }
  1867. }
  1868. file_opencensus_proto_trace_v1_trace_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1869. switch v := v.(*Span_TimeEvent); i {
  1870. case 0:
  1871. return &v.state
  1872. case 1:
  1873. return &v.sizeCache
  1874. case 2:
  1875. return &v.unknownFields
  1876. default:
  1877. return nil
  1878. }
  1879. }
  1880. file_opencensus_proto_trace_v1_trace_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1881. switch v := v.(*Span_TimeEvents); i {
  1882. case 0:
  1883. return &v.state
  1884. case 1:
  1885. return &v.sizeCache
  1886. case 2:
  1887. return &v.unknownFields
  1888. default:
  1889. return nil
  1890. }
  1891. }
  1892. file_opencensus_proto_trace_v1_trace_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1893. switch v := v.(*Span_Link); i {
  1894. case 0:
  1895. return &v.state
  1896. case 1:
  1897. return &v.sizeCache
  1898. case 2:
  1899. return &v.unknownFields
  1900. default:
  1901. return nil
  1902. }
  1903. }
  1904. file_opencensus_proto_trace_v1_trace_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1905. switch v := v.(*Span_Links); i {
  1906. case 0:
  1907. return &v.state
  1908. case 1:
  1909. return &v.sizeCache
  1910. case 2:
  1911. return &v.unknownFields
  1912. default:
  1913. return nil
  1914. }
  1915. }
  1916. file_opencensus_proto_trace_v1_trace_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  1917. switch v := v.(*Span_Tracestate_Entry); i {
  1918. case 0:
  1919. return &v.state
  1920. case 1:
  1921. return &v.sizeCache
  1922. case 2:
  1923. return &v.unknownFields
  1924. default:
  1925. return nil
  1926. }
  1927. }
  1928. file_opencensus_proto_trace_v1_trace_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  1929. switch v := v.(*Span_TimeEvent_Annotation); i {
  1930. case 0:
  1931. return &v.state
  1932. case 1:
  1933. return &v.sizeCache
  1934. case 2:
  1935. return &v.unknownFields
  1936. default:
  1937. return nil
  1938. }
  1939. }
  1940. file_opencensus_proto_trace_v1_trace_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  1941. switch v := v.(*Span_TimeEvent_MessageEvent); i {
  1942. case 0:
  1943. return &v.state
  1944. case 1:
  1945. return &v.sizeCache
  1946. case 2:
  1947. return &v.unknownFields
  1948. default:
  1949. return nil
  1950. }
  1951. }
  1952. file_opencensus_proto_trace_v1_trace_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  1953. switch v := v.(*StackTrace_StackFrame); i {
  1954. case 0:
  1955. return &v.state
  1956. case 1:
  1957. return &v.sizeCache
  1958. case 2:
  1959. return &v.unknownFields
  1960. default:
  1961. return nil
  1962. }
  1963. }
  1964. file_opencensus_proto_trace_v1_trace_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
  1965. switch v := v.(*StackTrace_StackFrames); i {
  1966. case 0:
  1967. return &v.state
  1968. case 1:
  1969. return &v.sizeCache
  1970. case 2:
  1971. return &v.unknownFields
  1972. default:
  1973. return nil
  1974. }
  1975. }
  1976. }
  1977. file_opencensus_proto_trace_v1_trace_proto_msgTypes[2].OneofWrappers = []interface{}{
  1978. (*AttributeValue_StringValue)(nil),
  1979. (*AttributeValue_IntValue)(nil),
  1980. (*AttributeValue_BoolValue)(nil),
  1981. (*AttributeValue_DoubleValue)(nil),
  1982. }
  1983. file_opencensus_proto_trace_v1_trace_proto_msgTypes[8].OneofWrappers = []interface{}{
  1984. (*Span_TimeEvent_Annotation_)(nil),
  1985. (*Span_TimeEvent_MessageEvent_)(nil),
  1986. }
  1987. type x struct{}
  1988. out := protoimpl.TypeBuilder{
  1989. File: protoimpl.DescBuilder{
  1990. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1991. RawDescriptor: file_opencensus_proto_trace_v1_trace_proto_rawDesc,
  1992. NumEnums: 3,
  1993. NumMessages: 18,
  1994. NumExtensions: 0,
  1995. NumServices: 0,
  1996. },
  1997. GoTypes: file_opencensus_proto_trace_v1_trace_proto_goTypes,
  1998. DependencyIndexes: file_opencensus_proto_trace_v1_trace_proto_depIdxs,
  1999. EnumInfos: file_opencensus_proto_trace_v1_trace_proto_enumTypes,
  2000. MessageInfos: file_opencensus_proto_trace_v1_trace_proto_msgTypes,
  2001. }.Build()
  2002. File_opencensus_proto_trace_v1_trace_proto = out.File
  2003. file_opencensus_proto_trace_v1_trace_proto_rawDesc = nil
  2004. file_opencensus_proto_trace_v1_trace_proto_goTypes = nil
  2005. file_opencensus_proto_trace_v1_trace_proto_depIdxs = nil
  2006. }