class Immutable extends ContentStats
The default read-only implementation of ContentStats. You typically should not need to directly reference this class; instead, use the ContentStats.apply method to construct new instances.
- Alphabetic
- By Inheritance
- Immutable
- ContentStats
- Serializable
- ValidatingThriftStruct
- HasThriftStructCodec3
- Product15
- Product
- Equals
- ThriftStruct
- ThriftStructIface
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Immutable(videos: Int, images: Int, text: Int, tweets: Int, pullquotes: Int, audio: Int, interactives: Int, witness: Int, richlinks: Int, membership: Int, embeds: Int, comments: Int, instagram: Int, vines: Int, callouts: Int)
- new Immutable(videos: Int, images: Int, text: Int, tweets: Int, pullquotes: Int, audio: Int, interactives: Int, witness: Int, richlinks: Int, membership: Int, embeds: Int, comments: Int, instagram: Int, vines: Int, callouts: Int, _passthroughFields: Map[Short, TFieldBlob])
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 _1: Int
- Definition Classes
- ContentStats → Product15
- def _10: Int
- Definition Classes
- ContentStats → Product15
- def _11: Int
- Definition Classes
- ContentStats → Product15
- def _12: Int
- Definition Classes
- ContentStats → Product15
- def _13: Int
- Definition Classes
- ContentStats → Product15
- def _14: Int
- Definition Classes
- ContentStats → Product15
- def _15: Int
- Definition Classes
- ContentStats → Product15
- def _2: Int
- Definition Classes
- ContentStats → Product15
- def _3: Int
- Definition Classes
- ContentStats → Product15
- def _4: Int
- Definition Classes
- ContentStats → Product15
- def _5: Int
- Definition Classes
- ContentStats → Product15
- def _6: Int
- Definition Classes
- ContentStats → Product15
- def _7: Int
- Definition Classes
- ContentStats → Product15
- def _8: Int
- Definition Classes
- ContentStats → Product15
- def _9: Int
- Definition Classes
- ContentStats → Product15
- def _codec: ValidatingThriftStructCodec3[ContentStats]
- Definition Classes
- ContentStats → ValidatingThriftStruct → HasThriftStructCodec3
- val _passthroughFields: Map[Short, TFieldBlob]
- Definition Classes
- Immutable → ContentStats
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val audio: Int
- Definition Classes
- Immutable → ContentStats
- val callouts: Int
- Definition Classes
- Immutable → ContentStats
- def canEqual(other: Any): Boolean
- Definition Classes
- ContentStats → Equals
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- val comments: Int
- Definition Classes
- Immutable → ContentStats
- def copy(videos: Int = this.videos, images: Int = this.images, text: Int = this.text, tweets: Int = this.tweets, pullquotes: Int = this.pullquotes, audio: Int = this.audio, interactives: Int = this.interactives, witness: Int = this.witness, richlinks: Int = this.richlinks, membership: Int = this.membership, embeds: Int = this.embeds, comments: Int = this.comments, instagram: Int = this.instagram, vines: Int = this.vines, callouts: Int = this.callouts, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): ContentStats
- Definition Classes
- ContentStats
- val embeds: Int
- Definition Classes
- Immutable → ContentStats
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(other: Any): Boolean
- Definition Classes
- ContentStats → Equals → AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getFieldBlob(_fieldId: Short): Option[TFieldBlob]
Gets a field value encoded as a binary blob using TCompactProtocol.
Gets a field value encoded as a binary blob using TCompactProtocol. If the specified field is present in the passthrough map, that value is returned. Otherwise, if the specified field is known and not optional and set to None, then the field is serialized and returned.
- Definition Classes
- ContentStats
- def getFieldBlobs(ids: TraversableOnce[Short]): Map[Short, TFieldBlob]
Collects TCompactProtocol-encoded field values according to
getFieldBlob
into a map.Collects TCompactProtocol-encoded field values according to
getFieldBlob
into a map.- Definition Classes
- ContentStats
- def hashCode(): Int
- Definition Classes
- ContentStats → AnyRef → Any
- val images: Int
- Definition Classes
- Immutable → ContentStats
- val instagram: Int
- Definition Classes
- Immutable → ContentStats
- val interactives: Int
- Definition Classes
- Immutable → ContentStats
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val membership: Int
- Definition Classes
- Immutable → ContentStats
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newBuilder(): StructBuilder[ContentStats]
- Definition Classes
- ContentStats
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def productArity: Int
- Definition Classes
- Product15 → Product
- def productElement(n: Int): Any
- Definition Classes
- Product15 → Product
- Annotations
- @throws(classOf[java.lang.IndexOutOfBoundsException])
- def productElementName(n: Int): String
- Definition Classes
- Product
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def productIterator: Iterator[Any]
- Definition Classes
- Product
- def productPrefix: String
- Definition Classes
- ContentStats → Product
- val pullquotes: Int
- Definition Classes
- Immutable → ContentStats
- val richlinks: Int
- Definition Classes
- Immutable → ContentStats
- def setField(_blob: TFieldBlob): ContentStats
Sets a field using a TCompactProtocol-encoded binary blob.
Sets a field using a TCompactProtocol-encoded binary blob. If the field is a known field, the blob is decoded and the field is set to the decoded value. If the field is unknown and passthrough fields are enabled, then the blob will be stored in _passthroughFields.
- Definition Classes
- ContentStats
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val text: Int
- Definition Classes
- Immutable → ContentStats
- def toString(): String
- Definition Classes
- ContentStats → AnyRef → Any
- def toTuple: (Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int)
- Definition Classes
- ContentStats
- val tweets: Int
- Definition Classes
- Immutable → ContentStats
- def unsetAudio: ContentStats
- Definition Classes
- ContentStats
- def unsetCallouts: ContentStats
- Definition Classes
- ContentStats
- def unsetComments: ContentStats
- Definition Classes
- ContentStats
- def unsetEmbeds: ContentStats
- Definition Classes
- ContentStats
- def unsetField(_fieldId: Short): ContentStats
If the specified field is optional, it is set to None.
If the specified field is optional, it is set to None. Otherwise, if the field is known, it is reverted to its default value; if the field is unknown, it is removed from the passthroughFields map, if present.
- Definition Classes
- ContentStats
- def unsetImages: ContentStats
- Definition Classes
- ContentStats
- def unsetInstagram: ContentStats
- Definition Classes
- ContentStats
- def unsetInteractives: ContentStats
- Definition Classes
- ContentStats
- def unsetMembership: ContentStats
- Definition Classes
- ContentStats
- def unsetPullquotes: ContentStats
- Definition Classes
- ContentStats
- def unsetRichlinks: ContentStats
- Definition Classes
- ContentStats
- def unsetText: ContentStats
- Definition Classes
- ContentStats
- def unsetTweets: ContentStats
- Definition Classes
- ContentStats
- def unsetVideos: ContentStats
If the specified field is optional, it is set to None.
If the specified field is optional, it is set to None. Otherwise, if the field is known, it is reverted to its default value; if the field is unknown, it is removed from the passthroughFields map, if present.
- Definition Classes
- ContentStats
- def unsetVines: ContentStats
- Definition Classes
- ContentStats
- def unsetWitness: ContentStats
- Definition Classes
- ContentStats
- val videos: Int
- Definition Classes
- Immutable → ContentStats
- val vines: Int
- Definition Classes
- Immutable → ContentStats
- 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])
- val witness: Int
- Definition Classes
- Immutable → ContentStats
- def write(_oprot: TProtocol): Unit
- Definition Classes
- ContentStats → ThriftStruct
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)