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

Classes

class  ClassNameResolver
 
class  Context
 
class  EnumGenerator
 
class  EnumLiteGenerator
 
class  ExtensionGenerator
 
struct  ExtensionRangeOrdering
 
struct  FieldGeneratorInfo
 
class  FieldGeneratorMap
 
struct  FieldOrderingByNumber
 
class  FileGenerator
 
class  GeneratorFactory
 
class  ImmutableEnumFieldGenerator
 
class  ImmutableEnumFieldLiteGenerator
 
class  ImmutableEnumOneofFieldGenerator
 
class  ImmutableEnumOneofFieldLiteGenerator
 
class  ImmutableExtensionGenerator
 
class  ImmutableExtensionLiteGenerator
 
class  ImmutableFieldGenerator
 
class  ImmutableFieldLiteGenerator
 
class  ImmutableGeneratorFactory
 
class  ImmutableMapFieldGenerator
 
class  ImmutableMapFieldLiteGenerator
 
class  ImmutableMessageFieldGenerator
 
class  ImmutableMessageFieldLiteGenerator
 
class  ImmutableMessageGenerator
 
class  ImmutableMessageLiteGenerator
 
class  ImmutableMessageOneofFieldGenerator
 
class  ImmutableMessageOneofFieldLiteGenerator
 
class  ImmutablePrimitiveFieldGenerator
 
class  ImmutablePrimitiveFieldLiteGenerator
 
class  ImmutablePrimitiveOneofFieldGenerator
 
class  ImmutablePrimitiveOneofFieldLiteGenerator
 
class  ImmutableServiceGenerator
 
class  ImmutableStringFieldGenerator
 
class  ImmutableStringFieldLiteGenerator
 
class  ImmutableStringOneofFieldGenerator
 
class  ImmutableStringOneofFieldLiteGenerator
 
class  JavaGenerator
 
class  KotlinGenerator
 
class  MessageBuilderGenerator
 
class  MessageBuilderLiteGenerator
 
class  MessageGenerator
 
struct  OneofGeneratorInfo
 
struct  Options
 
class  RepeatedImmutableEnumFieldGenerator
 
class  RepeatedImmutableEnumFieldLiteGenerator
 
class  RepeatedImmutableMessageFieldGenerator
 
class  RepeatedImmutableMessageFieldLiteGenerator
 
class  RepeatedImmutablePrimitiveFieldGenerator
 
class  RepeatedImmutablePrimitiveFieldLiteGenerator
 
class  RepeatedImmutableStringFieldGenerator
 
class  RepeatedImmutableStringFieldLiteGenerator
 
class  ServiceGenerator
 
class  SharedCodeGenerator
 

Enumerations

enum  FieldAccessorType {
  HAZZER, GETTER, SETTER, CLEARER,
  LIST_COUNT, LIST_GETTER, LIST_INDEXED_GETTER, LIST_INDEXED_SETTER,
  LIST_ADDER, LIST_MULTI_ADDER, HAZZER, GETTER,
  SETTER, CLEARER, LIST_COUNT, LIST_GETTER,
  LIST_INDEXED_GETTER, LIST_INDEXED_SETTER, LIST_ADDER, LIST_MULTI_ADDER
}
 
enum  FieldAccessorType {
  HAZZER, GETTER, SETTER, CLEARER,
  LIST_COUNT, LIST_GETTER, LIST_INDEXED_GETTER, LIST_INDEXED_SETTER,
  LIST_ADDER, LIST_MULTI_ADDER, HAZZER, GETTER,
  SETTER, CLEARER, LIST_COUNT, LIST_GETTER,
  LIST_INDEXED_GETTER, LIST_INDEXED_SETTER, LIST_ADDER, LIST_MULTI_ADDER
}
 
enum  JavaType {
  JAVATYPE_INT, JAVATYPE_LONG, JAVATYPE_FLOAT, JAVATYPE_DOUBLE,
  JAVATYPE_BOOLEAN, JAVATYPE_STRING, JAVATYPE_BYTES, JAVATYPE_ENUM,
  JAVATYPE_MESSAGE, JAVATYPE_INT, JAVATYPE_LONG, JAVATYPE_FLOAT,
  JAVATYPE_DOUBLE, JAVATYPE_BOOLEAN, JAVATYPE_STRING, JAVATYPE_BYTES,
  JAVATYPE_ENUM, JAVATYPE_MESSAGE
}
 
enum  JavaType {
  JAVATYPE_INT, JAVATYPE_LONG, JAVATYPE_FLOAT, JAVATYPE_DOUBLE,
  JAVATYPE_BOOLEAN, JAVATYPE_STRING, JAVATYPE_BYTES, JAVATYPE_ENUM,
  JAVATYPE_MESSAGE, JAVATYPE_INT, JAVATYPE_LONG, JAVATYPE_FLOAT,
  JAVATYPE_DOUBLE, JAVATYPE_BOOLEAN, JAVATYPE_STRING, JAVATYPE_BYTES,
  JAVATYPE_ENUM, JAVATYPE_MESSAGE
}
 
