Go to the documentation of this file.
31 #ifndef GOOGLE_PROTOBUF_COMPILER_CSHARP_MESSAGE_H__
32 #define GOOGLE_PROTOBUF_COMPILER_CSHARP_MESSAGE_H__
37 #include <google/protobuf/compiler/code_generator.h>
38 #include <google/protobuf/compiler/csharp/csharp_source_generator_base.h>
39 #include <google/protobuf/compiler/csharp/csharp_helpers.h>
46 class FieldGeneratorBase;
48 class MessageGenerator :
public SourceGeneratorBase {
94 #endif // GOOGLE_PROTOBUF_COMPILER_CSHARP_MESSAGE_H__
void GenerateCloningCode(io::Printer *printer)
void GenerateMainParseLoop(io::Printer *printer, bool use_parse_context)
MessageGenerator & operator=(const MessageGenerator &)=delete
GRPC_CUSTOM_PRINTER Printer
std::string full_class_name()
void AddSerializableAttribute(io::Printer *printer)
const std::vector< const FieldDescriptor * > & fields_by_number()
void GenerateFreezingCode(io::Printer *printer)
void GenerateMessageSerializationMethods(io::Printer *printer)
void GenerateFrameworkMethods(io::Printer *printer)
FieldGeneratorBase * CreateFieldGeneratorInternal(const FieldDescriptor *descriptor)
const Descriptor * descriptor_
void GenerateWriteToBody(io::Printer *printer, bool use_write_context)
std::vector< const FieldDescriptor * > fields_by_number_
void Generate(io::Printer *printer)
const Options * options()
bool HasNestedGeneratedTypes()
void AddDeprecatedFlag(io::Printer *printer)
MessageGenerator(const Descriptor *descriptor, const Options *options)
int GetPresenceIndex(const FieldDescriptor *descriptor)
void GenerateMergingMethods(io::Printer *printer)
static const char descriptor[1336]
bool has_extension_ranges_
grpc
Author(s):
autogenerated on Fri May 16 2025 02:58:07