EnumDescriptorProto

Companion:
class
trait Product
trait Mirror
trait Serializable
class Object
trait Matchable
class Any

Type members

Classlikes

implicit class EnumDescriptorProtoLens[UpperPB](_l: Lens[UpperPB, EnumDescriptorProto]) extends ObjectLens[UpperPB, EnumDescriptorProto]
final case class EnumReservedRange(start: Option[Int], end: Option[Int], unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[EnumReservedRange]

Range of reserved numeric values. Reserved values may not be used by entries in the same enum. Reserved ranges may not overlap.

Range of reserved numeric values. Reserved values may not be used by entries in the same enum. Reserved ranges may not overlap.

Note that this is distinct from DescriptorProto.ReservedRange in that it is inclusive such that it can appropriately represent the entire int32 domain.

Value parameters:
end

Inclusive.

start

Inclusive.

Companion:
object

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from:
Mirror
type ValueType = A

Value members

Concrete methods

def javaDescriptor: Descriptor

Returns the Java descriptors for this message. It is recommended to use scalaDescriptors. The Java descriptors are available even when Java conversions is disabled, however they are not avaialable in Scala.js or scala-native.

Returns the Java descriptors for this message. It is recommended to use scalaDescriptors. The Java descriptors are available even when Java conversions is disabled, however they are not avaialable in Scala.js or scala-native.

def of(name: Option[String], value: Seq[EnumValueDescriptorProto], options: Option[EnumOptions], reservedRange: Seq[EnumReservedRange], reservedName: Seq[String]): EnumDescriptorProto
def parseFrom(`_input__`: CodedInputStream): EnumDescriptorProto

Parses a message from a CodedInputStream.

Parses a message from a CodedInputStream.

Inherited methods

def enumCompanionForField(field: FieldDescriptor): GeneratedEnumCompanion[_]
def fromAscii(s: String): A
def merge(a: EnumDescriptorProto, input: CodedInputStream): A

Merges the given message with the additional fields in the steam.

Merges the given message with the additional fields in the steam.

Inherited from:
GeneratedMessageCompanion
def parseDelimitedFrom(input: InputStream): Option[A]
def parseDelimitedFrom(input: CodedInputStream): Option[A]
def parseFrom(s: Array[Byte]): A
def parseFrom(input: InputStream): A
def streamFromDelimitedInput(input: InputStream): Stream[A]
def toByteArray(a: EnumDescriptorProto): Array[Byte]
def validate(s: Array[Byte]): Try[A]
def validateAscii(s: String): Either[TextFormatError, A]

Implicits