Stubs

Module

stubs/wellknowntypes

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

OfficialPublic

Enum in google.protobuf

Edition

google.protobuf.Edition

The full set of known editions.

Values

NameNumberDescription
EDITION_UNKNOWN0

A placeholder for an unknown edition value.

EDITION_LEGACY900

A placeholder edition for specifying default behaviors before a feature was first introduced. This is effectively an "infinite past".

EDITION_PROTO2998

Legacy syntax "editions". These pre-date editions, but behave much like distinct editions. These can't be used to specify the edition of proto files, but feature definitions must supply proto2/proto3 defaults for backwards compatibility.

EDITION_PROTO3999
EDITION_20231000

Editions that have been released. The specific values are arbitrary and should not be depended on, but they will always be time-ordered for easy comparison.

EDITION_20241001
EDITION_20261002
EDITION_UNSTABLE9999

A placeholder edition for developing and testing unscheduled features.

EDITION_1_TEST_ONLY1

Placeholder editions for testing feature resolution. These should not be used or relied on outside of tests.

EDITION_2_TEST_ONLY2
EDITION_99997_TEST_ONLY99997
EDITION_99998_TEST_ONLY99998
EDITION_99999_TEST_ONLY99999
EDITION_MAX2147483647

Placeholder for specifying unbounded edition support. This should only ever be used by plugins that can expect to never require any changes to support a new edition.

Used by

Defined in google/protobuf/descriptor.proto