Cardinality

com.google.protobuf.type.Field$.Cardinality
See theCardinality companion object
sealed abstract class Cardinality(val value: Int) extends GeneratedEnum

Whether a field is optional, required, or repeated.

Attributes

Companion:
object
Source:
Field.scala
Graph
Supertypes
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Type members

Types

Attributes

Source:
Field.scala

Value members

Concrete methods

Attributes

Source:
Field.scala
def companion: GeneratedEnumCompanion[Cardinality]

Attributes

Source:
Field.scala

Inherited methods

def canEqual(that: Any): Boolean

Attributes

Inherited from:
Equals
def index: Int

Attributes

Inherited from:
GeneratedEnum
Source:
GeneratedMessageCompanion.scala

Attributes

Inherited from:
GeneratedEnum
Source:
GeneratedMessageCompanion.scala
def javaValueDescriptor: EnumValueDescriptor

Attributes

Inherited from:
GeneratedEnum
Source:
GeneratedMessageCompanion.scala

Attributes

Inherited from:
GeneratedEnum
Source:
GeneratedMessageCompanion.scala

Attributes

Inherited from:
Product
def productElement(n: Int): Any

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def scalaValueDescriptor: EnumValueDescriptor

Attributes

Inherited from:
GeneratedEnum
Source:
GeneratedMessageCompanion.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
GeneratedEnum -> Any
Inherited from:
GeneratedEnum
Source:
GeneratedMessageCompanion.scala

Concrete fields

val value: Int

Attributes

Source:
Field.scala