Class/Object

com.gu.contentatom.thrift.Tag

Immutable

Related Docs: object Immutable | package Tag

Permalink

class Immutable extends Tag

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

Linear Supertypes
Tag, Serializable, ValidatingThriftStruct[Tag], HasThriftStructCodec3[Tag], Product7[Long, Option[String], Option[String], Option[String], Option[String], Option[Section], Option[String]], Product, Equals, ThriftStruct, ThriftStructIface, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Immutable
  2. Tag
  3. Serializable
  4. ValidatingThriftStruct
  5. HasThriftStructCodec3
  6. Product7
  7. Product
  8. Equals
  9. ThriftStruct
  10. ThriftStructIface
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Immutable(id: Long, type: Option[String] = _root_.scala.None, internalName: Option[String] = _root_.scala.None, externalName: Option[String] = _root_.scala.None, slug: Option[String] = _root_.scala.None, section: Option[Section] = _root_.scala.None, path: Option[String] = _root_.scala.None)

    Permalink
  2. new Immutable(id: Long, type: Option[String], internalName: Option[String], externalName: Option[String], slug: Option[String], section: Option[Section], path: Option[String], _passthroughFields: Map[Short, TFieldBlob])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def _1: Long

    Permalink
    Definition Classes
    Tag → Product7
  5. def _2: Option[String]

    Permalink
    Definition Classes
    Tag → Product7
  6. def _3: Option[String]

    Permalink
    Definition Classes
    Tag → Product7
  7. def _4: Option[String]

    Permalink
    Definition Classes
    Tag → Product7
  8. def _5: Option[String]

    Permalink
    Definition Classes
    Tag → Product7
  9. def _6: Option[Section]

    Permalink
    Definition Classes
    Tag → Product7
  10. def _7: Option[String]

    Permalink
    Definition Classes
    Tag → Product7
  11. def _codec: ValidatingThriftStructCodec3[Tag]

    Permalink
    Definition Classes
    Tag → ValidatingThriftStruct → HasThriftStructCodec3
  12. val _passthroughFields: Map[Short, TFieldBlob]

    Permalink
    Definition Classes
    ImmutableTag
  13. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  14. def canEqual(other: Any): Boolean

    Permalink
    Definition Classes
    Tag → Equals
  15. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. def copy(id: Long = this.id, type: Option[String] = this.`type`, internalName: Option[String] = this.internalName, externalName: Option[String] = this.externalName, slug: Option[String] = this.slug, section: Option[Section] = this.section, path: Option[String] = this.path, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): Tag

    Permalink
    Definition Classes
    Tag
  17. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. def equals(other: Any): Boolean

    Permalink
    Definition Classes
    Tag → Equals → AnyRef → Any
  19. val externalName: Option[String]

    Permalink

    The external name of the tag

    The external name of the tag

    Definition Classes
    ImmutableTag
  20. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  21. def getFieldBlob(_fieldId: Short): Option[TFieldBlob]

    Permalink

    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
    Tag
  22. def getFieldBlobs(ids: TraversableOnce[Short]): Map[Short, TFieldBlob]

    Permalink

    Collects TCompactProtocol-encoded field values according to getFieldBlob into a map.

    Collects TCompactProtocol-encoded field values according to getFieldBlob into a map.

    Definition Classes
    Tag
  23. def hashCode(): Int

    Permalink
    Definition Classes
    Tag → AnyRef → Any
  24. val id: Long

    Permalink

    The id of the tag.

    The id of the tag. This is the R2 id and can be used to look up the tag in the tagApi etc.

    Definition Classes
    ImmutableTag
  25. val internalName: Option[String]

    Permalink

    The internal name of the tag

    The internal name of the tag

    Definition Classes
    ImmutableTag
  26. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  27. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  28. def newBuilder(): StructBuilder[Tag]

    Permalink
    Definition Classes
    Tag
  29. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. val path: Option[String]

    Permalink

    The full path of the tag

    The full path of the tag

    Definition Classes
    ImmutableTag
  32. def productArity: Int

    Permalink
    Definition Classes
    Product7 → Product
  33. def productElement(n: Int): Any

    Permalink
    Definition Classes
    Product7 → Product
    Annotations
    @throws( ... )
  34. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  35. def productPrefix: String

    Permalink
    Definition Classes
    Tag → Product
  36. val section: Option[Section]

    Permalink

    The section the tag belongs to

    The section the tag belongs to

    Definition Classes
    ImmutableTag
  37. def setField(_blob: TFieldBlob): Tag

    Permalink

    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
    Tag
  38. val slug: Option[String]

    Permalink

    The path fragment associated with the tag

    The path fragment associated with the tag

    Definition Classes
    ImmutableTag
  39. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  40. def toString(): String

    Permalink
    Definition Classes
    Tag → AnyRef → Any
  41. def toTuple: (Long, Option[String], Option[String], Option[String], Option[String], Option[Section], Option[String])

    Permalink
    Definition Classes
    Tag
  42. val type: Option[String]

    Permalink

    The tag's type

    The tag's type

    Definition Classes
    ImmutableTag
  43. def unsetExternalName: Tag

    Permalink
    Definition Classes
    Tag
  44. def unsetField(_fieldId: Short): Tag

    Permalink

    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
    Tag
  45. def unsetId: Tag

    Permalink

    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
    Tag
  46. def unsetInternalName: Tag

    Permalink
    Definition Classes
    Tag
  47. def unsetPath: Tag

    Permalink
    Definition Classes
    Tag
  48. def unsetSection: Tag

    Permalink
    Definition Classes
    Tag
  49. def unsetSlug: Tag

    Permalink
    Definition Classes
    Tag
  50. def unsetType: Tag

    Permalink
    Definition Classes
    Tag
  51. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. def write(_oprot: TProtocol): Unit

    Permalink
    Definition Classes
    Tag → ThriftStruct

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Tag

Inherited from Serializable

Inherited from ValidatingThriftStruct[Tag]

Inherited from HasThriftStructCodec3[Tag]

Inherited from Product7[Long, Option[String], Option[String], Option[String], Option[String], Option[Section], Option[String]]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from ThriftStructIface

Inherited from AnyRef

Inherited from Any

Ungrouped