enum  NameEquality {
  NO_MATCH, EXACT_EQUAL, EQUAL_IGNORE_CASE, NO_MATCH,
  EXACT_EQUAL, EQUAL_IGNORE_CASE
}
 
enum  NameEquality {
  NO_MATCH, EXACT_EQUAL, EQUAL_IGNORE_CASE, NO_MATCH,
  EXACT_EQUAL, EQUAL_IGNORE_CASE
}
 

Functions

bool AllAscii (const std::string &text)
 
template<typename Descriptor >
std::string AnnotationFileName (const Descriptor *descriptor, const std::string &suffix)
 
const char * BoxedPrimitiveTypeName (const FieldDescriptor *descriptor)
 
const char * BoxedPrimitiveTypeName (JavaType type)
 
std::string CamelCaseFieldName (const FieldDescriptor *field)
 
std::string CapitalizedFieldName (const FieldDescriptor *field)
 
bool CheckUtf8 (const FieldDescriptor *descriptor)
 
std::string ClassName (const Descriptor *descriptor)
 
std::string ClassName (const EnumDescriptor *descriptor)
 
std::string ClassName (const FileDescriptor *descriptor)
 
std::string ClassName (const ServiceDescriptor *descriptor)
 
std::string DefaultValue (const FieldDescriptor *field, bool immutable, ClassNameResolver *name_resolver)
 
std::string EscapeJavadoc (const std::string &input)
 
void EscapeUtf16ToString (uint16 code, std::string *output)
 
bool ExposePublicParser (const FileDescriptor *descriptor)
 
std::string ExtraBuilderInterfaces (const Descriptor *descriptor)
 
std::string ExtraMessageInterfaces (const Descriptor *descriptor)
 
std::string ExtraMessageOrBuilderInterfaces (const Descriptor *descriptor)
 
std::string ExtraMutableMessageInterfaces (const Descriptor *descriptor)
 
std::string FieldConstantName (const FieldDescriptor *field)
 
const char * FieldTypeName (FieldDescriptor::Type field_type)
 
std::string FileClassName (const FileDescriptor *file, bool immutable)
 
std::string FileJavaPackage (const FileDescriptor *file)
 
std::string FileJavaPackage (const FileDescriptor *file, bool immutable)
 
static std::string FirstLineOf (const std::string &value)
 
static std::string FirstLineOf (const std::string &value)
 
int FixedSize (FieldDescriptor::Type type)
 
std::string GenerateClearBit (int bitIndex)
 
std::string GeneratedCodeVersionSuffix ()
 
std::string GenerateGetBit (int bitIndex)
 
std::string GenerateGetBitFromLocal (int bitIndex)
 
std::string GenerateGetBitMutableLocal (int bitIndex)
 
std::string GenerateSetBit (int bitIndex)
 
std::string GenerateSetBitMutableLocal (int bitIndex)
 
std::string GenerateSetBitToLocal (int bitIndex)
 
template<typename GeneratorClass , typename DescriptorClass >
static void GenerateSibling (const std::string &package_dir, const std::string &java_package, const DescriptorClass *descriptor, GeneratorContext *context, std::vector< std::string > *file_list, bool annotate_code, std::vector< std::string > *annotation_list, const std::string &name_suffix, GeneratorClass *generator, void(GeneratorClass::*pfn)(io::Printer *printer))
 
template<typename GeneratorClass , typename DescriptorClass >
static void GenerateSibling (const std::string &package_dir, const std::string &java_package, const DescriptorClass *descriptor, GeneratorContext *context, std::vector< std::string > *file_list, bool annotate_code, std::vector< std::string > *annotation_list, const std::string &name_suffix, GeneratorClass *generator, void(GeneratorClass::*pfn)(io::Printer *printer))
 
std::string GetBitFieldName (int index)
 
std::string GetBitFieldNameForBit (int bitIndex)
 
const char * GetCapitalizedType (const FieldDescriptor *field, bool immutable)
 
int GetExperimentalJavaFieldType (const FieldDescriptor *field)
 
int GetExperimentalJavaFieldTypeForPacked (const FieldDescriptor *field)
 
int GetExperimentalJavaFieldTypeForRepeated (const FieldDescriptor *field)
 
int GetExperimentalJavaFieldTypeForSingular (const FieldDescriptor *field)
 
JavaType GetJavaType (const FieldDescriptor *field)
 
std::string GetOneofStoredType (const FieldDescriptor *field)
 
std::pair< int, intGetTableDrivenNumberOfEntriesAndLookUpStartFieldNumber (const FieldDescriptor **fields, int count)
 
FieldDescriptor::Type GetType (const FieldDescriptor *field)
 
