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