github.com/apache/beam/sdks/v2@v2.48.2/python/apache_beam/coders/proto2_coder_test_messages_pb2.py (about) 1 # 2 # Licensed to the Apache Software Foundation (ASF) under one or more 3 # contributor license agreements. See the NOTICE file distributed with 4 # this work for additional information regarding copyright ownership. 5 # The ASF licenses this file to You under the Apache License, Version 2.0 6 # (the "License"); you may not use this file except in compliance with 7 # the License. You may obtain a copy of the License at 8 # 9 # http://www.apache.org/licenses/LICENSE-2.0 10 # 11 # Unless required by applicable law or agreed to in writing, software 12 # distributed under the License is distributed on an "AS IS" BASIS, 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 # See the License for the specific language governing permissions and 15 # limitations under the License. 16 # 17 18 # -*- coding: utf-8 -*- 19 # Generated by the protocol buffer compiler. DO NOT EDIT! 20 # source: apache_beam/coders/proto2_coder_test_messages.proto 21 22 """Generated protocol buffer code.""" 23 from google.protobuf.internal import builder as _builder 24 from google.protobuf import descriptor as _descriptor 25 from google.protobuf import descriptor_pool as _descriptor_pool 26 from google.protobuf import symbol_database as _symbol_database 27 # @@protoc_insertion_point(imports) 28 29 _sym_db = _symbol_database.Default() 30 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 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 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 58 # @@protoc_insertion_point(module_scope)