Class GeoInfo (0.14.1)

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
TypeDescription
int

CONTINENT_FIELD_NUMBER

public static final int CONTINENT_FIELD_NUMBER
Field Value
TypeDescription
int

COUNTRY_FIELD_NUMBER

public static final int COUNTRY_FIELD_NUMBER
Field Value
TypeDescription
int

REGION_FIELD_NUMBER

public static final int REGION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GeoInfo getDefaultInstance()
Returns
TypeDescription
GeoInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static GeoInfo.Builder newBuilder()
Returns
TypeDescription
GeoInfo.Builder

newBuilder(GeoInfo prototype)

public static GeoInfo.Builder newBuilder(GeoInfo prototype)
Parameter
NameDescription
prototypeGeoInfo
Returns
TypeDescription
GeoInfo.Builder

parseDelimitedFrom(InputStream input)

public static GeoInfo parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GeoInfo
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GeoInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GeoInfo
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static GeoInfo parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
GeoInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GeoInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GeoInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GeoInfo parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
GeoInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GeoInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GeoInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GeoInfo parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
GeoInfo
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GeoInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GeoInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static GeoInfo parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GeoInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GeoInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GeoInfo
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static GeoInfo parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
GeoInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GeoInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GeoInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<GeoInfo> parser()
Returns
TypeDescription
Parser<GeoInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCity()

public String getCity()

The geographic city. Eg. Sao Paulo

string city = 4;

Returns
TypeDescription
String

The city.

getCityBytes()

public ByteString getCityBytes()

The geographic city. Eg. Sao Paulo

string city = 4;

Returns
TypeDescription
ByteString

The bytes for city.

getContinent()

public String getContinent()

The geographic continent. Eg. Americas

string continent = 1;

Returns
TypeDescription
String

The continent.

getContinentBytes()

public ByteString getContinentBytes()

The geographic continent. Eg. Americas

string continent = 1;

Returns
TypeDescription
ByteString

The bytes for continent.

getCountry()

public String getCountry()

The geographic country. Eg. Brazil

string country = 2;

Returns
TypeDescription
String

The country.

getCountryBytes()

public ByteString getCountryBytes()

The geographic country. Eg. Brazil

string country = 2;

Returns
TypeDescription
ByteString

The bytes for country.

getDefaultInstanceForType()

public GeoInfo getDefaultInstanceForType()
Returns
TypeDescription
GeoInfo

getParserForType()

public Parser<GeoInfo> getParserForType()
Returns
TypeDescription
Parser<GeoInfo>
Overrides

getRegion()

public String getRegion()

The geographic region. Eg. State of Sao Paulo

string region = 3;

Returns
TypeDescription
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

The geographic region. Eg. State of Sao Paulo

string region = 3;

Returns
TypeDescription
ByteString

The bytes for region.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public GeoInfo.Builder newBuilderForType()
Returns
TypeDescription
GeoInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GeoInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
GeoInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public GeoInfo.Builder toBuilder()
Returns
TypeDescription
GeoInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException