Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Static Private Attributes | List of all members
com.google.protobuf.Proto2MessageInfoFactory Class Reference
Inheritance diagram for com.google.protobuf.Proto2MessageInfoFactory:
Inheritance graph
[legend]

Public Member Functions

boolean isSupported (Class<?> clazz)
 
boolean isSupported (Class<?> clazz)
 
MessageInfo messageInfoFor (Class<?> clazz)
 
MessageInfo messageInfoFor (Class<?> clazz)
 

Static Public Member Functions

static Proto2MessageInfoFactory getInstance ()
 
static Proto2MessageInfoFactory getInstance ()
 

Private Member Functions

 Proto2MessageInfoFactory ()
 
 Proto2MessageInfoFactory ()
 

Static Private Member Functions

static Internal.EnumVerifier asVerifier (final Internal.EnumLiteMap<?> map)
 
static Internal.EnumVerifier asVerifier (final Internal.EnumLiteMap<?> map)
 
static Field field (Class<?> clazz, String name)
 
static Field field (Class<?> clazz, String name)
 
static Field field (String name)
 
static Field field (String name)
 
static void lookupFieldsByName (StructuralMessageInfo.Builder builder)
 
static void lookupFieldsByName (StructuralMessageInfo.Builder builder)
 
static FieldInfo mapFieldInfo (Class<?> clazz, String fieldName, int fieldNumber)
 
static FieldInfo mapFieldInfo (Class<?> clazz, String fieldName, int fieldNumber)
 
static StructuralMessageInfo newMessageInfoForExtensionFieldGroup49 ()
 
static StructuralMessageInfo newMessageInfoForExtensionFieldGroup49 ()
 
static StructuralMessageInfo newMessageInfoForExtensionFieldGroupList51 ()
 
static StructuralMessageInfo newMessageInfoForExtensionFieldGroupList51 ()
 
static StructuralMessageInfo newMessageInfoForFieldGroup49 ()
 
static StructuralMessageInfo newMessageInfoForFieldGroup49 ()
 
static StructuralMessageInfo newMessageInfoForFieldGroup69 ()
 
static StructuralMessageInfo newMessageInfoForFieldGroup69 ()
 
static StructuralMessageInfo newMessageInfoForFieldGroupList51 ()
 
static StructuralMessageInfo newMessageInfoForFieldGroupList51 ()
 
static StructuralMessageInfo newMessageInfoForFieldRequiredGroup88 ()
 
static StructuralMessageInfo newMessageInfoForFieldRequiredGroup88 ()
 
static StructuralMessageInfo newMessageInfoForProto2Empty ()
 
static StructuralMessageInfo newMessageInfoForProto2Empty ()
 
static StructuralMessageInfo newMessageInfoForProto2Message ()
 
static StructuralMessageInfo newMessageInfoForProto2Message ()
 
static StructuralMessageInfo newMessageInfoForProto2MessageWithExtensions ()
 
static StructuralMessageInfo newMessageInfoForProto2MessageWithExtensions ()
 
static StructuralMessageInfo newMessageInfoForProto2MessageWithMaps ()
 
static StructuralMessageInfo newMessageInfoForProto2MessageWithMaps ()
 
static StructuralMessageInfo newMessageInfoForRequiredNestedMessage ()
 
static StructuralMessageInfo newMessageInfoForRequiredNestedMessage ()
 

Static Private Attributes

static final Proto2MessageInfoFactory INSTANCE = new Proto2MessageInfoFactory()
 

Detailed Description

A factory that generates a hard-coded message info for Proto2Message.

Definition at line 55 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java.

Constructor & Destructor Documentation

◆ Proto2MessageInfoFactory() [1/2]

com.google.protobuf.Proto2MessageInfoFactory.Proto2MessageInfoFactory ( )
inlineprivate

◆ Proto2MessageInfoFactory() [2/2]

com.google.protobuf.Proto2MessageInfoFactory.Proto2MessageInfoFactory ( )
inlineprivate

Member Function Documentation

◆ asVerifier() [1/2]

static Internal.EnumVerifier com.google.protobuf.Proto2MessageInfoFactory.asVerifier ( final Internal.EnumLiteMap<?>  map)
inlinestaticprivate

◆ asVerifier() [2/2]

