Uses of Enum Class
com.google.protobuf.FieldType
Packages that use FieldType
-
Uses of FieldType in com.google.protobuf
Fields in com.google.protobuf declared as FieldTypeModifier and TypeFieldDescriptionprivate FieldType
FieldInfo.Builder.type
private final FieldType
FieldInfo.type
private static final FieldType[]
FieldType.VALUES
Methods in com.google.protobuf that return FieldTypeModifier and TypeMethodDescriptionstatic FieldType
FieldType.forId
(int id) Looks up the appropriateFieldType
by it's identifier.private static FieldType
DescriptorMessageInfoFactory.getFieldType
(Descriptors.FieldDescriptor fd) FieldInfo.getType()
Gets the type information for the field.static FieldType
Returns the enum constant of this class with the specified name.static FieldType[]
FieldType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.google.protobuf with parameters of type FieldTypeModifier and TypeMethodDescriptionstatic FieldInfo
FieldInfo.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 FieldInfo
Constructs a new descriptor for a field.static FieldInfo
FieldInfo.forFieldWithEnumVerifier
(Field field, int fieldNumber, FieldType fieldType, Internal.EnumVerifier enumVerifier) static FieldInfo
FieldInfo.forLegacyRequiredField
(Field field, int fieldNumber, FieldType fieldType, Field presenceField, int presenceMask, boolean enforceUtf8, Internal.EnumVerifier enumVerifier) Constructor for a legacy required field.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.forRepeatedMessageField
(Field field, int fieldNumber, FieldType fieldType, Class<?> messageClass) Constructs a new descriptor for a repeated message field.private static Class
<?> DescriptorMessageInfoFactory.getOneofStoredType
(Class<?> messageType, Descriptors.FieldDescriptor fd, FieldType type) Specifies the type of this field.Constructors in com.google.protobuf with parameters of type FieldTypeModifierConstructorDescriptionprivate
FieldInfo
(Field field, int fieldNumber, FieldType type, Class<?> messageClass, Field presenceField, int presenceMask, boolean required, boolean enforceUtf8, OneofInfo oneof, Class<?> oneofStoredType, Object mapDefaultEntry, Internal.EnumVerifier enumVerifier, Field cachedSizeField)