EnumOptions

com.google.protobuf.descriptor.EnumOptions
See theEnumOptions companion object
final case class EnumOptions(allowAlias: Option[Boolean], deprecated: Option[Boolean], deprecatedLegacyJsonFieldConflicts: Option[Boolean], features: Option[FeatureSet], uninterpretedOption: Seq[UninterpretedOption], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[EnumOptions], ExtendableMessage[EnumOptions]

Value parameters

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_name into 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.

uninterpretedOption

The parser stores options it doesn't recognize here. See above.

Attributes

Companion
object
Source
EnumOptions.scala
Graph
Supertypes
trait ExtendableMessage[EnumOptions]
trait Updatable[EnumOptions]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Attributes

Source
EnumOptions.scala

Attributes

Source
EnumOptions.scala

Attributes

Source
EnumOptions.scala

Attributes

Source
EnumOptions.scala
def getField(`__field`: FieldDescriptor): PValue

Attributes

Source
EnumOptions.scala
def getFieldByNumber(`__fieldNumber`: Int): Any

Attributes

Source
EnumOptions.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source
EnumOptions.scala

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.

Attributes

Returns

human-readable representation of this message.

Source
EnumOptions.scala

Attributes

Source
EnumOptions.scala

Attributes

Source
EnumOptions.scala

Attributes

Source
EnumOptions.scala
def withUnknownFields(`__v`: UnknownFieldSet): EnumOptions

Attributes

Source
EnumOptions.scala
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Source
EnumOptions.scala

Inherited methods

def extension[T](generatedExtension: GeneratedExtension[EnumOptions, T]): T

Attributes

Inherited from:
ExtendableMessage
Source
GeneratedMessageCompanion.scala

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
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

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
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

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
def update(ms: Lens[EnumOptions, EnumOptions] => () => EnumOptions*): A

Attributes

Inherited from:
Updatable
Source
Lenses.scala
def withExtension[T](generatedExtension: GeneratedExtension[EnumOptions, T])(value: T): A

Attributes

Inherited from:
ExtendableMessage
Source
GeneratedMessageCompanion.scala
final def writeDelimitedTo(output: OutputStream): Unit

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala