final case class Geo(type: LocationType = com.explorestack.protobuf.adcom.LocationType.LOCATION_TYPE_INVALID, lat: Float = 0.0f, lon: Float = 0.0f, accur: Int = 0, lastfix: Long = 0L, ipserv: IpLocationService = com.explorestack.protobuf.adcom.IpLocationService.IP_LOCATION_SERVICE_INVALID, country: String = "", region: String = "", metro: String = "", city: String = "", zip: String = "", utcoffset: Int = 0, ext: Option[Struct] = _root_.scala.None, extProto: Seq[Any] = _root_.scala.Seq.empty) extends GeneratedMessage with Updatable[Geo] with Product with Serializable
- type
Source of location data; recommended when passing lat/lon.
- lat
Latitude from -90.0 to +90.0, where negative is south.
- lon
Longitude from -180.0 to +180.0, where negative is west.
- accur
Estimated location accuracy in meters.
- lastfix
Number of seconds since this geolocation fix was established.
- ipserv
Service or provider used to determine geolocation from IP address.
- country
Country code using ISO-3166-1-alpha-2.
- region
Region code using ISO-3166-2; 2-letter state code if USA.
- metro
Regional marketing areas such as Nielsen's DMA codes.
- city
City using United Nations Code for Trade & Transport Locations "UN/LOCODE".
- zip
ZIP or postal code.
- utcoffset
Local time as the number +/- of minutes from UTC.
- ext
Optional vendor-specific extensions.
- extProto
Legacy proto extensions.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- Geo
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Geo(type: LocationType = com.explorestack.protobuf.adcom.LocationType.LOCATION_TYPE_INVALID, lat: Float = 0.0f, lon: Float = 0.0f, accur: Int = 0, lastfix: Long = 0L, ipserv: IpLocationService = com.explorestack.protobuf.adcom.IpLocationService.IP_LOCATION_SERVICE_INVALID, country: String = "", region: String = "", metro: String = "", city: String = "", zip: String = "", utcoffset: Int = 0, ext: Option[Struct] = _root_.scala.None, extProto: Seq[Any] = _root_.scala.Seq.empty)
- type
Source of location data; recommended when passing lat/lon.
- lat
Latitude from -90.0 to +90.0, where negative is south.
- lon
Longitude from -180.0 to +180.0, where negative is west.
- accur
Estimated location accuracy in meters.
- lastfix
Number of seconds since this geolocation fix was established.
- ipserv
Service or provider used to determine geolocation from IP address.
- country
Country code using ISO-3166-1-alpha-2.
- region
Region code using ISO-3166-2; 2-letter state code if USA.
- metro
Regional marketing areas such as Nielsen's DMA codes.
- city
City using United Nations Code for Trade & Transport Locations "UN/LOCODE".
- zip
ZIP or postal code.
- utcoffset
Local time as the number +/- of minutes from UTC.
- ext
Optional vendor-specific extensions.
- extProto
Legacy proto extensions.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val accur: Int
- def addAllExtProto(__vs: Iterable[Any]): Geo
- def addExtProto(__vs: Any*): Geo
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val city: String
- def clearExt: Geo
- def clearExtProto: Geo
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def companion: Geo.type
- Definition Classes
- Geo → GeneratedMessage
- val country: String
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val ext: Option[Struct]
- val extProto: Seq[Any]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getExt: Struct
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- Geo → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- Geo → GeneratedMessage
- val ipserv: IpLocationService
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val lastfix: Long
- val lat: Float
- val lon: Float
- val metro: String
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val region: String
- def serializedSize: Int
- Definition Classes
- Geo → GeneratedMessage
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
- final def toByteString: ByteString
- Definition Classes
- GeneratedMessage
- final def toPMessage: PMessage
- Definition Classes
- GeneratedMessage
- def toProtoString: String
- Definition Classes
- Geo → GeneratedMessage
- val type: LocationType
- def update(ms: (Lens[Geo, Geo]) => Mutation[Geo]*): Geo
- Definition Classes
- Updatable
- val utcoffset: Int
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withAccur(__v: Int): Geo
- def withCity(__v: String): Geo
- def withCountry(__v: String): Geo
- def withExt(__v: Struct): Geo
- def withExtProto(__v: Seq[Any]): Geo
- def withIpserv(__v: IpLocationService): Geo
- def withLastfix(__v: Long): Geo
- def withLat(__v: Float): Geo
- def withLon(__v: Float): Geo
- def withMetro(__v: String): Geo
- def withRegion(__v: String): Geo
- def withType(__v: LocationType): Geo
- def withUtcoffset(__v: Int): Geo
- def withZip(__v: String): Geo
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- Geo → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- val zip: String
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)