Packages

class Immutable extends Element

The default read-only implementation of Element. You typically should not need to directly reference this class; instead, use the Element.apply method to construct new instances.

Linear Supertypes
Element, Serializable, ValidatingThriftStruct[Element], HasThriftStructCodec3[Element], Product5[String, String, ElementType, Option[Int], Seq[Asset]], Product, Equals, ThriftStruct, ThriftStructIface, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Immutable
  2. Element
  3. Serializable
  4. ValidatingThriftStruct
  5. HasThriftStructCodec3
  6. Product5
  7. Product
  8. Equals
  9. ThriftStruct
  10. ThriftStructIface
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Immutable(id: String, relation: String, type: ElementType, galleryIndex: Option[Int] = _root_.scala.None, assets: Seq[Asset] = _root_.scala.collection.immutable.Nil)
  2. new Immutable(id: String, relation: String, type: ElementType, galleryIndex: Option[Int], assets: Seq[Asset], _passthroughFields: Map[Short, TFieldBlob])

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. def _1: String
    Definition Classes
    Element → Product5
  5. def _2: String
    Definition Classes
    Element → Product5
  6. def _3: ElementType
    Definition Classes
    Element → Product5
  7. def _4: Option[Int]
    Definition Classes
    Element → Product5
  8. def _5: Seq[Asset]
    Definition Classes
    Element → Product5
  9. def _codec: ValidatingThriftStructCodec3[Element]
    Definition Classes
    Element → ValidatingThriftStruct → HasThriftStructCodec3
  10. val _passthroughFields: Map[Short, TFieldBlob]
    Definition Classes
    ImmutableElement
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. val assets: Seq[Asset]
    Definition Classes
    ImmutableElement
  13. def canEqual(other: Any): Boolean
    Definition Classes
    Element → Equals
  14. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  15. def copy(id: String = this.id, relation: String = this.relation, type: ElementType = this.`type`, galleryIndex: Option[Int] = this.galleryIndex, assets: Seq[Asset] = this.assets, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): Element
    Definition Classes
    Element
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(other: Any): Boolean
    Definition Classes
    Element → Equals → AnyRef → Any
  18. val galleryIndex: Option[Int]
    Definition Classes
    ImmutableElement
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  20. 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
    Element
  21. 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
    Element
  22. def hashCode(): Int
    Definition Classes
    Element → AnyRef → Any
  23. val id: String
    Definition Classes
    ImmutableElement
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. def newBuilder(): StructBuilder[Element]
    Definition Classes
    Element
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  29. def productArity: Int
    Definition Classes
    Product5 → Product
  30. def productElement(n: Int): Any
    Definition Classes
    Product5 → Product
    Annotations
    @throws(classOf[java.lang.IndexOutOfBoundsException])
  31. def productElementName(n: Int): String
    Definition Classes
    Product
  32. def productElementNames: Iterator[String]
    Definition Classes
    Product
  33. def productIterator: Iterator[Any]
    Definition Classes
    Product
  34. def productPrefix: String
    Definition Classes
    Element → Product
  35. val relation: String
    Definition Classes
    ImmutableElement
  36. def setField(_blob: TFieldBlob): Element

    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
    Element
  37. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  38. def toString(): String
    Definition Classes
    Element → AnyRef → Any
  39. def toTuple: (String, String, ElementType, Option[Int], Seq[Asset])
    Definition Classes
    Element
  40. val type: ElementType
    Definition Classes
    ImmutableElement
  41. def unsetAssets: Element
    Definition Classes
    Element
  42. def unsetField(_fieldId: Short): Element

    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
    Element
  43. def unsetGalleryIndex: Element
    Definition Classes
    Element
  44. def unsetId: Element

    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
    Element
  45. def unsetRelation: Element
    Definition Classes
    Element
  46. def unsetType: Element
    Definition Classes
    Element
  47. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  48. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  49. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  50. def write(_oprot: TProtocol): Unit
    Definition Classes
    Element → ThriftStruct

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 Element

Inherited from Serializable

Inherited from ValidatingThriftStruct[Element]

Inherited from HasThriftStructCodec3[Element]

Inherited from Product5[String, String, ElementType, Option[Int], Seq[Asset]]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from ThriftStructIface

Inherited from AnyRef

Inherited from Any

Ungrouped