Class GeoInfo (0.16.0)

public final class GeoInfo extends GeneratedMessageV3 implements GeoInfoOrBuilder

User's geographic informaiton.

Protobuf type google.events.firebase.analytics.v1.GeoInfo

Implements

GeoInfoOrBuilder

Static Fields

CITY_FIELD_NUMBER

public static final int CITY_FIELD_NUMBER
Field Value
Type Description
int

CONTINENT_FIELD_NUMBER

public static final int CONTINENT_FIELD_NUMBER
Field Value
Type Description
int

COUNTRY_FIELD_NUMBER

public static final int COUNTRY_FIELD_NUMBER
Field Value
Type Description
int

REGION_FIELD_NUMBER

public static final int REGION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GeoInfo getDefaultInstance()
Returns
Type Description
GeoInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static GeoInfo.Builder newBuilder()
Returns
Type Description
GeoInfo.Builder

newBuilder(GeoInfo prototype)

public static GeoInfo.Builder newBuilder(GeoInfo prototype)
Parameter
Name Description
prototype GeoInfo
Returns
Type Description
GeoInfo.Builder

parseDelimitedFrom(InputStream input)

public static GeoInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GeoInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GeoInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GeoInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GeoInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GeoInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GeoInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GeoInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GeoInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GeoInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GeoInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GeoInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GeoInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GeoInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GeoInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GeoInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GeoInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GeoInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GeoInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GeoInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GeoInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GeoInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GeoInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GeoInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GeoInfo> parser()
Returns
Type Description
Parser<GeoInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCity()

public String getCity()

The geographic city. Eg. Sao Paulo

string city = 4;

Returns
Type Description
String

The city.

getCityBytes()

public ByteString getCityBytes()

The geographic city. Eg. Sao Paulo

string city = 4;

Returns
Type Description
ByteString

The bytes for city.

getContinent()

public String getContinent()

The geographic continent. Eg. Americas

string continent = 1;

Returns
Type Description
String

The continent.

getContinentBytes()

public ByteString getContinentBytes()

The geographic continent. Eg. Americas

string continent = 1;

Returns
Type Description
ByteString

The bytes for continent.

getCountry()

public String getCountry()

The geographic country. Eg. Brazil

string country = 2;

Returns
Type Description
String

The country.

getCountryBytes()

public ByteString getCountryBytes()

The geographic country. Eg. Brazil

string country = 2;

Returns
Type Description
ByteString

The bytes for country.

getDefaultInstanceForType()

public GeoInfo getDefaultInstanceForType()
Returns
Type Description
GeoInfo

getParserForType()

public Parser<GeoInfo> getParserForType()
Returns
Type Description
Parser<GeoInfo>
Overrides

getRegion()

public String getRegion()

The geographic region. Eg. State of Sao Paulo

string region = 3;

Returns
Type Description
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

The geographic region. Eg. State of Sao Paulo

string region = 3;

Returns
Type Description
ByteString

The bytes for region.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GeoInfo.Builder newBuilderForType()
Returns
Type Description
GeoInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GeoInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GeoInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public GeoInfo.Builder toBuilder()
Returns
Type Description
GeoInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException