EnumDescriptorProto

com.google.protobuf.descriptor.EnumDescriptorProto$
See theEnumDescriptorProto companion class

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
trait Serializable
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

implicit class EnumDescriptorProtoLens[UpperPB](_l: Lens[UpperPB, EnumDescriptorProto]) extends ObjectLens[UpperPB, EnumDescriptorProto]

Attributes

Graph
Supertypes
class ObjectLens[UpperPB, EnumDescriptorProto]
trait Lens[UpperPB, EnumDescriptorProto]
trait Serializable
class Object
trait Matchable
class Any
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.

Attributes

end

Inclusive.

start

Inclusive.

Companion:
object
Graph
Supertypes
trait Updatable[EnumReservedRange]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
trait Serializable
class Object
trait Matchable
class Any
Self type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
type ValueType = A

Attributes

Inherited from:
GeneratedMessageCompanion

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 available 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 available in Scala.js or scala-native.

Attributes

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.

Attributes

Inherited methods

def enumCompanionForField(field: FieldDescriptor): GeneratedEnumCompanion[_]

Attributes

Inherited from:
GeneratedMessageCompanion
def fromAscii(s: String): A

Attributes

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

Attributes

Inherited from:
GeneratedMessageCompanion
def messageCompanionForField(field: FieldDescriptor): GeneratedMessageCompanion[_]

Attributes

Inherited from:
GeneratedMessageCompanion
def parseDelimitedFrom(input: InputStream): Option[A]

Attributes

Inherited from:
GeneratedMessageCompanion
def parseDelimitedFrom(input: CodedInputStream): Option[A]

Attributes

Inherited from:
GeneratedMessageCompanion
def parseFrom(s: Array[Byte]): A

Attributes

Inherited from:
GeneratedMessageCompanion
def parseFrom(input: InputStream): A

Attributes

Inherited from:
GeneratedMessageCompanion
def streamFromDelimitedInput(input: InputStream): Stream[A]

Attributes

Inherited from:
GeneratedMessageCompanion
def toByteArray(a: EnumDescriptorProto): Array[Byte]

Attributes

Inherited from:
GeneratedMessageCompanion
def validate(s: Array[Byte]): Try[A]

Attributes

Inherited from:
GeneratedMessageCompanion
def validateAscii(s: String): Either[TextFormatError, A]

Attributes

Inherited from:
GeneratedMessageCompanion

Implicits