|
17 | 17 |
|
18 | 18 | # -*- coding: utf-8 -*-
|
19 | 19 | # Generated by the protocol buffer compiler. DO NOT EDIT!
|
| 20 | +# NO CHECKED-IN PROTOBUF GENCODE |
20 | 21 | # source: apache_beam/coders/proto2_coder_test_messages.proto
|
21 |
| - |
| 22 | +# Protobuf Python Version: 5.28.0 |
22 | 23 | """Generated protocol buffer code."""
|
23 |
| -from google.protobuf.internal import builder as _builder |
24 | 24 | from google.protobuf import descriptor as _descriptor
|
25 | 25 | from google.protobuf import descriptor_pool as _descriptor_pool
|
| 26 | +from google.protobuf import runtime_version as _runtime_version |
26 | 27 | from google.protobuf import symbol_database as _symbol_database
|
| 28 | +from google.protobuf.internal import builder as _builder |
| 29 | +_runtime_version.ValidateProtobufRuntimeVersion( |
| 30 | + _runtime_version.Domain.PUBLIC, |
| 31 | + 5, |
| 32 | + 28, |
| 33 | + 0, |
| 34 | + '', |
| 35 | + 'apache_beam/coders/proto2_coder_test_messages.proto' |
| 36 | +) |
27 | 37 | # @@protoc_insertion_point(imports)
|
28 | 38 |
|
29 | 39 | _sym_db = _symbol_database.Default()
|
30 | 40 |
|
31 |
| -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( |
32 |
| - b'\n3apache_beam/coders/proto2_coder_test_messages.proto\x12\x1aproto2_coder_test_messages\"P\n\x08MessageA\x12\x0e\n\x06\x66ield1\x18\x01 \x01(\t\x12\x34\n\x06\x66ield2\x18\x02 \x03(\x0b\x32$.proto2_coder_test_messages.MessageB\"\x1a\n\x08MessageB\x12\x0e\n\x06\x66ield1\x18\x01 \x01(\x08\"\x10\n\x08MessageC*\x04\x08\x64\x10j\"\xad\x01\n\x0eMessageWithMap\x12\x46\n\x06\x66ield1\x18\x01 \x03(\x0b\x32\x36.proto2_coder_test_messages.MessageWithMap.Field1Entry\x1aS\n\x0b\x46ield1Entry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x33\n\x05value\x18\x02 \x01(\x0b\x32$.proto2_coder_test_messages.MessageA:\x02\x38\x01\"V\n\x18ReferencesMessageWithMap\x12:\n\x06\x66ield1\x18\x01 \x03(\x0b\x32*.proto2_coder_test_messages.MessageWithMap:Z\n\x06\x66ield1\x12$.proto2_coder_test_messages.MessageC\x18\x65 \x01(\x0b\x32$.proto2_coder_test_messages.MessageA:Z\n\x06\x66ield2\x12$.proto2_coder_test_messages.MessageC\x18\x66 \x01(\x0b\x32$.proto2_coder_test_messages.MessageBB)\n\'org.apache.beam.sdk.extensions.protobuf' |
33 |
| -) |
34 | 41 |
|
35 |
| -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) |
36 |
| -_builder.BuildTopDescriptorsAndMessages( |
37 |
| - DESCRIPTOR, 'apache_beam.coders.proto2_coder_test_messages_pb2', globals()) |
38 |
| -if _descriptor._USE_C_DESCRIPTORS == False: |
39 |
| - MessageC.RegisterExtension(field1) |
40 |
| - MessageC.RegisterExtension(field2) |
41 | 42 |
|
42 |
| - DESCRIPTOR._options = None |
43 |
| - DESCRIPTOR._serialized_options = b'\n\'org.apache.beam.sdk.extensions.protobuf' |
44 |
| - _MESSAGEWITHMAP_FIELD1ENTRY._options = None |
45 |
| - _MESSAGEWITHMAP_FIELD1ENTRY._serialized_options = b'8\001' |
46 |
| - _MESSAGEA._serialized_start = 83 |
47 |
| - _MESSAGEA._serialized_end = 163 |
48 |
| - _MESSAGEB._serialized_start = 165 |
49 |
| - _MESSAGEB._serialized_end = 191 |
50 |
| - _MESSAGEC._serialized_start = 193 |
51 |
| - _MESSAGEC._serialized_end = 209 |
52 |
| - _MESSAGEWITHMAP._serialized_start = 212 |
53 |
| - _MESSAGEWITHMAP._serialized_end = 385 |
54 |
| - _MESSAGEWITHMAP_FIELD1ENTRY._serialized_start = 302 |
55 |
| - _MESSAGEWITHMAP_FIELD1ENTRY._serialized_end = 385 |
56 |
| - _REFERENCESMESSAGEWITHMAP._serialized_start = 387 |
57 |
| - _REFERENCESMESSAGEWITHMAP._serialized_end = 473 |
| 43 | + |
| 44 | +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n3apache_beam/coders/proto2_coder_test_messages.proto\x12\x1aproto2_coder_test_messages\"P\n\x08MessageA\x12\x0e\n\x06\x66ield1\x18\x01 \x01(\t\x12\x34\n\x06\x66ield2\x18\x02 \x03(\x0b\x32$.proto2_coder_test_messages.MessageB\"\x1a\n\x08MessageB\x12\x0e\n\x06\x66ield1\x18\x01 \x01(\x08\"\x10\n\x08MessageC*\x04\x08\x64\x10j\"\xad\x01\n\x0eMessageWithMap\x12\x46\n\x06\x66ield1\x18\x01 \x03(\x0b\x32\x36.proto2_coder_test_messages.MessageWithMap.Field1Entry\x1aS\n\x0b\x46ield1Entry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x33\n\x05value\x18\x02 \x01(\x0b\x32$.proto2_coder_test_messages.MessageA:\x02\x38\x01\"V\n\x18ReferencesMessageWithMap\x12:\n\x06\x66ield1\x18\x01 \x03(\x0b\x32*.proto2_coder_test_messages.MessageWithMap\";\n\x08MessageD\"/\n\nNestedEnum\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x07\n\x03ONE\x10\x01\x12\x07\n\x03TWO\x10\x02*1\n\x0cTopLevelEnum\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x07\n\x03ONE\x10\x01\x12\x07\n\x03TWO\x10\x02:Z\n\x06\x66ield1\x12$.proto2_coder_test_messages.MessageC\x18\x65 \x01(\x0b\x32$.proto2_coder_test_messages.MessageA:Z\n\x06\x66ield2\x12$.proto2_coder_test_messages.MessageC\x18\x66 \x01(\x0b\x32$.proto2_coder_test_messages.MessageBB)\n\'org.apache.beam.sdk.extensions.protobuf') |
| 45 | + |
| 46 | +_globals = globals() |
| 47 | +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) |
| 48 | +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'apache_beam.coders.proto2_coder_test_messages_pb2', _globals) |
| 49 | +if not _descriptor._USE_C_DESCRIPTORS: |
| 50 | + _globals['DESCRIPTOR']._loaded_options = None |
| 51 | + _globals['DESCRIPTOR']._serialized_options = b'\n\'org.apache.beam.sdk.extensions.protobuf' |
| 52 | + _globals['_MESSAGEWITHMAP_FIELD1ENTRY']._loaded_options = None |
| 53 | + _globals['_MESSAGEWITHMAP_FIELD1ENTRY']._serialized_options = b'8\001' |
| 54 | + _globals['_TOPLEVELENUM']._serialized_start=536 |
| 55 | + _globals['_TOPLEVELENUM']._serialized_end=585 |
| 56 | + _globals['_MESSAGEA']._serialized_start=83 |
| 57 | + _globals['_MESSAGEA']._serialized_end=163 |
| 58 | + _globals['_MESSAGEB']._serialized_start=165 |
| 59 | + _globals['_MESSAGEB']._serialized_end=191 |
| 60 | + _globals['_MESSAGEC']._serialized_start=193 |
| 61 | + _globals['_MESSAGEC']._serialized_end=209 |
| 62 | + _globals['_MESSAGEWITHMAP']._serialized_start=212 |
| 63 | + _globals['_MESSAGEWITHMAP']._serialized_end=385 |
| 64 | + _globals['_MESSAGEWITHMAP_FIELD1ENTRY']._serialized_start=302 |
| 65 | + _globals['_MESSAGEWITHMAP_FIELD1ENTRY']._serialized_end=385 |
| 66 | + _globals['_REFERENCESMESSAGEWITHMAP']._serialized_start=387 |
| 67 | + _globals['_REFERENCESMESSAGEWITHMAP']._serialized_end=473 |
| 68 | + _globals['_MESSAGED']._serialized_start=475 |
| 69 | + _globals['_MESSAGED']._serialized_end=534 |
| 70 | + _globals['_MESSAGED_NESTEDENUM']._serialized_start=487 |
| 71 | + _globals['_MESSAGED_NESTEDENUM']._serialized_end=534 |
58 | 72 | # @@protoc_insertion_point(module_scope)
|
0 commit comments