|
1 | 1 | # -*- coding: utf-8 -*- |
| 2 | +# ============================================================================= |
| 3 | +# WARNING: Generated from proto files edited with the following changes. |
| 4 | +# 1. Replace listed .proto file paths with newrelic/packages/opentelemetry_proto/ |
| 5 | +# 2. Replace listed __module__ paths with newrelic.packages.opentelemetry_proto |
| 6 | +# This prevents conflicts with other packages using different versions |
| 7 | +# of opentelemetry's pb2 files. |
| 8 | +# ============================================================================= |
2 | 9 | # Generated by the protocol buffer compiler. DO NOT EDIT! |
3 | | -# source: opentelemetry/proto/common/v1/common.proto |
| 10 | +# source: newrelic/packages/opentelemetry_proto/common.proto |
| 11 | +# Protobuf Python Version: 5.26.1 |
4 | 12 | """Generated protocol buffer code.""" |
5 | 13 | from google.protobuf import descriptor as _descriptor |
6 | 14 | from google.protobuf import descriptor_pool as _descriptor_pool |
7 | | -from google.protobuf import message as _message |
8 | | -from google.protobuf import reflection as _reflection |
9 | 15 | from google.protobuf import symbol_database as _symbol_database |
| 16 | +from google.protobuf.internal import builder as _builder |
10 | 17 | # @@protoc_insertion_point(imports) |
11 | 18 |
|
12 | 19 | _sym_db = _symbol_database.Default() |
13 | 20 |
|
14 | 21 |
|
15 | 22 |
|
16 | 23 |
|
17 | | -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*opentelemetry/proto/common/v1/common.proto\x12\x1dopentelemetry.proto.common.v1\"\x8c\x02\n\x08\x41nyValue\x12\x16\n\x0cstring_value\x18\x01 \x01(\tH\x00\x12\x14\n\nbool_value\x18\x02 \x01(\x08H\x00\x12\x13\n\tint_value\x18\x03 \x01(\x03H\x00\x12\x16\n\x0c\x64ouble_value\x18\x04 \x01(\x01H\x00\x12@\n\x0b\x61rray_value\x18\x05 \x01(\x0b\x32).opentelemetry.proto.common.v1.ArrayValueH\x00\x12\x43\n\x0ckvlist_value\x18\x06 \x01(\x0b\x32+.opentelemetry.proto.common.v1.KeyValueListH\x00\x12\x15\n\x0b\x62ytes_value\x18\x07 \x01(\x0cH\x00\x42\x07\n\x05value\"E\n\nArrayValue\x12\x37\n\x06values\x18\x01 \x03(\x0b\x32\'.opentelemetry.proto.common.v1.AnyValue\"G\n\x0cKeyValueList\x12\x37\n\x06values\x18\x01 \x03(\x0b\x32\'.opentelemetry.proto.common.v1.KeyValue\"O\n\x08KeyValue\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.opentelemetry.proto.common.v1.AnyValue\";\n\x16InstrumentationLibrary\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t:\x02\x18\x01\"5\n\x14InstrumentationScope\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\tB[\n io.opentelemetry.proto.common.v1B\x0b\x43ommonProtoP\x01Z(go.opentelemetry.io/proto/otlp/common/v1b\x06proto3') |
| 24 | +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2newrelic/packages/opentelemetry_proto/common.proto\x12%newrelic.packages.opentelemetry_proto\"\x9c\x02\n\x08\x41nyValue\x12\x16\n\x0cstring_value\x18\x01 \x01(\tH\x00\x12\x14\n\nbool_value\x18\x02 \x01(\x08H\x00\x12\x13\n\tint_value\x18\x03 \x01(\x03H\x00\x12\x16\n\x0c\x64ouble_value\x18\x04 \x01(\x01H\x00\x12H\n\x0b\x61rray_value\x18\x05 \x01(\x0b\x32\x31.newrelic.packages.opentelemetry_proto.ArrayValueH\x00\x12K\n\x0ckvlist_value\x18\x06 \x01(\x0b\x32\x33.newrelic.packages.opentelemetry_proto.KeyValueListH\x00\x12\x15\n\x0b\x62ytes_value\x18\x07 \x01(\x0cH\x00\x42\x07\n\x05value\"M\n\nArrayValue\x12?\n\x06values\x18\x01 \x03(\x0b\x32/.newrelic.packages.opentelemetry_proto.AnyValue\"O\n\x0cKeyValueList\x12?\n\x06values\x18\x01 \x03(\x0b\x32/.newrelic.packages.opentelemetry_proto.KeyValue\"W\n\x08KeyValue\x12\x0b\n\x03key\x18\x01 \x01(\t\x12>\n\x05value\x18\x02 \x01(\x0b\x32/.newrelic.packages.opentelemetry_proto.AnyValue\"\x9c\x01\n\x14InstrumentationScope\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x43\n\nattributes\x18\x03 \x03(\x0b\x32/.newrelic.packages.opentelemetry_proto.KeyValue\x12 \n\x18\x64ropped_attributes_count\x18\x04 \x01(\rB{\n io.opentelemetry.proto.common.v1B\x0b\x43ommonProtoP\x01Z(go.opentelemetry.io/proto/otlp/common/v1\xaa\x02\x1dOpenTelemetry.Proto.Common.V1b\x06proto3') |
18 | 25 |
|
19 | | - |
20 | | - |
21 | | -_ANYVALUE = DESCRIPTOR.message_types_by_name['AnyValue'] |
22 | | -_ARRAYVALUE = DESCRIPTOR.message_types_by_name['ArrayValue'] |
23 | | -_KEYVALUELIST = DESCRIPTOR.message_types_by_name['KeyValueList'] |
24 | | -_KEYVALUE = DESCRIPTOR.message_types_by_name['KeyValue'] |
25 | | -_INSTRUMENTATIONLIBRARY = DESCRIPTOR.message_types_by_name['InstrumentationLibrary'] |
26 | | -_INSTRUMENTATIONSCOPE = DESCRIPTOR.message_types_by_name['InstrumentationScope'] |
27 | | -AnyValue = _reflection.GeneratedProtocolMessageType('AnyValue', (_message.Message,), { |
28 | | - 'DESCRIPTOR' : _ANYVALUE, |
29 | | - '__module__' : 'opentelemetry.proto.common.v1.common_pb2' |
30 | | - # @@protoc_insertion_point(class_scope:opentelemetry.proto.common.v1.AnyValue) |
31 | | - }) |
32 | | -_sym_db.RegisterMessage(AnyValue) |
33 | | - |
34 | | -ArrayValue = _reflection.GeneratedProtocolMessageType('ArrayValue', (_message.Message,), { |
35 | | - 'DESCRIPTOR' : _ARRAYVALUE, |
36 | | - '__module__' : 'opentelemetry.proto.common.v1.common_pb2' |
37 | | - # @@protoc_insertion_point(class_scope:opentelemetry.proto.common.v1.ArrayValue) |
38 | | - }) |
39 | | -_sym_db.RegisterMessage(ArrayValue) |
40 | | - |
41 | | -KeyValueList = _reflection.GeneratedProtocolMessageType('KeyValueList', (_message.Message,), { |
42 | | - 'DESCRIPTOR' : _KEYVALUELIST, |
43 | | - '__module__' : 'opentelemetry.proto.common.v1.common_pb2' |
44 | | - # @@protoc_insertion_point(class_scope:opentelemetry.proto.common.v1.KeyValueList) |
45 | | - }) |
46 | | -_sym_db.RegisterMessage(KeyValueList) |
47 | | - |
48 | | -KeyValue = _reflection.GeneratedProtocolMessageType('KeyValue', (_message.Message,), { |
49 | | - 'DESCRIPTOR' : _KEYVALUE, |
50 | | - '__module__' : 'opentelemetry.proto.common.v1.common_pb2' |
51 | | - # @@protoc_insertion_point(class_scope:opentelemetry.proto.common.v1.KeyValue) |
52 | | - }) |
53 | | -_sym_db.RegisterMessage(KeyValue) |
54 | | - |
55 | | -InstrumentationLibrary = _reflection.GeneratedProtocolMessageType('InstrumentationLibrary', (_message.Message,), { |
56 | | - 'DESCRIPTOR' : _INSTRUMENTATIONLIBRARY, |
57 | | - '__module__' : 'opentelemetry.proto.common.v1.common_pb2' |
58 | | - # @@protoc_insertion_point(class_scope:opentelemetry.proto.common.v1.InstrumentationLibrary) |
59 | | - }) |
60 | | -_sym_db.RegisterMessage(InstrumentationLibrary) |
61 | | - |
62 | | -InstrumentationScope = _reflection.GeneratedProtocolMessageType('InstrumentationScope', (_message.Message,), { |
63 | | - 'DESCRIPTOR' : _INSTRUMENTATIONSCOPE, |
64 | | - '__module__' : 'opentelemetry.proto.common.v1.common_pb2' |
65 | | - # @@protoc_insertion_point(class_scope:opentelemetry.proto.common.v1.InstrumentationScope) |
66 | | - }) |
67 | | -_sym_db.RegisterMessage(InstrumentationScope) |
68 | | - |
69 | | -if _descriptor._USE_C_DESCRIPTORS == False: |
70 | | - |
71 | | - DESCRIPTOR._options = None |
72 | | - DESCRIPTOR._serialized_options = b'\n io.opentelemetry.proto.common.v1B\013CommonProtoP\001Z(go.opentelemetry.io/proto/otlp/common/v1' |
73 | | - _INSTRUMENTATIONLIBRARY._options = None |
74 | | - _INSTRUMENTATIONLIBRARY._serialized_options = b'\030\001' |
75 | | - _ANYVALUE._serialized_start=78 |
76 | | - _ANYVALUE._serialized_end=346 |
77 | | - _ARRAYVALUE._serialized_start=348 |
78 | | - _ARRAYVALUE._serialized_end=417 |
79 | | - _KEYVALUELIST._serialized_start=419 |
80 | | - _KEYVALUELIST._serialized_end=490 |
81 | | - _KEYVALUE._serialized_start=492 |
82 | | - _KEYVALUE._serialized_end=571 |
83 | | - _INSTRUMENTATIONLIBRARY._serialized_start=573 |
84 | | - _INSTRUMENTATIONLIBRARY._serialized_end=632 |
85 | | - _INSTRUMENTATIONSCOPE._serialized_start=634 |
86 | | - _INSTRUMENTATIONSCOPE._serialized_end=687 |
| 26 | +_globals = globals() |
| 27 | +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) |
| 28 | +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'newrelic.packages.opentelemetry_proto.common_pb2', _globals) |
| 29 | +if not _descriptor._USE_C_DESCRIPTORS: |
| 30 | + _globals['DESCRIPTOR']._loaded_options = None |
| 31 | + _globals['DESCRIPTOR']._serialized_options = b'\n io.opentelemetry.proto.common.v1B\013CommonProtoP\001Z(go.opentelemetry.io/proto/otlp/common/v1\252\002\035OpenTelemetry.Proto.Common.V1' |
| 32 | + _globals['_ANYVALUE']._serialized_start=94 |
| 33 | + _globals['_ANYVALUE']._serialized_end=378 |
| 34 | + _globals['_ARRAYVALUE']._serialized_start=380 |
| 35 | + _globals['_ARRAYVALUE']._serialized_end=457 |
| 36 | + _globals['_KEYVALUELIST']._serialized_start=459 |
| 37 | + _globals['_KEYVALUELIST']._serialized_end=538 |
| 38 | + _globals['_KEYVALUE']._serialized_start=540 |
| 39 | + _globals['_KEYVALUE']._serialized_end=627 |
| 40 | + _globals['_INSTRUMENTATIONSCOPE']._serialized_start=630 |
| 41 | + _globals['_INSTRUMENTATIONSCOPE']._serialized_end=786 |
87 | 42 | # @@protoc_insertion_point(module_scope) |
0 commit comments