bool HasDescriptorMethods (const Descriptor *descriptor, bool enforce_lite)
 
bool HasDescriptorMethods (const EnumDescriptor *descriptor, bool enforce_lite)
 
bool HasDescriptorMethods (const FileDescriptor *descriptor, bool enforce_lite)
 
bool HasGenericServices (const FileDescriptor *file, bool enforce_lite)
 
bool HasHasbit (const FieldDescriptor *descriptor)
 
bool HasHazzer (const FieldDescriptor *descriptor)
 
bool HasPackedFields (const Descriptor *descriptor)
 
bool HasRepeatedFields (const Descriptor *descriptor)
 
bool HasRequiredFields (const Descriptor *type)
 
bool HasRequiredFields (const Descriptor *type, std::unordered_set< const Descriptor * > *already_seen)
 
std::string ImmutableDefaultValue (const FieldDescriptor *field, ClassNameResolver *name_resolver)
 
bool IsAnyMessage (const Descriptor *descriptor)
 
bool IsByteStringWithCustomDefaultValue (const FieldDescriptor *field)
 
bool IsDefaultValueJavaDefault (const FieldDescriptor *field)
 
bool IsDescriptorProto (const Descriptor *descriptor)
 
bool IsForbiddenKotlin (const std::string &field_name)
 
bool IsMapEntry (const Descriptor *descriptor)
 
bool IsMapField (const FieldDescriptor *descriptor)
 
template<typename Descriptor >
bool IsOwnFile (const Descriptor *descriptor, bool immutable)
 
template<>
bool IsOwnFile (const ServiceDescriptor *descriptor, bool immutable)
 
bool IsProto2 (const FileDescriptor *descriptor)
 
bool IsRealOneof (const FieldDescriptor *descriptor)
 
bool IsReferenceType (JavaType type)
 
bool IsWrappersProtoFile (const FileDescriptor *descriptor)
 
std::string JavaPackageToDir (std::string package_name)
 
const char * KotlinTypeName (JavaType type)
 
template<typename Descriptor >
void MaybePrintGeneratedAnnotation (Context *context, io::Printer *printer, Descriptor *descriptor, bool immutable, const std::string &suffix="")
 
bool MultipleJavaFiles (const FileDescriptor *descriptor, bool immutable)
 
const char * PrimitiveTypeName (const FieldDescriptor *descriptor)
 
const char * PrimitiveTypeName (JavaType type)
 
void 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 PrintExtraFieldInfo (const std::map< std::string, std::string > &variables, io::Printer *printer)
 
void PrintGeneratedAnnotation (io::Printer *printer, char delimiter, const std::string &annotation_file)
 
void SetCommonFieldVariables (const FieldDescriptor *descriptor, const FieldGeneratorInfo *info, std::map< std::string, std::string > *variables)
 
void SetCommonOneofVariables (const FieldDescriptor *descriptor, const OneofGeneratorInfo *info, std::map< std::string, std::string > *variables)
 
std::string ShortMutableJavaClassName (const Descriptor *descriptor)
 
const FieldDescriptor ** SortFieldsByNumber (const Descriptor *descriptor)
 
std::string StripProto (const std::string &filename)
 
bool SupportFieldPresence (const FileDescriptor *descriptor)
 
bool SupportUnknownEnumValue (const FieldDescriptor *field)
 
bool SupportUnknownEnumValue (const FileDescriptor *descriptor)
 
std::string ToCamelCase (const std::string &input, bool lower_first)
 
char ToLowerCh (char ch)
 
char ToUpperCh (char ch)
 
std::string UnderscoresToCamelCase (const FieldDescriptor *field)
 
std::string UnderscoresToCamelCase (const MethodDescriptor *method)
 
std::string UnderscoresToCamelCase (const std::string &input, bool cap_next_letter)
 
std::string UnderscoresToCamelCaseCheckReserved (const FieldDescriptor *field)
 
std::string UnderscoresToCapitalizedCamelCase (const FieldDescriptor *field)
 
std::string UniqueFileScopeIdentifier (const Descriptor *descriptor)
 
void WriteDeprecatedJavadoc (io::Printer *printer, const FieldDescriptor *field, const FieldAccessorType type)
 
template<typename DescriptorType >
static void WriteDocCommentBody (io::Printer *printer, const DescriptorType *descriptor)
 
template<typename DescriptorType >
static void WriteDocCommentBody (io::Printer *printer, const DescriptorType *descriptor)
 
static void WriteDocCommentBodyForLocation (io::Printer *printer, const SourceLocation &location)
 
static void WriteDocCommentBodyForLocation (io::Printer *printer, const SourceLocation &location)
 
void WriteEnumDocComment (io::Printer *printer, const EnumDescriptor *enum_)
 
void WriteEnumValueDocComment (io::Printer *printer, const EnumValueDescriptor *value)
 
