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