from enum value: TARGET_TYPE_ENUM = 6;
from enum value: TARGET_TYPE_ENUM_ENTRY = 7;
from enum value: TARGET_TYPE_EXTENSION_RANGE = 2;
from enum value: TARGET_TYPE_FIELD = 4;
from enum value: TARGET_TYPE_FILE = 1;
from enum value: TARGET_TYPE_MESSAGE = 3;
from enum value: TARGET_TYPE_METHOD = 9;
from enum value: TARGET_TYPE_ONEOF = 5;
from enum value: TARGET_TYPE_SERVICE = 8;
from enum value: TARGET_TYPE_UNKNOWN = 0;
Generated using TypeDoc
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).
Generated
from enum google.protobuf.FieldOptions.OptionTargetType