void WriteFieldAccessorDocComment (io::Printer *printer, const FieldDescriptor *field, const FieldAccessorType type, const bool builder)
 
void WriteFieldDocComment (io::Printer *printer, const FieldDescriptor *field)
 
void WriteFieldEnumValueAccessorDocComment (io::Printer *printer, const FieldDescriptor *field, const FieldAccessorType type, const bool builder)
 
void WriteFieldStringBytesAccessorDocComment (io::Printer *printer, const FieldDescriptor *field, const FieldAccessorType type, const bool builder)
 
void WriteIntToUtf16CharSequence (int value, std::vector< uint16 > *output)
 
void WriteMessageDocComment (io::Printer *printer, const Descriptor *message)
 
void WriteMethodDocComment (io::Printer *printer, const MethodDescriptor *method)
 
void WriteServiceDocComment (io::Printer *printer, const ServiceDescriptor *service)
 
void WriteUInt32ToUtf16CharSequence (uint32 number, std::vector< uint16 > *output)
 

Variables

const char * bit_masks []
 
static const int kMaxStaticSize = 1 << 15
 
static const int kMaxStaticSize = 1 << 15
 
const char kThickSeparator []
 
const char kThinSeparator []
 

Enumeration Type Documentation

◆ FieldAccessorType [1/2]

Enumerator
HAZZER 
GETTER 
SETTER 
CLEARER 
LIST_COUNT 
LIST_GETTER 
LIST_INDEXED_GETTER 
LIST_INDEXED_SETTER 
LIST_ADDER 
LIST_MULTI_ADDER 
HAZZER 
GETTER 
SETTER 
CLEARER 
LIST_COUNT 
LIST_GETTER 
LIST_INDEXED_GETTER 
LIST_INDEXED_SETTER 
LIST_ADDER 
LIST_MULTI_ADDER 

Definition at line 55 of file bloaty/third_party/protobuf/src/google/protobuf/compiler/java/java_doc_comment.h.

◆ FieldAccessorType [2/2]

Enumerator
HAZZER 
GETTER 
SETTER 
CLEARER 
LIST_COUNT 
LIST_GETTER 
LIST_INDEXED_GETTER 
LIST_INDEXED_SETTER 
LIST_ADDER 
LIST_MULTI_ADDER 
HAZZER 
GETTER 
SETTER 
CLEARER 
LIST_COUNT 
LIST_GETTER 
LIST_INDEXED_GETTER 
LIST_INDEXED_SETTER 
LIST_ADDER 
LIST_MULTI_ADDER 

Definition at line 55 of file protobuf/src/google/protobuf/compiler/java/java_doc_comment.h.

◆ JavaType [1/2]

Enumerator
JAVATYPE_INT 
JAVATYPE_LONG 
JAVATYPE_FLOAT 
JAVATYPE_DOUBLE 
JAVATYPE_BOOLEAN 
JAVATYPE_STRING 
JAVATYPE_BYTES 
JAVATYPE_ENUM 
JAVATYPE_MESSAGE 
JAVATYPE_INT 
JAVATYPE_LONG 
JAVATYPE_FLOAT 
JAVATYPE_DOUBLE 
JAVATYPE_BOOLEAN 
JAVATYPE_STRING 
JAVATYPE_BYTES 
JAVATYPE_ENUM 
JAVATYPE_MESSAGE 

Definition at line 205 of file bloaty/third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.h.

◆ JavaType [2/2]

Enumerator
JAVATYPE_INT 
JAVATYPE_LONG 
JAVATYPE_FLOAT 
JAVATYPE_DOUBLE 
JAVATYPE_BOOLEAN 
JAVATYPE_STRING 
JAVATYPE_BYTES 
JAVATYPE_ENUM 
JAVATYPE_MESSAGE 
JAVATYPE_INT 
JAVATYPE_LONG 
JAVATYPE_FLOAT 
JAVATYPE_DOUBLE 
JAVATYPE_BOOLEAN 
JAVATYPE_STRING 
JAVATYPE_BYTES 
JAVATYPE_ENUM 
JAVATYPE_MESSAGE 

Definition at line 207 of file protobuf/src/google/protobuf/compiler/java/java_helpers.h.

◆ NameEquality [1/2]

Enumerator
NO_MATCH 
EXACT_EQUAL 
EQUAL_IGNORE_CASE 
NO_MATCH 
EXACT_EQUAL 
EQUAL_IGNORE_CASE 

Definition at line 51 of file bloaty/third_party/protobuf/src/google/protobuf/compiler/java/java_name_resolver.h.

◆ NameEquality [2/2]

Enumerator
NO_MATCH 
EXACT_EQUAL 
EQUAL_IGNORE_CASE 
NO_MATCH 
EXACT_EQUAL 
EQUAL_IGNORE_CASE 

Definition at line 51 of file protobuf/src/google/protobuf/compiler/java/java_name_resolver.h.

