Public Member Functions | Private Member Functions | List of all members
google::protobuf::compiler::Proto2ToProto3Generator Class Referencefinal
Inheritance diagram for google::protobuf::compiler::Proto2ToProto3Generator:
Inheritance graph
[legend]

Public Member Functions

bool Generate (const FileDescriptor *file, const string &parameter, GeneratorContext *context, string *error) const
 
bool Generate (const FileDescriptor *file, const string &parameter, GeneratorContext *context, string *error) const
 
bool GenerateAll (const std::vector< const FileDescriptor * > &files, const string &parameter, GeneratorContext *context, string *error) const
 
bool GenerateAll (const std::vector< const FileDescriptor * > &files, const string &parameter, GeneratorContext *context, string *error) const
 
- Public Member Functions inherited from google::protobuf::compiler::CodeGenerator
 CodeGenerator ()
 
 CodeGenerator ()
 
virtual bool Generate (const FileDescriptor *file, const std::string &parameter, GeneratorContext *generator_context, std::string *error) const =0
 
virtual bool Generate (const FileDescriptor *file, const std::string &parameter, GeneratorContext *generator_context, std::string *error) const =0
 
virtual bool GenerateAll (const std::vector< const FileDescriptor * > &files, const std::string &parameter, GeneratorContext *generator_context, std::string *error) const
 
virtual bool GenerateAll (const std::vector< const FileDescriptor * > &files, const std::string &parameter, GeneratorContext *generator_context, std::string *error) const
 
virtual uint64_t GetSupportedFeatures () const
 
virtual bool HasGenerateAll () const
 
virtual bool HasGenerateAll () const
 
virtual ~CodeGenerator ()
 
virtual ~CodeGenerator ()
 

Private Member Functions

bool CanGenerate (const FileDescriptor *file) const
 
bool CanGenerate (const FileDescriptor *file) const
 

Additional Inherited Members

- Public Types inherited from google::protobuf::compiler::CodeGenerator
enum  Feature { FEATURE_PROTO3_OPTIONAL = 1 }
 

Detailed Description

Definition at line 36 of file bloaty/third_party/protobuf/benchmarks/util/protoc-gen-proto2_to_proto3.cc.

Member Function Documentation

◆ CanGenerate() [1/2]

bool google::protobuf::compiler::Proto2ToProto3Generator::CanGenerate ( const FileDescriptor file) const
inlineprivate

◆ CanGenerate() [2/2]

bool google::protobuf::compiler::Proto2ToProto3Generator::CanGenerate ( const FileDescriptor file) const
inlineprivate

◆ Generate() [1/2]

bool google::protobuf::compiler::Proto2ToProto3Generator::Generate ( const FileDescriptor file,
const string &  parameter,
GeneratorContext context,
string *  error 
) const
inline

◆ Generate() [2/2]

bool google::protobuf::compiler::Proto2ToProto3Generator::Generate ( const FileDescriptor file,
const string &  parameter,
GeneratorContext context,
string *  error 
) const
inline

◆ GenerateAll() [1/2]

bool google::protobuf::compiler::Proto2ToProto3Generator::GenerateAll ( const std::vector< const FileDescriptor * > &  files,
const string &  parameter,
GeneratorContext context,
string *  error 
) const
inline

◆ GenerateAll() [2/2]

bool google::protobuf::compiler::Proto2ToProto3Generator::GenerateAll ( const std::vector< const FileDescriptor * > &  files,
const string &  parameter,
GeneratorContext context,
string *  error 
) const
inline

The documentation for this class was generated from the following file:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:22