Packages

final case class Constraint(sourceAnchor: Anchor = io.bidmachine.protobuf.rendering.Rendering.Phase.ViewComponent.Layout.Constraint.Anchor.ANCHOR_INVALID, targetAnchor: Anchor = io.bidmachine.protobuf.rendering.Rendering.Phase.ViewComponent.Layout.Constraint.Anchor.ANCHOR_INVALID, target: String = "", value: Double = 0.0, multiplier: Double = 0.0) extends GeneratedMessage with Updatable[Constraint] with Product with Serializable

target

Any string value. Must match the name of the component from ads or controls Note: If it is necessary to bind to the screen, then target = system

value

The importance of constraint. Note: Negative values for X constants shift left, for Y constants shift up. For height and width, the value 0 - is the value of the full width and height of the screen

multiplier

The value of the multiplier for a relative value. Relative value applies only to dimensions and constraints. width and height use multiplier, there are no other bindings

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

Instance Constructors

  1. new Constraint(sourceAnchor: Anchor = io.bidmachine.protobuf.rendering.Rendering.Phase.ViewComponent.Layout.Constraint.Anchor.ANCHOR_INVALID, targetAnchor: Anchor = io.bidmachine.protobuf.rendering.Rendering.Phase.ViewComponent.Layout.Constraint.Anchor.ANCHOR_INVALID, target: String = "", value: Double = 0.0, multiplier: Double = 0.0)

    target

    Any string value. Must match the name of the component from ads or controls Note: If it is necessary to bind to the screen, then target = system

    value

    The importance of constraint. Note: Negative values for X constants shift left, for Y constants shift up. For height and width, the value 0 - is the value of the full width and height of the screen

    multiplier

    The value of the multiplier for a relative value. Relative value applies only to dimensions and constraints. width and height use multiplier, there are no other bindings

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 clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  6. def companion: Constraint.type
    Definition Classes
    Constraint → GeneratedMessage
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  9. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    Constraint → GeneratedMessage
  10. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    Constraint → GeneratedMessage
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. val multiplier: Double
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  16. def productElementNames: Iterator[String]
    Definition Classes
    Product
  17. def serializedSize: Int
    Definition Classes
    Constraint → GeneratedMessage
  18. val sourceAnchor: Anchor
  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. val target: String
  21. val targetAnchor: Anchor
  22. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  23. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  24. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  25. def toProtoString: String
    Definition Classes
    Constraint → GeneratedMessage
  26. def update(ms: (Lens[Constraint, Constraint]) => Mutation[Constraint]*): Constraint
    Definition Classes
    Updatable
  27. val value: Double
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. def withMultiplier(__v: Double): Constraint
  32. def withSourceAnchor(__v: Anchor): Constraint
  33. def withTarget(__v: String): Constraint
  34. def withTargetAnchor(__v: Anchor): Constraint
  35. def withValue(__v: Double): Constraint
  36. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  37. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    Constraint → GeneratedMessage
  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

    (Since version 9)

Inherited from Updatable[Constraint]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped