Classes | Enumerations | Functions | Variables
google::protobuf::compiler::csharp Namespace Reference

Classes

class  EnumFieldGenerator
 
class  EnumGenerator
 
class  EnumOneofFieldGenerator
 
class  FieldGeneratorBase
 
class  Generator
 
class  MapFieldGenerator
 
class  MessageFieldGenerator
 
class  MessageGenerator
 
class  MessageOneofFieldGenerator
 
struct  Options
 
class  PrimitiveFieldGenerator
 
class  PrimitiveOneofFieldGenerator
 
class  ReflectionClassGenerator
 
class  RepeatedEnumFieldGenerator
 
class  RepeatedMessageFieldGenerator
 
class  RepeatedPrimitiveFieldGenerator
 
class  SourceGeneratorBase
 
class  WrapperFieldGenerator
 
class  WrapperOneofFieldGenerator
 

Enumerations

enum  CSharpType {
  CSHARPTYPE_INT32 = 1, CSHARPTYPE_INT64 = 2, CSHARPTYPE_UINT32 = 3, CSHARPTYPE_UINT64 = 4,
  CSHARPTYPE_FLOAT = 5, CSHARPTYPE_DOUBLE = 6, CSHARPTYPE_BOOL = 7, CSHARPTYPE_STRING = 8,
  CSHARPTYPE_BYTESTRING = 9, CSHARPTYPE_MESSAGE = 10, CSHARPTYPE_ENUM = 11, MAX_CSHARPTYPE = 11,
  CSHARPTYPE_INT32 = 1, CSHARPTYPE_INT64 = 2, CSHARPTYPE_UINT32 = 3, CSHARPTYPE_UINT64 = 4,
  CSHARPTYPE_FLOAT = 5, CSHARPTYPE_DOUBLE = 6, CSHARPTYPE_BOOL = 7, CSHARPTYPE_STRING = 8,
  CSHARPTYPE_BYTESTRING = 9, CSHARPTYPE_MESSAGE = 10, CSHARPTYPE_ENUM = 11, MAX_CSHARPTYPE = 11
}
 
enum  CSharpType {
  CSHARPTYPE_INT32 = 1, CSHARPTYPE_INT64 = 2, CSHARPTYPE_UINT32 = 3, CSHARPTYPE_UINT64 = 4,
  CSHARPTYPE_FLOAT = 5, CSHARPTYPE_DOUBLE = 6, CSHARPTYPE_BOOL = 7, CSHARPTYPE_STRING = 8,
  CSHARPTYPE_BYTESTRING = 9, CSHARPTYPE_MESSAGE = 10, CSHARPTYPE_ENUM = 11, MAX_CSHARPTYPE = 11,
  CSHARPTYPE_INT32 = 1, CSHARPTYPE_INT64 = 2, CSHARPTYPE_UINT32 = 3, CSHARPTYPE_UINT64 = 4,
  CSHARPTYPE_FLOAT = 5, CSHARPTYPE_DOUBLE = 6, CSHARPTYPE_BOOL = 7, CSHARPTYPE_STRING = 8,
  CSHARPTYPE_BYTESTRING = 9, CSHARPTYPE_MESSAGE = 10, CSHARPTYPE_ENUM = 11, MAX_CSHARPTYPE = 11
}
 

Functions

bool AllPrintableAscii (const std::string &text)
 
bool CompareFieldNumbers (const FieldDescriptor *d1, const FieldDescriptor *d2)
 
FieldGeneratorBaseCreateFieldGenerator (const FieldDescriptor *descriptor, int presenceIndex, const Options *options)
 
std::string FileDescriptorToBase64 (const FileDescriptor *descriptor)
 
void GenerateFile (const FileDescriptor *file, io::Printer *printer, const Options *options)
 
std::string GetClassName (const Descriptor *descriptor)
 
std::string GetClassName (const EnumDescriptor *descriptor)
 
CSharpType GetCSharpType (FieldDescriptor::Type type)
 
std::string GetEnumValueName (const std::string &enum_name, const std::string &enum_value_name)
 
std::string GetExtensionClassUnqualifiedName (const FileDescriptor *descriptor)
 
std::string GetFieldConstantName (const FieldDescriptor *field)
 
std::string GetFieldName (const FieldDescriptor *descriptor)
 
std::string GetFileNameBase (const FileDescriptor *descriptor)
 
std::string GetFileNamespace (const FileDescriptor *descriptor)
 
int GetFixedSize (FieldDescriptor::Type type)
 
