protoc 2.6.1.1 → 2.6.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/protoc/Makefile.in +10 -13
- data/ext/protoc/extconf.rb +0 -1
- data/ext/protoc/protobuf/CHANGES.txt +593 -0
- data/ext/protoc/protobuf/CONTRIBUTORS.txt +93 -0
- data/ext/protoc/protobuf/INSTALL.txt +237 -0
- data/ext/protoc/protobuf/LICENSE +33 -0
- data/ext/protoc/protobuf/Makefile.am +267 -0
- data/ext/protoc/protobuf/README.md +167 -0
- data/ext/protoc/protobuf/autogen.sh +41 -0
- data/ext/protoc/protobuf/benchmarks/ProtoBench.java +203 -0
- data/ext/protoc/protobuf/benchmarks/google_message1.dat +0 -0
- data/ext/protoc/protobuf/benchmarks/google_message2.dat +0 -0
- data/ext/protoc/protobuf/benchmarks/google_size.proto +136 -0
- data/ext/protoc/protobuf/benchmarks/google_speed.proto +136 -0
- data/ext/protoc/protobuf/benchmarks/readme.txt +50 -0
- data/ext/protoc/protobuf/configure.ac +159 -0
- data/ext/protoc/protobuf/editors/README.txt +5 -0
- data/ext/protoc/protobuf/editors/proto.vim +105 -0
- data/ext/protoc/protobuf/editors/protobuf-mode.el +220 -0
- data/ext/protoc/protobuf/examples/AddPerson.java +95 -0
- data/ext/protoc/protobuf/examples/ListPeople.java +50 -0
- data/ext/protoc/protobuf/examples/Makefile +58 -0
- data/ext/protoc/protobuf/examples/README.txt +29 -0
- data/ext/protoc/protobuf/examples/add_person.cc +95 -0
- data/ext/protoc/protobuf/examples/add_person.py +58 -0
- data/ext/protoc/protobuf/examples/addressbook.proto +30 -0
- data/ext/protoc/protobuf/examples/list_people.cc +68 -0
- data/ext/protoc/protobuf/examples/list_people.py +38 -0
- data/ext/protoc/protobuf/generate_descriptor_proto.sh +33 -0
- data/ext/protoc/protobuf/java/README.txt +96 -0
- data/ext/protoc/protobuf/java/pom.xml +217 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java +466 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/AbstractMessageLite.java +355 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/AbstractParser.java +253 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/BlockingRpcChannel.java +51 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/BlockingService.java +64 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/BoundedByteString.java +163 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/ByteString.java +1022 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java +1311 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java +1297 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java +2238 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java +622 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/Extension.java +96 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/ExtensionRegistry.java +392 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/ExtensionRegistryLite.java +185 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/FieldSet.java +907 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java +2213 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java +949 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/Internal.java +391 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/InvalidProtocolBufferException.java +122 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/LazyField.java +154 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/LazyFieldLite.java +176 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/LazyStringArrayList.java +367 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/LazyStringList.java +163 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java +362 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/Message.java +244 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/MessageLite.java +320 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/MessageLiteOrBuilder.java +60 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/MessageOrBuilder.java +143 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/MessageReflection.java +931 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/Parser.java +261 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/ProtocolMessageEnum.java +58 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/ProtocolStringList.java +48 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/RepeatedFieldBuilder.java +696 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java +957 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/RpcCallback.java +47 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/RpcChannel.java +71 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/RpcController.java +118 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/RpcUtil.java +134 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/Service.java +117 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/ServiceException.java +52 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/SingleFieldBuilder.java +241 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/SmallSortedMap.java +618 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java +1984 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/UninitializedMessageException.java +99 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/UnknownFieldSet.java +995 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/UnmodifiableLazyStringList.java +205 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/Utf8.java +349 -0
- data/ext/protoc/protobuf/java/src/main/java/com/google/protobuf/WireFormat.java +163 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/AbstractMessageTest.java +527 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/BoundedByteStringTest.java +68 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java +759 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/CheckUtf8Test.java +141 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java +769 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/CodedOutputStreamTest.java +401 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/DeprecatedFieldTest.java +80 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java +735 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/DynamicMessageTest.java +326 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/ForceFieldBuildersPreRun.java +48 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/GeneratedMessageTest.java +1515 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8Test.java +180 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java +421 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/LazyFieldLiteTest.java +134 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/LazyFieldTest.java +121 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/LazyMessageLiteTest.java +319 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/LazyStringArrayListTest.java +174 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/LazyStringEndToEndTest.java +143 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/LiteEqualsAndHashTest.java +85 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/LiteTest.java +148 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/LiteralByteStringTest.java +396 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/MessageTest.java +353 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/NestedBuildersTest.java +185 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/ParserTest.java +381 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/RepeatedFieldBuilderTest.java +190 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/RopeByteStringSubstringTest.java +97 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/RopeByteStringTest.java +115 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/ServiceTest.java +320 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/SingleFieldBuilderTest.java +155 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/SmallSortedMapTest.java +420 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/TestBadIdentifiers.java +96 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/TestUtil.java +4124 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/TextFormatTest.java +994 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java +653 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/UnmodifiableLazyStringListTest.java +227 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java +606 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/lazy_fields_lite.proto +61 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/lite_equals_and_hash.proto +55 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/multiple_files_test.proto +77 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/nested_builders_test.proto +53 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/nested_extension.proto +46 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/nested_extension_lite.proto +48 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/non_nested_extension.proto +49 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/non_nested_extension_lite.proto +50 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/outer_class_name_test.proto +38 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/outer_class_name_test2.proto +42 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/outer_class_name_test3.proto +43 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/test_bad_identifiers.proto +157 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/test_check_utf8.proto +50 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/test_check_utf8_size.proto +51 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/test_custom_options.proto +43 -0
- data/ext/protoc/protobuf/java/src/test/java/com/google/protobuf/test_extra_interfaces.proto +60 -0
- data/ext/protoc/protobuf/m4/ac_system_extensions.m4 +37 -0
- data/ext/protoc/protobuf/m4/acx_check_suncc.m4 +75 -0
- data/ext/protoc/protobuf/m4/acx_pthread.m4 +397 -0
- data/ext/protoc/protobuf/m4/stl_hash.m4 +72 -0
- data/ext/protoc/protobuf/more_tests/Makefile +41 -0
- data/ext/protoc/protobuf/post_process_dist.sh +60 -0
- data/ext/protoc/protobuf/protobuf-lite.pc.in +13 -0
- data/ext/protoc/protobuf/protobuf.pc.in +14 -0
- data/ext/protoc/protobuf/python/README.txt +105 -0
- data/ext/protoc/protobuf/python/ez_setup.py +284 -0
- data/ext/protoc/protobuf/python/google/__init__.py +1 -0
- data/ext/protoc/protobuf/python/google/protobuf/__init__.py +0 -0
- data/ext/protoc/protobuf/python/google/protobuf/descriptor.py +849 -0
- data/ext/protoc/protobuf/python/google/protobuf/descriptor_database.py +137 -0
- data/ext/protoc/protobuf/python/google/protobuf/descriptor_pool.py +643 -0
- data/ext/protoc/protobuf/python/google/protobuf/internal/__init__.py +0 -0
- data/ext/protoc/protobuf/python/google/protobuf/internal/api_implementation.cc +139 -0
- data/ext/protoc/protobuf/python/google/protobuf/internal/api_implementation.py +89 -0
- data/ext/protoc/protobuf/python/google/protobuf/internal/api_implementation_default_test.py +63 -0
- data/ext/protoc/protobuf/python/google/protobuf/internal/containers.py +269 -0
- data/ext/protoc/protobuf/python/google/protobuf/internal/cpp_message.py +663 -0
- data/ext/protoc/protobuf/python/google/protobuf/internal/decoder.py +831 -0
- data/ext/protoc/protobuf/python/google/protobuf/internal/descriptor_database_test.py +63 -0
- data/ext/protoc/protobuf/python/google/protobuf/internal/descriptor_pool_test.py +564 -0
- data/ext/protoc/protobuf/python/google/protobuf/internal/descriptor_pool_test1.proto +94 -0
- data/ext/protoc/protobuf/python/google/protobuf/internal/descriptor_pool_test2.proto +70 -0
- data/ext/protoc/protobuf/python/google/protobuf/internal/descriptor_python_test.py +54 -0
- data/ext/protoc/protobuf/python/google/protobuf/internal/descriptor_test.py +669 -0
- data/ext/protoc/protobuf/python/google/protobuf/internal/encoder.py +788 -0
- data/ext/protoc/protobuf/python/google/protobuf/internal/enum_type_wrapper.py +89 -0
- data/ext/protoc/protobuf/python/google/protobuf/internal/factory_test1.proto +57 -0
- data/ext/protoc/protobuf/python/google/protobuf/internal/factory_test2.proto +92 -0
- data/ext/protoc/protobuf/python/google/protobuf/internal/generator_test.py +343 -0
- data/ext/protoc/protobuf/python/google/protobuf/internal/message_factory_python_test.py +54 -0
- data/ext/protoc/protobuf/python/google/protobuf/internal/message_factory_test.py +131 -0
- data/ext/protoc/protobuf/python/google/protobuf/internal/message_listener.py +78 -0
- data/ext/protoc/protobuf/python/google/protobuf/internal/message_python_test.py +54 -0
- data/ext/protoc/protobuf/python/google/protobuf/internal/message_test.py +681 -0
- data/ext/protoc/protobuf/python/google/protobuf/internal/missing_enum_values.proto +50 -0
- data/ext/protoc/protobuf/python/google/protobuf/internal/more_extensions.proto +58 -0
- data/ext/protoc/protobuf/python/google/protobuf/internal/more_extensions_dynamic.proto +49 -0
- data/ext/protoc/protobuf/python/google/protobuf/internal/more_messages.proto +51 -0
- data/ext/protoc/protobuf/python/google/protobuf/internal/python_message.py +1251 -0
- data/ext/protoc/protobuf/python/google/protobuf/internal/reflection_test.py +2934 -0
- data/ext/protoc/protobuf/python/google/protobuf/internal/service_reflection_test.py +136 -0
- data/ext/protoc/protobuf/python/google/protobuf/internal/symbol_database_test.py +120 -0
- data/ext/protoc/protobuf/python/google/protobuf/internal/test_bad_identifiers.proto +52 -0
- data/ext/protoc/protobuf/python/google/protobuf/internal/test_util.py +662 -0
- data/ext/protoc/protobuf/python/google/protobuf/internal/text_encoding_test.py +68 -0
- data/ext/protoc/protobuf/python/google/protobuf/internal/text_format_test.py +743 -0
- data/ext/protoc/protobuf/python/google/protobuf/internal/type_checkers.py +328 -0
- data/ext/protoc/protobuf/python/google/protobuf/internal/unknown_fields_test.py +231 -0
- data/ext/protoc/protobuf/python/google/protobuf/internal/wire_format.py +268 -0
- data/ext/protoc/protobuf/python/google/protobuf/internal/wire_format_test.py +253 -0
- data/ext/protoc/protobuf/python/google/protobuf/message.py +284 -0
- data/ext/protoc/protobuf/python/google/protobuf/message_factory.py +155 -0
- data/ext/protoc/protobuf/python/google/protobuf/pyext/README +6 -0
- data/ext/protoc/protobuf/python/google/protobuf/pyext/__init__.py +0 -0
- data/ext/protoc/protobuf/python/google/protobuf/pyext/cpp_message.py +61 -0
- data/ext/protoc/protobuf/python/google/protobuf/pyext/descriptor.cc +357 -0
- data/ext/protoc/protobuf/python/google/protobuf/pyext/descriptor.h +96 -0
- data/ext/protoc/protobuf/python/google/protobuf/pyext/descriptor_cpp2_test.py +58 -0
- data/ext/protoc/protobuf/python/google/protobuf/pyext/extension_dict.cc +338 -0
- data/ext/protoc/protobuf/python/google/protobuf/pyext/extension_dict.h +123 -0
- data/ext/protoc/protobuf/python/google/protobuf/pyext/message.cc +2561 -0
- data/ext/protoc/protobuf/python/google/protobuf/pyext/message.h +305 -0
- data/ext/protoc/protobuf/python/google/protobuf/pyext/message_factory_cpp2_test.py +56 -0
- data/ext/protoc/protobuf/python/google/protobuf/pyext/proto2_api_test.proto +38 -0
- data/ext/protoc/protobuf/python/google/protobuf/pyext/python.proto +66 -0
- data/ext/protoc/protobuf/python/google/protobuf/pyext/python_protobuf.h +57 -0
- data/ext/protoc/protobuf/python/google/protobuf/pyext/reflection_cpp2_generated_test.py +94 -0
- data/ext/protoc/protobuf/python/google/protobuf/pyext/repeated_composite_container.cc +763 -0
- data/ext/protoc/protobuf/python/google/protobuf/pyext/repeated_composite_container.h +172 -0
- data/ext/protoc/protobuf/python/google/protobuf/pyext/repeated_scalar_container.cc +825 -0
- data/ext/protoc/protobuf/python/google/protobuf/pyext/repeated_scalar_container.h +112 -0
- data/ext/protoc/protobuf/python/google/protobuf/pyext/scoped_pyobject_ptr.h +95 -0
- data/ext/protoc/protobuf/python/google/protobuf/reflection.py +205 -0
- data/ext/protoc/protobuf/python/google/protobuf/service.py +226 -0
- data/ext/protoc/protobuf/python/google/protobuf/service_reflection.py +284 -0
- data/ext/protoc/protobuf/python/google/protobuf/symbol_database.py +185 -0
- data/ext/protoc/protobuf/python/google/protobuf/text_encoding.py +110 -0
- data/ext/protoc/protobuf/python/google/protobuf/text_format.py +873 -0
- data/ext/protoc/protobuf/python/mox.py +1401 -0
- data/ext/protoc/protobuf/python/setup.py +201 -0
- data/ext/protoc/protobuf/python/stubout.py +140 -0
- data/ext/protoc/protobuf/src/Makefile.am +418 -0
- data/ext/protoc/protobuf/src/google/protobuf/SEBS +240 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/code_generator.cc +84 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/code_generator.h +145 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/command_line_interface.cc +1603 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/command_line_interface.h +378 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc +1654 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/cpp/cpp_bootstrap_unittest.cc +158 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/cpp/cpp_enum.cc +288 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/cpp/cpp_enum.h +103 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/cpp/cpp_enum_field.cc +431 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/cpp/cpp_enum_field.h +122 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/cpp/cpp_extension.cc +210 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/cpp/cpp_extension.h +86 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/cpp/cpp_field.cc +166 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/cpp/cpp_field.h +185 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc +665 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/cpp/cpp_file.h +99 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/cpp/cpp_generator.cc +125 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/cpp/cpp_generator.h +72 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc +494 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h +206 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc +2645 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/cpp/cpp_message.h +175 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/cpp/cpp_message_field.cc +375 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/cpp/cpp_message_field.h +121 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/cpp/cpp_options.h +58 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/cpp/cpp_plugin_unittest.cc +123 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/cpp/cpp_primitive_field.cc +451 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/cpp/cpp_primitive_field.h +123 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/cpp/cpp_service.cc +334 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/cpp/cpp_service.h +118 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/cpp/cpp_string_field.cc +642 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/cpp/cpp_string_field.h +127 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/cpp/cpp_test_bad_identifiers.proto +132 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/cpp/cpp_unittest.cc +2074 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/cpp/cpp_unittest.h +51 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/importer.cc +480 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/importer.h +317 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/importer_unittest.cc +617 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/java/java_context.cc +195 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/java/java_context.h +95 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/java/java_doc_comment.cc +233 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/java/java_doc_comment.h +69 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/java/java_doc_comment_unittest.cc +67 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/java/java_enum.cc +333 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/java/java_enum.h +99 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/java/java_enum_field.cc +778 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/java/java_enum_field.h +158 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/java/java_extension.cc +207 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/java/java_extension.h +109 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/java/java_field.cc +213 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/java/java_field.h +162 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/java/java_file.cc +534 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/java/java_file.h +115 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/java/java_generator.cc +158 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/java/java_generator.h +72 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/java/java_generator_factory.cc +77 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/java/java_generator_factory.h +101 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/java/java_helpers.cc +737 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/java/java_helpers.h +322 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/java/java_lazy_message_field.cc +826 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/java/java_lazy_message_field.h +121 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/java/java_message.cc +1666 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/java/java_message.h +140 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/java/java_message_field.cc +1343 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/java/java_message_field.h +173 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/java/java_name_resolver.cc +266 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/java/java_name_resolver.h +124 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/java/java_plugin_unittest.cc +124 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/java/java_primitive_field.cc +877 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/java/java_primitive_field.h +160 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/java/java_service.cc +473 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/java/java_service.h +135 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/java/java_shared_code_generator.cc +201 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/java/java_shared_code_generator.h +90 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/java/java_string_field.cc +1056 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/java/java_string_field.h +160 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/main.cc +61 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/mock_code_generator.cc +240 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/mock_code_generator.h +117 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/package_info.h +64 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/parser.cc +1750 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/parser.h +522 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/parser_unittest.cc +2612 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/plugin.cc +163 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/plugin.h +72 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/plugin.pb.cc +1148 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/plugin.pb.h +897 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/plugin.proto +147 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/python/python_generator.cc +1262 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/python/python_generator.h +166 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/python/python_plugin_unittest.cc +118 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/subprocess.cc +463 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/subprocess.h +108 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/test_plugin.cc +51 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/zip_output_unittest.sh +91 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/zip_writer.cc +218 -0
- data/ext/protoc/protobuf/src/google/protobuf/compiler/zip_writer.h +93 -0
- data/ext/protoc/protobuf/src/google/protobuf/descriptor.cc +5420 -0
- data/ext/protoc/protobuf/src/google/protobuf/descriptor.h +1691 -0
- data/ext/protoc/protobuf/src/google/protobuf/descriptor.pb.cc +9135 -0
- data/ext/protoc/protobuf/src/google/protobuf/descriptor.pb.h +6761 -0
- data/ext/protoc/protobuf/src/google/protobuf/descriptor.proto +687 -0
- data/ext/protoc/protobuf/src/google/protobuf/descriptor_database.cc +543 -0
- data/ext/protoc/protobuf/src/google/protobuf/descriptor_database.h +369 -0
- data/ext/protoc/protobuf/src/google/protobuf/descriptor_database_unittest.cc +748 -0
- data/ext/protoc/protobuf/src/google/protobuf/descriptor_pb2_test.py +54 -0
- data/ext/protoc/protobuf/src/google/protobuf/descriptor_unittest.cc +5501 -0
- data/ext/protoc/protobuf/src/google/protobuf/dynamic_message.cc +764 -0
- data/ext/protoc/protobuf/src/google/protobuf/dynamic_message.h +148 -0
- data/ext/protoc/protobuf/src/google/protobuf/dynamic_message_unittest.cc +230 -0
- data/ext/protoc/protobuf/src/google/protobuf/extension_set.cc +1663 -0
- data/ext/protoc/protobuf/src/google/protobuf/extension_set.h +1234 -0
- data/ext/protoc/protobuf/src/google/protobuf/extension_set_heavy.cc +734 -0
- data/ext/protoc/protobuf/src/google/protobuf/extension_set_unittest.cc +1095 -0
- data/ext/protoc/protobuf/src/google/protobuf/generated_enum_reflection.h +91 -0
- data/ext/protoc/protobuf/src/google/protobuf/generated_message_reflection.cc +1683 -0
- data/ext/protoc/protobuf/src/google/protobuf/generated_message_reflection.h +504 -0
- data/ext/protoc/protobuf/src/google/protobuf/generated_message_reflection_unittest.cc +795 -0
- data/ext/protoc/protobuf/src/google/protobuf/generated_message_util.cc +65 -0
- data/ext/protoc/protobuf/src/google/protobuf/generated_message_util.h +113 -0
- data/ext/protoc/protobuf/src/google/protobuf/io/coded_stream.cc +914 -0
- data/ext/protoc/protobuf/src/google/protobuf/io/coded_stream.h +1220 -0
- data/ext/protoc/protobuf/src/google/protobuf/io/coded_stream_inl.h +69 -0
- data/ext/protoc/protobuf/src/google/protobuf/io/coded_stream_unittest.cc +1378 -0
- data/ext/protoc/protobuf/src/google/protobuf/io/gzip_stream.cc +326 -0
- data/ext/protoc/protobuf/src/google/protobuf/io/gzip_stream.h +209 -0
- data/ext/protoc/protobuf/src/google/protobuf/io/gzip_stream_unittest.sh +44 -0
- data/ext/protoc/protobuf/src/google/protobuf/io/package_info.h +54 -0
- data/ext/protoc/protobuf/src/google/protobuf/io/printer.cc +198 -0
- data/ext/protoc/protobuf/src/google/protobuf/io/printer.h +136 -0
- data/ext/protoc/protobuf/src/google/protobuf/io/printer_unittest.cc +285 -0
- data/ext/protoc/protobuf/src/google/protobuf/io/strtod.cc +113 -0
- data/ext/protoc/protobuf/src/google/protobuf/io/strtod.h +50 -0
- data/ext/protoc/protobuf/src/google/protobuf/io/tokenizer.cc +1127 -0
- data/ext/protoc/protobuf/src/google/protobuf/io/tokenizer.h +402 -0
- data/ext/protoc/protobuf/src/google/protobuf/io/tokenizer_unittest.cc +999 -0
- data/ext/protoc/protobuf/src/google/protobuf/io/zero_copy_stream.cc +57 -0
- data/ext/protoc/protobuf/src/google/protobuf/io/zero_copy_stream.h +248 -0
- data/ext/protoc/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc +473 -0
- data/ext/protoc/protobuf/src/google/protobuf/io/zero_copy_stream_impl.h +358 -0
- data/ext/protoc/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc +405 -0
- data/ext/protoc/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.h +354 -0
- data/ext/protoc/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc +965 -0
- data/ext/protoc/protobuf/src/google/protobuf/lite_unittest.cc +350 -0
- data/ext/protoc/protobuf/src/google/protobuf/message.cc +358 -0
- data/ext/protoc/protobuf/src/google/protobuf/message.h +866 -0
- data/ext/protoc/protobuf/src/google/protobuf/message_lite.cc +335 -0
- data/ext/protoc/protobuf/src/google/protobuf/message_lite.h +247 -0
- data/ext/protoc/protobuf/src/google/protobuf/message_unittest.cc +427 -0
- data/ext/protoc/protobuf/src/google/protobuf/package_info.h +64 -0
- data/ext/protoc/protobuf/src/google/protobuf/reflection_ops.cc +269 -0
- data/ext/protoc/protobuf/src/google/protobuf/reflection_ops.h +81 -0
- data/ext/protoc/protobuf/src/google/protobuf/reflection_ops_unittest.cc +475 -0
- data/ext/protoc/protobuf/src/google/protobuf/repeated_field.cc +87 -0
- data/ext/protoc/protobuf/src/google/protobuf/repeated_field.h +1603 -0
- data/ext/protoc/protobuf/src/google/protobuf/repeated_field_reflection_unittest.cc +195 -0
- data/ext/protoc/protobuf/src/google/protobuf/repeated_field_unittest.cc +1442 -0
- data/ext/protoc/protobuf/src/google/protobuf/service.cc +46 -0
- data/ext/protoc/protobuf/src/google/protobuf/service.h +291 -0
- data/ext/protoc/protobuf/src/google/protobuf/stubs/atomicops.h +227 -0
- data/ext/protoc/protobuf/src/google/protobuf/stubs/atomicops_internals_arm64_gcc.h +325 -0
- data/ext/protoc/protobuf/src/google/protobuf/stubs/atomicops_internals_arm_gcc.h +151 -0
- data/ext/protoc/protobuf/src/google/protobuf/stubs/atomicops_internals_arm_qnx.h +146 -0
- data/ext/protoc/protobuf/src/google/protobuf/stubs/atomicops_internals_atomicword_compat.h +122 -0
- data/ext/protoc/protobuf/src/google/protobuf/stubs/atomicops_internals_generic_gcc.h +137 -0
- data/ext/protoc/protobuf/src/google/protobuf/stubs/atomicops_internals_macosx.h +225 -0
- data/ext/protoc/protobuf/src/google/protobuf/stubs/atomicops_internals_mips_gcc.h +313 -0
- data/ext/protoc/protobuf/src/google/protobuf/stubs/atomicops_internals_pnacl.h +73 -0
- data/ext/protoc/protobuf/src/google/protobuf/stubs/atomicops_internals_solaris.h +188 -0
- data/ext/protoc/protobuf/src/google/protobuf/stubs/atomicops_internals_tsan.h +219 -0
- data/ext/protoc/protobuf/src/google/protobuf/stubs/atomicops_internals_x86_gcc.cc +137 -0
- data/ext/protoc/protobuf/src/google/protobuf/stubs/atomicops_internals_x86_gcc.h +293 -0
- data/ext/protoc/protobuf/src/google/protobuf/stubs/atomicops_internals_x86_msvc.cc +112 -0
- data/ext/protoc/protobuf/src/google/protobuf/stubs/atomicops_internals_x86_msvc.h +150 -0
- data/ext/protoc/protobuf/src/google/protobuf/stubs/common.cc +395 -0
- data/ext/protoc/protobuf/src/google/protobuf/stubs/common.h +1226 -0
- data/ext/protoc/protobuf/src/google/protobuf/stubs/common_unittest.cc +357 -0
- data/ext/protoc/protobuf/src/google/protobuf/stubs/hash.h +232 -0
- data/ext/protoc/protobuf/src/google/protobuf/stubs/map_util.h +771 -0
- data/ext/protoc/protobuf/src/google/protobuf/stubs/once.cc +99 -0
- data/ext/protoc/protobuf/src/google/protobuf/stubs/once.h +166 -0
- data/ext/protoc/protobuf/src/google/protobuf/stubs/once_unittest.cc +253 -0
- data/ext/protoc/protobuf/src/google/protobuf/stubs/platform_macros.h +103 -0
- data/ext/protoc/protobuf/src/google/protobuf/stubs/shared_ptr.h +470 -0
- data/ext/protoc/protobuf/src/google/protobuf/stubs/stl_util.h +121 -0
- data/ext/protoc/protobuf/src/google/protobuf/stubs/stringprintf.cc +175 -0
- data/ext/protoc/protobuf/src/google/protobuf/stubs/stringprintf.h +76 -0
- data/ext/protoc/protobuf/src/google/protobuf/stubs/stringprintf_unittest.cc +152 -0
- data/ext/protoc/protobuf/src/google/protobuf/stubs/structurally_valid.cc +536 -0
- data/ext/protoc/protobuf/src/google/protobuf/stubs/structurally_valid_unittest.cc +40 -0
- data/ext/protoc/protobuf/src/google/protobuf/stubs/strutil.cc +1279 -0
- data/ext/protoc/protobuf/src/google/protobuf/stubs/strutil.h +562 -0
- data/ext/protoc/protobuf/src/google/protobuf/stubs/strutil_unittest.cc +73 -0
- data/ext/protoc/protobuf/src/google/protobuf/stubs/substitute.cc +134 -0
- data/ext/protoc/protobuf/src/google/protobuf/stubs/substitute.h +170 -0
- data/ext/protoc/protobuf/src/google/protobuf/stubs/template_util.h +138 -0
- data/ext/protoc/protobuf/src/google/protobuf/stubs/template_util_unittest.cc +130 -0
- data/ext/protoc/protobuf/src/google/protobuf/stubs/type_traits.h +336 -0
- data/ext/protoc/protobuf/src/google/protobuf/stubs/type_traits_unittest.cc +628 -0
- data/ext/protoc/protobuf/src/google/protobuf/test_util.cc +3345 -0
- data/ext/protoc/protobuf/src/google/protobuf/test_util.h +215 -0
- data/ext/protoc/protobuf/src/google/protobuf/test_util_lite.cc +1585 -0
- data/ext/protoc/protobuf/src/google/protobuf/test_util_lite.h +101 -0
- data/ext/protoc/protobuf/src/google/protobuf/testdata/bad_utf8_string +1 -0
- data/ext/protoc/protobuf/src/google/protobuf/testdata/golden_message +0 -0
- data/ext/protoc/protobuf/src/google/protobuf/testdata/golden_message_oneof_implemented +0 -0
- data/ext/protoc/protobuf/src/google/protobuf/testdata/golden_packed_fields_message +0 -0
- data/ext/protoc/protobuf/src/google/protobuf/testdata/text_format_unittest_data.txt +134 -0
- data/ext/protoc/protobuf/src/google/protobuf/testdata/text_format_unittest_data_oneof_implemented.txt +129 -0
- data/ext/protoc/protobuf/src/google/protobuf/testdata/text_format_unittest_data_pointy.txt +134 -0
- data/ext/protoc/protobuf/src/google/protobuf/testdata/text_format_unittest_data_pointy_oneof.txt +129 -0
- data/ext/protoc/protobuf/src/google/protobuf/testdata/text_format_unittest_extensions_data.txt +134 -0
- data/ext/protoc/protobuf/src/google/protobuf/testdata/text_format_unittest_extensions_data_pointy.txt +134 -0
- data/ext/protoc/protobuf/src/google/protobuf/testing/file.cc +194 -0
- data/ext/protoc/protobuf/src/google/protobuf/testing/file.h +97 -0
- data/ext/protoc/protobuf/src/google/protobuf/testing/googletest.cc +255 -0
- data/ext/protoc/protobuf/src/google/protobuf/testing/googletest.h +102 -0
- data/ext/protoc/protobuf/src/google/protobuf/testing/zcgunzip.cc +73 -0
- data/ext/protoc/protobuf/src/google/protobuf/testing/zcgzip.cc +79 -0
- data/ext/protoc/protobuf/src/google/protobuf/text_format.cc +1746 -0
- data/ext/protoc/protobuf/src/google/protobuf/text_format.h +473 -0
- data/ext/protoc/protobuf/src/google/protobuf/text_format_unittest.cc +1479 -0
- data/ext/protoc/protobuf/src/google/protobuf/unittest.proto +861 -0
- data/ext/protoc/protobuf/src/google/protobuf/unittest_custom_options.proto +393 -0
- data/ext/protoc/protobuf/src/google/protobuf/unittest_embed_optimize_for.proto +50 -0
- data/ext/protoc/protobuf/src/google/protobuf/unittest_empty.proto +37 -0
- data/ext/protoc/protobuf/src/google/protobuf/unittest_enormous_descriptor.proto +1046 -0
- data/ext/protoc/protobuf/src/google/protobuf/unittest_import.proto +64 -0
- data/ext/protoc/protobuf/src/google/protobuf/unittest_import_lite.proto +51 -0
- data/ext/protoc/protobuf/src/google/protobuf/unittest_import_public.proto +40 -0
- data/ext/protoc/protobuf/src/google/protobuf/unittest_import_public_lite.proto +42 -0
- data/ext/protoc/protobuf/src/google/protobuf/unittest_lite.proto +384 -0
- data/ext/protoc/protobuf/src/google/protobuf/unittest_lite_imports_nonlite.proto +43 -0
- data/ext/protoc/protobuf/src/google/protobuf/unittest_mset.proto +83 -0
- data/ext/protoc/protobuf/src/google/protobuf/unittest_no_generic_services.proto +53 -0
- data/ext/protoc/protobuf/src/google/protobuf/unittest_optimize_for.proto +66 -0
- data/ext/protoc/protobuf/src/google/protobuf/unknown_field_set.cc +265 -0
- data/ext/protoc/protobuf/src/google/protobuf/unknown_field_set.h +318 -0
- data/ext/protoc/protobuf/src/google/protobuf/unknown_field_set_unittest.cc +599 -0
- data/ext/protoc/protobuf/src/google/protobuf/wire_format.cc +1101 -0
- data/ext/protoc/protobuf/src/google/protobuf/wire_format.h +336 -0
- data/ext/protoc/protobuf/src/google/protobuf/wire_format_lite.cc +471 -0
- data/ext/protoc/protobuf/src/google/protobuf/wire_format_lite.h +661 -0
- data/ext/protoc/protobuf/src/google/protobuf/wire_format_lite_inl.h +860 -0
- data/ext/protoc/protobuf/src/google/protobuf/wire_format_unittest.cc +1120 -0
- data/ext/protoc/protobuf/src/solaris/libstdc++.la +51 -0
- data/ext/protoc/protobuf/vsprojects/config.h +29 -0
- data/ext/protoc/protobuf/vsprojects/convert2008to2005.sh +20 -0
- data/ext/protoc/protobuf/vsprojects/extract_includes.bat +50 -0
- data/ext/protoc/protobuf/vsprojects/libprotobuf-lite.vcproj +302 -0
- data/ext/protoc/protobuf/vsprojects/libprotobuf.vcproj +470 -0
- data/ext/protoc/protobuf/vsprojects/libprotoc.vcproj +466 -0
- data/ext/protoc/protobuf/vsprojects/lite-test.vcproj +305 -0
- data/ext/protoc/protobuf/vsprojects/protobuf.sln +92 -0
- data/ext/protoc/protobuf/vsprojects/protoc.vcproj +192 -0
- data/ext/protoc/protobuf/vsprojects/readme.txt +114 -0
- data/ext/protoc/protobuf/vsprojects/test_plugin.vcproj +209 -0
- data/ext/protoc/protobuf/vsprojects/tests.vcproj +681 -0
- data/lib/protoc/version.rb +1 -1
- metadata +480 -3
@@ -0,0 +1,897 @@
|
|
1
|
+
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
// source: google/protobuf/compiler/plugin.proto
|
3
|
+
|
4
|
+
#ifndef PROTOBUF_google_2fprotobuf_2fcompiler_2fplugin_2eproto__INCLUDED
|
5
|
+
#define PROTOBUF_google_2fprotobuf_2fcompiler_2fplugin_2eproto__INCLUDED
|
6
|
+
|
7
|
+
#include <string>
|
8
|
+
|
9
|
+
#include <google/protobuf/stubs/common.h>
|
10
|
+
|
11
|
+
#if GOOGLE_PROTOBUF_VERSION < 2006000
|
12
|
+
#error This file was generated by a newer version of protoc which is
|
13
|
+
#error incompatible with your Protocol Buffer headers. Please update
|
14
|
+
#error your headers.
|
15
|
+
#endif
|
16
|
+
#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
|
17
|
+
#error This file was generated by an older version of protoc which is
|
18
|
+
#error incompatible with your Protocol Buffer headers. Please
|
19
|
+
#error regenerate this file with a newer version of protoc.
|
20
|
+
#endif
|
21
|
+
|
22
|
+
#include <google/protobuf/generated_message_util.h>
|
23
|
+
#include <google/protobuf/message.h>
|
24
|
+
#include <google/protobuf/repeated_field.h>
|
25
|
+
#include <google/protobuf/extension_set.h>
|
26
|
+
#include <google/protobuf/unknown_field_set.h>
|
27
|
+
#include "google/protobuf/descriptor.pb.h"
|
28
|
+
// @@protoc_insertion_point(includes)
|
29
|
+
|
30
|
+
namespace google {
|
31
|
+
namespace protobuf {
|
32
|
+
namespace compiler {
|
33
|
+
|
34
|
+
// Internal implementation detail -- do not call these.
|
35
|
+
void LIBPROTOC_EXPORT protobuf_AddDesc_google_2fprotobuf_2fcompiler_2fplugin_2eproto();
|
36
|
+
void protobuf_AssignDesc_google_2fprotobuf_2fcompiler_2fplugin_2eproto();
|
37
|
+
void protobuf_ShutdownFile_google_2fprotobuf_2fcompiler_2fplugin_2eproto();
|
38
|
+
|
39
|
+
class CodeGeneratorRequest;
|
40
|
+
class CodeGeneratorResponse;
|
41
|
+
class CodeGeneratorResponse_File;
|
42
|
+
|
43
|
+
// ===================================================================
|
44
|
+
|
45
|
+
class LIBPROTOC_EXPORT CodeGeneratorRequest : public ::google::protobuf::Message {
|
46
|
+
public:
|
47
|
+
CodeGeneratorRequest();
|
48
|
+
virtual ~CodeGeneratorRequest();
|
49
|
+
|
50
|
+
CodeGeneratorRequest(const CodeGeneratorRequest& from);
|
51
|
+
|
52
|
+
inline CodeGeneratorRequest& operator=(const CodeGeneratorRequest& from) {
|
53
|
+
CopyFrom(from);
|
54
|
+
return *this;
|
55
|
+
}
|
56
|
+
|
57
|
+
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
|
58
|
+
return _unknown_fields_;
|
59
|
+
}
|
60
|
+
|
61
|
+
inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
|
62
|
+
return &_unknown_fields_;
|
63
|
+
}
|
64
|
+
|
65
|
+
static const ::google::protobuf::Descriptor* descriptor();
|
66
|
+
static const CodeGeneratorRequest& default_instance();
|
67
|
+
|
68
|
+
void Swap(CodeGeneratorRequest* other);
|
69
|
+
|
70
|
+
// implements Message ----------------------------------------------
|
71
|
+
|
72
|
+
CodeGeneratorRequest* New() const;
|
73
|
+
void CopyFrom(const ::google::protobuf::Message& from);
|
74
|
+
void MergeFrom(const ::google::protobuf::Message& from);
|
75
|
+
void CopyFrom(const CodeGeneratorRequest& from);
|
76
|
+
void MergeFrom(const CodeGeneratorRequest& from);
|
77
|
+
void Clear();
|
78
|
+
bool IsInitialized() const;
|
79
|
+
|
80
|
+
int ByteSize() const;
|
81
|
+
bool MergePartialFromCodedStream(
|
82
|
+
::google::protobuf::io::CodedInputStream* input);
|
83
|
+
void SerializeWithCachedSizes(
|
84
|
+
::google::protobuf::io::CodedOutputStream* output) const;
|
85
|
+
::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
|
86
|
+
int GetCachedSize() const { return _cached_size_; }
|
87
|
+
private:
|
88
|
+
void SharedCtor();
|
89
|
+
void SharedDtor();
|
90
|
+
void SetCachedSize(int size) const;
|
91
|
+
public:
|
92
|
+
::google::protobuf::Metadata GetMetadata() const;
|
93
|
+
|
94
|
+
// nested types ----------------------------------------------------
|
95
|
+
|
96
|
+
// accessors -------------------------------------------------------
|
97
|
+
|
98
|
+
// repeated string file_to_generate = 1;
|
99
|
+
inline int file_to_generate_size() const;
|
100
|
+
inline void clear_file_to_generate();
|
101
|
+
static const int kFileToGenerateFieldNumber = 1;
|
102
|
+
inline const ::std::string& file_to_generate(int index) const;
|
103
|
+
inline ::std::string* mutable_file_to_generate(int index);
|
104
|
+
inline void set_file_to_generate(int index, const ::std::string& value);
|
105
|
+
inline void set_file_to_generate(int index, const char* value);
|
106
|
+
inline void set_file_to_generate(int index, const char* value, size_t size);
|
107
|
+
inline ::std::string* add_file_to_generate();
|
108
|
+
inline void add_file_to_generate(const ::std::string& value);
|
109
|
+
inline void add_file_to_generate(const char* value);
|
110
|
+
inline void add_file_to_generate(const char* value, size_t size);
|
111
|
+
inline const ::google::protobuf::RepeatedPtrField< ::std::string>& file_to_generate() const;
|
112
|
+
inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_file_to_generate();
|
113
|
+
|
114
|
+
// optional string parameter = 2;
|
115
|
+
inline bool has_parameter() const;
|
116
|
+
inline void clear_parameter();
|
117
|
+
static const int kParameterFieldNumber = 2;
|
118
|
+
inline const ::std::string& parameter() const;
|
119
|
+
inline void set_parameter(const ::std::string& value);
|
120
|
+
inline void set_parameter(const char* value);
|
121
|
+
inline void set_parameter(const char* value, size_t size);
|
122
|
+
inline ::std::string* mutable_parameter();
|
123
|
+
inline ::std::string* release_parameter();
|
124
|
+
inline void set_allocated_parameter(::std::string* parameter);
|
125
|
+
|
126
|
+
// repeated .google.protobuf.FileDescriptorProto proto_file = 15;
|
127
|
+
inline int proto_file_size() const;
|
128
|
+
inline void clear_proto_file();
|
129
|
+
static const int kProtoFileFieldNumber = 15;
|
130
|
+
inline const ::google::protobuf::FileDescriptorProto& proto_file(int index) const;
|
131
|
+
inline ::google::protobuf::FileDescriptorProto* mutable_proto_file(int index);
|
132
|
+
inline ::google::protobuf::FileDescriptorProto* add_proto_file();
|
133
|
+
inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >&
|
134
|
+
proto_file() const;
|
135
|
+
inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >*
|
136
|
+
mutable_proto_file();
|
137
|
+
|
138
|
+
// @@protoc_insertion_point(class_scope:google.protobuf.compiler.CodeGeneratorRequest)
|
139
|
+
private:
|
140
|
+
inline void set_has_parameter();
|
141
|
+
inline void clear_has_parameter();
|
142
|
+
|
143
|
+
::google::protobuf::UnknownFieldSet _unknown_fields_;
|
144
|
+
|
145
|
+
::google::protobuf::uint32 _has_bits_[1];
|
146
|
+
mutable int _cached_size_;
|
147
|
+
::google::protobuf::RepeatedPtrField< ::std::string> file_to_generate_;
|
148
|
+
::std::string* parameter_;
|
149
|
+
::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto > proto_file_;
|
150
|
+
friend void LIBPROTOC_EXPORT protobuf_AddDesc_google_2fprotobuf_2fcompiler_2fplugin_2eproto();
|
151
|
+
friend void protobuf_AssignDesc_google_2fprotobuf_2fcompiler_2fplugin_2eproto();
|
152
|
+
friend void protobuf_ShutdownFile_google_2fprotobuf_2fcompiler_2fplugin_2eproto();
|
153
|
+
|
154
|
+
void InitAsDefaultInstance();
|
155
|
+
static CodeGeneratorRequest* default_instance_;
|
156
|
+
};
|
157
|
+
// -------------------------------------------------------------------
|
158
|
+
|
159
|
+
class LIBPROTOC_EXPORT CodeGeneratorResponse_File : public ::google::protobuf::Message {
|
160
|
+
public:
|
161
|
+
CodeGeneratorResponse_File();
|
162
|
+
virtual ~CodeGeneratorResponse_File();
|
163
|
+
|
164
|
+
CodeGeneratorResponse_File(const CodeGeneratorResponse_File& from);
|
165
|
+
|
166
|
+
inline CodeGeneratorResponse_File& operator=(const CodeGeneratorResponse_File& from) {
|
167
|
+
CopyFrom(from);
|
168
|
+
return *this;
|
169
|
+
}
|
170
|
+
|
171
|
+
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
|
172
|
+
return _unknown_fields_;
|
173
|
+
}
|
174
|
+
|
175
|
+
inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
|
176
|
+
return &_unknown_fields_;
|
177
|
+
}
|
178
|
+
|
179
|
+
static const ::google::protobuf::Descriptor* descriptor();
|
180
|
+
static const CodeGeneratorResponse_File& default_instance();
|
181
|
+
|
182
|
+
void Swap(CodeGeneratorResponse_File* other);
|
183
|
+
|
184
|
+
// implements Message ----------------------------------------------
|
185
|
+
|
186
|
+
CodeGeneratorResponse_File* New() const;
|
187
|
+
void CopyFrom(const ::google::protobuf::Message& from);
|
188
|
+
void MergeFrom(const ::google::protobuf::Message& from);
|
189
|
+
void CopyFrom(const CodeGeneratorResponse_File& from);
|
190
|
+
void MergeFrom(const CodeGeneratorResponse_File& from);
|
191
|
+
void Clear();
|
192
|
+
bool IsInitialized() const;
|
193
|
+
|
194
|
+
int ByteSize() const;
|
195
|
+
bool MergePartialFromCodedStream(
|
196
|
+
::google::protobuf::io::CodedInputStream* input);
|
197
|
+
void SerializeWithCachedSizes(
|
198
|
+
::google::protobuf::io::CodedOutputStream* output) const;
|
199
|
+
::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
|
200
|
+
int GetCachedSize() const { return _cached_size_; }
|
201
|
+
private:
|
202
|
+
void SharedCtor();
|
203
|
+
void SharedDtor();
|
204
|
+
void SetCachedSize(int size) const;
|
205
|
+
public:
|
206
|
+
::google::protobuf::Metadata GetMetadata() const;
|
207
|
+
|
208
|
+
// nested types ----------------------------------------------------
|
209
|
+
|
210
|
+
// accessors -------------------------------------------------------
|
211
|
+
|
212
|
+
// optional string name = 1;
|
213
|
+
inline bool has_name() const;
|
214
|
+
inline void clear_name();
|
215
|
+
static const int kNameFieldNumber = 1;
|
216
|
+
inline const ::std::string& name() const;
|
217
|
+
inline void set_name(const ::std::string& value);
|
218
|
+
inline void set_name(const char* value);
|
219
|
+
inline void set_name(const char* value, size_t size);
|
220
|
+
inline ::std::string* mutable_name();
|
221
|
+
inline ::std::string* release_name();
|
222
|
+
inline void set_allocated_name(::std::string* name);
|
223
|
+
|
224
|
+
// optional string insertion_point = 2;
|
225
|
+
inline bool has_insertion_point() const;
|
226
|
+
inline void clear_insertion_point();
|
227
|
+
static const int kInsertionPointFieldNumber = 2;
|
228
|
+
inline const ::std::string& insertion_point() const;
|
229
|
+
inline void set_insertion_point(const ::std::string& value);
|
230
|
+
inline void set_insertion_point(const char* value);
|
231
|
+
inline void set_insertion_point(const char* value, size_t size);
|
232
|
+
inline ::std::string* mutable_insertion_point();
|
233
|
+
inline ::std::string* release_insertion_point();
|
234
|
+
inline void set_allocated_insertion_point(::std::string* insertion_point);
|
235
|
+
|
236
|
+
// optional string content = 15;
|
237
|
+
inline bool has_content() const;
|
238
|
+
inline void clear_content();
|
239
|
+
static const int kContentFieldNumber = 15;
|
240
|
+
inline const ::std::string& content() const;
|
241
|
+
inline void set_content(const ::std::string& value);
|
242
|
+
inline void set_content(const char* value);
|
243
|
+
inline void set_content(const char* value, size_t size);
|
244
|
+
inline ::std::string* mutable_content();
|
245
|
+
inline ::std::string* release_content();
|
246
|
+
inline void set_allocated_content(::std::string* content);
|
247
|
+
|
248
|
+
// @@protoc_insertion_point(class_scope:google.protobuf.compiler.CodeGeneratorResponse.File)
|
249
|
+
private:
|
250
|
+
inline void set_has_name();
|
251
|
+
inline void clear_has_name();
|
252
|
+
inline void set_has_insertion_point();
|
253
|
+
inline void clear_has_insertion_point();
|
254
|
+
inline void set_has_content();
|
255
|
+
inline void clear_has_content();
|
256
|
+
|
257
|
+
::google::protobuf::UnknownFieldSet _unknown_fields_;
|
258
|
+
|
259
|
+
::google::protobuf::uint32 _has_bits_[1];
|
260
|
+
mutable int _cached_size_;
|
261
|
+
::std::string* name_;
|
262
|
+
::std::string* insertion_point_;
|
263
|
+
::std::string* content_;
|
264
|
+
friend void LIBPROTOC_EXPORT protobuf_AddDesc_google_2fprotobuf_2fcompiler_2fplugin_2eproto();
|
265
|
+
friend void protobuf_AssignDesc_google_2fprotobuf_2fcompiler_2fplugin_2eproto();
|
266
|
+
friend void protobuf_ShutdownFile_google_2fprotobuf_2fcompiler_2fplugin_2eproto();
|
267
|
+
|
268
|
+
void InitAsDefaultInstance();
|
269
|
+
static CodeGeneratorResponse_File* default_instance_;
|
270
|
+
};
|
271
|
+
// -------------------------------------------------------------------
|
272
|
+
|
273
|
+
class LIBPROTOC_EXPORT CodeGeneratorResponse : public ::google::protobuf::Message {
|
274
|
+
public:
|
275
|
+
CodeGeneratorResponse();
|
276
|
+
virtual ~CodeGeneratorResponse();
|
277
|
+
|
278
|
+
CodeGeneratorResponse(const CodeGeneratorResponse& from);
|
279
|
+
|
280
|
+
inline CodeGeneratorResponse& operator=(const CodeGeneratorResponse& from) {
|
281
|
+
CopyFrom(from);
|
282
|
+
return *this;
|
283
|
+
}
|
284
|
+
|
285
|
+
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
|
286
|
+
return _unknown_fields_;
|
287
|
+
}
|
288
|
+
|
289
|
+
inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
|
290
|
+
return &_unknown_fields_;
|
291
|
+
}
|
292
|
+
|
293
|
+
static const ::google::protobuf::Descriptor* descriptor();
|
294
|
+
static const CodeGeneratorResponse& default_instance();
|
295
|
+
|
296
|
+
void Swap(CodeGeneratorResponse* other);
|
297
|
+
|
298
|
+
// implements Message ----------------------------------------------
|
299
|
+
|
300
|
+
CodeGeneratorResponse* New() const;
|
301
|
+
void CopyFrom(const ::google::protobuf::Message& from);
|
302
|
+
void MergeFrom(const ::google::protobuf::Message& from);
|
303
|
+
void CopyFrom(const CodeGeneratorResponse& from);
|
304
|
+
void MergeFrom(const CodeGeneratorResponse& from);
|
305
|
+
void Clear();
|
306
|
+
bool IsInitialized() const;
|
307
|
+
|
308
|
+
int ByteSize() const;
|
309
|
+
bool MergePartialFromCodedStream(
|
310
|
+
::google::protobuf::io::CodedInputStream* input);
|
311
|
+
void SerializeWithCachedSizes(
|
312
|
+
::google::protobuf::io::CodedOutputStream* output) const;
|
313
|
+
::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
|
314
|
+
int GetCachedSize() const { return _cached_size_; }
|
315
|
+
private:
|
316
|
+
void SharedCtor();
|
317
|
+
void SharedDtor();
|
318
|
+
void SetCachedSize(int size) const;
|
319
|
+
public:
|
320
|
+
::google::protobuf::Metadata GetMetadata() const;
|
321
|
+
|
322
|
+
// nested types ----------------------------------------------------
|
323
|
+
|
324
|
+
typedef CodeGeneratorResponse_File File;
|
325
|
+
|
326
|
+
// accessors -------------------------------------------------------
|
327
|
+
|
328
|
+
// optional string error = 1;
|
329
|
+
inline bool has_error() const;
|
330
|
+
inline void clear_error();
|
331
|
+
static const int kErrorFieldNumber = 1;
|
332
|
+
inline const ::std::string& error() const;
|
333
|
+
inline void set_error(const ::std::string& value);
|
334
|
+
inline void set_error(const char* value);
|
335
|
+
inline void set_error(const char* value, size_t size);
|
336
|
+
inline ::std::string* mutable_error();
|
337
|
+
inline ::std::string* release_error();
|
338
|
+
inline void set_allocated_error(::std::string* error);
|
339
|
+
|
340
|
+
// repeated .google.protobuf.compiler.CodeGeneratorResponse.File file = 15;
|
341
|
+
inline int file_size() const;
|
342
|
+
inline void clear_file();
|
343
|
+
static const int kFileFieldNumber = 15;
|
344
|
+
inline const ::google::protobuf::compiler::CodeGeneratorResponse_File& file(int index) const;
|
345
|
+
inline ::google::protobuf::compiler::CodeGeneratorResponse_File* mutable_file(int index);
|
346
|
+
inline ::google::protobuf::compiler::CodeGeneratorResponse_File* add_file();
|
347
|
+
inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::compiler::CodeGeneratorResponse_File >&
|
348
|
+
file() const;
|
349
|
+
inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::compiler::CodeGeneratorResponse_File >*
|
350
|
+
mutable_file();
|
351
|
+
|
352
|
+
// @@protoc_insertion_point(class_scope:google.protobuf.compiler.CodeGeneratorResponse)
|
353
|
+
private:
|
354
|
+
inline void set_has_error();
|
355
|
+
inline void clear_has_error();
|
356
|
+
|
357
|
+
::google::protobuf::UnknownFieldSet _unknown_fields_;
|
358
|
+
|
359
|
+
::google::protobuf::uint32 _has_bits_[1];
|
360
|
+
mutable int _cached_size_;
|
361
|
+
::std::string* error_;
|
362
|
+
::google::protobuf::RepeatedPtrField< ::google::protobuf::compiler::CodeGeneratorResponse_File > file_;
|
363
|
+
friend void LIBPROTOC_EXPORT protobuf_AddDesc_google_2fprotobuf_2fcompiler_2fplugin_2eproto();
|
364
|
+
friend void protobuf_AssignDesc_google_2fprotobuf_2fcompiler_2fplugin_2eproto();
|
365
|
+
friend void protobuf_ShutdownFile_google_2fprotobuf_2fcompiler_2fplugin_2eproto();
|
366
|
+
|
367
|
+
void InitAsDefaultInstance();
|
368
|
+
static CodeGeneratorResponse* default_instance_;
|
369
|
+
};
|
370
|
+
// ===================================================================
|
371
|
+
|
372
|
+
|
373
|
+
// ===================================================================
|
374
|
+
|
375
|
+
// CodeGeneratorRequest
|
376
|
+
|
377
|
+
// repeated string file_to_generate = 1;
|
378
|
+
inline int CodeGeneratorRequest::file_to_generate_size() const {
|
379
|
+
return file_to_generate_.size();
|
380
|
+
}
|
381
|
+
inline void CodeGeneratorRequest::clear_file_to_generate() {
|
382
|
+
file_to_generate_.Clear();
|
383
|
+
}
|
384
|
+
inline const ::std::string& CodeGeneratorRequest::file_to_generate(int index) const {
|
385
|
+
// @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
|
386
|
+
return file_to_generate_.Get(index);
|
387
|
+
}
|
388
|
+
inline ::std::string* CodeGeneratorRequest::mutable_file_to_generate(int index) {
|
389
|
+
// @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
|
390
|
+
return file_to_generate_.Mutable(index);
|
391
|
+
}
|
392
|
+
inline void CodeGeneratorRequest::set_file_to_generate(int index, const ::std::string& value) {
|
393
|
+
// @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
|
394
|
+
file_to_generate_.Mutable(index)->assign(value);
|
395
|
+
}
|
396
|
+
inline void CodeGeneratorRequest::set_file_to_generate(int index, const char* value) {
|
397
|
+
file_to_generate_.Mutable(index)->assign(value);
|
398
|
+
// @@protoc_insertion_point(field_set_char:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
|
399
|
+
}
|
400
|
+
inline void CodeGeneratorRequest::set_file_to_generate(int index, const char* value, size_t size) {
|
401
|
+
file_to_generate_.Mutable(index)->assign(
|
402
|
+
reinterpret_cast<const char*>(value), size);
|
403
|
+
// @@protoc_insertion_point(field_set_pointer:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
|
404
|
+
}
|
405
|
+
inline ::std::string* CodeGeneratorRequest::add_file_to_generate() {
|
406
|
+
return file_to_generate_.Add();
|
407
|
+
}
|
408
|
+
inline void CodeGeneratorRequest::add_file_to_generate(const ::std::string& value) {
|
409
|
+
file_to_generate_.Add()->assign(value);
|
410
|
+
// @@protoc_insertion_point(field_add:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
|
411
|
+
}
|
412
|
+
inline void CodeGeneratorRequest::add_file_to_generate(const char* value) {
|
413
|
+
file_to_generate_.Add()->assign(value);
|
414
|
+
// @@protoc_insertion_point(field_add_char:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
|
415
|
+
}
|
416
|
+
inline void CodeGeneratorRequest::add_file_to_generate(const char* value, size_t size) {
|
417
|
+
file_to_generate_.Add()->assign(reinterpret_cast<const char*>(value), size);
|
418
|
+
// @@protoc_insertion_point(field_add_pointer:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
|
419
|
+
}
|
420
|
+
inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
|
421
|
+
CodeGeneratorRequest::file_to_generate() const {
|
422
|
+
// @@protoc_insertion_point(field_list:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
|
423
|
+
return file_to_generate_;
|
424
|
+
}
|
425
|
+
inline ::google::protobuf::RepeatedPtrField< ::std::string>*
|
426
|
+
CodeGeneratorRequest::mutable_file_to_generate() {
|
427
|
+
// @@protoc_insertion_point(field_mutable_list:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
|
428
|
+
return &file_to_generate_;
|
429
|
+
}
|
430
|
+
|
431
|
+
// optional string parameter = 2;
|
432
|
+
inline bool CodeGeneratorRequest::has_parameter() const {
|
433
|
+
return (_has_bits_[0] & 0x00000002u) != 0;
|
434
|
+
}
|
435
|
+
inline void CodeGeneratorRequest::set_has_parameter() {
|
436
|
+
_has_bits_[0] |= 0x00000002u;
|
437
|
+
}
|
438
|
+
inline void CodeGeneratorRequest::clear_has_parameter() {
|
439
|
+
_has_bits_[0] &= ~0x00000002u;
|
440
|
+
}
|
441
|
+
inline void CodeGeneratorRequest::clear_parameter() {
|
442
|
+
if (parameter_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
443
|
+
parameter_->clear();
|
444
|
+
}
|
445
|
+
clear_has_parameter();
|
446
|
+
}
|
447
|
+
inline const ::std::string& CodeGeneratorRequest::parameter() const {
|
448
|
+
// @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorRequest.parameter)
|
449
|
+
return *parameter_;
|
450
|
+
}
|
451
|
+
inline void CodeGeneratorRequest::set_parameter(const ::std::string& value) {
|
452
|
+
set_has_parameter();
|
453
|
+
if (parameter_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
454
|
+
parameter_ = new ::std::string;
|
455
|
+
}
|
456
|
+
parameter_->assign(value);
|
457
|
+
// @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorRequest.parameter)
|
458
|
+
}
|
459
|
+
inline void CodeGeneratorRequest::set_parameter(const char* value) {
|
460
|
+
set_has_parameter();
|
461
|
+
if (parameter_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
462
|
+
parameter_ = new ::std::string;
|
463
|
+
}
|
464
|
+
parameter_->assign(value);
|
465
|
+
// @@protoc_insertion_point(field_set_char:google.protobuf.compiler.CodeGeneratorRequest.parameter)
|
466
|
+
}
|
467
|
+
inline void CodeGeneratorRequest::set_parameter(const char* value, size_t size) {
|
468
|
+
set_has_parameter();
|
469
|
+
if (parameter_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
470
|
+
parameter_ = new ::std::string;
|
471
|
+
}
|
472
|
+
parameter_->assign(reinterpret_cast<const char*>(value), size);
|
473
|
+
// @@protoc_insertion_point(field_set_pointer:google.protobuf.compiler.CodeGeneratorRequest.parameter)
|
474
|
+
}
|
475
|
+
inline ::std::string* CodeGeneratorRequest::mutable_parameter() {
|
476
|
+
set_has_parameter();
|
477
|
+
if (parameter_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
478
|
+
parameter_ = new ::std::string;
|
479
|
+
}
|
480
|
+
// @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorRequest.parameter)
|
481
|
+
return parameter_;
|
482
|
+
}
|
483
|
+
inline ::std::string* CodeGeneratorRequest::release_parameter() {
|
484
|
+
clear_has_parameter();
|
485
|
+
if (parameter_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
486
|
+
return NULL;
|
487
|
+
} else {
|
488
|
+
::std::string* temp = parameter_;
|
489
|
+
parameter_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
490
|
+
return temp;
|
491
|
+
}
|
492
|
+
}
|
493
|
+
inline void CodeGeneratorRequest::set_allocated_parameter(::std::string* parameter) {
|
494
|
+
if (parameter_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
495
|
+
delete parameter_;
|
496
|
+
}
|
497
|
+
if (parameter) {
|
498
|
+
set_has_parameter();
|
499
|
+
parameter_ = parameter;
|
500
|
+
} else {
|
501
|
+
clear_has_parameter();
|
502
|
+
parameter_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
503
|
+
}
|
504
|
+
// @@protoc_insertion_point(field_set_allocated:google.protobuf.compiler.CodeGeneratorRequest.parameter)
|
505
|
+
}
|
506
|
+
|
507
|
+
// repeated .google.protobuf.FileDescriptorProto proto_file = 15;
|
508
|
+
inline int CodeGeneratorRequest::proto_file_size() const {
|
509
|
+
return proto_file_.size();
|
510
|
+
}
|
511
|
+
inline void CodeGeneratorRequest::clear_proto_file() {
|
512
|
+
proto_file_.Clear();
|
513
|
+
}
|
514
|
+
inline const ::google::protobuf::FileDescriptorProto& CodeGeneratorRequest::proto_file(int index) const {
|
515
|
+
// @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorRequest.proto_file)
|
516
|
+
return proto_file_.Get(index);
|
517
|
+
}
|
518
|
+
inline ::google::protobuf::FileDescriptorProto* CodeGeneratorRequest::mutable_proto_file(int index) {
|
519
|
+
// @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorRequest.proto_file)
|
520
|
+
return proto_file_.Mutable(index);
|
521
|
+
}
|
522
|
+
inline ::google::protobuf::FileDescriptorProto* CodeGeneratorRequest::add_proto_file() {
|
523
|
+
// @@protoc_insertion_point(field_add:google.protobuf.compiler.CodeGeneratorRequest.proto_file)
|
524
|
+
return proto_file_.Add();
|
525
|
+
}
|
526
|
+
inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >&
|
527
|
+
CodeGeneratorRequest::proto_file() const {
|
528
|
+
// @@protoc_insertion_point(field_list:google.protobuf.compiler.CodeGeneratorRequest.proto_file)
|
529
|
+
return proto_file_;
|
530
|
+
}
|
531
|
+
inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >*
|
532
|
+
CodeGeneratorRequest::mutable_proto_file() {
|
533
|
+
// @@protoc_insertion_point(field_mutable_list:google.protobuf.compiler.CodeGeneratorRequest.proto_file)
|
534
|
+
return &proto_file_;
|
535
|
+
}
|
536
|
+
|
537
|
+
// -------------------------------------------------------------------
|
538
|
+
|
539
|
+
// CodeGeneratorResponse_File
|
540
|
+
|
541
|
+
// optional string name = 1;
|
542
|
+
inline bool CodeGeneratorResponse_File::has_name() const {
|
543
|
+
return (_has_bits_[0] & 0x00000001u) != 0;
|
544
|
+
}
|
545
|
+
inline void CodeGeneratorResponse_File::set_has_name() {
|
546
|
+
_has_bits_[0] |= 0x00000001u;
|
547
|
+
}
|
548
|
+
inline void CodeGeneratorResponse_File::clear_has_name() {
|
549
|
+
_has_bits_[0] &= ~0x00000001u;
|
550
|
+
}
|
551
|
+
inline void CodeGeneratorResponse_File::clear_name() {
|
552
|
+
if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
553
|
+
name_->clear();
|
554
|
+
}
|
555
|
+
clear_has_name();
|
556
|
+
}
|
557
|
+
inline const ::std::string& CodeGeneratorResponse_File::name() const {
|
558
|
+
// @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorResponse.File.name)
|
559
|
+
return *name_;
|
560
|
+
}
|
561
|
+
inline void CodeGeneratorResponse_File::set_name(const ::std::string& value) {
|
562
|
+
set_has_name();
|
563
|
+
if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
564
|
+
name_ = new ::std::string;
|
565
|
+
}
|
566
|
+
name_->assign(value);
|
567
|
+
// @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorResponse.File.name)
|
568
|
+
}
|
569
|
+
inline void CodeGeneratorResponse_File::set_name(const char* value) {
|
570
|
+
set_has_name();
|
571
|
+
if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
572
|
+
name_ = new ::std::string;
|
573
|
+
}
|
574
|
+
name_->assign(value);
|
575
|
+
// @@protoc_insertion_point(field_set_char:google.protobuf.compiler.CodeGeneratorResponse.File.name)
|
576
|
+
}
|
577
|
+
inline void CodeGeneratorResponse_File::set_name(const char* value, size_t size) {
|
578
|
+
set_has_name();
|
579
|
+
if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
580
|
+
name_ = new ::std::string;
|
581
|
+
}
|
582
|
+
name_->assign(reinterpret_cast<const char*>(value), size);
|
583
|
+
// @@protoc_insertion_point(field_set_pointer:google.protobuf.compiler.CodeGeneratorResponse.File.name)
|
584
|
+
}
|
585
|
+
inline ::std::string* CodeGeneratorResponse_File::mutable_name() {
|
586
|
+
set_has_name();
|
587
|
+
if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
588
|
+
name_ = new ::std::string;
|
589
|
+
}
|
590
|
+
// @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorResponse.File.name)
|
591
|
+
return name_;
|
592
|
+
}
|
593
|
+
inline ::std::string* CodeGeneratorResponse_File::release_name() {
|
594
|
+
clear_has_name();
|
595
|
+
if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
596
|
+
return NULL;
|
597
|
+
} else {
|
598
|
+
::std::string* temp = name_;
|
599
|
+
name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
600
|
+
return temp;
|
601
|
+
}
|
602
|
+
}
|
603
|
+
inline void CodeGeneratorResponse_File::set_allocated_name(::std::string* name) {
|
604
|
+
if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
605
|
+
delete name_;
|
606
|
+
}
|
607
|
+
if (name) {
|
608
|
+
set_has_name();
|
609
|
+
name_ = name;
|
610
|
+
} else {
|
611
|
+
clear_has_name();
|
612
|
+
name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
613
|
+
}
|
614
|
+
// @@protoc_insertion_point(field_set_allocated:google.protobuf.compiler.CodeGeneratorResponse.File.name)
|
615
|
+
}
|
616
|
+
|
617
|
+
// optional string insertion_point = 2;
|
618
|
+
inline bool CodeGeneratorResponse_File::has_insertion_point() const {
|
619
|
+
return (_has_bits_[0] & 0x00000002u) != 0;
|
620
|
+
}
|
621
|
+
inline void CodeGeneratorResponse_File::set_has_insertion_point() {
|
622
|
+
_has_bits_[0] |= 0x00000002u;
|
623
|
+
}
|
624
|
+
inline void CodeGeneratorResponse_File::clear_has_insertion_point() {
|
625
|
+
_has_bits_[0] &= ~0x00000002u;
|
626
|
+
}
|
627
|
+
inline void CodeGeneratorResponse_File::clear_insertion_point() {
|
628
|
+
if (insertion_point_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
629
|
+
insertion_point_->clear();
|
630
|
+
}
|
631
|
+
clear_has_insertion_point();
|
632
|
+
}
|
633
|
+
inline const ::std::string& CodeGeneratorResponse_File::insertion_point() const {
|
634
|
+
// @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point)
|
635
|
+
return *insertion_point_;
|
636
|
+
}
|
637
|
+
inline void CodeGeneratorResponse_File::set_insertion_point(const ::std::string& value) {
|
638
|
+
set_has_insertion_point();
|
639
|
+
if (insertion_point_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
640
|
+
insertion_point_ = new ::std::string;
|
641
|
+
}
|
642
|
+
insertion_point_->assign(value);
|
643
|
+
// @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point)
|
644
|
+
}
|
645
|
+
inline void CodeGeneratorResponse_File::set_insertion_point(const char* value) {
|
646
|
+
set_has_insertion_point();
|
647
|
+
if (insertion_point_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
648
|
+
insertion_point_ = new ::std::string;
|
649
|
+
}
|
650
|
+
insertion_point_->assign(value);
|
651
|
+
// @@protoc_insertion_point(field_set_char:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point)
|
652
|
+
}
|
653
|
+
inline void CodeGeneratorResponse_File::set_insertion_point(const char* value, size_t size) {
|
654
|
+
set_has_insertion_point();
|
655
|
+
if (insertion_point_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
656
|
+
insertion_point_ = new ::std::string;
|
657
|
+
}
|
658
|
+
insertion_point_->assign(reinterpret_cast<const char*>(value), size);
|
659
|
+
// @@protoc_insertion_point(field_set_pointer:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point)
|
660
|
+
}
|
661
|
+
inline ::std::string* CodeGeneratorResponse_File::mutable_insertion_point() {
|
662
|
+
set_has_insertion_point();
|
663
|
+
if (insertion_point_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
664
|
+
insertion_point_ = new ::std::string;
|
665
|
+
}
|
666
|
+
// @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point)
|
667
|
+
return insertion_point_;
|
668
|
+
}
|
669
|
+
inline ::std::string* CodeGeneratorResponse_File::release_insertion_point() {
|
670
|
+
clear_has_insertion_point();
|
671
|
+
if (insertion_point_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
672
|
+
return NULL;
|
673
|
+
} else {
|
674
|
+
::std::string* temp = insertion_point_;
|
675
|
+
insertion_point_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
676
|
+
return temp;
|
677
|
+
}
|
678
|
+
}
|
679
|
+
inline void CodeGeneratorResponse_File::set_allocated_insertion_point(::std::string* insertion_point) {
|
680
|
+
if (insertion_point_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
681
|
+
delete insertion_point_;
|
682
|
+
}
|
683
|
+
if (insertion_point) {
|
684
|
+
set_has_insertion_point();
|
685
|
+
insertion_point_ = insertion_point;
|
686
|
+
} else {
|
687
|
+
clear_has_insertion_point();
|
688
|
+
insertion_point_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
689
|
+
}
|
690
|
+
// @@protoc_insertion_point(field_set_allocated:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point)
|
691
|
+
}
|
692
|
+
|
693
|
+
// optional string content = 15;
|
694
|
+
inline bool CodeGeneratorResponse_File::has_content() const {
|
695
|
+
return (_has_bits_[0] & 0x00000004u) != 0;
|
696
|
+
}
|
697
|
+
inline void CodeGeneratorResponse_File::set_has_content() {
|
698
|
+
_has_bits_[0] |= 0x00000004u;
|
699
|
+
}
|
700
|
+
inline void CodeGeneratorResponse_File::clear_has_content() {
|
701
|
+
_has_bits_[0] &= ~0x00000004u;
|
702
|
+
}
|
703
|
+
inline void CodeGeneratorResponse_File::clear_content() {
|
704
|
+
if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
705
|
+
content_->clear();
|
706
|
+
}
|
707
|
+
clear_has_content();
|
708
|
+
}
|
709
|
+
inline const ::std::string& CodeGeneratorResponse_File::content() const {
|
710
|
+
// @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorResponse.File.content)
|
711
|
+
return *content_;
|
712
|
+
}
|
713
|
+
inline void CodeGeneratorResponse_File::set_content(const ::std::string& value) {
|
714
|
+
set_has_content();
|
715
|
+
if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
716
|
+
content_ = new ::std::string;
|
717
|
+
}
|
718
|
+
content_->assign(value);
|
719
|
+
// @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorResponse.File.content)
|
720
|
+
}
|
721
|
+
inline void CodeGeneratorResponse_File::set_content(const char* value) {
|
722
|
+
set_has_content();
|
723
|
+
if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
724
|
+
content_ = new ::std::string;
|
725
|
+
}
|
726
|
+
content_->assign(value);
|
727
|
+
// @@protoc_insertion_point(field_set_char:google.protobuf.compiler.CodeGeneratorResponse.File.content)
|
728
|
+
}
|
729
|
+
inline void CodeGeneratorResponse_File::set_content(const char* value, size_t size) {
|
730
|
+
set_has_content();
|
731
|
+
if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
732
|
+
content_ = new ::std::string;
|
733
|
+
}
|
734
|
+
content_->assign(reinterpret_cast<const char*>(value), size);
|
735
|
+
// @@protoc_insertion_point(field_set_pointer:google.protobuf.compiler.CodeGeneratorResponse.File.content)
|
736
|
+
}
|
737
|
+
inline ::std::string* CodeGeneratorResponse_File::mutable_content() {
|
738
|
+
set_has_content();
|
739
|
+
if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
740
|
+
content_ = new ::std::string;
|
741
|
+
}
|
742
|
+
// @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorResponse.File.content)
|
743
|
+
return content_;
|
744
|
+
}
|
745
|
+
inline ::std::string* CodeGeneratorResponse_File::release_content() {
|
746
|
+
clear_has_content();
|
747
|
+
if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
748
|
+
return NULL;
|
749
|
+
} else {
|
750
|
+
::std::string* temp = content_;
|
751
|
+
content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
752
|
+
return temp;
|
753
|
+
}
|
754
|
+
}
|
755
|
+
inline void CodeGeneratorResponse_File::set_allocated_content(::std::string* content) {
|
756
|
+
if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
757
|
+
delete content_;
|
758
|
+
}
|
759
|
+
if (content) {
|
760
|
+
set_has_content();
|
761
|
+
content_ = content;
|
762
|
+
} else {
|
763
|
+
clear_has_content();
|
764
|
+
content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
765
|
+
}
|
766
|
+
// @@protoc_insertion_point(field_set_allocated:google.protobuf.compiler.CodeGeneratorResponse.File.content)
|
767
|
+
}
|
768
|
+
|
769
|
+
// -------------------------------------------------------------------
|
770
|
+
|
771
|
+
// CodeGeneratorResponse
|
772
|
+
|
773
|
+
// optional string error = 1;
|
774
|
+
inline bool CodeGeneratorResponse::has_error() const {
|
775
|
+
return (_has_bits_[0] & 0x00000001u) != 0;
|
776
|
+
}
|
777
|
+
inline void CodeGeneratorResponse::set_has_error() {
|
778
|
+
_has_bits_[0] |= 0x00000001u;
|
779
|
+
}
|
780
|
+
inline void CodeGeneratorResponse::clear_has_error() {
|
781
|
+
_has_bits_[0] &= ~0x00000001u;
|
782
|
+
}
|
783
|
+
inline void CodeGeneratorResponse::clear_error() {
|
784
|
+
if (error_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
785
|
+
error_->clear();
|
786
|
+
}
|
787
|
+
clear_has_error();
|
788
|
+
}
|
789
|
+
inline const ::std::string& CodeGeneratorResponse::error() const {
|
790
|
+
// @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorResponse.error)
|
791
|
+
return *error_;
|
792
|
+
}
|
793
|
+
inline void CodeGeneratorResponse::set_error(const ::std::string& value) {
|
794
|
+
set_has_error();
|
795
|
+
if (error_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
796
|
+
error_ = new ::std::string;
|
797
|
+
}
|
798
|
+
error_->assign(value);
|
799
|
+
// @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorResponse.error)
|
800
|
+
}
|
801
|
+
inline void CodeGeneratorResponse::set_error(const char* value) {
|
802
|
+
set_has_error();
|
803
|
+
if (error_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
804
|
+
error_ = new ::std::string;
|
805
|
+
}
|
806
|
+
error_->assign(value);
|
807
|
+
// @@protoc_insertion_point(field_set_char:google.protobuf.compiler.CodeGeneratorResponse.error)
|
808
|
+
}
|
809
|
+
inline void CodeGeneratorResponse::set_error(const char* value, size_t size) {
|
810
|
+
set_has_error();
|
811
|
+
if (error_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
812
|
+
error_ = new ::std::string;
|
813
|
+
}
|
814
|
+
error_->assign(reinterpret_cast<const char*>(value), size);
|
815
|
+
// @@protoc_insertion_point(field_set_pointer:google.protobuf.compiler.CodeGeneratorResponse.error)
|
816
|
+
}
|
817
|
+
inline ::std::string* CodeGeneratorResponse::mutable_error() {
|
818
|
+
set_has_error();
|
819
|
+
if (error_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
820
|
+
error_ = new ::std::string;
|
821
|
+
}
|
822
|
+
// @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorResponse.error)
|
823
|
+
return error_;
|
824
|
+
}
|
825
|
+
inline ::std::string* CodeGeneratorResponse::release_error() {
|
826
|
+
clear_has_error();
|
827
|
+
if (error_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
828
|
+
return NULL;
|
829
|
+
} else {
|
830
|
+
::std::string* temp = error_;
|
831
|
+
error_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
832
|
+
return temp;
|
833
|
+
}
|
834
|
+
}
|
835
|
+
inline void CodeGeneratorResponse::set_allocated_error(::std::string* error) {
|
836
|
+
if (error_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
837
|
+
delete error_;
|
838
|
+
}
|
839
|
+
if (error) {
|
840
|
+
set_has_error();
|
841
|
+
error_ = error;
|
842
|
+
} else {
|
843
|
+
clear_has_error();
|
844
|
+
error_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
845
|
+
}
|
846
|
+
// @@protoc_insertion_point(field_set_allocated:google.protobuf.compiler.CodeGeneratorResponse.error)
|
847
|
+
}
|
848
|
+
|
849
|
+
// repeated .google.protobuf.compiler.CodeGeneratorResponse.File file = 15;
|
850
|
+
inline int CodeGeneratorResponse::file_size() const {
|
851
|
+
return file_.size();
|
852
|
+
}
|
853
|
+
inline void CodeGeneratorResponse::clear_file() {
|
854
|
+
file_.Clear();
|
855
|
+
}
|
856
|
+
inline const ::google::protobuf::compiler::CodeGeneratorResponse_File& CodeGeneratorResponse::file(int index) const {
|
857
|
+
// @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorResponse.file)
|
858
|
+
return file_.Get(index);
|
859
|
+
}
|
860
|
+
inline ::google::protobuf::compiler::CodeGeneratorResponse_File* CodeGeneratorResponse::mutable_file(int index) {
|
861
|
+
// @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorResponse.file)
|
862
|
+
return file_.Mutable(index);
|
863
|
+
}
|
864
|
+
inline ::google::protobuf::compiler::CodeGeneratorResponse_File* CodeGeneratorResponse::add_file() {
|
865
|
+
// @@protoc_insertion_point(field_add:google.protobuf.compiler.CodeGeneratorResponse.file)
|
866
|
+
return file_.Add();
|
867
|
+
}
|
868
|
+
inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::compiler::CodeGeneratorResponse_File >&
|
869
|
+
CodeGeneratorResponse::file() const {
|
870
|
+
// @@protoc_insertion_point(field_list:google.protobuf.compiler.CodeGeneratorResponse.file)
|
871
|
+
return file_;
|
872
|
+
}
|
873
|
+
inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::compiler::CodeGeneratorResponse_File >*
|
874
|
+
CodeGeneratorResponse::mutable_file() {
|
875
|
+
// @@protoc_insertion_point(field_mutable_list:google.protobuf.compiler.CodeGeneratorResponse.file)
|
876
|
+
return &file_;
|
877
|
+
}
|
878
|
+
|
879
|
+
|
880
|
+
// @@protoc_insertion_point(namespace_scope)
|
881
|
+
|
882
|
+
} // namespace compiler
|
883
|
+
} // namespace protobuf
|
884
|
+
} // namespace google
|
885
|
+
|
886
|
+
#ifndef SWIG
|
887
|
+
namespace google {
|
888
|
+
namespace protobuf {
|
889
|
+
|
890
|
+
|
891
|
+
} // namespace google
|
892
|
+
} // namespace protobuf
|
893
|
+
#endif // SWIG
|
894
|
+
|
895
|
+
// @@protoc_insertion_point(global_scope)
|
896
|
+
|
897
|
+
#endif // PROTOBUF_google_2fprotobuf_2fcompiler_2fplugin_2eproto__INCLUDED
|