Function Documentation

◆ AllAscii()

bool google::protobuf::compiler::java::AllAscii ( const std::string &  text)

◆ AnnotationFileName()

template<typename Descriptor >
std::string google::protobuf::compiler::java::AnnotationFileName ( const Descriptor descriptor,
const std::string &  suffix 
)

◆ BoxedPrimitiveTypeName() [1/2]

const char * google::protobuf::compiler::java::BoxedPrimitiveTypeName ( const FieldDescriptor descriptor)

◆ BoxedPrimitiveTypeName() [2/2]

const char * google::protobuf::compiler::java::BoxedPrimitiveTypeName ( JavaType  type)

◆ CamelCaseFieldName()

std::string google::protobuf::compiler::java::CamelCaseFieldName ( const FieldDescriptor field)

◆ CapitalizedFieldName()

std::string google::protobuf::compiler::java::CapitalizedFieldName ( const FieldDescriptor field)

◆ CheckUtf8()

bool google::protobuf::compiler::java::CheckUtf8 ( const FieldDescriptor descriptor)
inline

◆ ClassName() [1/4]

std::string google::protobuf::compiler::java::ClassName ( const Descriptor descriptor)

◆ ClassName() [2/4]

std::string google::protobuf::compiler::java::ClassName ( const EnumDescriptor descriptor)

◆ ClassName() [3/4]

std::string google::protobuf::compiler::java::ClassName ( const FileDescriptor descriptor)

◆ ClassName() [4/4]

std::string google::protobuf::compiler::java::ClassName ( const ServiceDescriptor descriptor)

◆ DefaultValue()

std::string google::protobuf::compiler::java::DefaultValue ( const FieldDescriptor field,
bool  immutable,
ClassNameResolver name_resolver 
)

◆ EscapeJavadoc()

PROTOC_EXPORT std::string google::protobuf::compiler::java::EscapeJavadoc ( const std::string &  input)

◆ EscapeUtf16ToString()

void google::protobuf::compiler::java::EscapeUtf16ToString ( uint16  code,
std::string *  output 
)

◆ ExposePublicParser()

bool google::protobuf::compiler::java::ExposePublicParser ( const FileDescriptor descriptor)
inline

◆ ExtraBuilderInterfaces()

std::string google::protobuf::compiler::java::ExtraBuilderInterfaces ( const Descriptor descriptor)

◆ ExtraMessageInterfaces()

std::string google::protobuf::compiler::java::ExtraMessageInterfaces ( const Descriptor descriptor)

◆ ExtraMessageOrBuilderInterfaces()

std::string google::protobuf::compiler::java::ExtraMessageOrBuilderInterfaces ( const Descriptor descriptor)

◆ ExtraMutableMessageInterfaces()

std::string google::protobuf::compiler::java::ExtraMutableMessageInterfaces ( const Descriptor descriptor)

◆ FieldConstantName()

std::string google::protobuf::compiler::java::FieldConstantName ( const FieldDescriptor field)

◆ FieldTypeName()

const char * google::protobuf::compiler::java::FieldTypeName ( FieldDescriptor::Type  field_type)

◆ FileClassName()

std::string google::protobuf::compiler::java::FileClassName ( const FileDescriptor file,
bool  immutable 
)

◆ FileJavaPackage() [1/2]

std::string google::protobuf::compiler::java::FileJavaPackage ( const FileDescriptor file)

◆ FileJavaPackage() [2/2]

std::string google::protobuf::compiler::java::FileJavaPackage ( const FileDescriptor file,
bool  immutable 
)

◆ FirstLineOf() [1/2]

static std::string google::protobuf::compiler::java::FirstLineOf ( const std::string &  value)
static

◆ FirstLineOf() [2/2]

static std::string google::protobuf::compiler::java::FirstLineOf ( const std::string &  value)
static

◆ FixedSize()

int google::protobuf::compiler::java::FixedSize ( FieldDescriptor::Type  type)

◆ GenerateClearBit()

std::string google::protobuf::compiler::java::GenerateClearBit ( int  bitIndex)

◆ GeneratedCodeVersionSuffix()

std::string google::protobuf::compiler::java::GeneratedCodeVersionSuffix ( )
inline

◆ GenerateGetBit()

std::string google::protobuf::compiler::java::GenerateGetBit ( int  bitIndex)

◆ GenerateGetBitFromLocal()

std::string google::protobuf::compiler::java::GenerateGetBitFromLocal ( int  bitIndex)

◆ GenerateGetBitMutableLocal()

std::string google::protobuf::compiler::java::GenerateGetBitMutableLocal ( int  bitIndex)

◆ GenerateSetBit()

std::string google::protobuf::compiler::java::GenerateSetBit ( int  bitIndex)

◆ GenerateSetBitMutableLocal()

std::string google::protobuf::compiler::java::GenerateSetBitMutableLocal ( int  bitIndex)

