trace_service.pb.go 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474
  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/trace/v1/trace_service.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. v1 "github.com/census-instrumentation/opencensus-proto/gen-go/agent/common/v1"
  24. v12 "github.com/census-instrumentation/opencensus-proto/gen-go/resource/v1"
  25. v11 "github.com/census-instrumentation/opencensus-proto/gen-go/trace/v1"
  26. proto "github.com/golang/protobuf/proto"
  27. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  28. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  29. reflect "reflect"
  30. sync "sync"
  31. )
  32. const (
  33. // Verify that this generated code is sufficiently up-to-date.
  34. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  35. // Verify that runtime/protoimpl is sufficiently up-to-date.
  36. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  37. )
  38. // This is a compile-time assertion that a sufficiently up-to-date version
  39. // of the legacy proto package is being used.
  40. const _ = proto.ProtoPackageIsVersion4
  41. type CurrentLibraryConfig struct {
  42. state protoimpl.MessageState
  43. sizeCache protoimpl.SizeCache
  44. unknownFields protoimpl.UnknownFields
  45. // This is required only in the first message on the stream or if the
  46. // previous sent CurrentLibraryConfig message has a different Node (e.g.
  47. // when the same RPC is used to configure multiple Applications).
  48. Node *v1.Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
  49. // Current configuration.
  50. Config *v11.TraceConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
  51. }
  52. func (x *CurrentLibraryConfig) Reset() {
  53. *x = CurrentLibraryConfig{}
  54. if protoimpl.UnsafeEnabled {
  55. mi := &file_opencensus_proto_agent_trace_v1_trace_service_proto_msgTypes[0]
  56. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  57. ms.StoreMessageInfo(mi)
  58. }
  59. }
  60. func (x *CurrentLibraryConfig) String() string {
  61. return protoimpl.X.MessageStringOf(x)
  62. }
  63. func (*CurrentLibraryConfig) ProtoMessage() {}
  64. func (x *CurrentLibraryConfig) ProtoReflect() protoreflect.Message {
  65. mi := &file_opencensus_proto_agent_trace_v1_trace_service_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 CurrentLibraryConfig.ProtoReflect.Descriptor instead.
  76. func (*CurrentLibraryConfig) Descriptor() ([]byte, []int) {
  77. return file_opencensus_proto_agent_trace_v1_trace_service_proto_rawDescGZIP(), []int{0}
  78. }
  79. func (x *CurrentLibraryConfig) GetNode() *v1.Node {
  80. if x != nil {
  81. return x.Node
  82. }
  83. return nil
  84. }
  85. func (x *CurrentLibraryConfig) GetConfig() *v11.TraceConfig {
  86. if x != nil {
  87. return x.Config
  88. }
  89. return nil
  90. }
  91. type UpdatedLibraryConfig struct {
  92. state protoimpl.MessageState
  93. sizeCache protoimpl.SizeCache
  94. unknownFields protoimpl.UnknownFields
  95. // This field is ignored when the RPC is used to configure only one Application.
  96. // This is required only in the first message on the stream or if the
  97. // previous sent UpdatedLibraryConfig message has a different Node.
  98. Node *v1.Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
  99. // Requested updated configuration.
  100. Config *v11.TraceConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
  101. }
  102. func (x *UpdatedLibraryConfig) Reset() {
  103. *x = UpdatedLibraryConfig{}
  104. if protoimpl.UnsafeEnabled {
  105. mi := &file_opencensus_proto_agent_trace_v1_trace_service_proto_msgTypes[1]
  106. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  107. ms.StoreMessageInfo(mi)
  108. }
  109. }
  110. func (x *UpdatedLibraryConfig) String() string {
  111. return protoimpl.X.MessageStringOf(x)
  112. }
  113. func (*UpdatedLibraryConfig) ProtoMessage() {}
  114. func (x *UpdatedLibraryConfig) ProtoReflect() protoreflect.Message {
  115. mi := &file_opencensus_proto_agent_trace_v1_trace_service_proto_msgTypes[1]
  116. if protoimpl.UnsafeEnabled && x != nil {
  117. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  118. if ms.LoadMessageInfo() == nil {
  119. ms.StoreMessageInfo(mi)
  120. }
  121. return ms
  122. }
  123. return mi.MessageOf(x)
  124. }
  125. // Deprecated: Use UpdatedLibraryConfig.ProtoReflect.Descriptor instead.
  126. func (*UpdatedLibraryConfig) Descriptor() ([]byte, []int) {
  127. return file_opencensus_proto_agent_trace_v1_trace_service_proto_rawDescGZIP(), []int{1}
  128. }
  129. func (x *UpdatedLibraryConfig) GetNode() *v1.Node {
  130. if x != nil {
  131. return x.Node
  132. }
  133. return nil
  134. }
  135. func (x *UpdatedLibraryConfig) GetConfig() *v11.TraceConfig {
  136. if x != nil {
  137. return x.Config
  138. }
  139. return nil
  140. }
  141. type ExportTraceServiceRequest struct {
  142. state protoimpl.MessageState
  143. sizeCache protoimpl.SizeCache
  144. unknownFields protoimpl.UnknownFields
  145. // This is required only in the first message on the stream or if the
  146. // previous sent ExportTraceServiceRequest message has a different Node (e.g.
  147. // when the same RPC is used to send Spans from multiple Applications).
  148. Node *v1.Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
  149. // A list of Spans that belong to the last received Node.
  150. Spans []*v11.Span `protobuf:"bytes,2,rep,name=spans,proto3" json:"spans,omitempty"`
  151. // The resource for the spans in this message that do not have an explicit
  152. // resource set.
  153. // If unset, the most recently set resource in the RPC stream applies. It is
  154. // valid to never be set within a stream, e.g. when no resource info is known.
  155. Resource *v12.Resource `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
  156. }
  157. func (x *ExportTraceServiceRequest) Reset() {
  158. *x = ExportTraceServiceRequest{}
  159. if protoimpl.UnsafeEnabled {
  160. mi := &file_opencensus_proto_agent_trace_v1_trace_service_proto_msgTypes[2]
  161. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  162. ms.StoreMessageInfo(mi)
  163. }
  164. }
  165. func (x *ExportTraceServiceRequest) String() string {
  166. return protoimpl.X.MessageStringOf(x)
  167. }
  168. func (*ExportTraceServiceRequest) ProtoMessage() {}
  169. func (x *ExportTraceServiceRequest) ProtoReflect() protoreflect.Message {
  170. mi := &file_opencensus_proto_agent_trace_v1_trace_service_proto_msgTypes[2]
  171. if protoimpl.UnsafeEnabled && x != nil {
  172. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  173. if ms.LoadMessageInfo() == nil {
  174. ms.StoreMessageInfo(mi)
  175. }
  176. return ms
  177. }
  178. return mi.MessageOf(x)
  179. }
  180. // Deprecated: Use ExportTraceServiceRequest.ProtoReflect.Descriptor instead.
  181. func (*ExportTraceServiceRequest) Descriptor() ([]byte, []int) {
  182. return file_opencensus_proto_agent_trace_v1_trace_service_proto_rawDescGZIP(), []int{2}
  183. }
  184. func (x *ExportTraceServiceRequest) GetNode() *v1.Node {
  185. if x != nil {
  186. return x.Node
  187. }
  188. return nil
  189. }
  190. func (x *ExportTraceServiceRequest) GetSpans() []*v11.Span {
  191. if x != nil {
  192. return x.Spans
  193. }
  194. return nil
  195. }
  196. func (x *ExportTraceServiceRequest) GetResource() *v12.Resource {
  197. if x != nil {
  198. return x.Resource
  199. }
  200. return nil
  201. }
  202. type ExportTraceServiceResponse struct {
  203. state protoimpl.MessageState
  204. sizeCache protoimpl.SizeCache
  205. unknownFields protoimpl.UnknownFields
  206. }
  207. func (x *ExportTraceServiceResponse) Reset() {
  208. *x = ExportTraceServiceResponse{}
  209. if protoimpl.UnsafeEnabled {
  210. mi := &file_opencensus_proto_agent_trace_v1_trace_service_proto_msgTypes[3]
  211. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  212. ms.StoreMessageInfo(mi)
  213. }
  214. }
  215. func (x *ExportTraceServiceResponse) String() string {
  216. return protoimpl.X.MessageStringOf(x)
  217. }
  218. func (*ExportTraceServiceResponse) ProtoMessage() {}
  219. func (x *ExportTraceServiceResponse) ProtoReflect() protoreflect.Message {
  220. mi := &file_opencensus_proto_agent_trace_v1_trace_service_proto_msgTypes[3]
  221. if protoimpl.UnsafeEnabled && x != nil {
  222. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  223. if ms.LoadMessageInfo() == nil {
  224. ms.StoreMessageInfo(mi)
  225. }
  226. return ms
  227. }
  228. return mi.MessageOf(x)
  229. }
  230. // Deprecated: Use ExportTraceServiceResponse.ProtoReflect.Descriptor instead.
  231. func (*ExportTraceServiceResponse) Descriptor() ([]byte, []int) {
  232. return file_opencensus_proto_agent_trace_v1_trace_service_proto_rawDescGZIP(), []int{3}
  233. }
  234. var File_opencensus_proto_agent_trace_v1_trace_service_proto protoreflect.FileDescriptor
  235. var file_opencensus_proto_agent_trace_v1_trace_service_proto_rawDesc = []byte{
  236. 0x0a, 0x33, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2f, 0x70, 0x72, 0x6f,
  237. 0x74, 0x6f, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2f, 0x76,
  238. 0x31, 0x2f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e,
  239. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1f, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75,
  240. 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x74, 0x72,
  241. 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73,
  242. 0x75, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x63,
  243. 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
  244. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75,
  245. 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
  246. 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f,
  247. 0x74, 0x6f, 0x1a, 0x25, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2f, 0x70,
  248. 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x72,
  249. 0x61, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x6f, 0x70, 0x65, 0x6e, 0x63,
  250. 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x72, 0x61, 0x63,
  251. 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69,
  252. 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x92, 0x01, 0x0a, 0x14, 0x43, 0x75, 0x72, 0x72,
  253. 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
  254. 0x12, 0x3a, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26,
  255. 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  256. 0x6f, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76,
  257. 0x31, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x12, 0x3e, 0x0a, 0x06,
  258. 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6f,
  259. 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
  260. 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x65, 0x43, 0x6f,
  261. 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x92, 0x01, 0x0a,
  262. 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x43,
  263. 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3a, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20,
  264. 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73,
  265. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x63, 0x6f, 0x6d,
  266. 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x64,
  267. 0x65, 0x12, 0x3e, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28,
  268. 0x0b, 0x32, 0x26, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x70,
  269. 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72,
  270. 0x61, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69,
  271. 0x67, 0x22, 0xd2, 0x01, 0x0a, 0x19, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x54, 0x72, 0x61, 0x63,
  272. 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
  273. 0x3a, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e,
  274. 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  275. 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31,
  276. 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x12, 0x35, 0x0a, 0x05, 0x73,
  277. 0x70, 0x61, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6f, 0x70, 0x65,
  278. 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72,
  279. 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x52, 0x05, 0x73, 0x70, 0x61,
  280. 0x6e, 0x73, 0x12, 0x42, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x03,
  281. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75,
  282. 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
  283. 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x08, 0x72, 0x65,
  284. 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x1c, 0x0a, 0x1a, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74,
  285. 0x54, 0x72, 0x61, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70,
  286. 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x96, 0x02, 0x0a, 0x0c, 0x54, 0x72, 0x61, 0x63, 0x65, 0x53, 0x65,
  287. 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x7c, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12,
  288. 0x35, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f,
  289. 0x74, 0x6f, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76,
  290. 0x31, 0x2e, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79,
  291. 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, 0x35, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e,
  292. 0x73, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e,
  293. 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64,
  294. 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x00, 0x28,
  295. 0x01, 0x30, 0x01, 0x12, 0x87, 0x01, 0x0a, 0x06, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x3a,
  296. 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  297. 0x6f, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31,
  298. 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x54, 0x72, 0x61, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76,
  299. 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x6f, 0x70, 0x65,
  300. 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x61, 0x67,
  301. 0x65, 0x6e, 0x74, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x70,
  302. 0x6f, 0x72, 0x74, 0x54, 0x72, 0x61, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52,
  303. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x42, 0xa5, 0x01,
  304. 0x0a, 0x22, 0x69, 0x6f, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e,
  305. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x74, 0x72, 0x61, 0x63,
  306. 0x65, 0x2e, 0x76, 0x31, 0x42, 0x11, 0x54, 0x72, 0x61, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69,
  307. 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x48, 0x67, 0x69, 0x74, 0x68, 0x75,
  308. 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2d, 0x69, 0x6e, 0x73,
  309. 0x74, 0x72, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6f, 0x70, 0x65,
  310. 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65,
  311. 0x6e, 0x2d, 0x67, 0x6f, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x74, 0x72, 0x61, 0x63, 0x65,
  312. 0x2f, 0x76, 0x31, 0xea, 0x02, 0x1f, 0x4f, 0x70, 0x65, 0x6e, 0x43, 0x65, 0x6e, 0x73, 0x75, 0x73,
  313. 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x72, 0x61,
  314. 0x63, 0x65, 0x2e, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  315. }
  316. var (
  317. file_opencensus_proto_agent_trace_v1_trace_service_proto_rawDescOnce sync.Once
  318. file_opencensus_proto_agent_trace_v1_trace_service_proto_rawDescData = file_opencensus_proto_agent_trace_v1_trace_service_proto_rawDesc
  319. )
  320. func file_opencensus_proto_agent_trace_v1_trace_service_proto_rawDescGZIP() []byte {
  321. file_opencensus_proto_agent_trace_v1_trace_service_proto_rawDescOnce.Do(func() {
  322. file_opencensus_proto_agent_trace_v1_trace_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_opencensus_proto_agent_trace_v1_trace_service_proto_rawDescData)
  323. })
  324. return file_opencensus_proto_agent_trace_v1_trace_service_proto_rawDescData
  325. }
  326. var file_opencensus_proto_agent_trace_v1_trace_service_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
  327. var file_opencensus_proto_agent_trace_v1_trace_service_proto_goTypes = []interface{}{
  328. (*CurrentLibraryConfig)(nil), // 0: opencensus.proto.agent.trace.v1.CurrentLibraryConfig
  329. (*UpdatedLibraryConfig)(nil), // 1: opencensus.proto.agent.trace.v1.UpdatedLibraryConfig
  330. (*ExportTraceServiceRequest)(nil), // 2: opencensus.proto.agent.trace.v1.ExportTraceServiceRequest
  331. (*ExportTraceServiceResponse)(nil), // 3: opencensus.proto.agent.trace.v1.ExportTraceServiceResponse
  332. (*v1.Node)(nil), // 4: opencensus.proto.agent.common.v1.Node
  333. (*v11.TraceConfig)(nil), // 5: opencensus.proto.trace.v1.TraceConfig
  334. (*v11.Span)(nil), // 6: opencensus.proto.trace.v1.Span
  335. (*v12.Resource)(nil), // 7: opencensus.proto.resource.v1.Resource
  336. }
  337. var file_opencensus_proto_agent_trace_v1_trace_service_proto_depIdxs = []int32{
  338. 4, // 0: opencensus.proto.agent.trace.v1.CurrentLibraryConfig.node:type_name -> opencensus.proto.agent.common.v1.Node
  339. 5, // 1: opencensus.proto.agent.trace.v1.CurrentLibraryConfig.config:type_name -> opencensus.proto.trace.v1.TraceConfig
  340. 4, // 2: opencensus.proto.agent.trace.v1.UpdatedLibraryConfig.node:type_name -> opencensus.proto.agent.common.v1.Node
  341. 5, // 3: opencensus.proto.agent.trace.v1.UpdatedLibraryConfig.config:type_name -> opencensus.proto.trace.v1.TraceConfig
  342. 4, // 4: opencensus.proto.agent.trace.v1.ExportTraceServiceRequest.node:type_name -> opencensus.proto.agent.common.v1.Node
  343. 6, // 5: opencensus.proto.agent.trace.v1.ExportTraceServiceRequest.spans:type_name -> opencensus.proto.trace.v1.Span
  344. 7, // 6: opencensus.proto.agent.trace.v1.ExportTraceServiceRequest.resource:type_name -> opencensus.proto.resource.v1.Resource
  345. 0, // 7: opencensus.proto.agent.trace.v1.TraceService.Config:input_type -> opencensus.proto.agent.trace.v1.CurrentLibraryConfig
  346. 2, // 8: opencensus.proto.agent.trace.v1.TraceService.Export:input_type -> opencensus.proto.agent.trace.v1.ExportTraceServiceRequest
  347. 1, // 9: opencensus.proto.agent.trace.v1.TraceService.Config:output_type -> opencensus.proto.agent.trace.v1.UpdatedLibraryConfig
  348. 3, // 10: opencensus.proto.agent.trace.v1.TraceService.Export:output_type -> opencensus.proto.agent.trace.v1.ExportTraceServiceResponse
  349. 9, // [9:11] is the sub-list for method output_type
  350. 7, // [7:9] is the sub-list for method input_type
  351. 7, // [7:7] is the sub-list for extension type_name
  352. 7, // [7:7] is the sub-list for extension extendee
  353. 0, // [0:7] is the sub-list for field type_name
  354. }
  355. func init() { file_opencensus_proto_agent_trace_v1_trace_service_proto_init() }
  356. func file_opencensus_proto_agent_trace_v1_trace_service_proto_init() {
  357. if File_opencensus_proto_agent_trace_v1_trace_service_proto != nil {
  358. return
  359. }
  360. if !protoimpl.UnsafeEnabled {
  361. file_opencensus_proto_agent_trace_v1_trace_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  362. switch v := v.(*CurrentLibraryConfig); i {
  363. case 0:
  364. return &v.state
  365. case 1:
  366. return &v.sizeCache
  367. case 2:
  368. return &v.unknownFields
  369. default:
  370. return nil
  371. }
  372. }
  373. file_opencensus_proto_agent_trace_v1_trace_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  374. switch v := v.(*UpdatedLibraryConfig); i {
  375. case 0:
  376. return &v.state
  377. case 1:
  378. return &v.sizeCache
  379. case 2:
  380. return &v.unknownFields
  381. default:
  382. return nil
  383. }
  384. }
  385. file_opencensus_proto_agent_trace_v1_trace_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  386. switch v := v.(*ExportTraceServiceRequest); i {
  387. case 0:
  388. return &v.state
  389. case 1:
  390. return &v.sizeCache
  391. case 2:
  392. return &v.unknownFields
  393. default:
  394. return nil
  395. }
  396. }
  397. file_opencensus_proto_agent_trace_v1_trace_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  398. switch v := v.(*ExportTraceServiceResponse); i {
  399. case 0:
  400. return &v.state
  401. case 1:
  402. return &v.sizeCache
  403. case 2:
  404. return &v.unknownFields
  405. default:
  406. return nil
  407. }
  408. }
  409. }
  410. type x struct{}
  411. out := protoimpl.TypeBuilder{
  412. File: protoimpl.DescBuilder{
  413. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  414. RawDescriptor: file_opencensus_proto_agent_trace_v1_trace_service_proto_rawDesc,
  415. NumEnums: 0,
  416. NumMessages: 4,
  417. NumExtensions: 0,
  418. NumServices: 1,
  419. },
  420. GoTypes: file_opencensus_proto_agent_trace_v1_trace_service_proto_goTypes,
  421. DependencyIndexes: file_opencensus_proto_agent_trace_v1_trace_service_proto_depIdxs,
  422. MessageInfos: file_opencensus_proto_agent_trace_v1_trace_service_proto_msgTypes,
  423. }.Build()
  424. File_opencensus_proto_agent_trace_v1_trace_service_proto = out.File
  425. file_opencensus_proto_agent_trace_v1_trace_service_proto_rawDesc = nil
  426. file_opencensus_proto_agent_trace_v1_trace_service_proto_goTypes = nil
  427. file_opencensus_proto_agent_trace_v1_trace_service_proto_depIdxs = nil
  428. }