Class/Object

com.gu.contententity.thrift.Address

Immutable

Related Docs: object Immutable | package Address

Permalink

class Immutable extends Address

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

Linear Supertypes
Address, Serializable, ValidatingThriftStruct[Address], HasThriftStructCodec3[Address], Product10[Option[String], Option[Short], Option[String], Option[String], Option[String], Option[String], Option[String], Option[String], Option[String], Option[String]], Product, Equals, ThriftStruct, ThriftStructIface, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Immutable
  2. Address
  3. Serializable
  4. ValidatingThriftStruct
  5. HasThriftStructCodec3
  6. Product10
  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(formattedAddress: Option[String] = _root_.scala.None, streetNumber: Option[Short] = _root_.scala.None, streetName: Option[String] = _root_.scala.None, neighbourhood: Option[String] = _root_.scala.None, postTown: Option[String] = _root_.scala.None, locality: Option[String] = _root_.scala.None, country: Option[String] = _root_.scala.None, administrativeAreaLevelOne: Option[String] = _root_.scala.None, administrativeAreaLevelTwo: Option[String] = _root_.scala.None, postCode: Option[String] = _root_.scala.None)

    Permalink
  2. new Immutable(formattedAddress: Option[String], streetNumber: Option[Short], streetName: Option[String], neighbourhood: Option[String], postTown: Option[String], locality: Option[String], country: Option[String], administrativeAreaLevelOne: Option[String], administrativeAreaLevelTwo: Option[String], postCode: 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: Option[String]

    Permalink
    Definition Classes
    Address → Product10
  5. def _10: Option[String]

    Permalink
    Definition Classes
    Address → Product10
  6. def _2: Option[Short]

    Permalink
    Definition Classes
    Address → Product10
  7. def _3: Option[String]

    Permalink
    Definition Classes
    Address → Product10
  8. def _4: Option[String]

    Permalink
    Definition Classes
    Address → Product10
  9. def _5: Option[String]

    Permalink
    Definition Classes
    Address → Product10
  10. def _6: Option[String]

    Permalink
    Definition Classes
    Address → Product10
  11. def _7: Option[String]

    Permalink
    Definition Classes
    Address → Product10
  12. def _8: Option[String]

    Permalink
    Definition Classes
    Address → Product10
  13. def _9: Option[String]

    Permalink
    Definition Classes
    Address → Product10
  14. def _codec: ValidatingThriftStructCodec3[Address]

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

    Permalink
    Definition Classes
    ImmutableAddress
  16. val administrativeAreaLevelOne: Option[String]

    Permalink
    Definition Classes
    ImmutableAddress
  17. val administrativeAreaLevelTwo: Option[String]

    Permalink
    Definition Classes
    ImmutableAddress
  18. final def asInstanceOf[T0]: T0

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

    Permalink
    Definition Classes
    Address → Equals
  20. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. def copy(formattedAddress: Option[String] = this.formattedAddress, streetNumber: Option[Short] = this.streetNumber, streetName: Option[String] = this.streetName, neighbourhood: Option[String] = this.neighbourhood, postTown: Option[String] = this.postTown, locality: Option[String] = this.locality, country: Option[String] = this.country, administrativeAreaLevelOne: Option[String] = this.administrativeAreaLevelOne, administrativeAreaLevelTwo: Option[String] = this.administrativeAreaLevelTwo, postCode: Option[String] = this.postCode, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): Address

    Permalink
    Definition Classes
    Address
  22. val country: Option[String]

    Permalink
    Definition Classes
    ImmutableAddress
  23. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    Address → Equals → AnyRef → Any
  25. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  26. val formattedAddress: Option[String]

    Permalink
    Definition Classes
    ImmutableAddress
  27. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  28. 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
    Address
  29. 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
    Address
  30. def hashCode(): Int

    Permalink
    Definition Classes
    Address → AnyRef → Any
  31. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  32. val locality: Option[String]

    Permalink
    Definition Classes
    ImmutableAddress
  33. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  34. val neighbourhood: Option[String]

    Permalink
    Definition Classes
    ImmutableAddress
  35. def newBuilder(): StructBuilder[Address]

    Permalink
    Definition Classes
    Address
  36. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  38. val postCode: Option[String]

    Permalink
    Definition Classes
    ImmutableAddress
  39. val postTown: Option[String]

    Permalink
    Definition Classes
    ImmutableAddress
  40. def productArity: Int

    Permalink
    Definition Classes
    Product10 → Product
  41. def productElement(n: Int): Any

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

    Permalink
    Definition Classes
    Product
  43. def productPrefix: String

    Permalink
    Definition Classes
    Address → Product
  44. def setField(_blob: TFieldBlob): Address

    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
    Address
  45. val streetName: Option[String]

    Permalink
    Definition Classes
    ImmutableAddress
  46. val streetNumber: Option[Short]

    Permalink
    Definition Classes
    ImmutableAddress
  47. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    Address → AnyRef → Any
  49. def toTuple: (Option[String], Option[Short], Option[String], Option[String], Option[String], Option[String], Option[String], Option[String], Option[String], Option[String])

    Permalink
    Definition Classes
    Address
  50. def unsetAdministrativeAreaLevelOne: Address

    Permalink
    Definition Classes
    Address
  51. def unsetAdministrativeAreaLevelTwo: Address

    Permalink
    Definition Classes
    Address
  52. def unsetCountry: Address

    Permalink
    Definition Classes
    Address
  53. def unsetField(_fieldId: Short): Address

    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
    Address
  54. def unsetFormattedAddress: Address

    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
    Address
  55. def unsetLocality: Address

    Permalink
    Definition Classes
    Address
  56. def unsetNeighbourhood: Address

    Permalink
    Definition Classes
    Address
  57. def unsetPostCode: Address

    Permalink
    Definition Classes
    Address
  58. def unsetPostTown: Address

    Permalink
    Definition Classes
    Address
  59. def unsetStreetName: Address

    Permalink
    Definition Classes
    Address
  60. def unsetStreetNumber: Address

    Permalink
    Definition Classes
    Address
  61. final def wait(): Unit

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

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

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

    Permalink
    Definition Classes
    Address → ThriftStruct

Inherited from Address

Inherited from Serializable

Inherited from ValidatingThriftStruct[Address]

Inherited from HasThriftStructCodec3[Address]

Inherited from Product10[Option[String], Option[Short], Option[String], Option[String], Option[String], Option[String], Option[String], Option[String], Option[String], Option[String]]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from ThriftStructIface

Inherited from AnyRef

Inherited from Any

Ungrouped