std::string GetFullExtensionName (const FieldDescriptor *descriptor)
 
uint GetGroupEndTag (const Descriptor *descriptor)
 
std::string GetOutputFile (const FileDescriptor *descriptor, const std::string file_extension, const bool generate_directories, const std::string base_namespace, std::string *error)
 
std::string GetOutputFile (const FileDescriptor *descriptor, const std::string file_extension, const bool generate_directories, const std::string base_namespace, string *error)
 
string PROTOC_EXPORT GetOutputFile (const FileDescriptor *descriptor, const string file_extension, const bool generate_directories, const string base_namespace, string *error)
 
std::string GetPropertyName (const FieldDescriptor *descriptor)
 
std::string GetReflectionClassName (const FileDescriptor *descriptor)
 
std::string GetReflectionClassUnqualifiedName (const FileDescriptor *descriptor)
 
bool IsDescriptorOptionMessage (const Descriptor *descriptor)
 
bool IsDescriptorProto (const FileDescriptor *descriptor)
 
bool IsMapEntryMessage (const Descriptor *descriptor)
 
bool IsNullable (const FieldDescriptor *descriptor)
 
bool IsProto2 (const FileDescriptor *descriptor)
 
bool IsWrapperType (const FieldDescriptor *descriptor)
 
bool RequiresPresenceBit (const FieldDescriptor *descriptor)
 
std::string ShoutyToPascalCase (const std::string &input)
 
std::string StringToBase64 (const std::string &input)
 
std::string StripDotProto (const std::string &proto_file)
 
bool SupportsPresenceApi (const FieldDescriptor *descriptor)
 
std::string ToCSharpName (const std::string &name, const FileDescriptor *file)
 
std::string TryRemovePrefix (const std::string &prefix, const std::string &value)
 
std::string UnderscoresToCamelCase (const std::string &input, bool cap_next_letter)
 
std::string UnderscoresToCamelCase (const std::string &input, bool cap_next_letter, bool preserve_period)
 
std::string UnderscoresToPascalCase (const std::string &input)
 
template<typename DescriptorType >
static void WriteDocCommentBody (io::Printer *printer, const DescriptorType *descriptor)
 
template<typename DescriptorType >
static void WriteDocCommentBody (io::Printer *printer, const DescriptorType *descriptor)
 
void WriteDocCommentBodyImpl (io::Printer *printer, SourceLocation location)
 
void WriteEnumDocComment (io::Printer *printer, const EnumDescriptor *enumDescriptor)
 
void WriteEnumValueDocComment (io::Printer *printer, const EnumValueDescriptor *value)
 
void WriteMessageDocComment (io::Printer *printer, const Descriptor *message)
 
void WriteMethodDocComment (io::Printer *printer, const MethodDescriptor *method)
 
void WritePropertyDocComment (io::Printer *printer, const FieldDescriptor *field)
 

Variables

static const char base64_chars []
 
static const char base64_chars []
 

Enumeration Type Documentation

◆ CSharpType [1/2]

Enumerator
CSHARPTYPE_INT32 
CSHARPTYPE_INT64 
CSHARPTYPE_UINT32 
CSHARPTYPE_UINT64 
CSHARPTYPE_FLOAT 
CSHARPTYPE_DOUBLE 
CSHARPTYPE_BOOL 
CSHARPTYPE_STRING 
CSHARPTYPE_BYTESTRING 
CSHARPTYPE_MESSAGE 
CSHARPTYPE_ENUM 
MAX_CSHARPTYPE 
CSHARPTYPE_INT32 
CSHARPTYPE_INT64 
CSHARPTYPE_UINT32 
CSHARPTYPE_UINT64 
CSHARPTYPE_FLOAT 
CSHARPTYPE_DOUBLE 
CSHARPTYPE_BOOL 
CSHARPTYPE_STRING 
CSHARPTYPE_BYTESTRING 
CSHARPTYPE_MESSAGE 
CSHARPTYPE_ENUM 
MAX_CSHARPTYPE 

Definition at line 56 of file bloaty/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_helpers.h.

◆ CSharpType [2/2]

