Send feedback
Class GeoInfo (0.16.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
public final class GeoInfo extends GeneratedMessageV3 implements GeoInfoOrBuilder
User's geographic informaiton.
Protobuf type google.events.firebase.analytics.v1.GeoInfo
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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 ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static GeoInfo . Builder newBuilder ()
newBuilder(GeoInfo prototype)
public static GeoInfo . Builder newBuilder ( GeoInfo prototype )
Parameter
Name
Description
prototype
GeoInfo
public static GeoInfo parseDelimitedFrom ( InputStream input )
public static GeoInfo parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static GeoInfo parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GeoInfo parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static GeoInfo parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GeoInfo parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static GeoInfo parseFrom ( CodedInputStream input )
public static GeoInfo parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static GeoInfo parseFrom ( InputStream input )
public static GeoInfo parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static GeoInfo parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GeoInfo parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<GeoInfo> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
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 ()
getParserForType()
public Parser<GeoInfo> getParserForType ()
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 ()
Overrides
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public GeoInfo . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GeoInfo . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public GeoInfo . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-03 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-03 UTC."],[],[]]