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() |
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.
|
inlineprivate |
Definition at line 58 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java.
|
inlineprivate |
Definition at line 58 of file protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java.
|
inlinestaticprivate |
Definition at line 884 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java.
|
inlinestaticprivate |
Definition at line 884 of file protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java.
|
inlinestaticprivate |
Definition at line 876 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java.
|
inlinestaticprivate |
Definition at line 876 of file protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java.
|
inlinestaticprivate |
Definition at line 872 of file protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java.
|
inlinestaticprivate |
Definition at line 872 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java.
|
inlinestatic |
Definition at line 60 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java.
|
inlinestatic |
Definition at line 60 of file protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java.
|
inline |
Definition at line 65 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java.
|
inline |
Definition at line 65 of file protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java.
|
inlinestaticprivate |
Definition at line 114 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java.
|
inlinestaticprivate |
Definition at line 114 of file protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java.
|
inlinestaticprivate |
Definition at line 859 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java.
|
inlinestaticprivate |
Definition at line 859 of file protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java.
|
inline |
Definition at line 70 of file protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java.
|
inline |
Definition at line 70 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java.
|
inlinestaticprivate |
Definition at line 519 of file protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java.
|
inlinestaticprivate |
Definition at line 519 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java.
|
inlinestaticprivate |
Definition at line 535 of file protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java.
|
inlinestaticprivate |
Definition at line 535 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java.
|
inlinestaticprivate |
Definition at line 427 of file protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java.
|
inlinestaticprivate |
Definition at line 427 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java.
|
inlinestaticprivate |
Definition at line 459 of file protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java.
|
inlinestaticprivate |
Definition at line 459 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java.
|
inlinestaticprivate |
Definition at line 443 of file protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java.
|
inlinestaticprivate |
Definition at line 443 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java.
|
inlinestaticprivate |
Definition at line 491 of file protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java.
|
inlinestaticprivate |
Definition at line 491 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java.
|
inlinestaticprivate |
Definition at line 507 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java.
|
inlinestaticprivate |
Definition at line 507 of file protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java.
|
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.
|
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.
|
inlinestaticprivate |
Definition at line 513 of file protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java.
|
inlinestaticprivate |
Definition at line 513 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java.
|
inlinestaticprivate |
Definition at line 551 of file protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java.
|
inlinestaticprivate |
Definition at line 551 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java.
|
inlinestaticprivate |
Definition at line 475 of file protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java.
|
inlinestaticprivate |
Definition at line 475 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java.
|
staticprivate |
Definition at line 56 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java.