PbFieldType class

Defines constants and functions for dealing with fieldType bits.

Constructors

PbFieldType()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

baseType(int fieldType) int
Returns the base field type without any of the required, repeated and packed bits.
BOOL_FALSE() bool
BYTES_EMPTY() List<int>
defaultForType(int type) MakeDefaultFunc?
DOUBLE_ZERO() double
INT_ZERO() int
isBytes(int fieldType) bool
isEnum(int fieldType) bool
isGroupOrMessage(int fieldType) bool
isMapField(int fieldType) bool
isRepeated(int fieldType) bool
isRequired(int fieldType) bool
STRING_EMPTY() String

Constants

BOOL_BIT → const int
BYTES_BIT → const int
DOUBLE_BIT → const int
ENUM_BIT → const int
FIXED32_BIT → const int
FIXED64_BIT → const int
FLOAT_BIT → const int
GROUP_BIT → const int
INT32_BIT → const int
INT64_BIT → const int
K3 → const int
K6 → const int
KB → const int
KD → const int
KE → const int
KF → const int
KF3 → const int
KF6 → const int
KS3 → const int
KS6 → const int
KSF3 → const int
KSF6 → const int
KU3 → const int
KU6 → const int
M → const int
MAP → const int
MAP_BIT → const int
MESSAGE_BIT → const int
O3 → const int
O6 → const int
OB → const int
OD → const int
OE → const int
OF → const int
OF3 → const int
OF6 → const int
OG → const int
OM → const int
OPTIONAL_BOOL → const int
OPTIONAL_BYTES → const int
OPTIONAL_DOUBLE → const int
OPTIONAL_ENUM → const int
OPTIONAL_FIXED32 → const int
OPTIONAL_FIXED64 → const int
OPTIONAL_FLOAT → const int
OPTIONAL_GROUP → const int
OPTIONAL_INT32 → const int
OPTIONAL_INT64 → const int
OPTIONAL_MESSAGE → const int
OPTIONAL_SFIXED32 → const int
OPTIONAL_SFIXED64 → const int
OPTIONAL_SINT32 → const int
OPTIONAL_SINT64 → const int
OPTIONAL_STRING → const int
OPTIONAL_UINT32 → const int
OPTIONAL_UINT64 → const int
OS → const int
OS3 → const int
OS6 → const int
OSF3 → const int
OSF6 → const int
OU3 → const int
OU6 → const int
OY → const int
P3 → const int
P6 → const int
PACKED_BIT → const int
PACKED_BOOL → const int
PACKED_DOUBLE → const int
PACKED_ENUM → const int
PACKED_FIXED32 → const int
PACKED_FIXED64 → const int
PACKED_FLOAT → const int
PACKED_INT32 → const int
PACKED_INT64 → const int
PACKED_SFIXED32 → const int
PACKED_SFIXED64 → const int
PACKED_SINT32 → const int
PACKED_SINT64 → const int
PACKED_UINT32 → const int
PACKED_UINT64 → const int
PB → const int
PD → const int
PE → const int
PF → const int
PF3 → const int
PF6 → const int
PG → const int
PM → const int
PS → const int
PS3 → const int
PS6 → const int
PSF3 → const int
PSF6 → const int
PU3 → const int
PU6 → const int
PY → const int
Q3 → const int
Q6 → const int
QB → const int
QD → const int
QE → const int
QF → const int
QF3 → const int
QF6 → const int
QG → const int
QM → const int
QS → const int
QS3 → const int
QS6 → const int
QSF3 → const int
QSF6 → const int
QU3 → const int
QU6 → const int
QY → const int
REPEATED_BIT → const int
REPEATED_BOOL → const int
REPEATED_BYTES → const int
REPEATED_DOUBLE → const int
REPEATED_ENUM → const int
REPEATED_FIXED32 → const int
REPEATED_FIXED64 → const int
REPEATED_FLOAT → const int
REPEATED_GROUP → const int
REPEATED_INT32 → const int
REPEATED_INT64 → const int
REPEATED_MESSAGE → const int
REPEATED_SFIXED32 → const int
REPEATED_SFIXED64 → const int
REPEATED_SINT32 → const int
REPEATED_SINT64 → const int
REPEATED_STRING → const int
REPEATED_UINT32 → const int
REPEATED_UINT64 → const int
REQUIRED_BIT → const int
REQUIRED_BOOL → const int
REQUIRED_BYTES → const int
REQUIRED_DOUBLE → const int
REQUIRED_ENUM → const int
REQUIRED_FIXED32 → const int
REQUIRED_FIXED64 → const int
REQUIRED_FLOAT → const int
REQUIRED_GROUP → const int
REQUIRED_INT32 → const int
REQUIRED_INT64 → const int
REQUIRED_MESSAGE → const int
REQUIRED_SFIXED32 → const int
REQUIRED_SFIXED64 → const int
REQUIRED_SINT32 → const int
REQUIRED_SINT64 → const int
REQUIRED_STRING → const int
REQUIRED_UINT32 → const int
REQUIRED_UINT64 → const int
SFIXED32_BIT → const int
SFIXED64_BIT → const int
SINT32_BIT → const int
SINT64_BIT → const int
STRING_BIT → const int
UINT32_BIT → const int
UINT64_BIT → const int