Field

com.google.protobuf.type.Field$
See theField companion class
object Field extends GeneratedMessageCompanion[Field]

Attributes

Companion:
class
Source:
Field.scala
Graph
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[Field]
trait Serializable
class Object
trait Matchable
class Any
Self type
Field.type

Members list

Concise view

Type members

Classlikes

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

Whether a field is optional, required, or repeated.

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
object Cardinality extends GeneratedEnumCompanion[Cardinality]

Attributes

Companion:
class
Source:
Field.scala
Graph
Supertypes
trait Sum
trait Mirror
trait GeneratedEnumCompanion[Cardinality]
trait Serializable
class Object
trait Matchable
class Any
Self type
implicit class FieldLens[UpperPB](_l: Lens[UpperPB, Field]) extends ObjectLens[UpperPB, Field]

Attributes

Source:
Field.scala
Graph
Supertypes
class ObjectLens[UpperPB, Field]
trait Lens[UpperPB, Field]
trait Serializable
class Object
trait Matchable
class Any
sealed abstract class Kind(val value: Int) extends GeneratedEnum

Basic field types.

Basic field types.

Attributes

Companion:
object
Source:
Field.scala
Graph
Supertypes
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Known subtypes
object TYPE_BOOL.type
object TYPE_BYTES.type
object TYPE_DOUBLE.type
object TYPE_ENUM.type
object TYPE_FIXED32.type
object TYPE_FIXED64.type
object TYPE_FLOAT.type
object TYPE_GROUP.type
object TYPE_INT32.type
object TYPE_INT64.type
object TYPE_MESSAGE.type
object TYPE_SFIXED32.type
object TYPE_SFIXED64.type
object TYPE_SINT32.type
object TYPE_SINT64.type
object TYPE_STRING.type
object TYPE_UINT32.type
object TYPE_UINT64.type
object TYPE_UNKNOWN.type
object Kind extends GeneratedEnumCompanion[Kind]

Attributes

Companion:
class
Source:
Field.scala
Graph
Supertypes
trait Sum
trait Mirror
trait GeneratedEnumCompanion[Kind]
trait Serializable
class Object
trait Matchable
class Any
Self type
Kind.type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source:
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source:
Mirror.scala
type ValueType = A

Attributes

Inherited from:
GeneratedMessageCompanion
Source:
GeneratedMessageCompanion.scala

Value members

Concrete methods

def enumCompanionForFieldNumber(`__fieldNumber`: Int): GeneratedEnumCompanion[_]

Attributes

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

Source:
Field.scala
def messageCompanionForFieldNumber(`__number`: Int): GeneratedMessageCompanion[_]

Attributes

Source:
Field.scala
def of(kind: Kind, cardinality: Cardinality, number: Int, name: String, typeUrl: String, oneofIndex: Int, packed: Boolean, options: Seq[OptionProto], jsonName: String, defaultValue: String): Field

Attributes

Source:
Field.scala
def parseFrom(`_input__`: CodedInputStream): Field

Parses a message from a CodedInputStream.

Parses a message from a CodedInputStream.

Attributes

Source:
Field.scala
def scalaDescriptor: Descriptor

Attributes

Source:
Field.scala

Inherited methods

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

Attributes

Inherited from:
GeneratedMessageCompanion
Source:
GeneratedMessageCompanion.scala
def fromAscii(s: String): A

Attributes

Inherited from:
GeneratedMessageCompanion
Source:
GeneratedMessageCompanion.scala
def merge(a: Field, 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
Source:
GeneratedMessageCompanion.scala
def messageCompanionForField(field: FieldDescriptor): GeneratedMessageCompanion[_]

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
GeneratedMessageCompanion
Source:
GeneratedMessageCompanion.scala
def parseFrom(input: InputStream): A

Attributes

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

Attributes

Inherited from:
GeneratedMessageCompanion
Source:
GeneratedMessageCompanion.scala

Attributes

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

Attributes

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

Attributes

Inherited from:
GeneratedMessageCompanion
Source:
GeneratedMessageCompanion.scala

Concrete fields

Attributes

Source:
Field.scala

Attributes

Source:
Field.scala

Attributes

Source:
Field.scala
final val KIND_FIELD_NUMBER: 1

Attributes

Source:
Field.scala
final val NAME_FIELD_NUMBER: 4

Attributes

Source:
Field.scala
final val NUMBER_FIELD_NUMBER: 3

Attributes

Source:
Field.scala

Attributes

Source:
Field.scala

Attributes

Source:
Field.scala
final val PACKED_FIELD_NUMBER: 8

Attributes

Source:
Field.scala

Attributes

Source:
Field.scala

Attributes

Source:
Field.scala
lazy val nestedMessagesCompanions: Seq[GeneratedMessageCompanion[_ <: GeneratedMessage]]

Attributes

Source:
Field.scala

Implicits

Implicits

final implicit def FieldLens[UpperPB](_l: Lens[UpperPB, Field]): FieldLens[UpperPB]

Attributes

Source:
Field.scala
implicit def messageCompanion: GeneratedMessageCompanion[Field]

Attributes

Source:
Field.scala
implicit def messageReads: Reads[Field]

Attributes

Source:
Field.scala