Classes | Namespaces | Enumerations | Functions
protobuf/src/google/protobuf/compiler/java/java_helpers.h File Reference
#include <cstdint>
#include <string>
#include <google/protobuf/compiler/java/java_context.h>
#include <google/protobuf/descriptor.pb.h>
#include <google/protobuf/io/printer.h>
#include <google/protobuf/descriptor.h>
Include dependency graph for protobuf/src/google/protobuf/compiler/java/java_helpers.h:

Go to the source code of this file.

Classes

struct  google::protobuf::compiler::java::ExtensionRangeOrdering
 
struct  google::protobuf::compiler::java::FieldOrderingByNumber
 

Namespaces

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

Enumerations

enum  google::protobuf::compiler::java::JavaType {
  google::protobuf::compiler::java::JAVATYPE_INT, google::protobuf::compiler::java::JAVATYPE_LONG, google::protobuf::compiler::java::JAVATYPE_FLOAT, google::protobuf::compiler::java::JAVATYPE_DOUBLE,
  google::protobuf::compiler::java::JAVATYPE_BOOLEAN, google::protobuf::compiler::java::JAVATYPE_STRING, google::protobuf::compiler::java::JAVATYPE_BYTES, google::protobuf::compiler::java::JAVATYPE_ENUM,
  google::protobuf::compiler::java::JAVATYPE_MESSAGE, google::protobuf::compiler::java::JAVATYPE_INT, google::protobuf::compiler::java::JAVATYPE_LONG, google::protobuf::compiler::java::JAVATYPE_FLOAT,
  google::protobuf::compiler::java::JAVATYPE_DOUBLE, google::protobuf::compiler::java::JAVATYPE_BOOLEAN, google::protobuf::compiler::java::JAVATYPE_STRING, google::protobuf::compiler::java::JAVATYPE_BYTES,
  google::protobuf::compiler::java::JAVATYPE_ENUM, google::protobuf::compiler::java::JAVATYPE_MESSAGE
}
 

Functions

template<typename Descriptor >
std::string google::protobuf::compiler::java::AnnotationFileName (const Descriptor *descriptor, const std::string &suffix)
 
const char * google::protobuf::compiler::java::BoxedPrimitiveTypeName (JavaType type)
 
std::string google::protobuf::compiler::java::CamelCaseFieldName (const FieldDescriptor *field)
 
bool google::protobuf::compiler::java::CheckUtf8 (const FieldDescriptor *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)
 
bool google::protobuf::compiler::java::ExposePublicParser (const FileDescriptor *descriptor)
 
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::ExtraMutableMessageInterfaces (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, 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::GeneratedCodeVersionSuffix ()
 
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)
 
JavaType google::protobuf::compiler::java::GetJavaType (const FieldDescriptor *field)
 
std::string google::protobuf::compiler::java::GetOneofStoredType (const FieldDescriptor *field)
 
std::pair< int, intgoogle::protobuf::compiler::java::GetTableDrivenNumberOfEntriesAndLookUpStartFieldNumber (const FieldDescriptor **fields, int count)
 
FieldDescriptor::Type google::protobuf::compiler::java::GetType (const FieldDescriptor *field)
 
bool google::protobuf::compiler::java::HasDescriptorMethods (const Descriptor *descriptor, bool enforce_lite)
 
bool google::protobuf::compiler::java::HasDescriptorMethods (const EnumDescriptor *descriptor, bool enforce_lite)
 
bool google::protobuf::compiler::java::HasDescriptorMethods (const FileDescriptor *descriptor, bool enforce_lite)
 
bool google::protobuf::compiler::java::HasGenericServices (const FileDescriptor *file, bool enforce_lite)
 
bool google::protobuf::compiler::java::HasHasbit (const FieldDescriptor *descriptor)
 
bool google::protobuf::compiler::java::HasHazzer (const FieldDescriptor *descriptor)
 
bool google::protobuf::compiler::java::HasPackedFields (const Descriptor *descriptor)
 
bool google::protobuf::compiler::java::HasRepeatedFields (const Descriptor *descriptor)
 
bool google::protobuf::compiler::java::HasRequiredFields (const Descriptor *type)
 
std::string google::protobuf::compiler::java::ImmutableDefaultValue (const FieldDescriptor *field, ClassNameResolver *name_resolver)
 
bool google::protobuf::compiler::java::IsAnyMessage (const Descriptor *descriptor)
 
bool google::protobuf::compiler::java::IsByteStringWithCustomDefaultValue (const FieldDescriptor *field)
 
bool google::protobuf::compiler::java::IsDefaultValueJavaDefault (const FieldDescriptor *field)
 
bool google::protobuf::compiler::java::IsDescriptorProto (const Descriptor *descriptor)
 
bool google::protobuf::compiler::java::IsForbiddenKotlin (const std::string &field_name)
 
bool google::protobuf::compiler::java::IsMapEntry (const Descriptor *descriptor)
 
bool google::protobuf::compiler::java::IsMapField (const FieldDescriptor *descriptor)
 
template<typename Descriptor >
bool google::protobuf::compiler::java::IsOwnFile (const Descriptor *descriptor, bool immutable)
 
template<>
bool google::protobuf::compiler::java::IsOwnFile (const ServiceDescriptor *descriptor, bool immutable)
 
bool google::protobuf::compiler::java::IsProto2 (const FileDescriptor *descriptor)
 
bool google::protobuf::compiler::java::IsRealOneof (const FieldDescriptor *descriptor)
 
bool google::protobuf::compiler::java::IsReferenceType (JavaType type)
 
bool google::protobuf::compiler::java::IsWrappersProtoFile (const FileDescriptor *descriptor)
 
std::string google::protobuf::compiler::java::JavaPackageToDir (std::string package_name)
 
const char * google::protobuf::compiler::java::KotlinTypeName (JavaType type)
 
template<typename Descriptor >
void google::protobuf::compiler::java::MaybePrintGeneratedAnnotation (Context *context, io::Printer *printer, Descriptor *descriptor, bool immutable, const std::string &suffix="")
 
bool google::protobuf::compiler::java::MultipleJavaFiles (const FileDescriptor *descriptor, bool immutable)
 
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)
 
std::string google::protobuf::compiler::java::ShortMutableJavaClassName (const Descriptor *descriptor)
 
const FieldDescriptor ** google::protobuf::compiler::java::SortFieldsByNumber (const Descriptor *descriptor)
 
bool google::protobuf::compiler::java::SupportUnknownEnumValue (const FieldDescriptor *field)
 
bool google::protobuf::compiler::java::SupportUnknownEnumValue (const FileDescriptor *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::WriteIntToUtf16CharSequence (int value, std::vector< uint16 > *output)
 
void google::protobuf::compiler::java::WriteUInt32ToUtf16CharSequence (uint32 number, std::vector< uint16 > *output)
 


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