Enumerator
CSHARPTYPE_INT32 
CSHARPTYPE_INT64 
CSHARPTYPE_UINT32 
CSHARPTYPE_UINT64 
CSHARPTYPE_FLOAT 
CSHARPTYPE_DOUBLE 
CSHARPTYPE_BOOL 
CSHARPTYPE_STRING 
CSHARPTYPE_BYTESTRING 
CSHARPTYPE_MESSAGE 
CSHARPTYPE_ENUM 
MAX_CSHARPTYPE 
CSHARPTYPE_INT32 
CSHARPTYPE_INT64 
CSHARPTYPE_UINT32 
CSHARPTYPE_UINT64 
CSHARPTYPE_FLOAT 
CSHARPTYPE_DOUBLE 
CSHARPTYPE_BOOL 
CSHARPTYPE_STRING 
CSHARPTYPE_BYTESTRING 
CSHARPTYPE_MESSAGE 
CSHARPTYPE_ENUM 
MAX_CSHARPTYPE 

Definition at line 57 of file protobuf/src/google/protobuf/compiler/csharp/csharp_helpers.h.

Function Documentation

◆ AllPrintableAscii()

bool google::protobuf::compiler::csharp::AllPrintableAscii ( const std::string &  text)

◆ CompareFieldNumbers()

bool google::protobuf::compiler::csharp::CompareFieldNumbers ( const FieldDescriptor d1,
const FieldDescriptor d2 
)

◆ CreateFieldGenerator()

FieldGeneratorBase * google::protobuf::compiler::csharp::CreateFieldGenerator ( const FieldDescriptor descriptor,
int  presenceIndex,
const Options options 
)

◆ FileDescriptorToBase64()

std::string google::protobuf::compiler::csharp::FileDescriptorToBase64 ( const FileDescriptor descriptor)

◆ GenerateFile()

void google::protobuf::compiler::csharp::GenerateFile ( const FileDescriptor file,
io::Printer printer,
const Options options 
)

◆ GetClassName() [1/2]

std::string PROTOC_EXPORT google::protobuf::compiler::csharp::GetClassName ( const Descriptor descriptor)

◆ GetClassName() [2/2]

std::string google::protobuf::compiler::csharp::GetClassName ( const EnumDescriptor descriptor)

◆ GetCSharpType()

CSharpType google::protobuf::compiler::csharp::GetCSharpType ( FieldDescriptor::Type  type)

◆ GetEnumValueName()

std::string PROTOC_EXPORT google::protobuf::compiler::csharp::GetEnumValueName ( const std::string &  enum_name,
const std::string &  enum_value_name 
)

◆ GetExtensionClassUnqualifiedName()

std::string google::protobuf::compiler::csharp::GetExtensionClassUnqualifiedName ( const FileDescriptor descriptor)

◆ GetFieldConstantName()

std::string google::protobuf::compiler::csharp::GetFieldConstantName ( const FieldDescriptor field)

◆ GetFieldName()

std::string google::protobuf::compiler::csharp::GetFieldName ( const FieldDescriptor descriptor)

◆ GetFileNameBase()

std::string google::protobuf::compiler::csharp::GetFileNameBase ( const FileDescriptor descriptor)

◆ GetFileNamespace()

std::string PROTOC_EXPORT google::protobuf::compiler::csharp::GetFileNamespace ( const FileDescriptor descriptor)

◆ GetFixedSize()

int google::protobuf::compiler::csharp::GetFixedSize ( FieldDescriptor::Type  type)

◆ GetFullExtensionName()

std::string google::protobuf::compiler::csharp::GetFullExtensionName ( const FieldDescriptor descriptor)

◆ GetGroupEndTag()

uint google::protobuf::compiler::csharp::GetGroupEndTag ( const Descriptor descriptor)

◆ GetOutputFile() [1/3]

std::string PROTOC_EXPORT google::protobuf::compiler::csharp::GetOutputFile ( const FileDescriptor descriptor,
const std::string  file_extension,
const bool  generate_directories,
const std::string  base_namespace,
std::string *  error 
)

◆ GetOutputFile() [2/3]

std::string google::protobuf::compiler::csharp::GetOutputFile ( const FileDescriptor descriptor,
const std::string  file_extension,
const bool  generate_directories,
const std::string  base_namespace,
string *  error 
)

◆ GetOutputFile() [3/3]

string PROTOC_EXPORT google::protobuf::compiler::csharp::GetOutputFile ( const FileDescriptor descriptor,
const string  file_extension,
const bool  generate_directories,
const string  base_namespace,
string *  error 
)

◆ GetPropertyName()

std::string google::protobuf::compiler::csharp::GetPropertyName ( const FieldDescriptor descriptor)

◆ GetReflectionClassName()

std::string PROTOC_EXPORT google::protobuf::compiler::csharp::GetReflectionClassName ( const FileDescriptor descriptor)

◆ GetReflectionClassUnqualifiedName()