◆ GenerateSetBitToLocal()

std::string google::protobuf::compiler::java::GenerateSetBitToLocal ( int  bitIndex)

◆ GenerateSibling() [1/2]

template<typename GeneratorClass , typename DescriptorClass >
static void google::protobuf::compiler::java::GenerateSibling ( const std::string &  package_dir,
const std::string &  java_package,
const DescriptorClass *  descriptor,
GeneratorContext context,
std::vector< std::string > *  file_list,
bool  annotate_code,
std::vector< std::string > *  annotation_list,
const std::string &  name_suffix,
GeneratorClass *  generator,
void(GeneratorClass::*)(io::Printer *printer)  pfn 
)
static

◆ GenerateSibling() [2/2]

template<typename GeneratorClass , typename DescriptorClass >
static void google::protobuf::compiler::java::GenerateSibling ( const std::string &  package_dir,
const std::string &  java_package,
const DescriptorClass *  descriptor,
GeneratorContext context,
std::vector< std::string > *  file_list,
bool  annotate_code,
std::vector< std::string > *  annotation_list,
const std::string &  name_suffix,
GeneratorClass *  generator,
void(GeneratorClass::*)(io::Printer *printer)  pfn 
)
static

◆ GetBitFieldName()

std::string google::protobuf::compiler::java::GetBitFieldName ( int  index)

◆ GetBitFieldNameForBit()

std::string google::protobuf::compiler::java::GetBitFieldNameForBit ( int  bitIndex)

◆ GetCapitalizedType()

const char * google::protobuf::compiler::java::GetCapitalizedType ( const FieldDescriptor field,
bool  immutable 
)

◆ GetExperimentalJavaFieldType()

int google::protobuf::compiler::java::GetExperimentalJavaFieldType ( const FieldDescriptor field)

◆ GetExperimentalJavaFieldTypeForPacked()

int google::protobuf::compiler::java::GetExperimentalJavaFieldTypeForPacked ( const FieldDescriptor field)

◆ GetExperimentalJavaFieldTypeForRepeated()

int google::protobuf::compiler::java::GetExperimentalJavaFieldTypeForRepeated ( const FieldDescriptor field)

◆ GetExperimentalJavaFieldTypeForSingular()

int google::protobuf::compiler::java::GetExperimentalJavaFieldTypeForSingular ( const FieldDescriptor field)

◆ GetJavaType()

JavaType google::protobuf::compiler::java::GetJavaType ( const FieldDescriptor field)

◆ GetOneofStoredType()

std::string google::protobuf::compiler::java::GetOneofStoredType ( const FieldDescriptor field)

◆ GetTableDrivenNumberOfEntriesAndLookUpStartFieldNumber()

std::pair< int, int > google::protobuf::compiler::java::GetTableDrivenNumberOfEntriesAndLookUpStartFieldNumber ( const FieldDescriptor **  fields,
int  count 
)

◆ GetType()

FieldDescriptor::Type google::protobuf::compiler::java::GetType ( const FieldDescriptor field)

◆ HasDescriptorMethods() [1/3]

bool google::protobuf::compiler::java::HasDescriptorMethods ( const Descriptor descriptor,
bool  enforce_lite 
)
inline

◆ HasDescriptorMethods() [2/3]

bool google::protobuf::compiler::java::HasDescriptorMethods ( const EnumDescriptor descriptor,
bool  enforce_lite 
)
inline

◆ HasDescriptorMethods() [3/3]

bool google::protobuf::compiler::java::HasDescriptorMethods ( const FileDescriptor descriptor,
bool  enforce_lite 
)
inline

◆ HasGenericServices()

bool google::protobuf::compiler::java::HasGenericServices ( const FileDescriptor file,
bool  enforce_lite 
)
inline

◆ HasHasbit()

bool google::protobuf::compiler::java::HasHasbit ( const FieldDescriptor descriptor)
inline

◆ HasHazzer()

bool google::protobuf::compiler::java::HasHazzer ( const FieldDescriptor descriptor)
inline

◆ HasPackedFields()

bool google::protobuf::compiler::java::HasPackedFields ( const Descriptor descriptor)
inline

◆ HasRepeatedFields()

bool google::protobuf::compiler::java::HasRepeatedFields ( const Descriptor descriptor)

◆ HasRequiredFields() [1/2]

bool google::protobuf::compiler::java::HasRequiredFields ( const Descriptor type)

◆ HasRequiredFields() [2/2]

bool google::protobuf::compiler::java::HasRequiredFields ( const Descriptor type,
std::unordered_set< const Descriptor * > *  already_seen 
)

◆ ImmutableDefaultValue()

std::string google::protobuf::compiler::java::ImmutableDefaultValue ( const FieldDescriptor field,
ClassNameResolver name_resolver 
)
inline

◆ IsAnyMessage()

