final case class EnumOptions(allowAlias: scala.Option[Boolean] = _root_.scala.None, deprecated: scala.Option[Boolean] = _root_.scala.None, deprecatedLegacyJsonFieldConflicts: scala.Option[Boolean] = _root_.scala.None, features: scala.Option[FeatureSet] = _root_.scala.None, uninterpretedOption: Seq[UninterpretedOption] = _root_.scala.Vector.empty, unknownFields: scalapb.UnknownFieldSet = ...) extends scalapb.GeneratedMessage with Updatable[EnumOptions] with ExtendableMessage[EnumOptions] with Product with Serializable
- allowAlias
Set this option to true to allow mapping different tag names to the same value.
- deprecated
Is this enum deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum, or it will be completely ignored; in the very least, this is a formalization for deprecating enums.
- deprecatedLegacyJsonFieldConflicts
Enable the legacy handling of JSON field name conflicts. This lowercases and strips underscored from the fields before comparison in proto3 only. The new behavior takes
json_nameinto account and applies to proto2 as well. TODO Remove this legacy behavior once downstream teams have had time to migrate.- features
Any features defined in the specific edition. WARNING: This field should only be used by protobuf plugins or special cases like the proto compiler. Other uses are discouraged and developers should rely on the protoreflect APIs for their client language.
- uninterpretedOption
The parser stores options it doesn't recognize here. See above.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- EnumOptions
- ExtendableMessage
- Updatable
- GeneratedMessage
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
EnumOptions(allowAlias: scala.Option[Boolean] = _root_.scala.None, deprecated: scala.Option[Boolean] = _root_.scala.None, deprecatedLegacyJsonFieldConflicts: scala.Option[Boolean] = _root_.scala.None, features: scala.Option[FeatureSet] = _root_.scala.None, uninterpretedOption: Seq[UninterpretedOption] = _root_.scala.Vector.empty, unknownFields: scalapb.UnknownFieldSet = ...)
- allowAlias
Set this option to true to allow mapping different tag names to the same value.
- deprecated
Is this enum deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum, or it will be completely ignored; in the very least, this is a formalization for deprecating enums.
- deprecatedLegacyJsonFieldConflicts
Enable the legacy handling of JSON field name conflicts. This lowercases and strips underscored from the fields before comparison in proto3 only. The new behavior takes
json_nameinto account and applies to proto2 as well. TODO Remove this legacy behavior once downstream teams have had time to migrate.- features
Any features defined in the specific edition. WARNING: This field should only be used by protobuf plugins or special cases like the proto compiler. Other uses are discouraged and developers should rely on the protoreflect APIs for their client language.
- uninterpretedOption
The parser stores options it doesn't recognize here. See above.
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
- def addAllUninterpretedOption(__vs: Iterable[UninterpretedOption]): EnumOptions
- def addUninterpretedOption(__vs: UninterpretedOption*): EnumOptions
- val allowAlias: scala.Option[Boolean]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearAllowAlias: EnumOptions
- def clearDeprecated: EnumOptions
- def clearDeprecatedLegacyJsonFieldConflicts: EnumOptions
- def clearFeatures: EnumOptions
- def clearUninterpretedOption: EnumOptions
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
companion: EnumOptions.type
- Definition Classes
- EnumOptions → GeneratedMessage
- val deprecated: scala.Option[Boolean]
- def discardUnknownFields: EnumOptions
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
extension[T](generatedExtension: GeneratedExtension[EnumOptions, T]): T
- Definition Classes
- ExtendableMessage
- val features: scala.Option[FeatureSet]
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def getAllowAlias: Boolean
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getDeprecated: Boolean
- def getDeprecatedLegacyJsonFieldConflicts: Boolean
- def getFeatures: FeatureSet
-
def
getField(__field: FieldDescriptor): PValue
- Definition Classes
- EnumOptions → GeneratedMessage
-
def
getFieldByNumber(__fieldNumber: Int): scala.Any
- Definition Classes
- EnumOptions → GeneratedMessage
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
serializedSize: Int
- Definition Classes
- EnumOptions → GeneratedMessage
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
toByteArray: Array[Byte]
Serializes the message and returns a byte array containing its raw bytes
Serializes the message and returns a byte array containing its raw bytes
- Definition Classes
- GeneratedMessage
-
final
def
toByteString: ByteString
Serializes the message and returns a ByteString containing its raw bytes
Serializes the message and returns a ByteString containing its raw bytes
- Definition Classes
- GeneratedMessage
-
final
def
toPMessage: PMessage
- Definition Classes
- GeneratedMessage
-
def
toProtoString: String
Returns a human-readable ASCII format representation of this message.
Returns a human-readable ASCII format representation of this message.
The original message can be decoded from this format by using fromAscii on the companion object.
- returns
human-readable representation of this message.
- Definition Classes
- EnumOptions → GeneratedMessage
- val uninterpretedOption: Seq[UninterpretedOption]
-
val
unknownFields: scalapb.UnknownFieldSet
- Definition Classes
- EnumOptions → ExtendableMessage
-
def
update(ms: (Lens[EnumOptions, EnumOptions]) ⇒ Mutation[EnumOptions]*): EnumOptions
- Definition Classes
- Updatable
-
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()
- def withAllowAlias(__v: Boolean): EnumOptions
- def withDeprecated(__v: Boolean): EnumOptions
- def withDeprecatedLegacyJsonFieldConflicts(__v: Boolean): EnumOptions
-
def
withExtension[T](generatedExtension: GeneratedExtension[EnumOptions, T])(value: T): EnumOptions
- Definition Classes
- ExtendableMessage
- def withFeatures(__v: FeatureSet): EnumOptions
- def withUninterpretedOption(__v: Seq[UninterpretedOption]): EnumOptions
-
def
withUnknownFields(__v: scalapb.UnknownFieldSet): EnumOptions
- Definition Classes
- EnumOptions → ExtendableMessage
-
final
def
writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
-
def
writeTo(_output__: CodedOutputStream): Unit
Serializes the message into the given coded output stream
Serializes the message into the given coded output stream
- Definition Classes
- EnumOptions → GeneratedMessage
-
final
def
writeTo(output: OutputStream): Unit
Serializes the message into the given output stream
Serializes the message into the given output stream
- Definition Classes
- GeneratedMessage
Deprecated Value Members
-
val
deprecatedLegacyJsonFieldConflicts: scala.Option[Boolean]
- Annotations
- @deprecated
- Deprecated
(Since version ) Marked as deprecated in proto file