Uses of Class
com.google.protobuf.FieldInfo
Packages that use FieldInfo
-
Uses of FieldInfo in com.google.protobuf
Fields in com.google.protobuf declared as FieldInfoFields in com.google.protobuf with type parameters of type FieldInfoMethods in com.google.protobuf that return FieldInfoModifier and TypeMethodDescriptionFieldInfo.Builder.build()
private static FieldInfo
DescriptorMessageInfoFactory.buildOneofMember
(Class<?> messageType, Descriptors.FieldDescriptor fd, DescriptorMessageInfoFactory.OneofState oneofState, boolean enforceUtf8, Internal.EnumVerifier enumVerifier) Builds info for a oneof member field.static FieldInfo
Constructs a new descriptor for a field.static FieldInfo
FieldInfo.forFieldWithEnumVerifier
(Field field, int fieldNumber, FieldType fieldType, Internal.EnumVerifier enumVerifier) static FieldInfo
FieldInfo.forMapField
(Field field, int fieldNumber, Object mapDefaultEntry, Internal.EnumVerifier enumVerifier) static FieldInfo
FieldInfo.forOneofMemberField
(int fieldNumber, FieldType fieldType, OneofInfo oneof, Class<?> oneofStoredType, boolean enforceUtf8, Internal.EnumVerifier enumVerifier) Constructor for a field that is part of a oneof.static FieldInfo
FieldInfo.forPackedField
(Field field, int fieldNumber, FieldType fieldType, Field cachedSizeField) Constructs a new descriptor for a packed field.static FieldInfo
FieldInfo.forPackedFieldWithEnumVerifier
(Field field, int fieldNumber, FieldType fieldType, Internal.EnumVerifier enumVerifier, Field cachedSizeField) static FieldInfo
FieldInfo.forProto2OptionalField
(Field field, int fieldNumber, FieldType fieldType, Field presenceField, int presenceMask, boolean enforceUtf8, Internal.EnumVerifier enumVerifier) Constructor for a proto2 optional field.static FieldInfo
FieldInfo.forProto2RequiredField
(Field field, int fieldNumber, FieldType fieldType, Field presenceField, int presenceMask, boolean enforceUtf8, Internal.EnumVerifier enumVerifier) Constructor for a proto2 required field.static FieldInfo
FieldInfo.forRepeatedMessageField
(Field field, int fieldNumber, FieldType fieldType, Class<?> messageClass) Constructs a new descriptor for a repeated message field.StructuralMessageInfo.getFields()
Gets the information for all fields within this message, sorted in ascending order by their field number.Methods in com.google.protobuf with parameters of type FieldInfoModifier and TypeMethodDescriptionint
static boolean
SchemaUtil.shouldUseTableSwitch
(FieldInfo[] fields) Determines whether to issue tableswitch or lookupswitch for the mergeFrom method.private static void
MessageSchema.storeFieldData
(FieldInfo fi, int[] buffer, int bufferIndex, Object[] objects) void
Constructors in com.google.protobuf with parameters of type FieldInfoModifierConstructorDescription(package private)
StructuralMessageInfo
(ProtoSyntax syntax, boolean messageSetWireFormat, int[] checkInitialized, FieldInfo[] fields, Object defaultInstance) Constructor.