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 FieldTypeFieldInfo.Builder.typeprivate final FieldTypeFieldInfo.typeprivate static final FieldType[]FieldType.VALUESMethods in com.google.protobuf that return FieldTypeModifier and TypeMethodDescriptionstatic FieldTypeFieldType.forId(int id) Looks up the appropriateFieldTypeby it's identifier.private static FieldTypeDescriptorMessageInfoFactory.getFieldType(Descriptors.FieldDescriptor fd) FieldInfo.getType()Gets the type information for the field.static FieldTypeReturns 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 FieldInfoConstructs a new descriptor for a field.static FieldInfoFieldInfo.forFieldWithEnumVerifier(Field field, int fieldNumber, FieldType fieldType, 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.forProto2OptionalField(Field field, int fieldNumber, FieldType fieldType, Field presenceField, int presenceMask, boolean enforceUtf8, Internal.EnumVerifier enumVerifier) Constructor for a proto2 optional field.static FieldInfoFieldInfo.forProto2RequiredField(Field field, int fieldNumber, FieldType fieldType, Field presenceField, int presenceMask, boolean enforceUtf8, Internal.EnumVerifier enumVerifier) Constructor for a proto2 required field.static FieldInfoFieldInfo.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 FieldTypeModifierConstructorDescriptionprivateFieldInfo(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)