A factory that generates a hard-coded message info for Proto2Message.
Definition at line 55 of file Proto2MessageInfoFactory.java.
◆ Proto2MessageInfoFactory()
com.google.protobuf.Proto2MessageInfoFactory.Proto2MessageInfoFactory |
( |
| ) |
|
|
inlineprivate |
◆ asVerifier()
static Internal.EnumVerifier com.google.protobuf.Proto2MessageInfoFactory.asVerifier |
( |
final Internal.EnumLiteMap<?> |
map | ) |
|
|
inlinestaticprivate |
◆ field() [1/2]
static Field com.google.protobuf.Proto2MessageInfoFactory.field |
( |
Class<?> |
clazz, |
|
|
String |
name |
|
) |
| |
|
inlinestaticprivate |
◆ field() [2/2]
static Field com.google.protobuf.Proto2MessageInfoFactory.field |
( |
String |
name | ) |
|
|
inlinestaticprivate |
◆ getInstance()
◆ isSupported()
boolean com.google.protobuf.Proto2MessageInfoFactory.isSupported |
( |
Class<?> |
clazz | ) |
|
|
inline |
◆ lookupFieldsByName()
◆ mapFieldInfo()
static FieldInfo com.google.protobuf.Proto2MessageInfoFactory.mapFieldInfo |
( |
Class<?> |
clazz, |
|
|
String |
fieldName, |
|
|
int |
fieldNumber |
|
) |
| |
|
inlinestaticprivate |
◆ messageInfoFor()
MessageInfo com.google.protobuf.Proto2MessageInfoFactory.messageInfoFor |
( |
Class<?> |
clazz | ) |
|
|
inline |
◆ newMessageInfoForExtensionFieldGroup49()
static StructuralMessageInfo com.google.protobuf.Proto2MessageInfoFactory.newMessageInfoForExtensionFieldGroup49 |
( |
| ) |
|
|
inlinestaticprivate |
◆ newMessageInfoForExtensionFieldGroupList51()
static StructuralMessageInfo com.google.protobuf.Proto2MessageInfoFactory.newMessageInfoForExtensionFieldGroupList51 |
( |
| ) |
|
|
inlinestaticprivate |
◆ newMessageInfoForFieldGroup49()
static StructuralMessageInfo com.google.protobuf.Proto2MessageInfoFactory.newMessageInfoForFieldGroup49 |
( |
| ) |
|
|
inlinestaticprivate |
◆ newMessageInfoForFieldGroup69()
static StructuralMessageInfo com.google.protobuf.Proto2MessageInfoFactory.newMessageInfoForFieldGroup69 |
( |
| ) |
|
|
inlinestaticprivate |
◆ newMessageInfoForFieldGroupList51()
static StructuralMessageInfo com.google.protobuf.Proto2MessageInfoFactory.newMessageInfoForFieldGroupList51 |
( |
| ) |
|
|
inlinestaticprivate |
◆ newMessageInfoForFieldRequiredGroup88()
static StructuralMessageInfo com.google.protobuf.Proto2MessageInfoFactory.newMessageInfoForFieldRequiredGroup88 |
( |
| ) |
|
|
inlinestaticprivate |
◆ newMessageInfoForProto2Empty()
static StructuralMessageInfo com.google.protobuf.Proto2MessageInfoFactory.newMessageInfoForProto2Empty |
( |
| ) |
|
|
inlinestaticprivate |
◆ newMessageInfoForProto2Message()
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 Proto2MessageInfoFactory.java.
◆ newMessageInfoForProto2MessageWithExtensions()
static StructuralMessageInfo com.google.protobuf.Proto2MessageInfoFactory.newMessageInfoForProto2MessageWithExtensions |
( |
| ) |
|
|
inlinestaticprivate |
◆ newMessageInfoForProto2MessageWithMaps()
static StructuralMessageInfo com.google.protobuf.Proto2MessageInfoFactory.newMessageInfoForProto2MessageWithMaps |
( |
| ) |
|
|
inlinestaticprivate |
◆ newMessageInfoForRequiredNestedMessage()
static StructuralMessageInfo com.google.protobuf.Proto2MessageInfoFactory.newMessageInfoForRequiredNestedMessage |
( |
| ) |
|
|
inlinestaticprivate |
◆ INSTANCE
The documentation for this class was generated from the following file: