Stubs

Module

stubs/wellknowntypes

The Protobuf well-known types (google/protobuf/*.proto), from Google's protobuf releases.

OfficialPublic

Enum in google.protobuf.FieldOptions

OptionTargetType

google.protobuf.FieldOptions.OptionTargetType

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.

Values

NameNumberDescription
TARGET_TYPE_UNKNOWN0
TARGET_TYPE_FILE1
TARGET_TYPE_EXTENSION_RANGE2
TARGET_TYPE_MESSAGE3
TARGET_TYPE_FIELD4
TARGET_TYPE_ONEOF5
TARGET_TYPE_ENUM6
TARGET_TYPE_ENUM_ENTRY7
TARGET_TYPE_SERVICE8
TARGET_TYPE_METHOD9

Used by

Defined in google/protobuf/descriptor.proto