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

Side by Side Diff: third_party/protobuf26/compiler/plugin_pb2.py

Issue 1162993005: Renamed google.protobuf to protobuf26 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Addressed comments Created 5 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « third_party/protobuf26/compiler/__init__.py ('k') | third_party/protobuf26/descriptor.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/compiler/plugin.proto 2 # source: google/protobuf/compiler/plugin.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 protobuf26 import descriptor as _descriptor
7 from google.protobuf import message as _message 7 from protobuf26 import message as _message
8 from google.protobuf import reflection as _reflection 8 from protobuf26 import reflection as _reflection
9 from google.protobuf import symbol_database as _symbol_database 9 from protobuf26 import symbol_database as _symbol_database
10 from google.protobuf import descriptor_pb2 10 from protobuf26 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 import google.protobuf.descriptor_pb2 16 import protobuf26.descriptor_pb2
17 17
18 18
19 DESCRIPTOR = _descriptor.FileDescriptor( 19 DESCRIPTOR = _descriptor.FileDescriptor(
20 name='google/protobuf/compiler/plugin.proto', 20 name='google/protobuf/compiler/plugin.proto',
21 package='google.protobuf.compiler', 21 package='google.protobuf.compiler',
22 serialized_pb=_b('\n%google/protobuf/compiler/plugin.proto\x12\x18google.proto buf.compiler\x1a google/protobuf/descriptor.proto\"}\n\x14\x43odeGeneratorReques t\x12\x18\n\x10\x66ile_to_generate\x18\x01 \x03(\t\x12\x11\n\tparameter\x18\x02 \x01(\t\x12\x38\n\nproto_file\x18\x0f \x03(\x0b\x32$.google.protobuf.FileDescrip torProto\"\xaa\x01\n\x15\x43odeGeneratorResponse\x12\r\n\x05\x65rror\x18\x01 \x0 1(\t\x12\x42\n\x04\x66ile\x18\x0f \x03(\x0b\x32\x34.google.protobuf.compiler.Cod eGeneratorResponse.File\x1a>\n\x04\x46ile\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\ x17\n\x0finsertion_point\x18\x02 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x0f \x01(\t B,\n\x1c\x63om.google.protobuf.compilerB\x0cPluginProtos') 22 serialized_pb=_b('\n%google/protobuf/compiler/plugin.proto\x12\x18google.proto buf.compiler\x1a google/protobuf/descriptor.proto\"}\n\x14\x43odeGeneratorReques t\x12\x18\n\x10\x66ile_to_generate\x18\x01 \x03(\t\x12\x11\n\tparameter\x18\x02 \x01(\t\x12\x38\n\nproto_file\x18\x0f \x03(\x0b\x32$.google.protobuf.FileDescrip torProto\"\xaa\x01\n\x15\x43odeGeneratorResponse\x12\r\n\x05\x65rror\x18\x01 \x0 1(\t\x12\x42\n\x04\x66ile\x18\x0f \x03(\x0b\x32\x34.google.protobuf.compiler.Cod eGeneratorResponse.File\x1a>\n\x04\x46ile\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\ x17\n\x0finsertion_point\x18\x02 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x0f \x01(\t B,\n\x1c\x63om.google.protobuf.compilerB\x0cPluginProtos')
23 , 23 ,
24 dependencies=[google.protobuf.descriptor_pb2.DESCRIPTOR,]) 24 dependencies=[google.protobuf.descriptor_pb2.DESCRIPTOR,])
25 _sym_db.RegisterFileDescriptor(DESCRIPTOR) 25 _sym_db.RegisterFileDescriptor(DESCRIPTOR)
26 26
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 __module__ = 'google.protobuf.compiler.plugin_pb2' 175 __module__ = 'google.protobuf.compiler.plugin_pb2'
176 # @@protoc_insertion_point(class_scope:google.protobuf.compiler.CodeGeneratorR esponse) 176 # @@protoc_insertion_point(class_scope:google.protobuf.compiler.CodeGeneratorR esponse)
177 )) 177 ))
178 _sym_db.RegisterMessage(CodeGeneratorResponse) 178 _sym_db.RegisterMessage(CodeGeneratorResponse)
179 _sym_db.RegisterMessage(CodeGeneratorResponse.File) 179 _sym_db.RegisterMessage(CodeGeneratorResponse.File)
180 180
181 181
182 DESCRIPTOR.has_options = True 182 DESCRIPTOR.has_options = True
183 DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b ('\n\034com.google.protobuf.compilerB\014PluginProtos')) 183 DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b ('\n\034com.google.protobuf.compilerB\014PluginProtos'))
184 # @@protoc_insertion_point(module_scope) 184 # @@protoc_insertion_point(module_scope)
OLDNEW
« no previous file with comments | « third_party/protobuf26/compiler/__init__.py ('k') | third_party/protobuf26/descriptor.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698