FieldDescriptorProto_Type class
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
This enum's name, as specified in the .proto file.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
This enum's integer value, as specified in the .proto file.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Returns this enum's
nameor thevalueif names are not represented.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
valueOf(
int value) → FieldDescriptorProto_Type?
Constants
- TYPE_BOOL → const FieldDescriptorProto_Type
- TYPE_BYTES → const FieldDescriptorProto_Type
- New in version 2.
- TYPE_DOUBLE → const FieldDescriptorProto_Type
- 0 is reserved for errors. Order is weird for historical reasons.
- TYPE_ENUM → const FieldDescriptorProto_Type
- TYPE_FIXED32 → const FieldDescriptorProto_Type
- TYPE_FIXED64 → const FieldDescriptorProto_Type
- TYPE_FLOAT → const FieldDescriptorProto_Type
- TYPE_GROUP → const FieldDescriptorProto_Type
-
Tag-delimited aggregate.
Group type is deprecated and not supported after google.protobuf. However, Proto3
implementations should still be able to parse the group wire format and
treat group fields as unknown fields. In Editions, the group wire format
can be enabled via the
message_encodingfeature. - TYPE_INT32 → const FieldDescriptorProto_Type
- Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if negative values are likely.
- TYPE_INT64 → const FieldDescriptorProto_Type
- Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if negative values are likely.
- TYPE_MESSAGE → const FieldDescriptorProto_Type
- TYPE_SFIXED32 → const FieldDescriptorProto_Type
- TYPE_SFIXED64 → const FieldDescriptorProto_Type
- TYPE_SINT32 → const FieldDescriptorProto_Type
- TYPE_SINT64 → const FieldDescriptorProto_Type
- TYPE_STRING → const FieldDescriptorProto_Type
- TYPE_UINT32 → const FieldDescriptorProto_Type
- TYPE_UINT64 → const FieldDescriptorProto_Type
-
values
→ const List<
FieldDescriptorProto_Type>