Namespaces | Functions
protobuf/src/google/protobuf/compiler/java/java_helpers.cc File Reference
#include <google/protobuf/compiler/java/java_helpers.h>
#include <algorithm>
#include <cstdint>
#include <limits>
#include <unordered_set>
#include <vector>
#include <google/protobuf/stubs/stringprintf.h>
#include <google/protobuf/compiler/java/java_name_resolver.h>
#include <google/protobuf/compiler/java/java_names.h>
#include <google/protobuf/descriptor.pb.h>
#include <google/protobuf/wire_format.h>
#include <google/protobuf/stubs/strutil.h>
#include <google/protobuf/stubs/substitute.h>
#include <google/protobuf/stubs/hash.h>
Include dependency graph for protobuf/src/google/protobuf/compiler/java/java_helpers.cc:

Go to the source code of this file.

Namespaces

 google
 
 google::protobuf
 
 google::protobuf::compiler
 
 google::protobuf::compiler::java
 

Functions

bool google::protobuf::compiler::java::AllAscii (const std::string &text)
 
const char * google::protobuf::compiler::java::BoxedPrimitiveTypeName (const FieldDescriptor *descriptor)
 
const char * google::protobuf::compiler::java::BoxedPrimitiveTypeName (JavaType type)
 
std::string google::protobuf::compiler::java::CamelCaseFieldName (const FieldDescriptor *field)
 
std::string google::protobuf::compiler::java::CapitalizedFieldName (const FieldDescriptor *field)
 
std::string google::protobuf::compiler::java::ClassName (const Descriptor *descriptor)
 
std::string google::protobuf::compiler::java::ClassName (const EnumDescriptor *descriptor)
 
std::string google::protobuf::compiler::java::ClassName (const FileDescriptor *descriptor)
 
std::string google::protobuf::compiler::java::ClassName (const ServiceDescriptor *descriptor)
 
std::string google::protobuf::compiler::java::DefaultValue (const FieldDescriptor *field, bool immutable, ClassNameResolver *name_resolver)
 
void google::protobuf::compiler::java::EscapeUtf16ToString (uint16 code, std::string *output)
 
std::string google::protobuf::compiler::java::ExtraBuilderInterfaces (const Descriptor *descriptor)
 
std::string google::protobuf::compiler::java::ExtraMessageInterfaces (const Descriptor *descriptor)
 
std::string google::protobuf::compiler::java::ExtraMessageOrBuilderInterfaces (const Descriptor *descriptor)
 
std::string google::protobuf::compiler::java::FieldConstantName (const FieldDescriptor *field)
 
const char * google::protobuf::compiler::java::FieldTypeName (FieldDescriptor::Type field_type)
 
std::string google::protobuf::compiler::java::FileClassName (const FileDescriptor *file, bool immutable)
 
std::string google::protobuf::compiler::java::FileJavaPackage (const FileDescriptor *file)
 
std::string google::protobuf::compiler::java::FileJavaPackage (const FileDescriptor *file, bool immutable)
 
int google::protobuf::compiler::java::FixedSize (FieldDescriptor::Type type)
 
std::string google::protobuf::compiler::java::GenerateClearBit (int bitIndex)
 
std::string google::protobuf::compiler::java::GenerateGetBit (int bitIndex)
 
std::string google::protobuf::compiler::java::GenerateGetBitFromLocal (int bitIndex)
 
std::string google::protobuf::compiler::java::GenerateGetBitMutableLocal (int bitIndex)
 
std::string google::protobuf::compiler::java::GenerateSetBit (int bitIndex)
 
std::string google::protobuf::compiler::java::GenerateSetBitMutableLocal (int bitIndex)
 
std::string google::protobuf::compiler::java::GenerateSetBitToLocal (int bitIndex)
 
std::string google::protobuf::compiler::java::GetBitFieldName (int index)
 
std::string google::protobuf::compiler::java::GetBitFieldNameForBit (int bitIndex)
 
const char * google::protobuf::compiler::java::GetCapitalizedType (const FieldDescriptor *field, bool immutable)
 
int google::protobuf::compiler::java::GetExperimentalJavaFieldType (const FieldDescriptor *field)
 
int google::protobuf::compiler::java::GetExperimentalJavaFieldTypeForPacked (const FieldDescriptor *field)
 
int google::protobuf::compiler::java::GetExperimentalJavaFieldTypeForRepeated (const FieldDescriptor *field)
 
int google::protobuf::compiler::java::GetExperimentalJavaFieldTypeForSingular (const FieldDescriptor *field)
 
JavaType google::protobuf::compiler::java::GetJavaType (const FieldDescriptor *field)
 
std::string google::protobuf::compiler::java::GetOneofStoredType (const FieldDescriptor *field)
 
FieldDescriptor::Type google::protobuf::compiler::java::GetType (const FieldDescriptor *field)
 
bool google::protobuf::compiler::java::HasRepeatedFields (const Descriptor *descriptor)
 
bool google::protobuf::compiler::java::HasRequiredFields (const Descriptor *type)
 
bool google::protobuf::compiler::java::HasRequiredFields (const Descriptor *type, std::unordered_set< const Descriptor * > *already_seen)
 
bool google::protobuf::compiler::java::IsByteStringWithCustomDefaultValue (const FieldDescriptor *field)
 
bool google::protobuf::compiler::java::IsDefaultValueJavaDefault (const FieldDescriptor *field)
 
bool google::protobuf::compiler::java::IsForbiddenKotlin (const std::string &field_name)
 
bool google::protobuf::compiler::java::IsReferenceType (JavaType type)
 
std::string google::protobuf::compiler::java::JavaPackageToDir (std::string package_name)
 
const char * google::protobuf::compiler::java::KotlinTypeName (JavaType type)
 
const char * google::protobuf::compiler::java::PrimitiveTypeName (const FieldDescriptor *descriptor)
 
const char * google::protobuf::compiler::java::PrimitiveTypeName (JavaType type)
 
void google::protobuf::compiler::java::PrintEnumVerifierLogic (io::Printer *printer, const FieldDescriptor *descriptor, const std::map< std::string, std::string > &variables, const char *var_name, const char *terminating_string, bool enforce_lite)
 
void google::protobuf::compiler::java::PrintGeneratedAnnotation (io::Printer *printer, char delimiter, const std::string &annotation_file)
 
const FieldDescriptor ** google::protobuf::compiler::java::SortFieldsByNumber (const Descriptor *descriptor)
 
std::string google::protobuf::compiler::java::ToCamelCase (const std::string &input, bool lower_first)
 
char google::protobuf::compiler::java::ToLowerCh (char ch)
 
char google::protobuf::compiler::java::ToUpperCh (char ch)
 
std::string google::protobuf::compiler::java::UnderscoresToCamelCase (const FieldDescriptor *field)
 
std::string google::protobuf::compiler::java::UnderscoresToCamelCase (const MethodDescriptor *method)
 
std::string google::protobuf::compiler::java::UnderscoresToCamelCase (const std::string &input, bool cap_next_letter)
 
std::string google::protobuf::compiler::java::UnderscoresToCamelCaseCheckReserved (const FieldDescriptor *field)
 
std::string google::protobuf::compiler::java::UnderscoresToCapitalizedCamelCase (const FieldDescriptor *field)
 
std::string google::protobuf::compiler::java::UniqueFileScopeIdentifier (const Descriptor *descriptor)
 
void google::protobuf::compiler::java::WriteUInt32ToUtf16CharSequence (uint32 number, std::vector< uint16 > *output)
 


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