FieldOptions_OptionTargetType class
This indicates the types of entities that the field may apply to when used as an option. If it is unset, then the field may be freely used as an option on any kind of entity. Note: as of January 2023, support for this is in progress and does not yet have an effect (b/264593489).
- Inheritance
-
- Object
- ProtobufEnum
- FieldOptions_OptionTargetType
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
name
or thevalue
if names are not represented.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
valueOf(
int value) → FieldOptions_OptionTargetType?
Constants
- TARGET_TYPE_ENUM → const FieldOptions_OptionTargetType
- TARGET_TYPE_ENUM_ENTRY → const FieldOptions_OptionTargetType
- TARGET_TYPE_EXTENSION_RANGE → const FieldOptions_OptionTargetType
- TARGET_TYPE_FIELD → const FieldOptions_OptionTargetType
- TARGET_TYPE_FILE → const FieldOptions_OptionTargetType
- TARGET_TYPE_MESSAGE → const FieldOptions_OptionTargetType
- TARGET_TYPE_METHOD → const FieldOptions_OptionTargetType
- TARGET_TYPE_ONEOF → const FieldOptions_OptionTargetType
- TARGET_TYPE_SERVICE → const FieldOptions_OptionTargetType
- TARGET_TYPE_UNKNOWN → const FieldOptions_OptionTargetType
-
values
→ const List<
FieldOptions_OptionTargetType>