OLD | NEW |
1 // Protocol Buffers - Google's data interchange format | 1 // Protocol Buffers - Google's data interchange format |
2 // Copyright 2008 Google Inc. All rights reserved. | 2 // Copyright 2008 Google Inc. All rights reserved. |
3 // http://code.google.com/p/protobuf/ | 3 // http://code.google.com/p/protobuf/ |
4 // | 4 // |
5 // Redistribution and use in source and binary forms, with or without | 5 // Redistribution and use in source and binary forms, with or without |
6 // modification, are permitted provided that the following conditions are | 6 // modification, are permitted provided that the following conditions are |
7 // met: | 7 // met: |
8 // | 8 // |
9 // * Redistributions of source code must retain the above copyright | 9 // * Redistributions of source code must retain the above copyright |
10 // notice, this list of conditions and the following disclaimer. | 10 // notice, this list of conditions and the following disclaimer. |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 io::Printer* printer, const Descriptor::ExtensionRange* range); | 88 io::Printer* printer, const Descriptor::ExtensionRange* range); |
89 | 89 |
90 void GenerateBuilder(io::Printer* printer); | 90 void GenerateBuilder(io::Printer* printer); |
91 void GenerateCommonBuilderMethods(io::Printer* printer); | 91 void GenerateCommonBuilderMethods(io::Printer* printer); |
92 void GenerateDescriptorMethods(io::Printer* printer); | 92 void GenerateDescriptorMethods(io::Printer* printer); |
93 void GenerateBuilderParsingMethods(io::Printer* printer); | 93 void GenerateBuilderParsingMethods(io::Printer* printer); |
94 void GenerateIsInitialized(io::Printer* printer, | 94 void GenerateIsInitialized(io::Printer* printer, |
95 UseMemoization useMemoization); | 95 UseMemoization useMemoization); |
96 void GenerateEqualsAndHashCode(io::Printer* printer); | 96 void GenerateEqualsAndHashCode(io::Printer* printer); |
97 | 97 |
| 98 void GenerateParser(io::Printer* printer); |
| 99 void GenerateParsingConstructor(io::Printer* printer); |
| 100 |
98 const Descriptor* descriptor_; | 101 const Descriptor* descriptor_; |
99 FieldGeneratorMap field_generators_; | 102 FieldGeneratorMap field_generators_; |
100 | 103 |
101 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(MessageGenerator); | 104 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(MessageGenerator); |
102 }; | 105 }; |
103 | 106 |
104 } // namespace java | 107 } // namespace java |
105 } // namespace compiler | 108 } // namespace compiler |
106 } // namespace protobuf | 109 } // namespace protobuf |
107 | 110 |
108 } // namespace google | 111 } // namespace google |
109 #endif // GOOGLE_PROTOBUF_COMPILER_JAVA_MESSAGE_H__ | 112 #endif // GOOGLE_PROTOBUF_COMPILER_JAVA_MESSAGE_H__ |
OLD | NEW |