FieldBehavior

sealed abstract
class FieldBehavior(val value: Int) extends GeneratedEnum

An indicator of the behavior of a given field (for example, that a field is required in requests, or given as output but ignored as input). This does not change the behavior in protocol buffers itself; it only denotes the behavior and may affect how API tooling handles the field.

Note: This enum may receive new values in the future.

Companion
object
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Type members

Types

Value members

Concrete methods

final
def companion: GeneratedEnumCompanion[FieldBehavior]
def isImmutable: Boolean
def isInputOnly: Boolean
def isNonEmptyDefault: Boolean
def isOptional: Boolean
def isOutputOnly: Boolean
def isRequired: Boolean
def isUnorderedList: Boolean

Inherited methods

def canEqual(that: Any): Boolean
Inherited from
Equals
def index: Int
Inherited from
GeneratedEnum
def isUnrecognized: Boolean
Inherited from
GeneratedEnum
def javaValueDescriptor: EnumValueDescriptor
Inherited from
GeneratedEnum
def name: String
Inherited from
GeneratedEnum
def productArity: Int
Inherited from
Product
def productElement(n: Int): Any
Inherited from
Product
def productElementName(n: Int): String
Inherited from
Product
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
def productPrefix: String
Inherited from
Product
def scalaValueDescriptor: EnumValueDescriptor
Inherited from
GeneratedEnum
override
def toString: String
Definition Classes
GeneratedEnum -> Any
Inherited from
GeneratedEnum

Concrete fields

val value: Int