common.pb.go 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630
  1. // Copyright 2019, OpenTelemetry 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.26.0
  17. // protoc v3.21.6
  18. // source: opentelemetry/proto/common/v1/common.proto
  19. package v1
  20. import (
  21. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  22. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  23. reflect "reflect"
  24. sync "sync"
  25. )
  26. const (
  27. // Verify that this generated code is sufficiently up-to-date.
  28. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  29. // Verify that runtime/protoimpl is sufficiently up-to-date.
  30. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  31. )
  32. // AnyValue is used to represent any type of attribute value. AnyValue may contain a
  33. // primitive value such as a string or integer or it may contain an arbitrary nested
  34. // object containing arrays, key-value lists and primitives.
  35. type AnyValue struct {
  36. state protoimpl.MessageState
  37. sizeCache protoimpl.SizeCache
  38. unknownFields protoimpl.UnknownFields
  39. // The value is one of the listed fields. It is valid for all values to be unspecified
  40. // in which case this AnyValue is considered to be "empty".
  41. //
  42. // Types that are assignable to Value:
  43. // *AnyValue_StringValue
  44. // *AnyValue_BoolValue
  45. // *AnyValue_IntValue
  46. // *AnyValue_DoubleValue
  47. // *AnyValue_ArrayValue
  48. // *AnyValue_KvlistValue
  49. // *AnyValue_BytesValue
  50. Value isAnyValue_Value `protobuf_oneof:"value"`
  51. }
  52. func (x *AnyValue) Reset() {
  53. *x = AnyValue{}
  54. if protoimpl.UnsafeEnabled {
  55. mi := &file_opentelemetry_proto_common_v1_common_proto_msgTypes[0]
  56. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  57. ms.StoreMessageInfo(mi)
  58. }
  59. }
  60. func (x *AnyValue) String() string {
  61. return protoimpl.X.MessageStringOf(x)
  62. }
  63. func (*AnyValue) ProtoMessage() {}
  64. func (x *AnyValue) ProtoReflect() protoreflect.Message {
  65. mi := &file_opentelemetry_proto_common_v1_common_proto_msgTypes[0]
  66. if protoimpl.UnsafeEnabled && x != nil {
  67. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  68. if ms.LoadMessageInfo() == nil {
  69. ms.StoreMessageInfo(mi)
  70. }
  71. return ms
  72. }
  73. return mi.MessageOf(x)
  74. }
  75. // Deprecated: Use AnyValue.ProtoReflect.Descriptor instead.
  76. func (*AnyValue) Descriptor() ([]byte, []int) {
  77. return file_opentelemetry_proto_common_v1_common_proto_rawDescGZIP(), []int{0}
  78. }
  79. func (m *AnyValue) GetValue() isAnyValue_Value {
  80. if m != nil {
  81. return m.Value
  82. }
  83. return nil
  84. }
  85. func (x *AnyValue) GetStringValue() string {
  86. if x, ok := x.GetValue().(*AnyValue_StringValue); ok {
  87. return x.StringValue
  88. }
  89. return ""
  90. }
  91. func (x *AnyValue) GetBoolValue() bool {
  92. if x, ok := x.GetValue().(*AnyValue_BoolValue); ok {
  93. return x.BoolValue
  94. }
  95. return false
  96. }
  97. func (x *AnyValue) GetIntValue() int64 {
  98. if x, ok := x.GetValue().(*AnyValue_IntValue); ok {
  99. return x.IntValue
  100. }
  101. return 0
  102. }
  103. func (x *AnyValue) GetDoubleValue() float64 {
  104. if x, ok := x.GetValue().(*AnyValue_DoubleValue); ok {
  105. return x.DoubleValue
  106. }
  107. return 0
  108. }
  109. func (x *AnyValue) GetArrayValue() *ArrayValue {
  110. if x, ok := x.GetValue().(*AnyValue_ArrayValue); ok {
  111. return x.ArrayValue
  112. }
  113. return nil
  114. }
  115. func (x *AnyValue) GetKvlistValue() *KeyValueList {
  116. if x, ok := x.GetValue().(*AnyValue_KvlistValue); ok {
  117. return x.KvlistValue
  118. }
  119. return nil
  120. }
  121. func (x *AnyValue) GetBytesValue() []byte {
  122. if x, ok := x.GetValue().(*AnyValue_BytesValue); ok {
  123. return x.BytesValue
  124. }
  125. return nil
  126. }
  127. type isAnyValue_Value interface {
  128. isAnyValue_Value()
  129. }
  130. type AnyValue_StringValue struct {
  131. StringValue string `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3,oneof"`
  132. }
  133. type AnyValue_BoolValue struct {
  134. BoolValue bool `protobuf:"varint,2,opt,name=bool_value,json=boolValue,proto3,oneof"`
  135. }
  136. type AnyValue_IntValue struct {
  137. IntValue int64 `protobuf:"varint,3,opt,name=int_value,json=intValue,proto3,oneof"`
  138. }
  139. type AnyValue_DoubleValue struct {
  140. DoubleValue float64 `protobuf:"fixed64,4,opt,name=double_value,json=doubleValue,proto3,oneof"`
  141. }
  142. type AnyValue_ArrayValue struct {
  143. ArrayValue *ArrayValue `protobuf:"bytes,5,opt,name=array_value,json=arrayValue,proto3,oneof"`
  144. }
  145. type AnyValue_KvlistValue struct {
  146. KvlistValue *KeyValueList `protobuf:"bytes,6,opt,name=kvlist_value,json=kvlistValue,proto3,oneof"`
  147. }
  148. type AnyValue_BytesValue struct {
  149. BytesValue []byte `protobuf:"bytes,7,opt,name=bytes_value,json=bytesValue,proto3,oneof"`
  150. }
  151. func (*AnyValue_StringValue) isAnyValue_Value() {}
  152. func (*AnyValue_BoolValue) isAnyValue_Value() {}
  153. func (*AnyValue_IntValue) isAnyValue_Value() {}
  154. func (*AnyValue_DoubleValue) isAnyValue_Value() {}
  155. func (*AnyValue_ArrayValue) isAnyValue_Value() {}
  156. func (*AnyValue_KvlistValue) isAnyValue_Value() {}
  157. func (*AnyValue_BytesValue) isAnyValue_Value() {}
  158. // ArrayValue is a list of AnyValue messages. We need ArrayValue as a message
  159. // since oneof in AnyValue does not allow repeated fields.
  160. type ArrayValue struct {
  161. state protoimpl.MessageState
  162. sizeCache protoimpl.SizeCache
  163. unknownFields protoimpl.UnknownFields
  164. // Array of values. The array may be empty (contain 0 elements).
  165. Values []*AnyValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
  166. }
  167. func (x *ArrayValue) Reset() {
  168. *x = ArrayValue{}
  169. if protoimpl.UnsafeEnabled {
  170. mi := &file_opentelemetry_proto_common_v1_common_proto_msgTypes[1]
  171. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  172. ms.StoreMessageInfo(mi)
  173. }
  174. }
  175. func (x *ArrayValue) String() string {
  176. return protoimpl.X.MessageStringOf(x)
  177. }
  178. func (*ArrayValue) ProtoMessage() {}
  179. func (x *ArrayValue) ProtoReflect() protoreflect.Message {
  180. mi := &file_opentelemetry_proto_common_v1_common_proto_msgTypes[1]
  181. if protoimpl.UnsafeEnabled && x != nil {
  182. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  183. if ms.LoadMessageInfo() == nil {
  184. ms.StoreMessageInfo(mi)
  185. }
  186. return ms
  187. }
  188. return mi.MessageOf(x)
  189. }
  190. // Deprecated: Use ArrayValue.ProtoReflect.Descriptor instead.
  191. func (*ArrayValue) Descriptor() ([]byte, []int) {
  192. return file_opentelemetry_proto_common_v1_common_proto_rawDescGZIP(), []int{1}
  193. }
  194. func (x *ArrayValue) GetValues() []*AnyValue {
  195. if x != nil {
  196. return x.Values
  197. }
  198. return nil
  199. }
  200. // KeyValueList is a list of KeyValue messages. We need KeyValueList as a message
  201. // since `oneof` in AnyValue does not allow repeated fields. Everywhere else where we need
  202. // a list of KeyValue messages (e.g. in Span) we use `repeated KeyValue` directly to
  203. // avoid unnecessary extra wrapping (which slows down the protocol). The 2 approaches
  204. // are semantically equivalent.
  205. type KeyValueList struct {
  206. state protoimpl.MessageState
  207. sizeCache protoimpl.SizeCache
  208. unknownFields protoimpl.UnknownFields
  209. // A collection of key/value pairs of key-value pairs. The list may be empty (may
  210. // contain 0 elements).
  211. // The keys MUST be unique (it is not allowed to have more than one
  212. // value with the same key).
  213. Values []*KeyValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
  214. }
  215. func (x *KeyValueList) Reset() {
  216. *x = KeyValueList{}
  217. if protoimpl.UnsafeEnabled {
  218. mi := &file_opentelemetry_proto_common_v1_common_proto_msgTypes[2]
  219. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  220. ms.StoreMessageInfo(mi)
  221. }
  222. }
  223. func (x *KeyValueList) String() string {
  224. return protoimpl.X.MessageStringOf(x)
  225. }
  226. func (*KeyValueList) ProtoMessage() {}
  227. func (x *KeyValueList) ProtoReflect() protoreflect.Message {
  228. mi := &file_opentelemetry_proto_common_v1_common_proto_msgTypes[2]
  229. if protoimpl.UnsafeEnabled && x != nil {
  230. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  231. if ms.LoadMessageInfo() == nil {
  232. ms.StoreMessageInfo(mi)
  233. }
  234. return ms
  235. }
  236. return mi.MessageOf(x)
  237. }
  238. // Deprecated: Use KeyValueList.ProtoReflect.Descriptor instead.
  239. func (*KeyValueList) Descriptor() ([]byte, []int) {
  240. return file_opentelemetry_proto_common_v1_common_proto_rawDescGZIP(), []int{2}
  241. }
  242. func (x *KeyValueList) GetValues() []*KeyValue {
  243. if x != nil {
  244. return x.Values
  245. }
  246. return nil
  247. }
  248. // KeyValue is a key-value pair that is used to store Span attributes, Link
  249. // attributes, etc.
  250. type KeyValue struct {
  251. state protoimpl.MessageState
  252. sizeCache protoimpl.SizeCache
  253. unknownFields protoimpl.UnknownFields
  254. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
  255. Value *AnyValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
  256. }
  257. func (x *KeyValue) Reset() {
  258. *x = KeyValue{}
  259. if protoimpl.UnsafeEnabled {
  260. mi := &file_opentelemetry_proto_common_v1_common_proto_msgTypes[3]
  261. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  262. ms.StoreMessageInfo(mi)
  263. }
  264. }
  265. func (x *KeyValue) String() string {
  266. return protoimpl.X.MessageStringOf(x)
  267. }
  268. func (*KeyValue) ProtoMessage() {}
  269. func (x *KeyValue) ProtoReflect() protoreflect.Message {
  270. mi := &file_opentelemetry_proto_common_v1_common_proto_msgTypes[3]
  271. if protoimpl.UnsafeEnabled && x != nil {
  272. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  273. if ms.LoadMessageInfo() == nil {
  274. ms.StoreMessageInfo(mi)
  275. }
  276. return ms
  277. }
  278. return mi.MessageOf(x)
  279. }
  280. // Deprecated: Use KeyValue.ProtoReflect.Descriptor instead.
  281. func (*KeyValue) Descriptor() ([]byte, []int) {
  282. return file_opentelemetry_proto_common_v1_common_proto_rawDescGZIP(), []int{3}
  283. }
  284. func (x *KeyValue) GetKey() string {
  285. if x != nil {
  286. return x.Key
  287. }
  288. return ""
  289. }
  290. func (x *KeyValue) GetValue() *AnyValue {
  291. if x != nil {
  292. return x.Value
  293. }
  294. return nil
  295. }
  296. // InstrumentationScope is a message representing the instrumentation scope information
  297. // such as the fully qualified name and version.
  298. type InstrumentationScope struct {
  299. state protoimpl.MessageState
  300. sizeCache protoimpl.SizeCache
  301. unknownFields protoimpl.UnknownFields
  302. // An empty instrumentation scope name means the name is unknown.
  303. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  304. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
  305. // Additional attributes that describe the scope. [Optional].
  306. // Attribute keys MUST be unique (it is not allowed to have more than one
  307. // attribute with the same key).
  308. Attributes []*KeyValue `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty"`
  309. DroppedAttributesCount uint32 `protobuf:"varint,4,opt,name=dropped_attributes_count,json=droppedAttributesCount,proto3" json:"dropped_attributes_count,omitempty"`
  310. }
  311. func (x *InstrumentationScope) Reset() {
  312. *x = InstrumentationScope{}
  313. if protoimpl.UnsafeEnabled {
  314. mi := &file_opentelemetry_proto_common_v1_common_proto_msgTypes[4]
  315. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  316. ms.StoreMessageInfo(mi)
  317. }
  318. }
  319. func (x *InstrumentationScope) String() string {
  320. return protoimpl.X.MessageStringOf(x)
  321. }
  322. func (*InstrumentationScope) ProtoMessage() {}
  323. func (x *InstrumentationScope) ProtoReflect() protoreflect.Message {
  324. mi := &file_opentelemetry_proto_common_v1_common_proto_msgTypes[4]
  325. if protoimpl.UnsafeEnabled && x != nil {
  326. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  327. if ms.LoadMessageInfo() == nil {
  328. ms.StoreMessageInfo(mi)
  329. }
  330. return ms
  331. }
  332. return mi.MessageOf(x)
  333. }
  334. // Deprecated: Use InstrumentationScope.ProtoReflect.Descriptor instead.
  335. func (*InstrumentationScope) Descriptor() ([]byte, []int) {
  336. return file_opentelemetry_proto_common_v1_common_proto_rawDescGZIP(), []int{4}
  337. }
  338. func (x *InstrumentationScope) GetName() string {
  339. if x != nil {
  340. return x.Name
  341. }
  342. return ""
  343. }
  344. func (x *InstrumentationScope) GetVersion() string {
  345. if x != nil {
  346. return x.Version
  347. }
  348. return ""
  349. }
  350. func (x *InstrumentationScope) GetAttributes() []*KeyValue {
  351. if x != nil {
  352. return x.Attributes
  353. }
  354. return nil
  355. }
  356. func (x *InstrumentationScope) GetDroppedAttributesCount() uint32 {
  357. if x != nil {
  358. return x.DroppedAttributesCount
  359. }
  360. return 0
  361. }
  362. var File_opentelemetry_proto_common_v1_common_proto protoreflect.FileDescriptor
  363. var file_opentelemetry_proto_common_v1_common_proto_rawDesc = []byte{
  364. 0x0a, 0x2a, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2f,
  365. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f,
  366. 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1d, 0x6f, 0x70,
  367. 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  368. 0x6f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x22, 0xe0, 0x02, 0x0a, 0x08,
  369. 0x41, 0x6e, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69,
  370. 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00,
  371. 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a,
  372. 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
  373. 0x08, 0x48, 0x00, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1d,
  374. 0x0a, 0x09, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
  375. 0x03, 0x48, 0x00, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a,
  376. 0x0c, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20,
  377. 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c,
  378. 0x75, 0x65, 0x12, 0x4c, 0x0a, 0x0b, 0x61, 0x72, 0x72, 0x61, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75,
  379. 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65,
  380. 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x63, 0x6f,
  381. 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x72, 0x72, 0x61, 0x79, 0x56, 0x61, 0x6c,
  382. 0x75, 0x65, 0x48, 0x00, 0x52, 0x0a, 0x61, 0x72, 0x72, 0x61, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65,
  383. 0x12, 0x50, 0x0a, 0x0c, 0x6b, 0x76, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65,
  384. 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c,
  385. 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x63, 0x6f, 0x6d,
  386. 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4c,
  387. 0x69, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0b, 0x6b, 0x76, 0x6c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c,
  388. 0x75, 0x65, 0x12, 0x21, 0x0a, 0x0b, 0x62, 0x79, 0x74, 0x65, 0x73, 0x5f, 0x76, 0x61, 0x6c, 0x75,
  389. 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x0a, 0x62, 0x79, 0x74, 0x65, 0x73,
  390. 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x4d,
  391. 0x0a, 0x0a, 0x41, 0x72, 0x72, 0x61, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3f, 0x0a, 0x06,
  392. 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6f,
  393. 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f,
  394. 0x74, 0x6f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6e, 0x79,
  395. 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0x4f, 0x0a,
  396. 0x0c, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3f, 0x0a,
  397. 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e,
  398. 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72,
  399. 0x6f, 0x74, 0x6f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65,
  400. 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0x5b,
  401. 0x0a, 0x08, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
  402. 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3d, 0x0a, 0x05,
  403. 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6f, 0x70,
  404. 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  405. 0x6f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6e, 0x79, 0x56,
  406. 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xc7, 0x01, 0x0a, 0x14,
  407. 0x49, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53,
  408. 0x63, 0x6f, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
  409. 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73,
  410. 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69,
  411. 0x6f, 0x6e, 0x12, 0x47, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73,
  412. 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c,
  413. 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x63, 0x6f, 0x6d,
  414. 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
  415. 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x38, 0x0a, 0x18, 0x64,
  416. 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65,
  417. 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x16, 0x64,
  418. 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73,
  419. 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x7b, 0x0a, 0x20, 0x69, 0x6f, 0x2e, 0x6f, 0x70, 0x65, 0x6e,
  420. 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
  421. 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x43, 0x6f, 0x6d, 0x6d, 0x6f,
  422. 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x28, 0x67, 0x6f, 0x2e, 0x6f, 0x70, 0x65,
  423. 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x69, 0x6f, 0x2f, 0x70, 0x72,
  424. 0x6f, 0x74, 0x6f, 0x2f, 0x6f, 0x74, 0x6c, 0x70, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f,
  425. 0x76, 0x31, 0xaa, 0x02, 0x1d, 0x4f, 0x70, 0x65, 0x6e, 0x54, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74,
  426. 0x72, 0x79, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
  427. 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  428. }
  429. var (
  430. file_opentelemetry_proto_common_v1_common_proto_rawDescOnce sync.Once
  431. file_opentelemetry_proto_common_v1_common_proto_rawDescData = file_opentelemetry_proto_common_v1_common_proto_rawDesc
  432. )
  433. func file_opentelemetry_proto_common_v1_common_proto_rawDescGZIP() []byte {
  434. file_opentelemetry_proto_common_v1_common_proto_rawDescOnce.Do(func() {
  435. file_opentelemetry_proto_common_v1_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_opentelemetry_proto_common_v1_common_proto_rawDescData)
  436. })
  437. return file_opentelemetry_proto_common_v1_common_proto_rawDescData
  438. }
  439. var file_opentelemetry_proto_common_v1_common_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
  440. var file_opentelemetry_proto_common_v1_common_proto_goTypes = []interface{}{
  441. (*AnyValue)(nil), // 0: opentelemetry.proto.common.v1.AnyValue
  442. (*ArrayValue)(nil), // 1: opentelemetry.proto.common.v1.ArrayValue
  443. (*KeyValueList)(nil), // 2: opentelemetry.proto.common.v1.KeyValueList
  444. (*KeyValue)(nil), // 3: opentelemetry.proto.common.v1.KeyValue
  445. (*InstrumentationScope)(nil), // 4: opentelemetry.proto.common.v1.InstrumentationScope
  446. }
  447. var file_opentelemetry_proto_common_v1_common_proto_depIdxs = []int32{
  448. 1, // 0: opentelemetry.proto.common.v1.AnyValue.array_value:type_name -> opentelemetry.proto.common.v1.ArrayValue
  449. 2, // 1: opentelemetry.proto.common.v1.AnyValue.kvlist_value:type_name -> opentelemetry.proto.common.v1.KeyValueList
  450. 0, // 2: opentelemetry.proto.common.v1.ArrayValue.values:type_name -> opentelemetry.proto.common.v1.AnyValue
  451. 3, // 3: opentelemetry.proto.common.v1.KeyValueList.values:type_name -> opentelemetry.proto.common.v1.KeyValue
  452. 0, // 4: opentelemetry.proto.common.v1.KeyValue.value:type_name -> opentelemetry.proto.common.v1.AnyValue
  453. 3, // 5: opentelemetry.proto.common.v1.InstrumentationScope.attributes:type_name -> opentelemetry.proto.common.v1.KeyValue
  454. 6, // [6:6] is the sub-list for method output_type
  455. 6, // [6:6] is the sub-list for method input_type
  456. 6, // [6:6] is the sub-list for extension type_name
  457. 6, // [6:6] is the sub-list for extension extendee
  458. 0, // [0:6] is the sub-list for field type_name
  459. }
  460. func init() { file_opentelemetry_proto_common_v1_common_proto_init() }
  461. func file_opentelemetry_proto_common_v1_common_proto_init() {
  462. if File_opentelemetry_proto_common_v1_common_proto != nil {
  463. return
  464. }
  465. if !protoimpl.UnsafeEnabled {
  466. file_opentelemetry_proto_common_v1_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  467. switch v := v.(*AnyValue); i {
  468. case 0:
  469. return &v.state
  470. case 1:
  471. return &v.sizeCache
  472. case 2:
  473. return &v.unknownFields
  474. default:
  475. return nil
  476. }
  477. }
  478. file_opentelemetry_proto_common_v1_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  479. switch v := v.(*ArrayValue); i {
  480. case 0:
  481. return &v.state
  482. case 1:
  483. return &v.sizeCache
  484. case 2:
  485. return &v.unknownFields
  486. default:
  487. return nil
  488. }
  489. }
  490. file_opentelemetry_proto_common_v1_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  491. switch v := v.(*KeyValueList); i {
  492. case 0:
  493. return &v.state
  494. case 1:
  495. return &v.sizeCache
  496. case 2:
  497. return &v.unknownFields
  498. default:
  499. return nil
  500. }
  501. }
  502. file_opentelemetry_proto_common_v1_common_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  503. switch v := v.(*KeyValue); i {
  504. case 0:
  505. return &v.state
  506. case 1:
  507. return &v.sizeCache
  508. case 2:
  509. return &v.unknownFields
  510. default:
  511. return nil
  512. }
  513. }
  514. file_opentelemetry_proto_common_v1_common_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  515. switch v := v.(*InstrumentationScope); i {
  516. case 0:
  517. return &v.state
  518. case 1:
  519. return &v.sizeCache
  520. case 2:
  521. return &v.unknownFields
  522. default:
  523. return nil
  524. }
  525. }
  526. }
  527. file_opentelemetry_proto_common_v1_common_proto_msgTypes[0].OneofWrappers = []interface{}{
  528. (*AnyValue_StringValue)(nil),
  529. (*AnyValue_BoolValue)(nil),
  530. (*AnyValue_IntValue)(nil),
  531. (*AnyValue_DoubleValue)(nil),
  532. (*AnyValue_ArrayValue)(nil),
  533. (*AnyValue_KvlistValue)(nil),
  534. (*AnyValue_BytesValue)(nil),
  535. }
  536. type x struct{}
  537. out := protoimpl.TypeBuilder{
  538. File: protoimpl.DescBuilder{
  539. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  540. RawDescriptor: file_opentelemetry_proto_common_v1_common_proto_rawDesc,
  541. NumEnums: 0,
  542. NumMessages: 5,
  543. NumExtensions: 0,
  544. NumServices: 0,
  545. },
  546. GoTypes: file_opentelemetry_proto_common_v1_common_proto_goTypes,
  547. DependencyIndexes: file_opentelemetry_proto_common_v1_common_proto_depIdxs,
  548. MessageInfos: file_opentelemetry_proto_common_v1_common_proto_msgTypes,
  549. }.Build()
  550. File_opentelemetry_proto_common_v1_common_proto = out.File
  551. file_opentelemetry_proto_common_v1_common_proto_rawDesc = nil
  552. file_opentelemetry_proto_common_v1_common_proto_goTypes = nil
  553. file_opentelemetry_proto_common_v1_common_proto_depIdxs = nil
  554. }