FieldBehavior

object FieldBehavior extends GeneratedEnumCompanion[FieldBehavior]
Companion
class
trait Sum
trait Mirror
trait GeneratedEnumCompanion[FieldBehavior]
trait Serializable
class Object
trait Matchable
class Any

Type members

Classlikes

@SerialVersionUID(0L)

Conventional default for enums. Do not use this.

Conventional default for enums. Do not use this.

@SerialVersionUID(0L)
case
object IMMUTABLE extends FieldBehavior with Recognized

Denotes a field as immutable. This indicates that the field may be set once in a request to create a resource, but may not be changed thereafter.

Denotes a field as immutable. This indicates that the field may be set once in a request to create a resource, but may not be changed thereafter.

@SerialVersionUID(0L)
case
object INPUT_ONLY extends FieldBehavior with Recognized

Denotes a field as input only. This indicates that the field is provided in requests, and the corresponding field is not included in output.

Denotes a field as input only. This indicates that the field is provided in requests, and the corresponding field is not included in output.

@SerialVersionUID(0L)
case

Denotes that this field returns a non-empty default value if not set. This indicates that if the user provides the empty value in a request, a non-empty value will be returned. The user will not be aware of what non-empty value to expect.

Denotes that this field returns a non-empty default value if not set. This indicates that if the user provides the empty value in a request, a non-empty value will be returned. The user will not be aware of what non-empty value to expect.

@SerialVersionUID(0L)
case
object OPTIONAL extends FieldBehavior with Recognized

Specifically denotes a field as optional. While all fields in protocol buffers are optional, this may be specified for emphasis if appropriate.

Specifically denotes a field as optional. While all fields in protocol buffers are optional, this may be specified for emphasis if appropriate.

@SerialVersionUID(0L)
case

Denotes a field as output only. This indicates that the field is provided in responses, but including the field in a request does nothing (the server must ignore it and must not throw an error as a result of the field's presence).

Denotes a field as output only. This indicates that the field is provided in responses, but including the field in a request does nothing (the server must ignore it and must not throw an error as a result of the field's presence).

@SerialVersionUID(0L)
case
object REQUIRED extends FieldBehavior with Recognized

Denotes a field as required. This indicates that the field must be provided as part of the request, and failure to do so will cause an error (usually INVALID_ARGUMENT).

Denotes a field as required. This indicates that the field must be provided as part of the request, and failure to do so will cause an error (usually INVALID_ARGUMENT).

sealed
@SerialVersionUID(0L)
case

Denotes that a (repeated) field is an unordered list. This indicates that the service may provide the elements of the list in any arbitrary order, rather than the order the user originally provided. Additionally, the list's order may or may not be stable.

Denotes that a (repeated) field is an unordered list. This indicates that the service may provide the elements of the list in any arbitrary order, rather than the order the user originally provided. Additionally, the list's order may or may not be stable.

@SerialVersionUID(0L)
final case
class Unrecognized(unrecognizedValue: Int) extends FieldBehavior with UnrecognizedEnum

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
Inherited from
GeneratedEnumCompanion

Value members

Concrete methods

def fromJavaValue(pbJavaSource: FieldBehavior): FieldBehavior
def fromValue(`__value`: Int): FieldBehavior
def javaDescriptor: EnumDescriptor
def scalaDescriptor: EnumDescriptor
def toJavaValue(pbScalaSource: FieldBehavior): FieldBehavior

Inherited methods

def fromName(name: String): Option[FieldBehavior]
Inherited from
GeneratedEnumCompanion

Concrete fields

lazy

Implicits

Implicits

implicit
def enumCompanion: GeneratedEnumCompanion[FieldBehavior]