Uses of Class
com.google.protobuf.FieldInfo
Packages that use FieldInfo
-
Uses of FieldInfo in com.google.protobuf
Classes in com.google.protobuf that implement interfaces with type arguments of type FieldInfoModifier and TypeClassDescription(package private) final classInformation for a single field in a protobuf message class.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 FieldInfoDescriptorMessageInfoFactory.buildOneofMember(Class<?> messageType, Descriptors.FieldDescriptor fd, DescriptorMessageInfoFactory.OneofState oneofState, boolean enforceUtf8, Internal.EnumVerifier enumVerifier) Builds info for a oneof member field.static FieldInfoFieldInfo.forExplicitPresenceField(Field field, int fieldNumber, FieldType fieldType, Field presenceField, int presenceMask, boolean enforceUtf8, Internal.EnumVerifier enumVerifier) Constructor for a field with explicit presence (e.g.static FieldInfoConstructs a new descriptor for a field.static FieldInfoFieldInfo.forFieldWithEnumVerifier(Field field, int fieldNumber, FieldType fieldType, Internal.EnumVerifier enumVerifier) static FieldInfoFieldInfo.forLegacyRequiredField(Field field, int fieldNumber, FieldType fieldType, Field presenceField, int presenceMask, boolean enforceUtf8, Internal.EnumVerifier enumVerifier) Constructor for a legacy required field.static FieldInfoFieldInfo.forMapField(Field field, int fieldNumber, Object mapDefaultEntry, Internal.EnumVerifier enumVerifier) static FieldInfoFieldInfo.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 FieldInfoFieldInfo.forPackedField(Field field, int fieldNumber, FieldType fieldType, Field cachedSizeField) Constructs a new descriptor for a packed field.static FieldInfoFieldInfo.forPackedFieldWithEnumVerifier(Field field, int fieldNumber, FieldType fieldType, Internal.EnumVerifier enumVerifier, Field cachedSizeField) static FieldInfoFieldInfo.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 TypeMethodDescriptionintstatic booleanSchemaUtil.shouldUseTableSwitch(FieldInfo[] fields) Determines whether to issue tableswitch or lookupswitch for the mergeFrom method.private static voidMessageSchema.storeFieldData(FieldInfo fi, int[] buffer, int bufferIndex, Object[] objects) voidConstructors in com.google.protobuf with parameters of type FieldInfoModifierConstructorDescription(package private)StructuralMessageInfo(ProtoSyntax syntax, boolean messageSetWireFormat, int[] checkInitialized, FieldInfo[] fields, Object defaultInstance) Constructor.