final case class MessageOptions(extends: Seq[String] = _root_.scala.Seq.empty, companionExtends: Seq[String] = _root_.scala.Seq.empty, annotations: Seq[String] = _root_.scala.Seq.empty, type: Option[String] = _root_.scala.None, companionAnnotations: Seq[String] = _root_.scala.Seq.empty, sealedOneofExtends: Seq[String] = _root_.scala.Seq.empty) extends GeneratedMessage with Message[MessageOptions] with Updatable[MessageOptions] with Product with Serializable
- extends
Additional classes and traits to mix in to the case class.
- companionExtends
Additional classes and traits to mix in to the companion object.
- annotations
Custom annotations to add to the generated case class.
- type
All instances of this message will be converted to this type. An implicit TypeMapper must be present.
- companionAnnotations
Custom annotations to add to the companion object of the generated class.
- sealedOneofExtends
Additional classes and traits to mix in to generated sealed_oneof base trait.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- MessageOptions
- Product
- Equals
- Updatable
- Message
- GeneratedMessage
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
MessageOptions(extends: Seq[String] = _root_.scala.Seq.empty, companionExtends: Seq[String] = _root_.scala.Seq.empty, annotations: Seq[String] = _root_.scala.Seq.empty, type: Option[String] = _root_.scala.None, companionAnnotations: Seq[String] = _root_.scala.Seq.empty, sealedOneofExtends: Seq[String] = _root_.scala.Seq.empty)
- extends
Additional classes and traits to mix in to the case class.
- companionExtends
Additional classes and traits to mix in to the companion object.
- annotations
Custom annotations to add to the generated case class.
- type
All instances of this message will be converted to this type. An implicit TypeMapper must be present.
- companionAnnotations
Custom annotations to add to the companion object of the generated class.
- sealedOneofExtends
Additional classes and traits to mix in to generated sealed_oneof base trait.
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
- def addAllAnnotations(__vs: Iterable[String]): MessageOptions
- def addAllCompanionAnnotations(__vs: Iterable[String]): MessageOptions
- def addAllCompanionExtends(__vs: Iterable[String]): MessageOptions
- def addAllExtends(__vs: Iterable[String]): MessageOptions
- def addAllSealedOneofExtends(__vs: Iterable[String]): MessageOptions
- def addAnnotations(__vs: String*): MessageOptions
- def addCompanionAnnotations(__vs: String*): MessageOptions
- def addCompanionExtends(__vs: String*): MessageOptions
- def addExtends(__vs: String*): MessageOptions
- def addSealedOneofExtends(__vs: String*): MessageOptions
- val annotations: Seq[String]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearAnnotations: MessageOptions
- def clearCompanionAnnotations: MessageOptions
- def clearCompanionExtends: MessageOptions
- def clearExtends: MessageOptions
- def clearSealedOneofExtends: MessageOptions
- def clearType: MessageOptions
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate() @throws( ... )
-
def
companion: MessageOptions.type
- Definition Classes
- MessageOptions → GeneratedMessage
- val companionAnnotations: Seq[String]
- val companionExtends: Seq[String]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val extends: Seq[String]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getField(__field: FieldDescriptor): PValue
- Definition Classes
- MessageOptions → GeneratedMessage
-
def
getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- MessageOptions → GeneratedMessage
- def getType: String
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
mergeFrom(_input__: CodedInputStream): MessageOptions
- Definition Classes
- MessageOptions → Message
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val sealedOneofExtends: Seq[String]
-
final
def
serializedSize: Int
- Definition Classes
- MessageOptions → GeneratedMessage
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
-
def
toByteString: ByteString
- Definition Classes
- GeneratedMessage
-
def
toPMessage: PMessage
- Definition Classes
- GeneratedMessage
-
def
toProtoString: String
Returns a human-readable ASCII format representation of this message.
Returns a human-readable ASCII format representation of this message.
The original message can be decoded from this format by using fromAscii on the companion object.
- returns
human-readable representation of this message.
- Definition Classes
- MessageOptions → GeneratedMessage
- val type: Option[String]
-
def
update(ms: (Lens[MessageOptions, MessageOptions]) ⇒ Mutation[MessageOptions]*): MessageOptions
- Definition Classes
- Updatable
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def withAnnotations(__v: Seq[String]): MessageOptions
- def withCompanionAnnotations(__v: Seq[String]): MessageOptions
- def withCompanionExtends(__v: Seq[String]): MessageOptions
- def withExtends(__v: Seq[String]): MessageOptions
- def withSealedOneofExtends(__v: Seq[String]): MessageOptions
- def withType(__v: String): MessageOptions
-
def
writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
-
def
writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- MessageOptions → GeneratedMessage
-
def
writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
- Deprecated
(Since version ) see corresponding Javadoc for more information.
-
def
getAllFields: Map[FieldDescriptor, Any]
- Definition Classes
- GeneratedMessage
- Annotations
- @deprecated
- Deprecated
(Since version 0.6.0) Use toPMessage
-
def
getField(field: FieldDescriptor): Any
- Definition Classes
- GeneratedMessage
- Annotations
- @deprecated
- Deprecated
(Since version 0.6.0) Use getField that accepts a ScalaPB descriptor and returns PValue