Trait/Object

com.gu.contententity.thrift

Entity

Related Docs: object Entity | package thrift

Permalink

trait Entity extends ThriftStruct with Product9[String, EntityType, Option[String], Option[Person], Option[Film], Option[Game], Option[Restaurant], Option[Place], Option[Organisation]] with ValidatingThriftStruct[Entity] with Serializable

Prefer the companion object's com.gu.contententity.thrift.Entity.apply for construction if you don't need to specify passthrough fields.

Linear Supertypes
Serializable, ValidatingThriftStruct[Entity], HasThriftStructCodec3[Entity], Product9[String, EntityType, Option[String], Option[Person], Option[Film], Option[Game], Option[Restaurant], Option[Place], Option[Organisation]], Product, Equals, ThriftStruct, ThriftStructIface, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Entity
  2. Serializable
  3. ValidatingThriftStruct
  4. HasThriftStructCodec3
  5. Product9
  6. Product
  7. Equals
  8. ThriftStruct
  9. ThriftStructIface
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def entityType: EntityType

    Permalink
  2. abstract def film: Option[Film]

    Permalink
  3. abstract def game: Option[Game]

    Permalink
  4. abstract def googleId: Option[String]

    Permalink
  5. abstract def id: String

    Permalink
  6. abstract def organisation: Option[Organisation]

    Permalink
  7. abstract def person: Option[Person]

    Permalink
  8. abstract def place: Option[Place]

    Permalink
  9. abstract def restaurant: Option[Restaurant]

    Permalink

Concrete 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: String

    Permalink
    Definition Classes
    Entity → Product9
  5. def _2: EntityType

    Permalink
    Definition Classes
    Entity → Product9
  6. def _3: Option[String]

    Permalink
    Definition Classes
    Entity → Product9
  7. def _4: Option[Person]

    Permalink
    Definition Classes
    Entity → Product9
  8. def _5: Option[Film]

    Permalink
    Definition Classes
    Entity → Product9
  9. def _6: Option[Game]

    Permalink
    Definition Classes
    Entity → Product9
  10. def _7: Option[Restaurant]

    Permalink
    Definition Classes
    Entity → Product9
  11. def _8: Option[Place]

    Permalink
    Definition Classes
    Entity → Product9
  12. def _9: Option[Organisation]

    Permalink
    Definition Classes
    Entity → Product9
  13. def _codec: ValidatingThriftStructCodec3[Entity]

    Permalink
    Definition Classes
    Entity → ValidatingThriftStruct → HasThriftStructCodec3
  14. def _passthroughFields: Map[Short, TFieldBlob]

    Permalink
  15. final def asInstanceOf[T0]: T0

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

    Permalink
    Definition Classes
    Entity → Equals
  17. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. def copy(id: String = this.id, entityType: EntityType = this.entityType, googleId: Option[String] = this.googleId, person: Option[Person] = this.person, film: Option[Film] = this.film, game: Option[Game] = this.game, restaurant: Option[Restaurant] = this.restaurant, place: Option[Place] = this.place, organisation: Option[Organisation] = this.organisation, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): Entity

    Permalink
  19. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    Entity → Equals → AnyRef → Any
  21. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  23. 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.

  24. def getFieldBlobs(ids: TraversableOnce[Short]): Map[Short, TFieldBlob]

    Permalink

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

  25. def hashCode(): Int

    Permalink
    Definition Classes
    Entity → AnyRef → Any
  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[Entity]

    Permalink
  29. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  31. def productArity: Int

    Permalink
    Definition Classes
    Product9 → Product
  32. def productElement(n: Int): Any

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

    Permalink
    Definition Classes
    Product
  34. def productPrefix: String

    Permalink
    Definition Classes
    Entity → Product
  35. def setField(_blob: TFieldBlob): Entity

    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.

  36. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    Entity → AnyRef → Any
  38. def toTuple: (String, EntityType, Option[String], Option[Person], Option[Film], Option[Game], Option[Restaurant], Option[Place], Option[Organisation])

    Permalink
  39. def unsetEntityType: Entity

    Permalink
  40. def unsetField(_fieldId: Short): Entity

    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.

  41. def unsetFilm: Entity

    Permalink
  42. def unsetGame: Entity

    Permalink
  43. def unsetGoogleId: Entity

    Permalink
  44. def unsetId: Entity

    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.

  45. def unsetOrganisation: Entity

    Permalink
  46. def unsetPerson: Entity

    Permalink
  47. def unsetPlace: Entity

    Permalink
  48. def unsetRestaurant: Entity

    Permalink
  49. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long, arg1: Int): Unit

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

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

    Permalink
    Definition Classes
    Entity → ThriftStruct

Inherited from Serializable

Inherited from ValidatingThriftStruct[Entity]

Inherited from HasThriftStructCodec3[Entity]

Inherited from Product9[String, EntityType, Option[String], Option[Person], Option[Film], Option[Game], Option[Restaurant], Option[Place], Option[Organisation]]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from ThriftStructIface

Inherited from AnyRef

Inherited from Any

Ungrouped