Packages

final case class AuxFieldOptions(target: Option[String] = _root_.scala.None, options: Option[FieldOptions] = _root_.scala.None, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[AuxFieldOptions] with Product with Serializable

AuxFieldOptions enables you to set field-level options through package-scoped options. This is useful when you can't add a dependency on scalapb.proto from the proto file that defines the field.

target

The fully-qualified name of the field in the proto name space.

options

Options to apply to the field. If there are any options defined on the target message they take precedence over the options.

Annotations
@SerialVersionUID()
Linear Supertypes
Product, Equals, Updatable[AuxFieldOptions], GeneratedMessage, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AuxFieldOptions
  2. Product
  3. Equals
  4. Updatable
  5. GeneratedMessage
  6. Serializable
  7. Serializable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AuxFieldOptions(target: Option[String] = _root_.scala.None, options: Option[FieldOptions] = _root_.scala.None, unknownFields: UnknownFieldSet = ...)

    target

    The fully-qualified name of the field in the proto name space.

    options

    Options to apply to the field. If there are any options defined on the target message they take precedence over the options.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clearOptions: AuxFieldOptions
  6. def clearTarget: AuxFieldOptions
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  8. def companion: AuxFieldOptions.type
    Definition Classes
    AuxFieldOptionsGeneratedMessage
  9. def discardUnknownFields: AuxFieldOptions
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    AuxFieldOptionsGeneratedMessage
  13. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    AuxFieldOptionsGeneratedMessage
  14. def getOptions: FieldOptions
  15. def getTarget: String
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. val options: Option[FieldOptions]
  21. def serializedSize: Int
    Definition Classes
    AuxFieldOptionsGeneratedMessage
  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. val target: Option[String]
  24. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  25. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  26. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  27. 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
    AuxFieldOptionsGeneratedMessage
  28. val unknownFields: UnknownFieldSet
  29. def update(ms: (Lens[AuxFieldOptions, AuxFieldOptions]) ⇒ Mutation[AuxFieldOptions]*): AuxFieldOptions
    Definition Classes
    Updatable
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. def withOptions(__v: FieldOptions): AuxFieldOptions
  34. def withTarget(__v: String): AuxFieldOptions
  35. def withUnknownFields(__v: UnknownFieldSet): AuxFieldOptions
  36. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  37. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    AuxFieldOptionsGeneratedMessage
  38. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Product

Inherited from Equals

Inherited from Updatable[AuxFieldOptions]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped