Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
com.google.protobuf.Proto3MessageLiteInfoFactory Class Reference
Inheritance diagram for com.google.protobuf.Proto3MessageLiteInfoFactory:
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 Proto3MessageLiteInfoFactory getInstanceForRawMessageInfo ()
 
static Proto3MessageLiteInfoFactory getInstanceForRawMessageInfo ()
 
static Proto3MessageLiteInfoFactory getInstanceForStructuralMessageInfo ()
 
static Proto3MessageLiteInfoFactory getInstanceForStructuralMessageInfo ()
 

Private Member Functions

StructuralMessageInfo newMessageInfoForProto3EmptyLite ()
 
StructuralMessageInfo newMessageInfoForProto3EmptyLite ()
 
MessageInfo newRawMessageInfoForProto3MessageLite ()
 
MessageInfo newRawMessageInfoForProto3MessageLite ()
 
 Proto3MessageLiteInfoFactory (boolean produceRawMessageInfo)
 
 Proto3MessageLiteInfoFactory (boolean produceRawMessageInfo)
 
MessageInfo rawMessageInfoFor (Class<?> clazz)
 
MessageInfo rawMessageInfoFor (Class<?> clazz)
 
MessageInfo structuralMessageInfoFor (Class<?> clazz)
 
MessageInfo structuralMessageInfoFor (Class<?> clazz)
 

Static Private Member Functions

static Field field (Class<?> clazz, String name)
 
