Stubs

Module

stubs/wellknowntypes

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

OfficialPublic

Enum in google.protobuf.FeatureSet.ProtoLimitsFeature

EnforceProtoLimits

google.protobuf.FeatureSet.ProtoLimitsFeature.EnforceProtoLimits

Values

NameNumberDescription
PROTO_LIMITS_UNKNOWN0
LEGACY_NO_EXPLICIT_LIMITS1

Default pre-EDITION_2026: there are no limit enforcement at the protoc level. Practical limits still exist, but they will tend to fail while compiling protoc-generated code, and these limits tend to be language or toolchain specific.

PROTO_LIMITS20262

A set of limits enforced by Edition 2026 by default. For a detailed list of all the limits please consult the Edition 2026 documentation.

Used by

Defined in google/protobuf/descriptor.proto