trait GeneratedMessageCompanion[A <: GeneratedMessage] extends Serializable
Ordering
- Alphabetic
- By Inheritance
Inherited
- GeneratedMessageCompanion
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- type ValueType = A
Abstract Value Members
- abstract def defaultInstance: A
- abstract def enumCompanionForFieldNumber(field: Int): GeneratedEnumCompanion[_]
-
abstract
def
javaDescriptor: Descriptor
Returns the Java descriptors for this message.
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.
- abstract def messageCompanionForFieldNumber(field: Int): GeneratedMessageCompanion[_]
- abstract def messageReads: Reads[A]
- abstract def nestedMessagesCompanions: Seq[GeneratedMessageCompanion[_ <: GeneratedMessage]]
-
abstract
def
parseFrom(input: CodedInputStream): A
Parses a message from a CodedInputStream.
- abstract def scalaDescriptor: Descriptor
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def enumCompanionForField(field: FieldDescriptor): GeneratedEnumCompanion[_]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def fromAscii(s: String): A
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
merge(a: A, input: CodedInputStream): A
Merges the given message with the additional fields in the steam.
- def messageCompanionForField(field: FieldDescriptor): GeneratedMessageCompanion[_]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def parseDelimitedFrom(input: InputStream): Option[A]
- def parseDelimitedFrom(input: CodedInputStream): Option[A]
- def parseFrom(s: Array[Byte]): A
- def parseFrom(input: InputStream): A
-
def
streamFromDelimitedInput(input: InputStream): Stream[A]
- Annotations
- @nowarn()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def toByteArray(a: A): Array[Byte]
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def validate(s: Array[Byte]): Try[A]
- def validateAscii(s: String): Either[TextFormatError, A]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()