A factory that generates a hard-coded info for Proto2MessageLite.
Definition at line 55 of file Proto2MessageLiteInfoFactory.java.
◆ Proto2MessageLiteInfoFactory()
| com.google.protobuf.Proto2MessageLiteInfoFactory.Proto2MessageLiteInfoFactory |
( |
boolean |
produceRawMessageInfo | ) |
|
|
inlineprivate |
◆ field()
| static Field com.google.protobuf.Proto2MessageLiteInfoFactory.field |
( |
Class<?> |
clazz, |
|
|
String |
name |
|
) |
| |
|
inlinestaticprivate |
◆ getInstanceForRawMessageInfo()
◆ getInstanceForStructuralMessageInfo()
◆ isSupported()
| boolean com.google.protobuf.Proto2MessageLiteInfoFactory.isSupported |
( |
Class<?> |
clazz | ) |
|
|
inline |
◆ lookupFieldsByName()
◆ mapFieldInfo()
| static FieldInfo com.google.protobuf.Proto2MessageLiteInfoFactory.mapFieldInfo |
( |
Class<?> |
clazz, |
|
|
String |
fieldName, |
|
|
int |
fieldNumber |
|
) |
| |
|
inlinestaticprivate |
◆ messageInfoFor()
| MessageInfo com.google.protobuf.Proto2MessageLiteInfoFactory.messageInfoFor |
( |
Class<?> |
clazz | ) |
|
|
inline |
◆ newMessageInfoForExtensionFieldGroup49()
| static StructuralMessageInfo com.google.protobuf.Proto2MessageLiteInfoFactory.newMessageInfoForExtensionFieldGroup49 |
( |
| ) |
|
|
inlinestaticprivate |
◆ newMessageInfoForExtensionFieldGroupList51()
| static StructuralMessageInfo com.google.protobuf.Proto2MessageLiteInfoFactory.newMessageInfoForExtensionFieldGroupList51 |
( |
| ) |
|
|
inlinestaticprivate |
◆ newMessageInfoForFieldGroup49()
| static StructuralMessageInfo com.google.protobuf.Proto2MessageLiteInfoFactory.newMessageInfoForFieldGroup49 |
( |
| ) |
|
|
inlinestaticprivate |
◆ newMessageInfoForFieldGroup69()
| static StructuralMessageInfo com.google.protobuf.Proto2MessageLiteInfoFactory.newMessageInfoForFieldGroup69 |
( |
| ) |
|
|
inlinestaticprivate |
◆ newMessageInfoForFieldGroupList51()
| static StructuralMessageInfo com.google.protobuf.Proto2MessageLiteInfoFactory.newMessageInfoForFieldGroupList51 |
( |
| ) |
|
|
inlinestaticprivate |
◆ newMessageInfoForFieldRequiredGroup88()
| static StructuralMessageInfo com.google.protobuf.Proto2MessageLiteInfoFactory.newMessageInfoForFieldRequiredGroup88 |
( |
| ) |
|
|
inlinestaticprivate |
◆ newMessageInfoForProto2EmptyLite()
| static StructuralMessageInfo com.google.protobuf.Proto2MessageLiteInfoFactory.newMessageInfoForProto2EmptyLite |
( |
| ) |
|
|
inlinestaticprivate |
◆ 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 |
◆ newMessageInfoForProto2MessageLiteWithMaps()
| static StructuralMessageInfo com.google.protobuf.Proto2MessageLiteInfoFactory.newMessageInfoForProto2MessageLiteWithMaps |
( |
| ) |
|
|
inlinestaticprivate |
◆ newMessageInfoForRequiredNestedMessage()
| static StructuralMessageInfo com.google.protobuf.Proto2MessageLiteInfoFactory.newMessageInfoForRequiredNestedMessage |
( |
| ) |
|
|
inlinestaticprivate |
◆ newRawMessageInfoForProto2MessageLite()
| MessageInfo com.google.protobuf.Proto2MessageLiteInfoFactory.newRawMessageInfoForProto2MessageLite |
( |
| ) |
|
|
inlineprivate |
◆ rawMessageInfoFor()
| MessageInfo com.google.protobuf.Proto2MessageLiteInfoFactory.rawMessageInfoFor |
( |
Class<?> |
clazz | ) |
|
|
inlineprivate |
◆ structuralMessageInfoFor()
| MessageInfo com.google.protobuf.Proto2MessageLiteInfoFactory.structuralMessageInfoFor |
( |
Class<?> |
clazz | ) |
|
|
inlineprivate |
◆ instanceForRawMessageInfo
◆ instanceForStructuralMessageInfo
◆ produceRawMessageInfo
| final boolean com.google.protobuf.Proto2MessageLiteInfoFactory.produceRawMessageInfo |
|
private |
The documentation for this class was generated from the following file: