final case class Restrictions(bcat: Seq[String] = _root_.scala.Seq.empty, cattax: CategoryTaxonomy = com.explorestack.protobuf.adcom.CategoryTaxonomy.CATEGORY_TAXONOMY_INVALID, badv: Seq[String] = _root_.scala.Seq.empty, bapp: Seq[String] = _root_.scala.Seq.empty, battr: Seq[CreativeAttribute] = _root_.scala.Seq.empty, ext: Option[Struct] = _root_.scala.None, extProto: Seq[Any] = _root_.scala.Seq.empty) extends GeneratedMessage with Updatable[Restrictions] with Product with Serializable
This object allows lists of restrictions on ad responses to be specified including specific content categories, advertisers, ads pertaining to specific apps, or creative attributes.
- bcat
Block list of content categories using IDs from the taxonomy indicated in cattax.
- cattax
The taxonomy in use for the bcat attribute.
- badv
Block list of advertisers by their domains (e.g., “ford.com”).
- bapp
Block list of apps for which ads are disallowed. These should be bundle or package names (e.g., “com.foo.mygame”) and should NOT be app store IDs (e.g., not iTunes store IDs).
- battr
Block list of creative attributes.
- ext
Optional vendor-specific extensions.
- extProto
Legacy proto extensions.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- Restrictions
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Restrictions(bcat: Seq[String] = _root_.scala.Seq.empty, cattax: CategoryTaxonomy = com.explorestack.protobuf.adcom.CategoryTaxonomy.CATEGORY_TAXONOMY_INVALID, badv: Seq[String] = _root_.scala.Seq.empty, bapp: Seq[String] = _root_.scala.Seq.empty, battr: Seq[CreativeAttribute] = _root_.scala.Seq.empty, ext: Option[Struct] = _root_.scala.None, extProto: Seq[Any] = _root_.scala.Seq.empty)
- bcat
Block list of content categories using IDs from the taxonomy indicated in cattax.
- cattax
The taxonomy in use for the bcat attribute.
- badv
Block list of advertisers by their domains (e.g., “ford.com”).
- bapp
Block list of apps for which ads are disallowed. These should be bundle or package names (e.g., “com.foo.mygame”) and should NOT be app store IDs (e.g., not iTunes store IDs).
- battr
Block list of creative attributes.
- ext
Optional vendor-specific extensions.
- extProto
Legacy proto extensions.
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 addAllBadv(__vs: Iterable[String]): Restrictions
- def addAllBapp(__vs: Iterable[String]): Restrictions
- def addAllBattr(__vs: Iterable[CreativeAttribute]): Restrictions
- def addAllBcat(__vs: Iterable[String]): Restrictions
- def addAllExtProto(__vs: Iterable[Any]): Restrictions
- def addBadv(__vs: String*): Restrictions
- def addBapp(__vs: String*): Restrictions
- def addBattr(__vs: CreativeAttribute*): Restrictions
- def addBcat(__vs: String*): Restrictions
- def addExtProto(__vs: Any*): Restrictions
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val badv: Seq[String]
- val bapp: Seq[String]
- val battr: Seq[CreativeAttribute]
- val bcat: Seq[String]
- val cattax: CategoryTaxonomy
- def clearBadv: Restrictions
- def clearBapp: Restrictions
- def clearBattr: Restrictions
- def clearBcat: Restrictions
- def clearExt: Restrictions
- def clearExtProto: Restrictions
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def companion: Restrictions.type
- Definition Classes
- Restrictions → GeneratedMessage
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val ext: Option[Struct]
- val extProto: Seq[Any]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getExt: Struct
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- Restrictions → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- Restrictions → GeneratedMessage
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def serializedSize: Int
- Definition Classes
- Restrictions → GeneratedMessage
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
- final def toByteString: ByteString
- Definition Classes
- GeneratedMessage
- final def toPMessage: PMessage
- Definition Classes
- GeneratedMessage
- def toProtoString: String
- Definition Classes
- Restrictions → GeneratedMessage
- def update(ms: (Lens[Restrictions, Restrictions]) => Mutation[Restrictions]*): Restrictions
- Definition Classes
- Updatable
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withBadv(__v: Seq[String]): Restrictions
- def withBapp(__v: Seq[String]): Restrictions
- def withBattr(__v: Seq[CreativeAttribute]): Restrictions
- def withBcat(__v: Seq[String]): Restrictions
- def withCattax(__v: CategoryTaxonomy): Restrictions
- def withExt(__v: Struct): Restrictions
- def withExtProto(__v: Seq[Any]): Restrictions
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- Restrictions → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)