bool google::protobuf::compiler::java::IsAnyMessage ( const Descriptor descriptor)
inline

◆ IsByteStringWithCustomDefaultValue()

bool google::protobuf::compiler::java::IsByteStringWithCustomDefaultValue ( const FieldDescriptor field)

◆ IsDefaultValueJavaDefault()

bool google::protobuf::compiler::java::IsDefaultValueJavaDefault ( const FieldDescriptor field)

◆ IsDescriptorProto()

bool google::protobuf::compiler::java::IsDescriptorProto ( const Descriptor descriptor)
inline

◆ IsForbiddenKotlin()

bool google::protobuf::compiler::java::IsForbiddenKotlin ( const std::string &  field_name)

◆ IsMapEntry()

bool google::protobuf::compiler::java::IsMapEntry ( const Descriptor descriptor)
inline

◆ IsMapField()

bool google::protobuf::compiler::java::IsMapField ( const FieldDescriptor descriptor)
inline

◆ IsOwnFile() [1/2]

template<typename Descriptor >
bool google::protobuf::compiler::java::IsOwnFile ( const Descriptor descriptor,
bool  immutable 
)

◆ IsOwnFile() [2/2]

template<>
bool google::protobuf::compiler::java::IsOwnFile ( const ServiceDescriptor descriptor,
bool  immutable 
)
inline

◆ IsProto2()

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

◆ IsRealOneof()

bool google::protobuf::compiler::java::IsRealOneof ( const FieldDescriptor descriptor)
inline

◆ IsReferenceType()

bool google::protobuf::compiler::java::IsReferenceType ( JavaType  type)

◆ IsWrappersProtoFile()

bool google::protobuf::compiler::java::IsWrappersProtoFile ( const FileDescriptor descriptor)
inline

◆ JavaPackageToDir()

std::string google::protobuf::compiler::java::JavaPackageToDir ( std::string  package_name)

◆ KotlinTypeName()

const char * google::protobuf::compiler::java::KotlinTypeName ( JavaType  type)

◆ MaybePrintGeneratedAnnotation()

template<typename Descriptor >
void google::protobuf::compiler::java::MaybePrintGeneratedAnnotation ( Context context,
io::Printer printer,
Descriptor descriptor,
bool  immutable,
const std::string &  suffix = "" 
)

◆ MultipleJavaFiles()

bool google::protobuf::compiler::java::MultipleJavaFiles ( const FileDescriptor descriptor,
bool  immutable 
)
inline

◆ PrimitiveTypeName() [1/2]

const char * google::protobuf::compiler::java::PrimitiveTypeName ( const FieldDescriptor descriptor)

◆ PrimitiveTypeName() [2/2]

const char * google::protobuf::compiler::java::PrimitiveTypeName ( JavaType  type)

◆ PrintEnumVerifierLogic()

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 
)

◆ PrintExtraFieldInfo()

void google::protobuf::compiler::java::PrintExtraFieldInfo ( const std::map< std::string, std::string > &  variables,
io::Printer printer 
)

◆ PrintGeneratedAnnotation()

void google::protobuf::compiler::java::PrintGeneratedAnnotation ( io::Printer printer,
char  delimiter,
const std::string &  annotation_file 
)

◆ SetCommonFieldVariables()

void google::protobuf::compiler::java::SetCommonFieldVariables ( const FieldDescriptor descriptor,
const FieldGeneratorInfo info,
std::map< std::string, std::string > *  variables 
)

◆ SetCommonOneofVariables()

void google::protobuf::compiler::java::SetCommonOneofVariables ( const FieldDescriptor descriptor,
const OneofGeneratorInfo info,
std::map< std::string, std::string > *  variables 
)

◆ ShortMutableJavaClassName()

std::string google::protobuf::compiler::java::ShortMutableJavaClassName ( const Descriptor descriptor)
inline

◆ SortFieldsByNumber()

const FieldDescriptor ** google::protobuf::compiler::java::SortFieldsByNumber ( const Descriptor descriptor)

◆ StripProto()

std::string google::protobuf::compiler::java::StripProto ( const std::string &  filename)

◆ SupportFieldPresence()

bool google::protobuf::compiler::java::SupportFieldPresence ( const FileDescriptor descriptor)
inline

◆ SupportUnknownEnumValue() [1/2]

bool google::protobuf::compiler::java::SupportUnknownEnumValue ( const FieldDescriptor field)
inline

◆ SupportUnknownEnumValue() [2/2]

bool google::protobuf::compiler::java::SupportUnknownEnumValue ( const FileDescriptor descriptor)
inline

◆ ToCamelCase()

std::string google::protobuf::compiler::java::ToCamelCase ( const std::string &  input,
bool  lower_first 
)

◆ ToLowerCh()

char google::protobuf::compiler::java::ToLowerCh ( char  ch)

◆ ToUpperCh()

