Go to the documentation of this file.
35 #ifndef GOOGLE_PROTOBUF_COMPILER_JAVA_FILE_H__
36 #define GOOGLE_PROTOBUF_COMPILER_JAVA_FILE_H__
41 #include <google/protobuf/stubs/common.h>
42 #include <google/protobuf/compiler/java/java_options.h>
54 class MessageGenerator;
55 class GeneratorFactory;
56 class ExtensionGenerator;
57 class ClassNameResolver;
71 bool immutable_api =
true);
85 std::vector<std::string>* annotation_list);
93 std::vector<std::string>* annotation_list);
125 #endif // GOOGLE_PROTOBUF_COMPILER_JAVA_FILE_H__
void GenerateSiblings(const std::string &package_dir, GeneratorContext *generator_context, std::vector< std::string > *file_list, std::vector< std::string > *annotation_list)
bool ShouldIncludeDependency(const FileDescriptor *descriptor, bool immutable_api_)
bool Validate(std::string *error)
std::string GetKotlinClassname()
GRPC_CUSTOM_PRINTER Printer
std::string java_package_
void GenerateKotlinSiblings(const std::string &package_dir, GeneratorContext *generator_context, std::vector< std::string > *file_list, std::vector< std::string > *annotation_list)
GRPC_CUSTOM_GENERATORCONTEXT GeneratorContext
std::unique_ptr< GeneratorFactory > generator_factory_
FileGenerator(const FileDescriptor *file, const Options &options, bool immutable_api=true)
GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(FileGenerator)
const FileDescriptor * file_
void Generate(io::Printer *printer)
std::vector< std::unique_ptr< ExtensionGenerator > > extension_generators_
const std::string & java_package()
void GenerateDescriptorInitializationCodeForMutable(io::Printer *printer)
void GenerateDescriptorInitializationCodeForImmutable(io::Printer *printer)
ClassNameResolver * name_resolver_
const std::string & classname()
std::unique_ptr< Context > context_
std::vector< std::unique_ptr< MessageGenerator > > message_generators_
static const char descriptor[1336]
grpc
Author(s):
autogenerated on Fri May 16 2025 02:59:09