blob: 852209b097bd123506023ee622b3efefbd3f00f1 [file] [log] [blame]
Abhay Kumar40252eb2025-10-13 13:25:53 +00001// 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.21.6
19// source: opentelemetry/proto/common/v1/common.proto
20
21package v1
22
23import (
24 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
25 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
26 reflect "reflect"
27 sync "sync"
28)
29
30const (
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.
40type 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
59func (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
68func (x *AnyValue) String() string {
69 return protoimpl.X.MessageStringOf(x)
70}
71
72func (*AnyValue) ProtoMessage() {}
73
74func (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.
87func (*AnyValue) Descriptor() ([]byte, []int) {
88 return file_opentelemetry_proto_common_v1_common_proto_rawDescGZIP(), []int{0}
89}
90
91func (m *AnyValue) GetValue() isAnyValue_Value {
92 if m != nil {
93 return m.Value
94 }
95 return nil
96}
97
98func (x *AnyValue) GetStringValue() string {
99 if x, ok := x.GetValue().(*AnyValue_StringValue); ok {
100 return x.StringValue
101 }
102 return ""
103}
104
105func (x *AnyValue) GetBoolValue() bool {
106 if x, ok := x.GetValue().(*AnyValue_BoolValue); ok {
107 return x.BoolValue
108 }
109 return false
110}
111
112func (x *AnyValue) GetIntValue() int64 {
113 if x, ok := x.GetValue().(*AnyValue_IntValue); ok {
114 return x.IntValue
115 }
116 return 0
117}
118
119func (x *AnyValue) GetDoubleValue() float64 {
120 if x, ok := x.GetValue().(*AnyValue_DoubleValue); ok {
121 return x.DoubleValue
122 }
123 return 0
124}
125
126func (x *AnyValue) GetArrayValue() *ArrayValue {
127 if x, ok := x.GetValue().(*AnyValue_ArrayValue); ok {
128 return x.ArrayValue
129 }
130 return nil
131}
132
133func (x *AnyValue) GetKvlistValue() *KeyValueList {
134 if x, ok := x.GetValue().(*AnyValue_KvlistValue); ok {
135 return x.KvlistValue
136 }
137 return nil
138}
139
140func (x *AnyValue) GetBytesValue() []byte {
141 if x, ok := x.GetValue().(*AnyValue_BytesValue); ok {
142 return x.BytesValue
143 }
144 return nil
145}
146
147type isAnyValue_Value interface {
148 isAnyValue_Value()
149}
150
151type AnyValue_StringValue struct {
152 StringValue string `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3,oneof"`
153}
154
155type AnyValue_BoolValue struct {
156 BoolValue bool `protobuf:"varint,2,opt,name=bool_value,json=boolValue,proto3,oneof"`
157}
158
159type AnyValue_IntValue struct {
160 IntValue int64 `protobuf:"varint,3,opt,name=int_value,json=intValue,proto3,oneof"`
161}
162
163type AnyValue_DoubleValue struct {
164 DoubleValue float64 `protobuf:"fixed64,4,opt,name=double_value,json=doubleValue,proto3,oneof"`
165}
166
167type AnyValue_ArrayValue struct {
168 ArrayValue *ArrayValue `protobuf:"bytes,5,opt,name=array_value,json=arrayValue,proto3,oneof"`
169}
170
171type AnyValue_KvlistValue struct {
172 KvlistValue *KeyValueList `protobuf:"bytes,6,opt,name=kvlist_value,json=kvlistValue,proto3,oneof"`
173}
174
175type AnyValue_BytesValue struct {
176 BytesValue []byte `protobuf:"bytes,7,opt,name=bytes_value,json=bytesValue,proto3,oneof"`
177}
178
179func (*AnyValue_StringValue) isAnyValue_Value() {}
180
181func (*AnyValue_BoolValue) isAnyValue_Value() {}
182
183func (*AnyValue_IntValue) isAnyValue_Value() {}
184
185func (*AnyValue_DoubleValue) isAnyValue_Value() {}
186
187func (*AnyValue_ArrayValue) isAnyValue_Value() {}
188
189func (*AnyValue_KvlistValue) isAnyValue_Value() {}
190
191func (*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.
195type 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
204func (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
213func (x *ArrayValue) String() string {
214 return protoimpl.X.MessageStringOf(x)
215}
216
217func (*ArrayValue) ProtoMessage() {}
218
219func (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.
232func (*ArrayValue) Descriptor() ([]byte, []int) {
233 return file_opentelemetry_proto_common_v1_common_proto_rawDescGZIP(), []int{1}
234}
235
236func (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.
248type 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
260func (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
269func (x *KeyValueList) String() string {
270 return protoimpl.X.MessageStringOf(x)
271}
272
273func (*KeyValueList) ProtoMessage() {}
274
275func (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.
288func (*KeyValueList) Descriptor() ([]byte, []int) {
289 return file_opentelemetry_proto_common_v1_common_proto_rawDescGZIP(), []int{2}
290}
291
292func (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.
301type 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
310func (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
319func (x *KeyValue) String() string {
320 return protoimpl.X.MessageStringOf(x)
321}
322
323func (*KeyValue) ProtoMessage() {}
324
325func (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.
338func (*KeyValue) Descriptor() ([]byte, []int) {
339 return file_opentelemetry_proto_common_v1_common_proto_rawDescGZIP(), []int{3}
340}
341
342func (x *KeyValue) GetKey() string {
343 if x != nil {
344 return x.Key
345 }
346 return ""
347}
348
349func (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.
358type 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 // Additional attributes that describe the scope. [Optional].
367 // Attribute keys MUST be unique (it is not allowed to have more than one
368 // attribute with the same key).
369 Attributes []*KeyValue `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty"`
370 DroppedAttributesCount uint32 `protobuf:"varint,4,opt,name=dropped_attributes_count,json=droppedAttributesCount,proto3" json:"dropped_attributes_count,omitempty"`
371}
372
373func (x *InstrumentationScope) Reset() {
374 *x = InstrumentationScope{}
375 if protoimpl.UnsafeEnabled {
376 mi := &file_opentelemetry_proto_common_v1_common_proto_msgTypes[4]
377 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
378 ms.StoreMessageInfo(mi)
379 }
380}
381
382func (x *InstrumentationScope) String() string {
383 return protoimpl.X.MessageStringOf(x)
384}
385
386func (*InstrumentationScope) ProtoMessage() {}
387
388func (x *InstrumentationScope) ProtoReflect() protoreflect.Message {
389 mi := &file_opentelemetry_proto_common_v1_common_proto_msgTypes[4]
390 if protoimpl.UnsafeEnabled && x != nil {
391 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
392 if ms.LoadMessageInfo() == nil {
393 ms.StoreMessageInfo(mi)
394 }
395 return ms
396 }
397 return mi.MessageOf(x)
398}
399
400// Deprecated: Use InstrumentationScope.ProtoReflect.Descriptor instead.
401func (*InstrumentationScope) Descriptor() ([]byte, []int) {
402 return file_opentelemetry_proto_common_v1_common_proto_rawDescGZIP(), []int{4}
403}
404
405func (x *InstrumentationScope) GetName() string {
406 if x != nil {
407 return x.Name
408 }
409 return ""
410}
411
412func (x *InstrumentationScope) GetVersion() string {
413 if x != nil {
414 return x.Version
415 }
416 return ""
417}
418
419func (x *InstrumentationScope) GetAttributes() []*KeyValue {
420 if x != nil {
421 return x.Attributes
422 }
423 return nil
424}
425
426func (x *InstrumentationScope) GetDroppedAttributesCount() uint32 {
427 if x != nil {
428 return x.DroppedAttributesCount
429 }
430 return 0
431}
432
433var File_opentelemetry_proto_common_v1_common_proto protoreflect.FileDescriptor
434
435var file_opentelemetry_proto_common_v1_common_proto_rawDesc = []byte{
436 0x0a, 0x2a, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2f,
437 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f,
438 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1d, 0x6f, 0x70,
439 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
440 0x6f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x22, 0xe0, 0x02, 0x0a, 0x08,
441 0x41, 0x6e, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69,
442 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00,
443 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a,
444 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
445 0x08, 0x48, 0x00, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1d,
446 0x0a, 0x09, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
447 0x03, 0x48, 0x00, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a,
448 0x0c, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20,
449 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c,
450 0x75, 0x65, 0x12, 0x4c, 0x0a, 0x0b, 0x61, 0x72, 0x72, 0x61, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75,
451 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65,
452 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x63, 0x6f,
453 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x72, 0x72, 0x61, 0x79, 0x56, 0x61, 0x6c,
454 0x75, 0x65, 0x48, 0x00, 0x52, 0x0a, 0x61, 0x72, 0x72, 0x61, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65,
455 0x12, 0x50, 0x0a, 0x0c, 0x6b, 0x76, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65,
456 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c,
457 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x63, 0x6f, 0x6d,
458 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4c,
459 0x69, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0b, 0x6b, 0x76, 0x6c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c,
460 0x75, 0x65, 0x12, 0x21, 0x0a, 0x0b, 0x62, 0x79, 0x74, 0x65, 0x73, 0x5f, 0x76, 0x61, 0x6c, 0x75,
461 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x0a, 0x62, 0x79, 0x74, 0x65, 0x73,
462 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x4d,
463 0x0a, 0x0a, 0x41, 0x72, 0x72, 0x61, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3f, 0x0a, 0x06,
464 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6f,
465 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f,
466 0x74, 0x6f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6e, 0x79,
467 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0x4f, 0x0a,
468 0x0c, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3f, 0x0a,
469 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e,
470 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72,
471 0x6f, 0x74, 0x6f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65,
472 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0x5b,
473 0x0a, 0x08, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
474 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3d, 0x0a, 0x05,
475 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6f, 0x70,
476 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
477 0x6f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6e, 0x79, 0x56,
478 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xc7, 0x01, 0x0a, 0x14,
479 0x49, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53,
480 0x63, 0x6f, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
481 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73,
482 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69,
483 0x6f, 0x6e, 0x12, 0x47, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73,
484 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c,
485 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x63, 0x6f, 0x6d,
486 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
487 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x38, 0x0a, 0x18, 0x64,
488 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65,
489 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x16, 0x64,
490 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73,
491 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x7b, 0x0a, 0x20, 0x69, 0x6f, 0x2e, 0x6f, 0x70, 0x65, 0x6e,
492 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
493 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x43, 0x6f, 0x6d, 0x6d, 0x6f,
494 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x28, 0x67, 0x6f, 0x2e, 0x6f, 0x70, 0x65,
495 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x69, 0x6f, 0x2f, 0x70, 0x72,
496 0x6f, 0x74, 0x6f, 0x2f, 0x6f, 0x74, 0x6c, 0x70, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f,
497 0x76, 0x31, 0xaa, 0x02, 0x1d, 0x4f, 0x70, 0x65, 0x6e, 0x54, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74,
498 0x72, 0x79, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
499 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
500}
501
502var (
503 file_opentelemetry_proto_common_v1_common_proto_rawDescOnce sync.Once
504 file_opentelemetry_proto_common_v1_common_proto_rawDescData = file_opentelemetry_proto_common_v1_common_proto_rawDesc
505)
506
507func file_opentelemetry_proto_common_v1_common_proto_rawDescGZIP() []byte {
508 file_opentelemetry_proto_common_v1_common_proto_rawDescOnce.Do(func() {
509 file_opentelemetry_proto_common_v1_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_opentelemetry_proto_common_v1_common_proto_rawDescData)
510 })
511 return file_opentelemetry_proto_common_v1_common_proto_rawDescData
512}
513
514var file_opentelemetry_proto_common_v1_common_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
515var file_opentelemetry_proto_common_v1_common_proto_goTypes = []interface{}{
516 (*AnyValue)(nil), // 0: opentelemetry.proto.common.v1.AnyValue
517 (*ArrayValue)(nil), // 1: opentelemetry.proto.common.v1.ArrayValue
518 (*KeyValueList)(nil), // 2: opentelemetry.proto.common.v1.KeyValueList
519 (*KeyValue)(nil), // 3: opentelemetry.proto.common.v1.KeyValue
520 (*InstrumentationScope)(nil), // 4: opentelemetry.proto.common.v1.InstrumentationScope
521}
522var file_opentelemetry_proto_common_v1_common_proto_depIdxs = []int32{
523 1, // 0: opentelemetry.proto.common.v1.AnyValue.array_value:type_name -> opentelemetry.proto.common.v1.ArrayValue
524 2, // 1: opentelemetry.proto.common.v1.AnyValue.kvlist_value:type_name -> opentelemetry.proto.common.v1.KeyValueList
525 0, // 2: opentelemetry.proto.common.v1.ArrayValue.values:type_name -> opentelemetry.proto.common.v1.AnyValue
526 3, // 3: opentelemetry.proto.common.v1.KeyValueList.values:type_name -> opentelemetry.proto.common.v1.KeyValue
527 0, // 4: opentelemetry.proto.common.v1.KeyValue.value:type_name -> opentelemetry.proto.common.v1.AnyValue
528 3, // 5: opentelemetry.proto.common.v1.InstrumentationScope.attributes:type_name -> opentelemetry.proto.common.v1.KeyValue
529 6, // [6:6] is the sub-list for method output_type
530 6, // [6:6] is the sub-list for method input_type
531 6, // [6:6] is the sub-list for extension type_name
532 6, // [6:6] is the sub-list for extension extendee
533 0, // [0:6] is the sub-list for field type_name
534}
535
536func init() { file_opentelemetry_proto_common_v1_common_proto_init() }
537func file_opentelemetry_proto_common_v1_common_proto_init() {
538 if File_opentelemetry_proto_common_v1_common_proto != nil {
539 return
540 }
541 if !protoimpl.UnsafeEnabled {
542 file_opentelemetry_proto_common_v1_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
543 switch v := v.(*AnyValue); 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 file_opentelemetry_proto_common_v1_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
555 switch v := v.(*ArrayValue); i {
556 case 0:
557 return &v.state
558 case 1:
559 return &v.sizeCache
560 case 2:
561 return &v.unknownFields
562 default:
563 return nil
564 }
565 }
566 file_opentelemetry_proto_common_v1_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
567 switch v := v.(*KeyValueList); i {
568 case 0:
569 return &v.state
570 case 1:
571 return &v.sizeCache
572 case 2:
573 return &v.unknownFields
574 default:
575 return nil
576 }
577 }
578 file_opentelemetry_proto_common_v1_common_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
579 switch v := v.(*KeyValue); i {
580 case 0:
581 return &v.state
582 case 1:
583 return &v.sizeCache
584 case 2:
585 return &v.unknownFields
586 default:
587 return nil
588 }
589 }
590 file_opentelemetry_proto_common_v1_common_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
591 switch v := v.(*InstrumentationScope); i {
592 case 0:
593 return &v.state
594 case 1:
595 return &v.sizeCache
596 case 2:
597 return &v.unknownFields
598 default:
599 return nil
600 }
601 }
602 }
603 file_opentelemetry_proto_common_v1_common_proto_msgTypes[0].OneofWrappers = []interface{}{
604 (*AnyValue_StringValue)(nil),
605 (*AnyValue_BoolValue)(nil),
606 (*AnyValue_IntValue)(nil),
607 (*AnyValue_DoubleValue)(nil),
608 (*AnyValue_ArrayValue)(nil),
609 (*AnyValue_KvlistValue)(nil),
610 (*AnyValue_BytesValue)(nil),
611 }
612 type x struct{}
613 out := protoimpl.TypeBuilder{
614 File: protoimpl.DescBuilder{
615 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
616 RawDescriptor: file_opentelemetry_proto_common_v1_common_proto_rawDesc,
617 NumEnums: 0,
618 NumMessages: 5,
619 NumExtensions: 0,
620 NumServices: 0,
621 },
622 GoTypes: file_opentelemetry_proto_common_v1_common_proto_goTypes,
623 DependencyIndexes: file_opentelemetry_proto_common_v1_common_proto_depIdxs,
624 MessageInfos: file_opentelemetry_proto_common_v1_common_proto_msgTypes,
625 }.Build()
626 File_opentelemetry_proto_common_v1_common_proto = out.File
627 file_opentelemetry_proto_common_v1_common_proto_rawDesc = nil
628 file_opentelemetry_proto_common_v1_common_proto_goTypes = nil
629 file_opentelemetry_proto_common_v1_common_proto_depIdxs = nil
630}