trait GeoLocation extends ThriftStruct with Product8[Option[GeoPoint], Option[String], Option[String], Option[String], Option[Int], Option[String], Option[Seq[String]], Option[String]] with HasThriftStructCodec3[GeoLocation] with Serializable

Prefer the companion object's ophan.thrift.event.GeoLocation.apply for construction if you don't need to specify passthrough fields.

Linear Supertypes
Serializable, HasThriftStructCodec3[GeoLocation], Product8[Option[GeoPoint], Option[String], Option[String], Option[String], Option[Int], Option[String], Option[Seq[String]], Option[String]], scala.Product, Equals, ThriftStruct, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GeoLocation
  2. Serializable
  3. HasThriftStructCodec3
  4. Product8
  5. Product
  6. Equals
  7. ThriftStruct
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def city: Option[String]

    Human readable city name

  2. abstract def continent: Option[String]

    Human readable continent name

  3. abstract def countryCode: Option[String]

    The two letter country code of the ip address; Note that guardian internal traffic (within the Guardian offices) is assigned a country code of "GNM"

  4. abstract def countryName: Option[String]

    Human readable country name

  5. abstract def geo: Option[GeoPoint]

    The resolved geolocation of the ip address

  6. abstract def metroCode: Option[Int]

    The metro code of the location if the location is in the US.

  7. abstract def subdivisions: Option[Seq[String]]

    Administrative subdivisions, e.g.

    Administrative subdivisions, e.g. "Wales", "Berkshire" or "Alaska"

  8. abstract def timezone: Option[String]

    Time zone as specified by http://www.iana.org/time-zones e.g.

    Time zone as specified by http://www.iana.org/time-zones e.g. America/New_York

Concrete 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: Option[GeoPoint]
    Definition Classes
    GeoLocation → Product8
  5. def _2: Option[String]
    Definition Classes
    GeoLocation → Product8
  6. def _3: Option[String]
    Definition Classes
    GeoLocation → Product8
  7. def _4: Option[String]
    Definition Classes
    GeoLocation → Product8
  8. def _5: Option[Int]
    Definition Classes
    GeoLocation → Product8
  9. def _6: Option[String]
    Definition Classes
    GeoLocation → Product8
  10. def _7: Option[Seq[String]]
    Definition Classes
    GeoLocation → Product8
  11. def _8: Option[String]
    Definition Classes
    GeoLocation → Product8
  12. def _codec: ThriftStructCodec3[GeoLocation]
    Definition Classes
    GeoLocation → HasThriftStructCodec3
  13. def _passthroughFields: Map[Short, TFieldBlob]
  14. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  15. def canEqual(other: Any): Boolean
    Definition Classes
    GeoLocation → Equals
  16. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  17. def copy(geo: Option[GeoPoint] = this.geo, countryCode: Option[String] = this.countryCode, countryName: Option[String] = this.countryName, city: Option[String] = this.city, metroCode: Option[Int] = this.metroCode, continent: Option[String] = this.continent, subdivisions: Option[Seq[String]] = this.subdivisions, timezone: Option[String] = this.timezone, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): GeoLocation
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(other: Any): Boolean
    Definition Classes
    GeoLocation → Equals → AnyRef → Any
  20. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. 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.

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

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

  24. def hashCode(): Int
    Definition Classes
    GeoLocation → AnyRef → Any
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. def productArity: Int
    Definition Classes
    GeoLocation → Product8 → Product
  30. def productElement(n: Int): Any
    Definition Classes
    GeoLocation → Product8 → Product
  31. def productIterator: Iterator[Any]
    Definition Classes
    Product
  32. def productPrefix: String
    Definition Classes
    GeoLocation → Product
  33. def setField(_blob: TFieldBlob): GeoLocation

    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.

  34. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  35. def toString(): String
    Definition Classes
    GeoLocation → AnyRef → Any
  36. def toTuple: (Option[GeoPoint], Option[String], Option[String], Option[String], Option[Int], Option[String], Option[Seq[String]], Option[String])
  37. def unsetCity: GeoLocation
  38. def unsetContinent: GeoLocation
  39. def unsetCountryCode: GeoLocation
  40. def unsetCountryName: GeoLocation
  41. def unsetField(_fieldId: Short): GeoLocation

    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.

  42. def unsetGeo: GeoLocation

    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.

  43. def unsetMetroCode: GeoLocation
  44. def unsetSubdivisions: GeoLocation
  45. def unsetTimezone: GeoLocation
  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  49. def write(_oprot: TProtocol): Unit
    Definition Classes
    GeoLocation → ThriftStruct

Inherited from Serializable

Inherited from HasThriftStructCodec3[GeoLocation]

Inherited from Product8[Option[GeoPoint], Option[String], Option[String], Option[String], Option[Int], Option[String], Option[Seq[String]], Option[String]]

Inherited from scala.Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from AnyRef

Inherited from Any

Ungrouped