com.google.protobuf.descriptor.FeatureSet.ProtoLimitsFeature
EnforceProtoLimits
Companion class EnforceProtoLimits
object EnforceProtoLimits extends GeneratedEnumCompanion[EnforceProtoLimits]
- Alphabetic
- By Inheritance
- EnforceProtoLimits
- GeneratedEnumCompanion
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- sealed trait Recognized extends EnforceProtoLimits
-
final
case class
Unrecognized(unrecognizedValue: Int) extends EnforceProtoLimits with UnrecognizedEnum with Product with Serializable
- Annotations
- @SerialVersionUID()
-
type
ValueType = EnforceProtoLimits
- Definition Classes
- GeneratedEnumCompanion
Value Members
-
final
def
!=(arg0: scala.Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: scala.Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- implicit def enumCompanion: GeneratedEnumCompanion[EnforceProtoLimits]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: scala.Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def fromJavaValue(pbJavaSource: DescriptorProtos.FeatureSet.ProtoLimitsFeature.EnforceProtoLimits): EnforceProtoLimits
-
def
fromName(name: String): scala.Option[EnforceProtoLimits]
- Definition Classes
- GeneratedEnumCompanion
-
def
fromValue(__value: Int): EnforceProtoLimits
- Definition Classes
- EnforceProtoLimits → GeneratedEnumCompanion
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
javaDescriptor: EnumDescriptor
Returns the Java descriptors for this enum.
Returns the Java descriptors for this enum. It is recommended to use scalaDescriptors. The Java descriptors are available even when Java conversions is disabled, however they are not available in Scala.js or scala-native.
- Definition Classes
- EnforceProtoLimits → GeneratedEnumCompanion
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
scalaDescriptor: EnumDescriptor
- Definition Classes
- EnforceProtoLimits → GeneratedEnumCompanion
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def toJavaValue(pbScalaSource: EnforceProtoLimits): DescriptorProtos.FeatureSet.ProtoLimitsFeature.EnforceProtoLimits
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
lazy val
values: Seq[Recognized]
- Definition Classes
- EnforceProtoLimits → GeneratedEnumCompanion
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
object
LEGACY_NO_EXPLICIT_LIMITS extends EnforceProtoLimits with Recognized with Product with Serializable
Default pre-EDITION_2026: there are no limit enforcement at the protoc level.
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.
- Annotations
- @SerialVersionUID()
-
object
PROTO_LIMITS2026 extends EnforceProtoLimits with Recognized with Product with Serializable
A set of limits enforced by Edition 2026 by default.
A set of limits enforced by Edition 2026 by default. For a detailed list of all the limits please consult the Edition 2026 documentation.
- Annotations
- @SerialVersionUID()
-
object
PROTO_LIMITS_UNKNOWN extends EnforceProtoLimits with Recognized with Product with Serializable
- Annotations
- @SerialVersionUID()