Proto2FieldDescriptorProto class
Describes a field within a message.
Constructors
Properties
- defaultValue ↔ String?
-
For numeric types, contains the original text representation of the value.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- jsonName ↔ String?
-
JSON name of this field.
getter/setter pair
- label ↔ String?
-
Possible string values are:
getter/setter pair
- name ↔ String?
-
getter/setter pair
- number ↔ int?
-
getter/setter pair
- oneofIndex ↔ int?
-
If set, gives the index of a oneof in the containing type's oneof_decl
list.
getter/setter pair
- proto3Optional ↔ bool?
-
If true, this is a proto3 "optional".
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ String?
-
If type_name is set, this need not be set.
getter/setter pair
- typeName ↔ String?
-
For message and enum types, this is the name of the type.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited