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