Message

geoip2.geoip2.Message
See theMessage companion class
object Message extends GeneratedMessageCompanion[Message]

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[Message]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
Message.type

Members list

Type members

Classlikes

sealed abstract class Locale(val value: Int) extends GeneratedEnum

Attributes

Companion
object
Supertypes
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object BRAZLIAN_PORTUGUESE.type
object ENGLISH.type
object FRENCH.type
object GERMAN.type
object JAPANESE.type
object RUSSIAN.type
trait Recognized
object SIMPLIFIED_CHINESE.type
object SPANISH.type
object UNSPECIFIED.type
class Unrecognized
Show all
object Locale extends GeneratedEnumCompanion[Locale]

Attributes

Companion
class
Supertypes
trait Sum
trait Mirror
trait GeneratedEnumCompanion[Locale]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
Locale.type
implicit class MessageLens[UpperPB](_l: Lens[UpperPB, Message]) extends ObjectLens[UpperPB, Message]

Attributes

Supertypes
class ObjectLens[UpperPB, Message]
trait Lens[UpperPB, Message]
trait Serializable
class Object
trait Matchable
class Any
Show all

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
type ValueType = A

Attributes

Inherited from:
GeneratedMessageCompanion

Value members

Concrete methods

def enumCompanionForFieldNumber(`__fieldNumber`: Int): GeneratedEnumCompanion[_]
def javaDescriptor: Descriptor

Returns the Java descriptors for this message. It is recommended to use scalaDescriptors. The Java descriptors are available even when Java conversions is disabled, however they are not available in Scala.js or scala-native.

Returns the Java descriptors for this message. It is recommended to use scalaDescriptors. The Java descriptors are available even when Java conversions is disabled, however they are not available in Scala.js or scala-native.

Attributes

def messageCompanionForFieldNumber(`__number`: Int): GeneratedMessageCompanion[_]
def of(ip: String, locales: Seq[Locale]): Message
def parseFrom(`_input__`: CodedInputStream): Message

Parses a message from a CodedInputStream.

Parses a message from a CodedInputStream.

Attributes

def scalaDescriptor: Descriptor

Inherited methods

def enumCompanionForField(field: FieldDescriptor): GeneratedEnumCompanion[_]

Attributes

Inherited from:
GeneratedMessageCompanion
def fromAscii(s: String): A

Attributes

Inherited from:
GeneratedMessageCompanion
def merge(a: Message, input: CodedInputStream): A

Merges the given message with the additional fields in the steam.

Merges the given message with the additional fields in the steam.

Attributes

Inherited from:
GeneratedMessageCompanion
def messageCompanionForField(field: FieldDescriptor): GeneratedMessageCompanion[_]

Attributes

Inherited from:
GeneratedMessageCompanion
def parseDelimitedFrom(input: InputStream): Option[A]

Attributes

Inherited from:
GeneratedMessageCompanion
def parseDelimitedFrom(input: CodedInputStream): Option[A]

Attributes

Inherited from:
GeneratedMessageCompanion
def parseFrom(s: Array[Byte]): A

Attributes

Inherited from:
GeneratedMessageCompanion
def parseFrom(input: InputStream): A

Attributes

Inherited from:
GeneratedMessageCompanion
def streamFromDelimitedInput(input: InputStream): Stream[A]

Attributes

Inherited from:
GeneratedMessageCompanion
def toByteArray(a: Message): Array[Byte]

Attributes

Inherited from:
GeneratedMessageCompanion
def validate(s: Array[Byte]): Try[A]

Attributes

Inherited from:
GeneratedMessageCompanion
def validateAscii(s: String): Either[TextFormatError, A]

Attributes

Inherited from:
GeneratedMessageCompanion

Concrete fields

final val IP_FIELD_NUMBER: 1
final val LOCALES_FIELD_NUMBER: 2
lazy val nestedMessagesCompanions: Seq[GeneratedMessageCompanion[_ <: GeneratedMessage]]

Implicits

Implicits

final implicit def MessageLens[UpperPB](_l: Lens[UpperPB, Message]): MessageLens[UpperPB]
implicit def messageCompanion: GeneratedMessageCompanion[Message]
implicit def messageReads: Reads[Message]