Reference documentation and code samples for the proto library Client class EnforceProtoLimits.
Protobuf type google.protobuf.FeatureSet.ProtoLimitsFeature.EnforceProtoLimits
Namespace
Google \ Protobuf \ Internal \ FeatureSet \ ProtoLimitsFeatureMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
PROTO_LIMITS_UNKNOWN
Value: 0Generated from protobuf enum PROTO_LIMITS_UNKNOWN = 0;
LEGACY_NO_EXPLICIT_LIMITS
Value: 1Default 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.
Generated from protobuf enum LEGACY_NO_EXPLICIT_LIMITS = 1;
PROTO_LIMITS2026
Value: 2A set of limits enforced by Edition 2026 by default. For a detailed list of all the limits please consult the Edition 2026 documentation.
Generated from protobuf enum PROTO_LIMITS2026 = 2;