• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Generated by the protocol buffer compiler.  DO NOT EDIT!
2
3from google.protobuf import descriptor
4from google.protobuf import message
5from google.protobuf import reflection
6from google.protobuf import descriptor_pb2
7# @@protoc_insertion_point(imports)
8
9
10DESCRIPTOR = descriptor.FileDescriptor(
11  name='plugin.proto',
12  package='google.protobuf.compiler',
13  serialized_pb='\n\x0cplugin.proto\x12\x18google.protobuf.compiler\x1a google/protobuf/descriptor.proto\"}\n\x14\x43odeGeneratorRequest\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.FileDescriptorProto\"\xaa\x01\n\x15\x43odeGeneratorResponse\x12\r\n\x05\x65rror\x18\x01 \x01(\t\x12\x42\n\x04\x66ile\x18\x0f \x03(\x0b\x32\x34.google.protobuf.compiler.CodeGeneratorResponse.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')
14
15
16
17
18_CODEGENERATORREQUEST = descriptor.Descriptor(
19  name='CodeGeneratorRequest',
20  full_name='google.protobuf.compiler.CodeGeneratorRequest',
21  filename=None,
22  file=DESCRIPTOR,
23  containing_type=None,
24  fields=[
25    descriptor.FieldDescriptor(
26      name='file_to_generate', full_name='google.protobuf.compiler.CodeGeneratorRequest.file_to_generate', index=0,
27      number=1, type=9, cpp_type=9, label=3,
28      has_default_value=False, default_value=[],
29      message_type=None, enum_type=None, containing_type=None,
30      is_extension=False, extension_scope=None,
31      options=None),
32    descriptor.FieldDescriptor(
33      name='parameter', full_name='google.protobuf.compiler.CodeGeneratorRequest.parameter', index=1,
34      number=2, type=9, cpp_type=9, label=1,
35      has_default_value=False, default_value=unicode("", "utf-8"),
36      message_type=None, enum_type=None, containing_type=None,
37      is_extension=False, extension_scope=None,
38      options=None),
39    descriptor.FieldDescriptor(
40      name='proto_file', full_name='google.protobuf.compiler.CodeGeneratorRequest.proto_file', index=2,
41      number=15, type=11, cpp_type=10, label=3,
42      has_default_value=False, default_value=[],
43      message_type=None, enum_type=None, containing_type=None,
44      is_extension=False, extension_scope=None,
45      options=None),
46  ],
47  extensions=[
48  ],
49  nested_types=[],
50  enum_types=[
51  ],
52  options=None,
53  is_extendable=False,
54  extension_ranges=[],
55  serialized_start=76,
56  serialized_end=201,
57)
58
59
60_CODEGENERATORRESPONSE_FILE = descriptor.Descriptor(
61  name='File',
62  full_name='google.protobuf.compiler.CodeGeneratorResponse.File',
63  filename=None,
64  file=DESCRIPTOR,
65  containing_type=None,
66  fields=[
67    descriptor.FieldDescriptor(
68      name='name', full_name='google.protobuf.compiler.CodeGeneratorResponse.File.name', index=0,
69      number=1, type=9, cpp_type=9, label=1,
70      has_default_value=False, default_value=unicode("", "utf-8"),
71      message_type=None, enum_type=None, containing_type=None,
72      is_extension=False, extension_scope=None,
73      options=None),
74    descriptor.FieldDescriptor(
75      name='insertion_point', full_name='google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point', index=1,
76      number=2, type=9, cpp_type=9, label=1,
77      has_default_value=False, default_value=unicode("", "utf-8"),
78      message_type=None, enum_type=None, containing_type=None,
79      is_extension=False, extension_scope=None,
80      options=None),
81    descriptor.FieldDescriptor(
82      name='content', full_name='google.protobuf.compiler.CodeGeneratorResponse.File.content', index=2,
83      number=15, type=9, cpp_type=9, label=1,
84      has_default_value=False, default_value=unicode("", "utf-8"),
85      message_type=None, enum_type=None, containing_type=None,
86      is_extension=False, extension_scope=None,
87      options=None),
88  ],
89  extensions=[
90  ],
91  nested_types=[],
92  enum_types=[
93  ],
94  options=None,
95  is_extendable=False,
96  extension_ranges=[],
97  serialized_start=312,
98  serialized_end=374,
99)
100
101_CODEGENERATORRESPONSE = descriptor.Descriptor(
102  name='CodeGeneratorResponse',
103  full_name='google.protobuf.compiler.CodeGeneratorResponse',
104  filename=None,
105  file=DESCRIPTOR,
106  containing_type=None,
107  fields=[
108    descriptor.FieldDescriptor(
109      name='error', full_name='google.protobuf.compiler.CodeGeneratorResponse.error', index=0,
110      number=1, type=9, cpp_type=9, label=1,
111      has_default_value=False, default_value=unicode("", "utf-8"),
112      message_type=None, enum_type=None, containing_type=None,
113      is_extension=False, extension_scope=None,
114      options=None),
115    descriptor.FieldDescriptor(
116      name='file', full_name='google.protobuf.compiler.CodeGeneratorResponse.file', index=1,
117      number=15, type=11, cpp_type=10, label=3,
118      has_default_value=False, default_value=[],
119      message_type=None, enum_type=None, containing_type=None,
120      is_extension=False, extension_scope=None,
121      options=None),
122  ],
123  extensions=[
124  ],
125  nested_types=[_CODEGENERATORRESPONSE_FILE, ],
126  enum_types=[
127  ],
128  options=None,
129  is_extendable=False,
130  extension_ranges=[],
131  serialized_start=204,
132  serialized_end=374,
133)
134
135import google.protobuf.descriptor_pb2
136
137_CODEGENERATORREQUEST.fields_by_name['proto_file'].message_type = google.protobuf.descriptor_pb2._FILEDESCRIPTORPROTO
138_CODEGENERATORRESPONSE_FILE.containing_type = _CODEGENERATORRESPONSE;
139_CODEGENERATORRESPONSE.fields_by_name['file'].message_type = _CODEGENERATORRESPONSE_FILE
140
141class CodeGeneratorRequest(message.Message):
142  __metaclass__ = reflection.GeneratedProtocolMessageType
143  DESCRIPTOR = _CODEGENERATORREQUEST
144
145  # @@protoc_insertion_point(class_scope:google.protobuf.compiler.CodeGeneratorRequest)
146
147class CodeGeneratorResponse(message.Message):
148  __metaclass__ = reflection.GeneratedProtocolMessageType
149
150  class File(message.Message):
151    __metaclass__ = reflection.GeneratedProtocolMessageType
152    DESCRIPTOR = _CODEGENERATORRESPONSE_FILE
153
154    # @@protoc_insertion_point(class_scope:google.protobuf.compiler.CodeGeneratorResponse.File)
155  DESCRIPTOR = _CODEGENERATORRESPONSE
156
157  # @@protoc_insertion_point(class_scope:google.protobuf.compiler.CodeGeneratorResponse)
158
159# @@protoc_insertion_point(module_scope)
160