common.pb.go 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574
  1. // Copyright 2018, 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/agent/common/v1/common.proto
  19. // NOTE: This proto is experimental and is subject to change at this point.
  20. // Please do not use it at the moment.
  21. package v1
  22. import (
  23. proto "github.com/golang/protobuf/proto"
  24. timestamp "github.com/golang/protobuf/ptypes/timestamp"
  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 LibraryInfo_Language int32
  40. const (
  41. LibraryInfo_LANGUAGE_UNSPECIFIED LibraryInfo_Language = 0
  42. LibraryInfo_CPP LibraryInfo_Language = 1
  43. LibraryInfo_C_SHARP LibraryInfo_Language = 2
  44. LibraryInfo_ERLANG LibraryInfo_Language = 3
  45. LibraryInfo_GO_LANG LibraryInfo_Language = 4
  46. LibraryInfo_JAVA LibraryInfo_Language = 5
  47. LibraryInfo_NODE_JS LibraryInfo_Language = 6
  48. LibraryInfo_PHP LibraryInfo_Language = 7
  49. LibraryInfo_PYTHON LibraryInfo_Language = 8
  50. LibraryInfo_RUBY LibraryInfo_Language = 9
  51. LibraryInfo_WEB_JS LibraryInfo_Language = 10
  52. )
  53. // Enum value maps for LibraryInfo_Language.
  54. var (
  55. LibraryInfo_Language_name = map[int32]string{
  56. 0: "LANGUAGE_UNSPECIFIED",
  57. 1: "CPP",
  58. 2: "C_SHARP",
  59. 3: "ERLANG",
  60. 4: "GO_LANG",
  61. 5: "JAVA",
  62. 6: "NODE_JS",
  63. 7: "PHP",
  64. 8: "PYTHON",
  65. 9: "RUBY",
  66. 10: "WEB_JS",
  67. }
  68. LibraryInfo_Language_value = map[string]int32{
  69. "LANGUAGE_UNSPECIFIED": 0,
  70. "CPP": 1,
  71. "C_SHARP": 2,
  72. "ERLANG": 3,
  73. "GO_LANG": 4,
  74. "JAVA": 5,
  75. "NODE_JS": 6,
  76. "PHP": 7,
  77. "PYTHON": 8,
  78. "RUBY": 9,
  79. "WEB_JS": 10,
  80. }
  81. )
  82. func (x LibraryInfo_Language) Enum() *LibraryInfo_Language {
  83. p := new(LibraryInfo_Language)
  84. *p = x
  85. return p
  86. }
  87. func (x LibraryInfo_Language) String() string {
  88. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  89. }
  90. func (LibraryInfo_Language) Descriptor() protoreflect.EnumDescriptor {
  91. return file_opencensus_proto_agent_common_v1_common_proto_enumTypes[0].Descriptor()
  92. }
  93. func (LibraryInfo_Language) Type() protoreflect.EnumType {
  94. return &file_opencensus_proto_agent_common_v1_common_proto_enumTypes[0]
  95. }
  96. func (x LibraryInfo_Language) Number() protoreflect.EnumNumber {
  97. return protoreflect.EnumNumber(x)
  98. }
  99. // Deprecated: Use LibraryInfo_Language.Descriptor instead.
  100. func (LibraryInfo_Language) EnumDescriptor() ([]byte, []int) {
  101. return file_opencensus_proto_agent_common_v1_common_proto_rawDescGZIP(), []int{2, 0}
  102. }
  103. // Identifier metadata of the Node that produces the span or tracing data.
  104. // Note, this is not the metadata about the Node or service that is described by associated spans.
  105. // In the future we plan to extend the identifier proto definition to support
  106. // additional information (e.g cloud id, etc.)
  107. type Node struct {
  108. state protoimpl.MessageState
  109. sizeCache protoimpl.SizeCache
  110. unknownFields protoimpl.UnknownFields
  111. // Identifier that uniquely identifies a process within a VM/container.
  112. Identifier *ProcessIdentifier `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
  113. // Information on the OpenCensus Library that initiates the stream.
  114. LibraryInfo *LibraryInfo `protobuf:"bytes,2,opt,name=library_info,json=libraryInfo,proto3" json:"library_info,omitempty"`
  115. // Additional information on service.
  116. ServiceInfo *ServiceInfo `protobuf:"bytes,3,opt,name=service_info,json=serviceInfo,proto3" json:"service_info,omitempty"`
  117. // Additional attributes.
  118. Attributes map[string]string `protobuf:"bytes,4,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  119. }
  120. func (x *Node) Reset() {
  121. *x = Node{}
  122. if protoimpl.UnsafeEnabled {
  123. mi := &file_opencensus_proto_agent_common_v1_common_proto_msgTypes[0]
  124. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  125. ms.StoreMessageInfo(mi)
  126. }
  127. }
  128. func (x *Node) String() string {
  129. return protoimpl.X.MessageStringOf(x)
  130. }
  131. func (*Node) ProtoMessage() {}
  132. func (x *Node) ProtoReflect() protoreflect.Message {
  133. mi := &file_opencensus_proto_agent_common_v1_common_proto_msgTypes[0]
  134. if protoimpl.UnsafeEnabled && x != nil {
  135. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  136. if ms.LoadMessageInfo() == nil {
  137. ms.StoreMessageInfo(mi)
  138. }
  139. return ms
  140. }
  141. return mi.MessageOf(x)
  142. }
  143. // Deprecated: Use Node.ProtoReflect.Descriptor instead.
  144. func (*Node) Descriptor() ([]byte, []int) {
  145. return file_opencensus_proto_agent_common_v1_common_proto_rawDescGZIP(), []int{0}
  146. }
  147. func (x *Node) GetIdentifier() *ProcessIdentifier {
  148. if x != nil {
  149. return x.Identifier
  150. }
  151. return nil
  152. }
  153. func (x *Node) GetLibraryInfo() *LibraryInfo {
  154. if x != nil {
  155. return x.LibraryInfo
  156. }
  157. return nil
  158. }
  159. func (x *Node) GetServiceInfo() *ServiceInfo {
  160. if x != nil {
  161. return x.ServiceInfo
  162. }
  163. return nil
  164. }
  165. func (x *Node) GetAttributes() map[string]string {
  166. if x != nil {
  167. return x.Attributes
  168. }
  169. return nil
  170. }
  171. // Identifier that uniquely identifies a process within a VM/container.
  172. type ProcessIdentifier struct {
  173. state protoimpl.MessageState
  174. sizeCache protoimpl.SizeCache
  175. unknownFields protoimpl.UnknownFields
  176. // The host name. Usually refers to the machine/container name.
  177. // For example: os.Hostname() in Go, socket.gethostname() in Python.
  178. HostName string `protobuf:"bytes,1,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"`
  179. // Process id.
  180. Pid uint32 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"`
  181. // Start time of this ProcessIdentifier. Represented in epoch time.
  182. StartTimestamp *timestamp.Timestamp `protobuf:"bytes,3,opt,name=start_timestamp,json=startTimestamp,proto3" json:"start_timestamp,omitempty"`
  183. }
  184. func (x *ProcessIdentifier) Reset() {
  185. *x = ProcessIdentifier{}
  186. if protoimpl.UnsafeEnabled {
  187. mi := &file_opencensus_proto_agent_common_v1_common_proto_msgTypes[1]
  188. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  189. ms.StoreMessageInfo(mi)
  190. }
  191. }
  192. func (x *ProcessIdentifier) String() string {
  193. return protoimpl.X.MessageStringOf(x)
  194. }
  195. func (*ProcessIdentifier) ProtoMessage() {}
  196. func (x *ProcessIdentifier) ProtoReflect() protoreflect.Message {
  197. mi := &file_opencensus_proto_agent_common_v1_common_proto_msgTypes[1]
  198. if protoimpl.UnsafeEnabled && x != nil {
  199. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  200. if ms.LoadMessageInfo() == nil {
  201. ms.StoreMessageInfo(mi)
  202. }
  203. return ms
  204. }
  205. return mi.MessageOf(x)
  206. }
  207. // Deprecated: Use ProcessIdentifier.ProtoReflect.Descriptor instead.
  208. func (*ProcessIdentifier) Descriptor() ([]byte, []int) {
  209. return file_opencensus_proto_agent_common_v1_common_proto_rawDescGZIP(), []int{1}
  210. }
  211. func (x *ProcessIdentifier) GetHostName() string {
  212. if x != nil {
  213. return x.HostName
  214. }
  215. return ""
  216. }
  217. func (x *ProcessIdentifier) GetPid() uint32 {
  218. if x != nil {
  219. return x.Pid
  220. }
  221. return 0
  222. }
  223. func (x *ProcessIdentifier) GetStartTimestamp() *timestamp.Timestamp {
  224. if x != nil {
  225. return x.StartTimestamp
  226. }
  227. return nil
  228. }
  229. // Information on OpenCensus Library.
  230. type LibraryInfo struct {
  231. state protoimpl.MessageState
  232. sizeCache protoimpl.SizeCache
  233. unknownFields protoimpl.UnknownFields
  234. // Language of OpenCensus Library.
  235. Language LibraryInfo_Language `protobuf:"varint,1,opt,name=language,proto3,enum=opencensus.proto.agent.common.v1.LibraryInfo_Language" json:"language,omitempty"`
  236. // Version of Agent exporter of Library.
  237. ExporterVersion string `protobuf:"bytes,2,opt,name=exporter_version,json=exporterVersion,proto3" json:"exporter_version,omitempty"`
  238. // Version of OpenCensus Library.
  239. CoreLibraryVersion string `protobuf:"bytes,3,opt,name=core_library_version,json=coreLibraryVersion,proto3" json:"core_library_version,omitempty"`
  240. }
  241. func (x *LibraryInfo) Reset() {
  242. *x = LibraryInfo{}
  243. if protoimpl.UnsafeEnabled {
  244. mi := &file_opencensus_proto_agent_common_v1_common_proto_msgTypes[2]
  245. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  246. ms.StoreMessageInfo(mi)
  247. }
  248. }
  249. func (x *LibraryInfo) String() string {
  250. return protoimpl.X.MessageStringOf(x)
  251. }
  252. func (*LibraryInfo) ProtoMessage() {}
  253. func (x *LibraryInfo) ProtoReflect() protoreflect.Message {
  254. mi := &file_opencensus_proto_agent_common_v1_common_proto_msgTypes[2]
  255. if protoimpl.UnsafeEnabled && x != nil {
  256. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  257. if ms.LoadMessageInfo() == nil {
  258. ms.StoreMessageInfo(mi)
  259. }
  260. return ms
  261. }
  262. return mi.MessageOf(x)
  263. }
  264. // Deprecated: Use LibraryInfo.ProtoReflect.Descriptor instead.
  265. func (*LibraryInfo) Descriptor() ([]byte, []int) {
  266. return file_opencensus_proto_agent_common_v1_common_proto_rawDescGZIP(), []int{2}
  267. }
  268. func (x *LibraryInfo) GetLanguage() LibraryInfo_Language {
  269. if x != nil {
  270. return x.Language
  271. }
  272. return LibraryInfo_LANGUAGE_UNSPECIFIED
  273. }
  274. func (x *LibraryInfo) GetExporterVersion() string {
  275. if x != nil {
  276. return x.ExporterVersion
  277. }
  278. return ""
  279. }
  280. func (x *LibraryInfo) GetCoreLibraryVersion() string {
  281. if x != nil {
  282. return x.CoreLibraryVersion
  283. }
  284. return ""
  285. }
  286. // Additional service information.
  287. type ServiceInfo struct {
  288. state protoimpl.MessageState
  289. sizeCache protoimpl.SizeCache
  290. unknownFields protoimpl.UnknownFields
  291. // Name of the service.
  292. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  293. }
  294. func (x *ServiceInfo) Reset() {
  295. *x = ServiceInfo{}
  296. if protoimpl.UnsafeEnabled {
  297. mi := &file_opencensus_proto_agent_common_v1_common_proto_msgTypes[3]
  298. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  299. ms.StoreMessageInfo(mi)
  300. }
  301. }
  302. func (x *ServiceInfo) String() string {
  303. return protoimpl.X.MessageStringOf(x)
  304. }
  305. func (*ServiceInfo) ProtoMessage() {}
  306. func (x *ServiceInfo) ProtoReflect() protoreflect.Message {
  307. mi := &file_opencensus_proto_agent_common_v1_common_proto_msgTypes[3]
  308. if protoimpl.UnsafeEnabled && x != nil {
  309. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  310. if ms.LoadMessageInfo() == nil {
  311. ms.StoreMessageInfo(mi)
  312. }
  313. return ms
  314. }
  315. return mi.MessageOf(x)
  316. }
  317. // Deprecated: Use ServiceInfo.ProtoReflect.Descriptor instead.
  318. func (*ServiceInfo) Descriptor() ([]byte, []int) {
  319. return file_opencensus_proto_agent_common_v1_common_proto_rawDescGZIP(), []int{3}
  320. }
  321. func (x *ServiceInfo) GetName() string {
  322. if x != nil {
  323. return x.Name
  324. }
  325. return ""
  326. }
  327. var File_opencensus_proto_agent_common_v1_common_proto protoreflect.FileDescriptor
  328. var file_opencensus_proto_agent_common_v1_common_proto_rawDesc = []byte{
  329. 0x0a, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2f, 0x70, 0x72, 0x6f,
  330. 0x74, 0x6f, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f,
  331. 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
  332. 0x20, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  333. 0x6f, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76,
  334. 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
  335. 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f,
  336. 0x74, 0x6f, 0x22, 0x96, 0x03, 0x0a, 0x04, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x53, 0x0a, 0x0a, 0x69,
  337. 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
  338. 0x33, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f,
  339. 0x74, 0x6f, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
  340. 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69,
  341. 0x66, 0x69, 0x65, 0x72, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72,
  342. 0x12, 0x50, 0x0a, 0x0c, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f,
  343. 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e,
  344. 0x73, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e,
  345. 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72,
  346. 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x49, 0x6e,
  347. 0x66, 0x6f, 0x12, 0x50, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x6e,
  348. 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x63,
  349. 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x61, 0x67, 0x65, 0x6e,
  350. 0x74, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76,
  351. 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
  352. 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x56, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74,
  353. 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x63,
  354. 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x61, 0x67, 0x65, 0x6e,
  355. 0x74, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x64, 0x65,
  356. 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
  357. 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x1a, 0x3d, 0x0a, 0x0f,
  358. 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
  359. 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
  360. 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
  361. 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x87, 0x01, 0x0a, 0x11,
  362. 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65,
  363. 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
  364. 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x10,
  365. 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x70, 0x69, 0x64,
  366. 0x12, 0x43, 0x0a, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74,
  367. 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
  368. 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65,
  369. 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0e, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65,
  370. 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0xd6, 0x02, 0x0a, 0x0b, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72,
  371. 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x52, 0x0a, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67,
  372. 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x36, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65,
  373. 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74,
  374. 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, 0x72, 0x61,
  375. 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x52,
  376. 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x65, 0x78, 0x70,
  377. 0x6f, 0x72, 0x74, 0x65, 0x72, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20,
  378. 0x01, 0x28, 0x09, 0x52, 0x0f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72,
  379. 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x30, 0x0a, 0x14, 0x63, 0x6f, 0x72, 0x65, 0x5f, 0x6c, 0x69, 0x62,
  380. 0x72, 0x61, 0x72, 0x79, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01,
  381. 0x28, 0x09, 0x52, 0x12, 0x63, 0x6f, 0x72, 0x65, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x56,
  382. 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x95, 0x01, 0x0a, 0x08, 0x4c, 0x61, 0x6e, 0x67, 0x75,
  383. 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x14, 0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41, 0x47, 0x45, 0x5f,
  384. 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x07, 0x0a,
  385. 0x03, 0x43, 0x50, 0x50, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x5f, 0x53, 0x48, 0x41, 0x52,
  386. 0x50, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x45, 0x52, 0x4c, 0x41, 0x4e, 0x47, 0x10, 0x03, 0x12,
  387. 0x0b, 0x0a, 0x07, 0x47, 0x4f, 0x5f, 0x4c, 0x41, 0x4e, 0x47, 0x10, 0x04, 0x12, 0x08, 0x0a, 0x04,
  388. 0x4a, 0x41, 0x56, 0x41, 0x10, 0x05, 0x12, 0x0b, 0x0a, 0x07, 0x4e, 0x4f, 0x44, 0x45, 0x5f, 0x4a,
  389. 0x53, 0x10, 0x06, 0x12, 0x07, 0x0a, 0x03, 0x50, 0x48, 0x50, 0x10, 0x07, 0x12, 0x0a, 0x0a, 0x06,
  390. 0x50, 0x59, 0x54, 0x48, 0x4f, 0x4e, 0x10, 0x08, 0x12, 0x08, 0x0a, 0x04, 0x52, 0x55, 0x42, 0x59,
  391. 0x10, 0x09, 0x12, 0x0a, 0x0a, 0x06, 0x57, 0x45, 0x42, 0x5f, 0x4a, 0x53, 0x10, 0x0a, 0x22, 0x21,
  392. 0x0a, 0x0b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a,
  393. 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
  394. 0x65, 0x42, 0xa2, 0x01, 0x0a, 0x23, 0x69, 0x6f, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e,
  395. 0x73, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e,
  396. 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x43, 0x6f, 0x6d, 0x6d, 0x6f,
  397. 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x49, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62,
  398. 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2d, 0x69, 0x6e, 0x73, 0x74,
  399. 0x72, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6f, 0x70, 0x65, 0x6e,
  400. 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e,
  401. 0x2d, 0x67, 0x6f, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
  402. 0x2f, 0x76, 0x31, 0xea, 0x02, 0x20, 0x4f, 0x70, 0x65, 0x6e, 0x43, 0x65, 0x6e, 0x73, 0x75, 0x73,
  403. 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6d,
  404. 0x6d, 0x6f, 0x6e, 0x2e, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  405. }
  406. var (
  407. file_opencensus_proto_agent_common_v1_common_proto_rawDescOnce sync.Once
  408. file_opencensus_proto_agent_common_v1_common_proto_rawDescData = file_opencensus_proto_agent_common_v1_common_proto_rawDesc
  409. )
  410. func file_opencensus_proto_agent_common_v1_common_proto_rawDescGZIP() []byte {
  411. file_opencensus_proto_agent_common_v1_common_proto_rawDescOnce.Do(func() {
  412. file_opencensus_proto_agent_common_v1_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_opencensus_proto_agent_common_v1_common_proto_rawDescData)
  413. })
  414. return file_opencensus_proto_agent_common_v1_common_proto_rawDescData
  415. }
  416. var file_opencensus_proto_agent_common_v1_common_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
  417. var file_opencensus_proto_agent_common_v1_common_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
  418. var file_opencensus_proto_agent_common_v1_common_proto_goTypes = []interface{}{
  419. (LibraryInfo_Language)(0), // 0: opencensus.proto.agent.common.v1.LibraryInfo.Language
  420. (*Node)(nil), // 1: opencensus.proto.agent.common.v1.Node
  421. (*ProcessIdentifier)(nil), // 2: opencensus.proto.agent.common.v1.ProcessIdentifier
  422. (*LibraryInfo)(nil), // 3: opencensus.proto.agent.common.v1.LibraryInfo
  423. (*ServiceInfo)(nil), // 4: opencensus.proto.agent.common.v1.ServiceInfo
  424. nil, // 5: opencensus.proto.agent.common.v1.Node.AttributesEntry
  425. (*timestamp.Timestamp)(nil), // 6: google.protobuf.Timestamp
  426. }
  427. var file_opencensus_proto_agent_common_v1_common_proto_depIdxs = []int32{
  428. 2, // 0: opencensus.proto.agent.common.v1.Node.identifier:type_name -> opencensus.proto.agent.common.v1.ProcessIdentifier
  429. 3, // 1: opencensus.proto.agent.common.v1.Node.library_info:type_name -> opencensus.proto.agent.common.v1.LibraryInfo
  430. 4, // 2: opencensus.proto.agent.common.v1.Node.service_info:type_name -> opencensus.proto.agent.common.v1.ServiceInfo
  431. 5, // 3: opencensus.proto.agent.common.v1.Node.attributes:type_name -> opencensus.proto.agent.common.v1.Node.AttributesEntry
  432. 6, // 4: opencensus.proto.agent.common.v1.ProcessIdentifier.start_timestamp:type_name -> google.protobuf.Timestamp
  433. 0, // 5: opencensus.proto.agent.common.v1.LibraryInfo.language:type_name -> opencensus.proto.agent.common.v1.LibraryInfo.Language
  434. 6, // [6:6] is the sub-list for method output_type
  435. 6, // [6:6] is the sub-list for method input_type
  436. 6, // [6:6] is the sub-list for extension type_name
  437. 6, // [6:6] is the sub-list for extension extendee
  438. 0, // [0:6] is the sub-list for field type_name
  439. }
  440. func init() { file_opencensus_proto_agent_common_v1_common_proto_init() }
  441. func file_opencensus_proto_agent_common_v1_common_proto_init() {
  442. if File_opencensus_proto_agent_common_v1_common_proto != nil {
  443. return
  444. }
  445. if !protoimpl.UnsafeEnabled {
  446. file_opencensus_proto_agent_common_v1_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  447. switch v := v.(*Node); i {
  448. case 0:
  449. return &v.state
  450. case 1:
  451. return &v.sizeCache
  452. case 2:
  453. return &v.unknownFields
  454. default:
  455. return nil
  456. }
  457. }
  458. file_opencensus_proto_agent_common_v1_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  459. switch v := v.(*ProcessIdentifier); i {
  460. case 0:
  461. return &v.state
  462. case 1:
  463. return &v.sizeCache
  464. case 2:
  465. return &v.unknownFields
  466. default:
  467. return nil
  468. }
  469. }
  470. file_opencensus_proto_agent_common_v1_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  471. switch v := v.(*LibraryInfo); i {
  472. case 0:
  473. return &v.state
  474. case 1:
  475. return &v.sizeCache
  476. case 2:
  477. return &v.unknownFields
  478. default:
  479. return nil
  480. }
  481. }
  482. file_opencensus_proto_agent_common_v1_common_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  483. switch v := v.(*ServiceInfo); i {
  484. case 0:
  485. return &v.state
  486. case 1:
  487. return &v.sizeCache
  488. case 2:
  489. return &v.unknownFields
  490. default:
  491. return nil
  492. }
  493. }
  494. }
  495. type x struct{}
  496. out := protoimpl.TypeBuilder{
  497. File: protoimpl.DescBuilder{
  498. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  499. RawDescriptor: file_opencensus_proto_agent_common_v1_common_proto_rawDesc,
  500. NumEnums: 1,
  501. NumMessages: 5,
  502. NumExtensions: 0,
  503. NumServices: 0,
  504. },
  505. GoTypes: file_opencensus_proto_agent_common_v1_common_proto_goTypes,
  506. DependencyIndexes: file_opencensus_proto_agent_common_v1_common_proto_depIdxs,
  507. EnumInfos: file_opencensus_proto_agent_common_v1_common_proto_enumTypes,
  508. MessageInfos: file_opencensus_proto_agent_common_v1_common_proto_msgTypes,
  509. }.Build()
  510. File_opencensus_proto_agent_common_v1_common_proto = out.File
  511. file_opencensus_proto_agent_common_v1_common_proto_rawDesc = nil
  512. file_opencensus_proto_agent_common_v1_common_proto_goTypes = nil
  513. file_opencensus_proto_agent_common_v1_common_proto_depIdxs = nil
  514. }