char google::protobuf::compiler::java::ToUpperCh ( char  ch)

◆ UnderscoresToCamelCase() [1/3]

std::string google::protobuf::compiler::java::UnderscoresToCamelCase ( const FieldDescriptor field)

◆ UnderscoresToCamelCase() [2/3]

std::string google::protobuf::compiler::java::UnderscoresToCamelCase ( const MethodDescriptor method)

◆ UnderscoresToCamelCase() [3/3]

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

◆ UnderscoresToCamelCaseCheckReserved()

std::string google::protobuf::compiler::java::UnderscoresToCamelCaseCheckReserved ( const FieldDescriptor field)

◆ UnderscoresToCapitalizedCamelCase()

std::string google::protobuf::compiler::java::UnderscoresToCapitalizedCamelCase ( const FieldDescriptor field)

◆ UniqueFileScopeIdentifier()

std::string google::protobuf::compiler::java::UniqueFileScopeIdentifier ( const Descriptor descriptor)

◆ WriteDeprecatedJavadoc()

void google::protobuf::compiler::java::WriteDeprecatedJavadoc ( io::Printer printer,
const FieldDescriptor field,
const FieldAccessorType  type 
)

◆ WriteDocCommentBody() [1/2]

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

◆ WriteDocCommentBody() [2/2]

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

◆ WriteDocCommentBodyForLocation() [1/2]

static void google::protobuf::compiler::java::WriteDocCommentBodyForLocation ( io::Printer printer,
const SourceLocation location 
)
static

◆ WriteDocCommentBodyForLocation() [2/2]

static void google::protobuf::compiler::java::WriteDocCommentBodyForLocation ( io::Printer printer,
const SourceLocation location 
)
static

◆ WriteEnumDocComment()

void google::protobuf::compiler::java::WriteEnumDocComment ( io::Printer printer,
const EnumDescriptor enum_ 
)

◆ WriteEnumValueDocComment()

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

◆ WriteFieldAccessorDocComment()

void google::protobuf::compiler::java::WriteFieldAccessorDocComment ( io::Printer printer,
const FieldDescriptor field,
const FieldAccessorType  type,
const bool  builder 
)

◆ WriteFieldDocComment()

void google::protobuf::compiler::java::WriteFieldDocComment ( io::Printer printer,
const FieldDescriptor field 
)

◆ WriteFieldEnumValueAccessorDocComment()

void google::protobuf::compiler::java::WriteFieldEnumValueAccessorDocComment ( io::Printer printer,
const FieldDescriptor field,
const FieldAccessorType  type,
const bool  builder 
)

◆ WriteFieldStringBytesAccessorDocComment()

void google::protobuf::compiler::java::WriteFieldStringBytesAccessorDocComment ( io::Printer printer,
const FieldDescriptor field,
const FieldAccessorType  type,
const bool  builder 
)

◆ WriteIntToUtf16CharSequence()

void google::protobuf::compiler::java::WriteIntToUtf16CharSequence ( int  value,
std::vector< uint16 > *  output 
)
inline

◆ WriteMessageDocComment()

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

◆ WriteMethodDocComment()

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

◆ WriteServiceDocComment()

void google::protobuf::compiler::java::WriteServiceDocComment ( io::Printer printer,
const ServiceDescriptor service 
)

◆ WriteUInt32ToUtf16CharSequence()

void google::protobuf::compiler::java::WriteUInt32ToUtf16CharSequence ( uint32  number,
std::vector< uint16 > *  output 
)

Variable Documentation

◆ bit_masks

const char * google::protobuf::compiler::java::bit_masks
Initial value:
= {
"0x00000001", "0x00000002", "0x00000004", "0x00000008",
"0x00000010", "0x00000020", "0x00000040", "0x00000080",
"0x00000100", "0x00000200", "0x00000400", "0x00000800",
"0x00001000", "0x00002000", "0x00004000", "0x00008000",
"0x00010000", "0x00020000", "0x00040000", "0x00080000",
"0x00100000", "0x00200000", "0x00400000", "0x00800000",
"0x01000000", "0x02000000", "0x04000000", "0x08000000",
"0x10000000", "0x20000000", "0x40000000", "0x80000000",
}

Definition at line 615 of file bloaty/third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc.

◆ kMaxStaticSize [1/2]

const int google::protobuf::compiler::java::kMaxStaticSize = 1 << 15
static

◆ kMaxStaticSize [2/2]

const int google::protobuf::compiler::java::kMaxStaticSize = 1 << 15
static

◆ kThickSeparator

const char google::protobuf::compiler::java::kThickSeparator
Initial value:
=
"// ===================================================================\n"

Definition at line 58 of file bloaty/third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc.

◆ kThinSeparator

const char google::protobuf::compiler::java::kThinSeparator
Initial value:
=
"// -------------------------------------------------------------------\n"

Definition at line 60 of file bloaty/third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc.



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