FieldDescriptorProto_Label 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_Label?
Constants
- LABEL_OPTIONAL → const FieldDescriptorProto_Label
- 0 is reserved for errors
- LABEL_REPEATED → const FieldDescriptorProto_Label
- LABEL_REQUIRED → const FieldDescriptorProto_Label
-
The required label is only allowed in google.protobuf. In proto3 and Editions
it's explicitly prohibited. In Editions, the
field_presencefeature can be used to get this behavior. -
values
→ const List<
FieldDescriptorProto_Label>