static Internal.EnumVerifier com.google.protobuf.Proto2MessageInfoFactory.asVerifier ( final Internal.EnumLiteMap<?>  map)
inlinestaticprivate

◆ field() [1/4]

static Field com.google.protobuf.Proto2MessageInfoFactory.field ( Class<?>  clazz,
String  name 
)
inlinestaticprivate

◆ field() [2/4]

static Field com.google.protobuf.Proto2MessageInfoFactory.field ( Class<?>  clazz,
String  name 
)
inlinestaticprivate

◆ field() [3/4]

static Field com.google.protobuf.Proto2MessageInfoFactory.field ( String  name)
inlinestaticprivate

◆ field() [4/4]

static Field com.google.protobuf.Proto2MessageInfoFactory.field ( String  name)
inlinestaticprivate

◆ getInstance() [1/2]

static Proto2MessageInfoFactory com.google.protobuf.Proto2MessageInfoFactory.getInstance ( )
inlinestatic

◆ getInstance() [2/2]

static Proto2MessageInfoFactory com.google.protobuf.Proto2MessageInfoFactory.getInstance ( )
inlinestatic

◆ isSupported() [1/2]

boolean com.google.protobuf.Proto2MessageInfoFactory.isSupported ( Class<?>  clazz)
inline

◆ isSupported() [2/2]

boolean com.google.protobuf.Proto2MessageInfoFactory.isSupported ( Class<?>  clazz)
inline

◆ lookupFieldsByName() [1/2]

static void com.google.protobuf.Proto2MessageInfoFactory.lookupFieldsByName ( StructuralMessageInfo.Builder  builder)
inlinestaticprivate

◆ lookupFieldsByName() [2/2]

static void com.google.protobuf.Proto2MessageInfoFactory.lookupFieldsByName ( StructuralMessageInfo.Builder  builder)
inlinestaticprivate

◆ mapFieldInfo() [1/2]

static FieldInfo com.google.protobuf.Proto2MessageInfoFactory.mapFieldInfo ( Class<?>  clazz,
String  fieldName,
int  fieldNumber 
)
inlinestaticprivate

◆ mapFieldInfo() [2/2]

static FieldInfo com.google.protobuf.Proto2MessageInfoFactory.mapFieldInfo ( Class<?>  clazz,
String  fieldName,
int  fieldNumber 
)
inlinestaticprivate

◆ messageInfoFor() [1/2]

MessageInfo com.google.protobuf.Proto2MessageInfoFactory.messageInfoFor ( Class<?>  clazz)
inline

◆ messageInfoFor() [2/2]

MessageInfo com.google.protobuf.Proto2MessageInfoFactory.messageInfoFor ( Class<?>  clazz)
inline

◆ newMessageInfoForExtensionFieldGroup49() [1/2]

static StructuralMessageInfo com.google.protobuf.Proto2MessageInfoFactory.newMessageInfoForExtensionFieldGroup49 ( )
inlinestaticprivate

◆ newMessageInfoForExtensionFieldGroup49() [2/2]

static StructuralMessageInfo com.google.protobuf.Proto2MessageInfoFactory.newMessageInfoForExtensionFieldGroup49 ( )
inlinestaticprivate

◆ newMessageInfoForExtensionFieldGroupList51() [1/2]

static StructuralMessageInfo com.google.protobuf.Proto2MessageInfoFactory.newMessageInfoForExtensionFieldGroupList51 ( )
inlinestaticprivate

◆ newMessageInfoForExtensionFieldGroupList51() [2/2]

static StructuralMessageInfo com.google.protobuf.Proto2MessageInfoFactory.newMessageInfoForExtensionFieldGroupList51 ( )
inlinestaticprivate

◆ newMessageInfoForFieldGroup49() [1/2]

static StructuralMessageInfo com.google.protobuf.Proto2MessageInfoFactory.newMessageInfoForFieldGroup49 ( )
inlinestaticprivate

◆ newMessageInfoForFieldGroup49() [2/2]

static StructuralMessageInfo com.google.protobuf.Proto2MessageInfoFactory.newMessageInfoForFieldGroup49 ( )
inlinestaticprivate

◆ newMessageInfoForFieldGroup69() [1/2]

static StructuralMessageInfo com.google.protobuf.Proto2MessageInfoFactory.newMessageInfoForFieldGroup69 ( )
inlinestaticprivate