std::string google::protobuf::compiler::csharp::GetReflectionClassUnqualifiedName ( const FileDescriptor descriptor)

◆ IsDescriptorOptionMessage()

bool google::protobuf::compiler::csharp::IsDescriptorOptionMessage ( const Descriptor descriptor)
inline

◆ IsDescriptorProto()

bool google::protobuf::compiler::csharp::IsDescriptorProto ( const FileDescriptor descriptor)
inline

◆ IsMapEntryMessage()

bool google::protobuf::compiler::csharp::IsMapEntryMessage ( const Descriptor descriptor)
inline

◆ IsNullable()

bool google::protobuf::compiler::csharp::IsNullable ( const FieldDescriptor descriptor)

◆ IsProto2()

bool google::protobuf::compiler::csharp::IsProto2 ( const FileDescriptor descriptor)
inline

◆ IsWrapperType()

bool google::protobuf::compiler::csharp::IsWrapperType ( const FieldDescriptor descriptor)
inline

◆ RequiresPresenceBit()

bool google::protobuf::compiler::csharp::RequiresPresenceBit ( const FieldDescriptor descriptor)
inline

◆ ShoutyToPascalCase()

std::string google::protobuf::compiler::csharp::ShoutyToPascalCase ( const std::string &  input)

◆ StringToBase64()

std::string google::protobuf::compiler::csharp::StringToBase64 ( const std::string &  input)

◆ StripDotProto()

std::string google::protobuf::compiler::csharp::StripDotProto ( const std::string &  proto_file)

◆ SupportsPresenceApi()

bool google::protobuf::compiler::csharp::SupportsPresenceApi ( const FieldDescriptor descriptor)
inline

◆ ToCSharpName()

std::string google::protobuf::compiler::csharp::ToCSharpName ( const std::string &  name,
const FileDescriptor file 
)

◆ TryRemovePrefix()

std::string google::protobuf::compiler::csharp::TryRemovePrefix ( const std::string &  prefix,
const std::string &  value 
)

◆ UnderscoresToCamelCase() [1/2]

std::string google::protobuf::compiler::csharp::UnderscoresToCamelCase ( const std::string &  input,
bool  cap_next_letter 
)
inline

◆ UnderscoresToCamelCase() [2/2]

std::string google::protobuf::compiler::csharp::UnderscoresToCamelCase ( const std::string &  input,
bool  cap_next_letter,
bool  preserve_period 
)

◆ UnderscoresToPascalCase()

std::string google::protobuf::compiler::csharp::UnderscoresToPascalCase ( const std::string &  input)

◆ WriteDocCommentBody() [1/2]

template<typename DescriptorType >
static void google::protobuf::compiler::csharp::WriteDocCommentBody ( io::Printer printer,
const DescriptorType *  descriptor 
)
static

◆ WriteDocCommentBody() [2/2]

template<typename DescriptorType >
static void google::protobuf::compiler::csharp::WriteDocCommentBody ( io::Printer printer,
const DescriptorType *  descriptor 
)
static

◆ WriteDocCommentBodyImpl()

void google::protobuf::compiler::csharp::WriteDocCommentBodyImpl ( io::Printer printer,
SourceLocation  location 
)

◆ WriteEnumDocComment()

void google::protobuf::compiler::csharp::WriteEnumDocComment ( io::Printer printer,
const EnumDescriptor enumDescriptor 
)

◆ WriteEnumValueDocComment()

void google::protobuf::compiler::csharp::WriteEnumValueDocComment ( io::Printer printer,
const EnumValueDescriptor value 
)

◆ WriteMessageDocComment()

void google::protobuf::compiler::csharp::WriteMessageDocComment ( io::Printer printer,
const Descriptor message 
)

◆ WriteMethodDocComment()

void google::protobuf::compiler::csharp::WriteMethodDocComment ( io::Printer printer,
const MethodDescriptor method 
)

◆ WritePropertyDocComment()

void google::protobuf::compiler::csharp::WritePropertyDocComment ( io::Printer printer,
const FieldDescriptor field 
)

Variable Documentation

◆ base64_chars [1/2]

const char google::protobuf::compiler::csharp::base64_chars[]
static
Initial value:
=
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"

Definition at line 437 of file bloaty/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_helpers.cc.

◆ base64_chars [2/2]

const char google::protobuf::compiler::csharp::base64_chars[]
static
Initial value:
=
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"

Definition at line 463 of file protobuf/src/google/protobuf/compiler/csharp/csharp_helpers.cc.



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