Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(934)

Side by Side Diff: recipe_engine/third_party/google/protobuf/any_test_pb2.py

Issue 2236673002: Bump vendoring, move to proto3 release. (Closed) Base URL: https://github.com/luci/recipes-py@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Generated by the protocol buffer compiler. DO NOT EDIT! 1 # Generated by the protocol buffer compiler. DO NOT EDIT!
2 # source: google/protobuf/internal/any_test.proto 2 # source: google/protobuf/any_test.proto
3 3
4 import sys 4 import sys
5 _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) 5 _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
6 from google.protobuf import descriptor as _descriptor 6 from google.protobuf import descriptor as _descriptor
7 from google.protobuf import message as _message 7 from google.protobuf import message as _message
8 from google.protobuf import reflection as _reflection 8 from google.protobuf import reflection as _reflection
9 from google.protobuf import symbol_database as _symbol_database 9 from google.protobuf import symbol_database as _symbol_database
10 from google.protobuf import descriptor_pb2 10 from google.protobuf import descriptor_pb2
11 # @@protoc_insertion_point(imports) 11 # @@protoc_insertion_point(imports)
12 12
13 _sym_db = _symbol_database.Default() 13 _sym_db = _symbol_database.Default()
14 14
15 15
16 from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 16 from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2
17 17
18 18
19 DESCRIPTOR = _descriptor.FileDescriptor( 19 DESCRIPTOR = _descriptor.FileDescriptor(
20 name='google/protobuf/internal/any_test.proto', 20 name='google/protobuf/any_test.proto',
21 package='google.protobuf.internal', 21 package='protobuf_unittest',
22 syntax='proto3', 22 syntax='proto3',
23 serialized_pb=_b('\n\'google/protobuf/internal/any_test.proto\x12\x18google.pr otobuf.internal\x1a\x19google/protobuf/any.proto\"A\n\x07TestAny\x12#\n\x05value \x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x11\n\tint_value\x18\x02 \x01 (\x05\x62\x06proto3') 23 serialized_pb=_b('\n\x1egoogle/protobuf/any_test.proto\x12\x11protobuf_unittes t\x1a\x19google/protobuf/any.proto\"y\n\x07TestAny\x12\x13\n\x0bint32_value\x18\ x01 \x01(\x05\x12\'\n\tany_value\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\x 12\x30\n\x12repeated_any_value\x18\x03 \x03(\x0b\x32\x14.google.protobuf.Anyb\x0 6proto3')
24 , 24 ,
25 dependencies=[google_dot_protobuf_dot_any__pb2.DESCRIPTOR,]) 25 dependencies=[google_dot_protobuf_dot_any__pb2.DESCRIPTOR,])
26 _sym_db.RegisterFileDescriptor(DESCRIPTOR) 26 _sym_db.RegisterFileDescriptor(DESCRIPTOR)
27 27
28 28
29 29
30 30
31 _TESTANY = _descriptor.Descriptor( 31 _TESTANY = _descriptor.Descriptor(
32 name='TestAny', 32 name='TestAny',
33 full_name='google.protobuf.internal.TestAny', 33 full_name='protobuf_unittest.TestAny',
34 filename=None, 34 filename=None,
35 file=DESCRIPTOR, 35 file=DESCRIPTOR,
36 containing_type=None, 36 containing_type=None,
37 fields=[ 37 fields=[
38 _descriptor.FieldDescriptor( 38 _descriptor.FieldDescriptor(
39 name='value', full_name='google.protobuf.internal.TestAny.value', index=0, 39 name='int32_value', full_name='protobuf_unittest.TestAny.int32_value', ind ex=0,
40 number=1, type=11, cpp_type=10, label=1, 40 number=1, type=5, cpp_type=1, label=1,
41 has_default_value=False, default_value=0,
42 message_type=None, enum_type=None, containing_type=None,
43 is_extension=False, extension_scope=None,
44 options=None),
45 _descriptor.FieldDescriptor(
46 name='any_value', full_name='protobuf_unittest.TestAny.any_value', index=1 ,
47 number=2, type=11, cpp_type=10, label=1,
41 has_default_value=False, default_value=None, 48 has_default_value=False, default_value=None,
42 message_type=None, enum_type=None, containing_type=None, 49 message_type=None, enum_type=None, containing_type=None,
43 is_extension=False, extension_scope=None, 50 is_extension=False, extension_scope=None,
44 options=None), 51 options=None),
45 _descriptor.FieldDescriptor( 52 _descriptor.FieldDescriptor(
46 name='int_value', full_name='google.protobuf.internal.TestAny.int_value', index=1, 53 name='repeated_any_value', full_name='protobuf_unittest.TestAny.repeated_a ny_value', index=2,
47 number=2, type=5, cpp_type=1, label=1, 54 number=3, type=11, cpp_type=10, label=3,
48 has_default_value=False, default_value=0, 55 has_default_value=False, default_value=[],
49 message_type=None, enum_type=None, containing_type=None, 56 message_type=None, enum_type=None, containing_type=None,
50 is_extension=False, extension_scope=None, 57 is_extension=False, extension_scope=None,
51 options=None), 58 options=None),
52 ], 59 ],
53 extensions=[ 60 extensions=[
54 ], 61 ],
55 nested_types=[], 62 nested_types=[],
56 enum_types=[ 63 enum_types=[
57 ], 64 ],
58 options=None, 65 options=None,
59 is_extendable=False, 66 is_extendable=False,
60 syntax='proto3', 67 syntax='proto3',
61 extension_ranges=[], 68 extension_ranges=[],
62 oneofs=[ 69 oneofs=[
63 ], 70 ],
64 serialized_start=96, 71 serialized_start=80,
65 serialized_end=161, 72 serialized_end=201,
66 ) 73 )
67 74
68 _TESTANY.fields_by_name['value'].message_type = google_dot_protobuf_dot_any__pb2 ._ANY 75 _TESTANY.fields_by_name['any_value'].message_type = google_dot_protobuf_dot_any_ _pb2._ANY
76 _TESTANY.fields_by_name['repeated_any_value'].message_type = google_dot_protobuf _dot_any__pb2._ANY
69 DESCRIPTOR.message_types_by_name['TestAny'] = _TESTANY 77 DESCRIPTOR.message_types_by_name['TestAny'] = _TESTANY
70 78
71 TestAny = _reflection.GeneratedProtocolMessageType('TestAny', (_message.Message, ), dict( 79 TestAny = _reflection.GeneratedProtocolMessageType('TestAny', (_message.Message, ), dict(
72 DESCRIPTOR = _TESTANY, 80 DESCRIPTOR = _TESTANY,
73 __module__ = 'google.protobuf.internal.any_test_pb2' 81 __module__ = 'google.protobuf.any_test_pb2'
74 # @@protoc_insertion_point(class_scope:google.protobuf.internal.TestAny) 82 # @@protoc_insertion_point(class_scope:protobuf_unittest.TestAny)
75 )) 83 ))
76 _sym_db.RegisterMessage(TestAny) 84 _sym_db.RegisterMessage(TestAny)
77 85
78 86
79 # @@protoc_insertion_point(module_scope) 87 # @@protoc_insertion_point(module_scope)
OLDNEW
« no previous file with comments | « recipe_engine/third_party/google/protobuf/__init__.py ('k') | recipe_engine/third_party/google/protobuf/descriptor.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698