static Field field (Class<?> clazz, 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 newMessageInfoForProto3MessageLite ()
 
static StructuralMessageInfo newMessageInfoForProto3MessageLite ()
 
static StructuralMessageInfo newMessageInfoForProto3MessageLiteWithMaps ()
 
static StructuralMessageInfo newMessageInfoForProto3MessageLiteWithMaps ()
 

Private Attributes

final boolean produceRawMessageInfo
 

Static Private Attributes

static final Proto3MessageLiteInfoFactory instanceForRawMessageInfo
 
static final Proto3MessageLiteInfoFactory instanceForStructuralMessageInfo
 

Detailed Description

A factory that generates a hard-coded info for Proto3MessageLite.

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

Constructor & Destructor Documentation

◆ Proto3MessageLiteInfoFactory() [1/2]

com.google.protobuf.Proto3MessageLiteInfoFactory.Proto3MessageLiteInfoFactory ( boolean  produceRawMessageInfo)
inlineprivate

◆ Proto3MessageLiteInfoFactory() [2/2]

com.google.protobuf.Proto3MessageLiteInfoFactory.Proto3MessageLiteInfoFactory ( boolean  produceRawMessageInfo)
inlineprivate

Member Function Documentation

◆ field() [1/2]

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

◆ field() [2/2]

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

◆ getInstanceForRawMessageInfo() [1/2]

static Proto3MessageLiteInfoFactory com.google.protobuf.Proto3MessageLiteInfoFactory.getInstanceForRawMessageInfo ( )
inlinestatic

◆ getInstanceForRawMessageInfo() [2/2]

static Proto3MessageLiteInfoFactory com.google.protobuf.Proto3MessageLiteInfoFactory.getInstanceForRawMessageInfo ( )
inlinestatic

◆ getInstanceForStructuralMessageInfo() [1/2]

static Proto3MessageLiteInfoFactory com.google.protobuf.Proto3MessageLiteInfoFactory.getInstanceForStructuralMessageInfo ( )
inlinestatic

◆ getInstanceForStructuralMessageInfo() [2/2]

static Proto3MessageLiteInfoFactory com.google.protobuf.Proto3MessageLiteInfoFactory.getInstanceForStructuralMessageInfo ( )
inlinestatic

◆ isSupported() [1/2]

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

◆ isSupported() [2/2]

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

◆ lookupFieldsByName() [1/2]

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

◆ lookupFieldsByName() [2/2]

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

◆ mapFieldInfo() [1/2]

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

◆ mapFieldInfo() [2/2]

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

◆ messageInfoFor() [1/2]

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

◆ messageInfoFor() [2/2]

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

◆ newMessageInfoForProto3EmptyLite() [1/2]

StructuralMessageInfo com.google.protobuf.Proto3MessageLiteInfoFactory.newMessageInfoForProto3EmptyLite ( )
inlineprivate

◆ newMessageInfoForProto3EmptyLite() [2/2]

StructuralMessageInfo com.google.protobuf.Proto3MessageLiteInfoFactory.newMessageInfoForProto3EmptyLite ( )
inlineprivate

◆ newMessageInfoForProto3MessageLite() [1/2]

static StructuralMessageInfo com.google.protobuf.Proto3MessageLiteInfoFactory.newMessageInfoForProto3MessageLite ( )
inlinestaticprivate

Creates a new hard-coded info for Proto3MessageLite. 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 169 of file protobuf/java/core/src/test/java/com/google/protobuf/Proto3MessageLiteInfoFactory.java.

◆ newMessageInfoForProto3MessageLite() [2/2]

static StructuralMessageInfo com.google.protobuf.Proto3MessageLiteInfoFactory.newMessageInfoForProto3MessageLite ( )
inlinestaticprivate

Creates a new hard-coded info for Proto3MessageLite. 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 169 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/Proto3MessageLiteInfoFactory.java.

◆ newMessageInfoForProto3MessageLiteWithMaps() [1/2]

static StructuralMessageInfo com.google.protobuf.Proto3MessageLiteInfoFactory.newMessageInfoForProto3MessageLiteWithMaps ( )
inlinestaticprivate

◆ newMessageInfoForProto3MessageLiteWithMaps() [2/2]

static StructuralMessageInfo com.google.protobuf.Proto3MessageLiteInfoFactory.newMessageInfoForProto3MessageLiteWithMaps ( )
inlinestaticprivate

◆ newRawMessageInfoForProto3MessageLite() [1/2]

MessageInfo com.google.protobuf.Proto3MessageLiteInfoFactory.newRawMessageInfoForProto3MessageLite ( )
inlineprivate

◆ newRawMessageInfoForProto3MessageLite() [2/2]

MessageInfo com.google.protobuf.Proto3MessageLiteInfoFactory.newRawMessageInfoForProto3MessageLite ( )
inlineprivate

◆ rawMessageInfoFor() [1/2]

MessageInfo com.google.protobuf.Proto3MessageLiteInfoFactory.rawMessageInfoFor ( Class<?>  clazz)
inlineprivate

◆ rawMessageInfoFor() [2/2]

MessageInfo com.google.protobuf.Proto3MessageLiteInfoFactory.rawMessageInfoFor ( Class<?>  clazz)
inlineprivate

◆ structuralMessageInfoFor() [1/2]

MessageInfo com.google.protobuf.Proto3MessageLiteInfoFactory.structuralMessageInfoFor ( Class<?>  clazz)
inlineprivate

◆ structuralMessageInfoFor() [2/2]

MessageInfo com.google.protobuf.Proto3MessageLiteInfoFactory.structuralMessageInfoFor ( Class<?>  clazz)
inlineprivate

Member Data Documentation

◆ instanceForRawMessageInfo

static final Proto3MessageLiteInfoFactory com.google.protobuf.Proto3MessageLiteInfoFactory.instanceForRawMessageInfo
staticprivate

◆ instanceForStructuralMessageInfo

static final Proto3MessageLiteInfoFactory com.google.protobuf.Proto3MessageLiteInfoFactory.instanceForStructuralMessageInfo
staticprivate

◆ produceRawMessageInfo

final boolean com.google.protobuf.Proto3MessageLiteInfoFactory.produceRawMessageInfo
private

The documentation for this class was generated from the following file:
com.google.protobuf.Proto3MessageLiteInfoFactory.Proto3MessageLiteInfoFactory
Proto3MessageLiteInfoFactory(boolean produceRawMessageInfo)
Definition: bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/Proto3MessageLiteInfoFactory.java:60


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