class Immutable extends TweetElementFields
The default read-only implementation of TweetElementFields. You typically should not need to directly reference this class; instead, use the TweetElementFields.apply method to construct new instances.
- Alphabetic
- By Inheritance
- Immutable
- TweetElementFields
- Serializable
- ValidatingThriftStruct
- HasThriftStructCodec3
- Product8
- Product
- Equals
- ThriftStruct
- ThriftStructIface
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Immutable(source: Option[String] = _root_.scala.None, url: Option[String] = _root_.scala.None, id: Option[String] = _root_.scala.None, html: Option[String] = _root_.scala.None, originalUrl: Option[String] = _root_.scala.None, role: Option[String] = _root_.scala.None, sourceDomain: Option[String] = _root_.scala.None, isMandatory: Option[Boolean] = _root_.scala.None)
- new Immutable(source: Option[String], url: Option[String], id: Option[String], html: Option[String], originalUrl: Option[String], role: Option[String], sourceDomain: Option[String], isMandatory: Option[Boolean], _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: Option[String]
- Definition Classes
- TweetElementFields → Product8
- def _2: Option[String]
- Definition Classes
- TweetElementFields → Product8
- def _3: Option[String]
- Definition Classes
- TweetElementFields → Product8
- def _4: Option[String]
- Definition Classes
- TweetElementFields → Product8
- def _5: Option[String]
- Definition Classes
- TweetElementFields → Product8
- def _6: Option[String]
- Definition Classes
- TweetElementFields → Product8
- def _7: Option[String]
- Definition Classes
- TweetElementFields → Product8
- def _8: Option[Boolean]
- Definition Classes
- TweetElementFields → Product8
- def _codec: ValidatingThriftStructCodec3[TweetElementFields]
- Definition Classes
- TweetElementFields → ValidatingThriftStruct → HasThriftStructCodec3
- val _passthroughFields: Map[Short, TFieldBlob]
- Definition Classes
- Immutable → TweetElementFields
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def canEqual(other: Any): Boolean
- Definition Classes
- TweetElementFields → Equals
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def copy(source: Option[String] = this.source, url: Option[String] = this.url, id: Option[String] = this.id, html: Option[String] = this.html, originalUrl: Option[String] = this.originalUrl, role: Option[String] = this.role, sourceDomain: Option[String] = this.sourceDomain, isMandatory: Option[Boolean] = this.isMandatory, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): TweetElementFields
- Definition Classes
- TweetElementFields
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(other: Any): Boolean
- Definition Classes
- TweetElementFields → 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
- TweetElementFields
- 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
- TweetElementFields
- def hashCode(): Int
- Definition Classes
- TweetElementFields → AnyRef → Any
- val html: Option[String]
- Definition Classes
- Immutable → TweetElementFields
- val id: Option[String]
- Definition Classes
- Immutable → TweetElementFields
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val isMandatory: Option[Boolean]
- Definition Classes
- Immutable → TweetElementFields
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newBuilder(): StructBuilder[TweetElementFields]
- Definition Classes
- TweetElementFields
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- val originalUrl: Option[String]
- Definition Classes
- Immutable → TweetElementFields
- def productArity: Int
- Definition Classes
- Product8 → Product
- def productElement(n: Int): Any
- Definition Classes
- Product8 → 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
- TweetElementFields → Product
- val role: Option[String]
- Definition Classes
- Immutable → TweetElementFields
- def setField(_blob: TFieldBlob): TweetElementFields
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
- TweetElementFields
- val source: Option[String]
- Definition Classes
- Immutable → TweetElementFields
- val sourceDomain: Option[String]
- Definition Classes
- Immutable → TweetElementFields
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- TweetElementFields → AnyRef → Any
- def toTuple: (Option[String], Option[String], Option[String], Option[String], Option[String], Option[String], Option[String], Option[Boolean])
- Definition Classes
- TweetElementFields
- def unsetField(_fieldId: Short): TweetElementFields
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
- TweetElementFields
- def unsetHtml: TweetElementFields
- Definition Classes
- TweetElementFields
- def unsetId: TweetElementFields
- Definition Classes
- TweetElementFields
- def unsetIsMandatory: TweetElementFields
- Definition Classes
- TweetElementFields
- def unsetOriginalUrl: TweetElementFields
- Definition Classes
- TweetElementFields
- def unsetRole: TweetElementFields
- Definition Classes
- TweetElementFields
- def unsetSource: TweetElementFields
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
- TweetElementFields
- def unsetSourceDomain: TweetElementFields
- Definition Classes
- TweetElementFields
- def unsetUrl: TweetElementFields
- Definition Classes
- TweetElementFields
- val url: Option[String]
- Definition Classes
- Immutable → TweetElementFields
- 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 write(_oprot: TProtocol): Unit
- Definition Classes
- TweetElementFields → ThriftStruct
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)