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.Proto2MessageLiteInfoFactory Class Reference
Inheritance diagram for com.google.protobuf.Proto2MessageLiteInfoFactory:
Inheritance graph
[legend]

Public Member Functions

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

Static Public Member Functions

static Proto2MessageLiteInfoFactory getInstanceForRawMessageInfo ()
 
static Proto2MessageLiteInfoFactory getInstanceForStructuralMessageInfo ()
 

Private Member Functions

MessageInfo newRawMessageInfoForProto2MessageLite ()
 
 Proto2MessageLiteInfoFactory (boolean produceRawMessageInfo)
 
MessageInfo rawMessageInfoFor (Class<?> clazz)
 
MessageInfo structuralMessageInfoFor (Class<?> clazz)
 

Static Private Member Functions

static Field field (Class<?> clazz, String name)
 
static void lookupFieldsByName (StructuralMessageInfo.Builder builder)
 
static FieldInfo mapFieldInfo (Class<?> clazz, String fieldName, int fieldNumber)
 
static StructuralMessageInfo newMessageInfoForExtensionFieldGroup49 ()
 
static StructuralMessageInfo newMessageInfoForExtensionFieldGroupList51 ()
 
static StructuralMessageInfo newMessageInfoForFieldGroup49 ()
 
static StructuralMessageInfo newMessageInfoForFieldGroup69 ()
 
static StructuralMessageInfo newMessageInfoForFieldGroupList51 ()
 
static StructuralMessageInfo newMessageInfoForFieldRequiredGroup88 ()
 
static StructuralMessageInfo newMessageInfoForProto2EmptyLite ()
 
static StructuralMessageInfo newMessageInfoForProto2MessageLite ()
 
static StructuralMessageInfo newMessageInfoForProto2MessageLiteWithExtensions ()
 
static StructuralMessageInfo newMessageInfoForProto2MessageLiteWithMaps ()
 
static StructuralMessageInfo newMessageInfoForRequiredNestedMessage ()
 

Private Attributes

final boolean produceRawMessageInfo
 

Static Private Attributes

static final Proto2MessageLiteInfoFactory instanceForRawMessageInfo
 
static final Proto2MessageLiteInfoFactory instanceForStructuralMessageInfo
 

Detailed Description

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

Definition at line 55 of file Proto2MessageLiteInfoFactory.java.

Constructor & Destructor Documentation

◆ Proto2MessageLiteInfoFactory()

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

Definition at line 71 of file Proto2MessageLiteInfoFactory.java.

Member Function Documentation

◆ field()

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

Definition at line 1308 of file Proto2MessageLiteInfoFactory.java.

◆ getInstanceForRawMessageInfo()

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

Definition at line 61 of file Proto2MessageLiteInfoFactory.java.

◆ getInstanceForStructuralMessageInfo()

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

Definition at line 65 of file Proto2MessageLiteInfoFactory.java.

◆ isSupported()

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

Definition at line 76 of file Proto2MessageLiteInfoFactory.java.

◆ lookupFieldsByName()

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

Definition at line 237 of file Proto2MessageLiteInfoFactory.java.

◆ mapFieldInfo()

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

Definition at line 1316 of file Proto2MessageLiteInfoFactory.java.

◆ messageInfoFor()

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

Definition at line 81 of file Proto2MessageLiteInfoFactory.java.

◆ newMessageInfoForExtensionFieldGroup49()

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

Definition at line 869 of file Proto2MessageLiteInfoFactory.java.

◆ newMessageInfoForExtensionFieldGroupList51()

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

Definition at line 885 of file Proto2MessageLiteInfoFactory.java.

◆ newMessageInfoForFieldGroup49()

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

Definition at line 777 of file Proto2MessageLiteInfoFactory.java.

◆ newMessageInfoForFieldGroup69()

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

Definition at line 809 of file Proto2MessageLiteInfoFactory.java.

◆ newMessageInfoForFieldGroupList51()

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

Definition at line 793 of file Proto2MessageLiteInfoFactory.java.

◆ newMessageInfoForFieldRequiredGroup88()

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

Definition at line 841 of file Proto2MessageLiteInfoFactory.java.

◆ newMessageInfoForProto2EmptyLite()

static StructuralMessageInfo com.google.protobuf.Proto2MessageLiteInfoFactory.newMessageInfoForProto2EmptyLite ( )
inlinestaticprivate

Definition at line 857 of file Proto2MessageLiteInfoFactory.java.

◆ newMessageInfoForProto2MessageLite()

static StructuralMessageInfo com.google.protobuf.Proto2MessageLiteInfoFactory.newMessageInfoForProto2MessageLite ( )
inlinestaticprivate

Creates a new hard-coded info for Proto2MessageLite. 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 227 of file Proto2MessageLiteInfoFactory.java.

◆ newMessageInfoForProto2MessageLiteWithExtensions()

static StructuralMessageInfo com.google.protobuf.Proto2MessageLiteInfoFactory.newMessageInfoForProto2MessageLiteWithExtensions ( )
inlinestaticprivate

Definition at line 863 of file Proto2MessageLiteInfoFactory.java.

◆ newMessageInfoForProto2MessageLiteWithMaps()

static StructuralMessageInfo com.google.protobuf.Proto2MessageLiteInfoFactory.newMessageInfoForProto2MessageLiteWithMaps ( )
inlinestaticprivate

Definition at line 902 of file Proto2MessageLiteInfoFactory.java.

◆ newMessageInfoForRequiredNestedMessage()

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

Definition at line 825 of file Proto2MessageLiteInfoFactory.java.

◆ newRawMessageInfoForProto2MessageLite()

MessageInfo com.google.protobuf.Proto2MessageLiteInfoFactory.newRawMessageInfoForProto2MessageLite ( )
inlineprivate

Definition at line 93 of file Proto2MessageLiteInfoFactory.java.

◆ rawMessageInfoFor()

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

Definition at line 85 of file Proto2MessageLiteInfoFactory.java.

◆ structuralMessageInfoFor()

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

Definition at line 193 of file Proto2MessageLiteInfoFactory.java.

Member Data Documentation

◆ instanceForRawMessageInfo

final Proto2MessageLiteInfoFactory com.google.protobuf.Proto2MessageLiteInfoFactory.instanceForRawMessageInfo
staticprivate
Initial value:

Definition at line 56 of file Proto2MessageLiteInfoFactory.java.

◆ instanceForStructuralMessageInfo

final Proto2MessageLiteInfoFactory com.google.protobuf.Proto2MessageLiteInfoFactory.instanceForStructuralMessageInfo
staticprivate
Initial value:

Definition at line 58 of file Proto2MessageLiteInfoFactory.java.

◆ produceRawMessageInfo

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

Definition at line 69 of file Proto2MessageLiteInfoFactory.java.


The documentation for this class was generated from the following file:
com.google.protobuf.Proto2MessageLiteInfoFactory.Proto2MessageLiteInfoFactory
Proto2MessageLiteInfoFactory(boolean produceRawMessageInfo)
Definition: Proto2MessageLiteInfoFactory.java:71


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:07