FieldBehavior

com.google.api.field_behavior.FieldBehavior
See theFieldBehavior companion object
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.

Attributes

Companion:
object
Source:
FieldBehavior.scala
Graph
Supertypes
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Known subtypes
object IMMUTABLE.type
object INPUT_ONLY.type
object NON_EMPTY_DEFAULT.type
object OPTIONAL.type
object OUTPUT_ONLY.type
object REQUIRED.type
object UNORDERED_LIST.type

Members list

Concise view

Type members

Types

Value members

Concrete methods

def companion: GeneratedEnumCompanion[FieldBehavior]

Attributes

Source:
FieldBehavior.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:
FieldBehavior.scala