◆ newMessageInfoForFieldGroup69() [2/2]

static StructuralMessageInfo com.google.protobuf.Proto2MessageInfoFactory.newMessageInfoForFieldGroup69 ( )
inlinestaticprivate

◆ newMessageInfoForFieldGroupList51() [1/2]

static StructuralMessageInfo com.google.protobuf.Proto2MessageInfoFactory.newMessageInfoForFieldGroupList51 ( )
inlinestaticprivate

◆ newMessageInfoForFieldGroupList51() [2/2]

static StructuralMessageInfo com.google.protobuf.Proto2MessageInfoFactory.newMessageInfoForFieldGroupList51 ( )
inlinestaticprivate

◆ newMessageInfoForFieldRequiredGroup88() [1/2]

static StructuralMessageInfo com.google.protobuf.Proto2MessageInfoFactory.newMessageInfoForFieldRequiredGroup88 ( )
inlinestaticprivate

◆ newMessageInfoForFieldRequiredGroup88() [2/2]

static StructuralMessageInfo com.google.protobuf.Proto2MessageInfoFactory.newMessageInfoForFieldRequiredGroup88 ( )
inlinestaticprivate

◆ newMessageInfoForProto2Empty() [1/2]

static StructuralMessageInfo com.google.protobuf.Proto2MessageInfoFactory.newMessageInfoForProto2Empty ( )
inlinestaticprivate

◆ newMessageInfoForProto2Empty() [2/2]

static StructuralMessageInfo com.google.protobuf.Proto2MessageInfoFactory.newMessageInfoForProto2Empty ( )
inlinestaticprivate

◆ newMessageInfoForProto2Message() [1/2]

static StructuralMessageInfo com.google.protobuf.Proto2MessageInfoFactory.newMessageInfoForProto2Message ( )
inlinestaticprivate

Creates a new hard-coded info for Proto2Message. Each time this is called, we manually go through the entire process of what a message would do if it self-registered its own info, including looking up each field by name. This is done for benchmarking purposes, so that we get a more accurate representation of the time it takes to perform this process.

Definition at line 104 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java.

◆ newMessageInfoForProto2Message() [2/2]

static StructuralMessageInfo com.google.protobuf.Proto2MessageInfoFactory.newMessageInfoForProto2Message ( )
inlinestaticprivate

Creates a new hard-coded info for Proto2Message. Each time this is called, we manually go through the entire process of what a message would do if it self-registered its own info, including looking up each field by name. This is done for benchmarking purposes, so that we get a more accurate representation of the time it takes to perform this process.

Definition at line 104 of file protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java.

◆ newMessageInfoForProto2MessageWithExtensions() [1/2]

static StructuralMessageInfo com.google.protobuf.Proto2MessageInfoFactory.newMessageInfoForProto2MessageWithExtensions ( )
inlinestaticprivate

◆ newMessageInfoForProto2MessageWithExtensions() [2/2]

static StructuralMessageInfo com.google.protobuf.Proto2MessageInfoFactory.newMessageInfoForProto2MessageWithExtensions ( )
inlinestaticprivate

◆ newMessageInfoForProto2MessageWithMaps() [1/2]

static StructuralMessageInfo com.google.protobuf.Proto2MessageInfoFactory.newMessageInfoForProto2MessageWithMaps ( )
inlinestaticprivate

◆ newMessageInfoForProto2MessageWithMaps() [2/2]

static StructuralMessageInfo com.google.protobuf.Proto2MessageInfoFactory.newMessageInfoForProto2MessageWithMaps ( )
inlinestaticprivate

◆ newMessageInfoForRequiredNestedMessage() [1/2]

static StructuralMessageInfo com.google.protobuf.Proto2MessageInfoFactory.newMessageInfoForRequiredNestedMessage ( )
inlinestaticprivate

◆ newMessageInfoForRequiredNestedMessage() [2/2]

static StructuralMessageInfo com.google.protobuf.Proto2MessageInfoFactory.newMessageInfoForRequiredNestedMessage ( )
inlinestaticprivate

Member Data Documentation

◆ INSTANCE

static final Proto2MessageInfoFactory com.google.protobuf.Proto2MessageInfoFactory.INSTANCE = new Proto2MessageInfoFactory()
staticprivate

The documentation for this class was generated from the following file:


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