OptionTargetType
class OptionTargetType (View source)
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.
Protobuf type google.protobuf.FieldOptions.OptionTargetType
Constants
| TARGET_TYPE_UNKNOWN |
Generated from protobuf enum |
| TARGET_TYPE_FILE |
Generated from protobuf enum |
| TARGET_TYPE_EXTENSION_RANGE |
Generated from protobuf enum |
| TARGET_TYPE_MESSAGE |
Generated from protobuf enum |
| TARGET_TYPE_FIELD |
Generated from protobuf enum |
| TARGET_TYPE_ONEOF |
Generated from protobuf enum |
| TARGET_TYPE_ENUM |
Generated from protobuf enum |
| TARGET_TYPE_ENUM_ENTRY |
Generated from protobuf enum |
| TARGET_TYPE_SERVICE |
Generated from protobuf enum |
| TARGET_TYPE_METHOD |
Generated from protobuf enum |
Methods
Details
static
name($value)
No description
static
value($name)
No description