53 lines
2.4 KiB
Python
53 lines
2.4 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# source: google/protobuf/unittest_import.proto
|
|
"""Generated protocol buffer code."""
|
|
from google.protobuf.internal import enum_type_wrapper
|
|
from google.protobuf import descriptor as _descriptor
|
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
from google.protobuf import message as _message
|
|
from google.protobuf import reflection as _reflection
|
|
from google.protobuf import symbol_database as _symbol_database
|
|
# @@protoc_insertion_point(imports)
|
|
|
|
_sym_db = _symbol_database.Default()
|
|
|
|
|
|
from google.protobuf import unittest_import_public_pb2 as google_dot_protobuf_dot_unittest__import__public__pb2
|
|
|
|
from google.protobuf.unittest_import_public_pb2 import *
|
|
|
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%google/protobuf/unittest_import.proto\x12\x18protobuf_unittest_import\x1a,google/protobuf/unittest_import_public.proto\"\x1a\n\rImportMessage\x12\t\n\x01\x64\x18\x01 \x01(\x05*<\n\nImportEnum\x12\x0e\n\nIMPORT_FOO\x10\x07\x12\x0e\n\nIMPORT_BAR\x10\x08\x12\x0e\n\nIMPORT_BAZ\x10\t*1\n\x10ImportEnumForMap\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x07\n\x03\x46OO\x10\x01\x12\x07\n\x03\x42\x41R\x10\x02\x42\x1f\n\x18\x63om.google.protobuf.testH\x01\xf8\x01\x01P\x00')
|
|
|
|
_IMPORTENUM = DESCRIPTOR.enum_types_by_name['ImportEnum']
|
|
ImportEnum = enum_type_wrapper.EnumTypeWrapper(_IMPORTENUM)
|
|
_IMPORTENUMFORMAP = DESCRIPTOR.enum_types_by_name['ImportEnumForMap']
|
|
ImportEnumForMap = enum_type_wrapper.EnumTypeWrapper(_IMPORTENUMFORMAP)
|
|
IMPORT_FOO = 7
|
|
IMPORT_BAR = 8
|
|
IMPORT_BAZ = 9
|
|
UNKNOWN = 0
|
|
FOO = 1
|
|
BAR = 2
|
|
|
|
|
|
_IMPORTMESSAGE = DESCRIPTOR.message_types_by_name['ImportMessage']
|
|
ImportMessage = _reflection.GeneratedProtocolMessageType('ImportMessage', (_message.Message,), {
|
|
'DESCRIPTOR' : _IMPORTMESSAGE,
|
|
'__module__' : 'google.protobuf.unittest_import_pb2'
|
|
# @@protoc_insertion_point(class_scope:protobuf_unittest_import.ImportMessage)
|
|
})
|
|
_sym_db.RegisterMessage(ImportMessage)
|
|
|
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
|
DESCRIPTOR._options = None
|
|
DESCRIPTOR._serialized_options = b'\n\030com.google.protobuf.testH\001\370\001\001'
|
|
_IMPORTENUM._serialized_start=141
|
|
_IMPORTENUM._serialized_end=201
|
|
_IMPORTENUMFORMAP._serialized_start=203
|
|
_IMPORTENUMFORMAP._serialized_end=252
|
|
_IMPORTMESSAGE._serialized_start=113
|
|
_IMPORTMESSAGE._serialized_end=139
|
|
# @@protoc_insertion_point(module_scope)
|