Interface LocationInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LocationInfo,LocationInfo.Builder
@Generated
public interface LocationInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetCity()City name.com.google.protobuf.ByteStringCity name.ISO country code.com.google.protobuf.ByteStringISO country code.Full country name.com.google.protobuf.ByteStringFull country name.doubleGPS latitude in decimal degrees.doubleGPS longitude in decimal degrees.Province or state name.com.google.protobuf.ByteStringProvince or state name.Specific sublocation within city.com.google.protobuf.ByteStringSpecific sublocation within city.World region at top level of hierarchy.com.google.protobuf.ByteStringWorld region at top level of hierarchy.booleanhasCity()City name.booleanISO country code.booleanFull country name.booleanGPS latitude in decimal degrees.booleanGPS longitude in decimal degrees.booleanProvince or state name.booleanSpecific sublocation within city.booleanWorld region at top level of hierarchy.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasWorldRegion
boolean hasWorldRegion()World region at top level of hierarchy.
optional string world_region = 1 [json_name = "worldRegion"];- Returns:
- Whether the worldRegion field is set.
-
getWorldRegion
String getWorldRegion()World region at top level of hierarchy.
optional string world_region = 1 [json_name = "worldRegion"];- Returns:
- The worldRegion.
-
getWorldRegionBytes
com.google.protobuf.ByteString getWorldRegionBytes()World region at top level of hierarchy.
optional string world_region = 1 [json_name = "worldRegion"];- Returns:
- The bytes for worldRegion.
-
hasCountryName
boolean hasCountryName()Full country name.
optional string country_name = 2 [json_name = "countryName"];- Returns:
- Whether the countryName field is set.
-
getCountryName
String getCountryName()Full country name.
optional string country_name = 2 [json_name = "countryName"];- Returns:
- The countryName.
-
getCountryNameBytes
com.google.protobuf.ByteString getCountryNameBytes()Full country name.
optional string country_name = 2 [json_name = "countryName"];- Returns:
- The bytes for countryName.
-
hasCountryCode
boolean hasCountryCode()ISO country code.
optional string country_code = 3 [json_name = "countryCode"];- Returns:
- Whether the countryCode field is set.
-
getCountryCode
String getCountryCode()ISO country code.
optional string country_code = 3 [json_name = "countryCode"];- Returns:
- The countryCode.
-
getCountryCodeBytes
com.google.protobuf.ByteString getCountryCodeBytes()ISO country code.
optional string country_code = 3 [json_name = "countryCode"];- Returns:
- The bytes for countryCode.
-
hasProvinceState
boolean hasProvinceState()Province or state name.
optional string province_state = 4 [json_name = "provinceState"];- Returns:
- Whether the provinceState field is set.
-
getProvinceState
String getProvinceState()Province or state name.
optional string province_state = 4 [json_name = "provinceState"];- Returns:
- The provinceState.
-
getProvinceStateBytes
com.google.protobuf.ByteString getProvinceStateBytes()Province or state name.
optional string province_state = 4 [json_name = "provinceState"];- Returns:
- The bytes for provinceState.
-
hasCity
boolean hasCity()City name.
optional string city = 5 [json_name = "city"];- Returns:
- Whether the city field is set.
-
getCity
String getCity()City name.
optional string city = 5 [json_name = "city"];- Returns:
- The city.
-
getCityBytes
com.google.protobuf.ByteString getCityBytes()City name.
optional string city = 5 [json_name = "city"];- Returns:
- The bytes for city.
-
hasSublocation
boolean hasSublocation()Specific sublocation within city.
optional string sublocation = 6 [json_name = "sublocation"];- Returns:
- Whether the sublocation field is set.
-
getSublocation
String getSublocation()Specific sublocation within city.
optional string sublocation = 6 [json_name = "sublocation"];- Returns:
- The sublocation.
-
getSublocationBytes
com.google.protobuf.ByteString getSublocationBytes()Specific sublocation within city.
optional string sublocation = 6 [json_name = "sublocation"];- Returns:
- The bytes for sublocation.
-
hasLatitude
boolean hasLatitude()GPS latitude in decimal degrees.
optional double latitude = 7 [json_name = "latitude"];- Returns:
- Whether the latitude field is set.
-
getLatitude
double getLatitude()GPS latitude in decimal degrees.
optional double latitude = 7 [json_name = "latitude"];- Returns:
- The latitude.
-
hasLongitude
boolean hasLongitude()GPS longitude in decimal degrees.
optional double longitude = 8 [json_name = "longitude"];- Returns:
- Whether the longitude field is set.
-
getLongitude
double getLongitude()GPS longitude in decimal degrees.
optional double longitude = 8 [json_name = "longitude"];- Returns:
- The longitude.
-