Class LocationInfo
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
ai.pipestream.parsed.data.image.v1.LocationInfo
- All Implemented Interfaces:
LocationInfoOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class LocationInfo
extends com.google.protobuf.GeneratedMessage
implements LocationInfoOrBuilder
Location information with precise semantics.Protobuf type
ai.pipestream.parsed.data.image.v1.LocationInfo- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classLocation information with precise semantics.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCity()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.static LocationInfostatic final com.google.protobuf.Descriptors.DescriptordoubleGPS latitude in decimal degrees.doubleGPS longitude in decimal degrees.com.google.protobuf.Parser<LocationInfo> Province or state name.com.google.protobuf.ByteStringProvince or state name.intSpecific 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.inthashCode()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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic LocationInfo.Builderstatic LocationInfo.BuildernewBuilder(LocationInfo prototype) protected LocationInfo.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static LocationInfoparseDelimitedFrom(InputStream input) static LocationInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LocationInfoparseFrom(byte[] data) static LocationInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LocationInfoparseFrom(com.google.protobuf.ByteString data) static LocationInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LocationInfoparseFrom(com.google.protobuf.CodedInputStream input) static LocationInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LocationInfoparseFrom(InputStream input) static LocationInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LocationInfoparseFrom(ByteBuffer data) static LocationInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<LocationInfo> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
WORLD_REGION_FIELD_NUMBER
public static final int WORLD_REGION_FIELD_NUMBER- See Also:
-
COUNTRY_NAME_FIELD_NUMBER
public static final int COUNTRY_NAME_FIELD_NUMBER- See Also:
-
COUNTRY_CODE_FIELD_NUMBER
public static final int COUNTRY_CODE_FIELD_NUMBER- See Also:
-
PROVINCE_STATE_FIELD_NUMBER
public static final int PROVINCE_STATE_FIELD_NUMBER- See Also:
-
CITY_FIELD_NUMBER
public static final int CITY_FIELD_NUMBER- See Also:
-
SUBLOCATION_FIELD_NUMBER
public static final int SUBLOCATION_FIELD_NUMBER- See Also:
-
LATITUDE_FIELD_NUMBER
public static final int LATITUDE_FIELD_NUMBER- See Also:
-
LONGITUDE_FIELD_NUMBER
public static final int LONGITUDE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasWorldRegion
public boolean hasWorldRegion()World region at top level of hierarchy.
optional string world_region = 1 [json_name = "worldRegion"];- Specified by:
hasWorldRegionin interfaceLocationInfoOrBuilder- Returns:
- Whether the worldRegion field is set.
-
getWorldRegion
World region at top level of hierarchy.
optional string world_region = 1 [json_name = "worldRegion"];- Specified by:
getWorldRegionin interfaceLocationInfoOrBuilder- Returns:
- The worldRegion.
-
getWorldRegionBytes
public com.google.protobuf.ByteString getWorldRegionBytes()World region at top level of hierarchy.
optional string world_region = 1 [json_name = "worldRegion"];- Specified by:
getWorldRegionBytesin interfaceLocationInfoOrBuilder- Returns:
- The bytes for worldRegion.
-
hasCountryName
public boolean hasCountryName()Full country name.
optional string country_name = 2 [json_name = "countryName"];- Specified by:
hasCountryNamein interfaceLocationInfoOrBuilder- Returns:
- Whether the countryName field is set.
-
getCountryName
Full country name.
optional string country_name = 2 [json_name = "countryName"];- Specified by:
getCountryNamein interfaceLocationInfoOrBuilder- Returns:
- The countryName.
-
getCountryNameBytes
public com.google.protobuf.ByteString getCountryNameBytes()Full country name.
optional string country_name = 2 [json_name = "countryName"];- Specified by:
getCountryNameBytesin interfaceLocationInfoOrBuilder- Returns:
- The bytes for countryName.
-
hasCountryCode
public boolean hasCountryCode()ISO country code.
optional string country_code = 3 [json_name = "countryCode"];- Specified by:
hasCountryCodein interfaceLocationInfoOrBuilder- Returns:
- Whether the countryCode field is set.
-
getCountryCode
ISO country code.
optional string country_code = 3 [json_name = "countryCode"];- Specified by:
getCountryCodein interfaceLocationInfoOrBuilder- Returns:
- The countryCode.
-
getCountryCodeBytes
public com.google.protobuf.ByteString getCountryCodeBytes()ISO country code.
optional string country_code = 3 [json_name = "countryCode"];- Specified by:
getCountryCodeBytesin interfaceLocationInfoOrBuilder- Returns:
- The bytes for countryCode.
-
hasProvinceState
public boolean hasProvinceState()Province or state name.
optional string province_state = 4 [json_name = "provinceState"];- Specified by:
hasProvinceStatein interfaceLocationInfoOrBuilder- Returns:
- Whether the provinceState field is set.
-
getProvinceState
Province or state name.
optional string province_state = 4 [json_name = "provinceState"];- Specified by:
getProvinceStatein interfaceLocationInfoOrBuilder- Returns:
- The provinceState.
-
getProvinceStateBytes
public com.google.protobuf.ByteString getProvinceStateBytes()Province or state name.
optional string province_state = 4 [json_name = "provinceState"];- Specified by:
getProvinceStateBytesin interfaceLocationInfoOrBuilder- Returns:
- The bytes for provinceState.
-
hasCity
public boolean hasCity()City name.
optional string city = 5 [json_name = "city"];- Specified by:
hasCityin interfaceLocationInfoOrBuilder- Returns:
- Whether the city field is set.
-
getCity
City name.
optional string city = 5 [json_name = "city"];- Specified by:
getCityin interfaceLocationInfoOrBuilder- Returns:
- The city.
-
getCityBytes
public com.google.protobuf.ByteString getCityBytes()City name.
optional string city = 5 [json_name = "city"];- Specified by:
getCityBytesin interfaceLocationInfoOrBuilder- Returns:
- The bytes for city.
-
hasSublocation
public boolean hasSublocation()Specific sublocation within city.
optional string sublocation = 6 [json_name = "sublocation"];- Specified by:
hasSublocationin interfaceLocationInfoOrBuilder- Returns:
- Whether the sublocation field is set.
-
getSublocation
Specific sublocation within city.
optional string sublocation = 6 [json_name = "sublocation"];- Specified by:
getSublocationin interfaceLocationInfoOrBuilder- Returns:
- The sublocation.
-
getSublocationBytes
public com.google.protobuf.ByteString getSublocationBytes()Specific sublocation within city.
optional string sublocation = 6 [json_name = "sublocation"];- Specified by:
getSublocationBytesin interfaceLocationInfoOrBuilder- Returns:
- The bytes for sublocation.
-
hasLatitude
public boolean hasLatitude()GPS latitude in decimal degrees.
optional double latitude = 7 [json_name = "latitude"];- Specified by:
hasLatitudein interfaceLocationInfoOrBuilder- Returns:
- Whether the latitude field is set.
-
getLatitude
public double getLatitude()GPS latitude in decimal degrees.
optional double latitude = 7 [json_name = "latitude"];- Specified by:
getLatitudein interfaceLocationInfoOrBuilder- Returns:
- The latitude.
-
hasLongitude
public boolean hasLongitude()GPS longitude in decimal degrees.
optional double longitude = 8 [json_name = "longitude"];- Specified by:
hasLongitudein interfaceLocationInfoOrBuilder- Returns:
- Whether the longitude field is set.
-
getLongitude
public double getLongitude()GPS longitude in decimal degrees.
optional double longitude = 8 [json_name = "longitude"];- Specified by:
getLongitudein interfaceLocationInfoOrBuilder- Returns:
- The longitude.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static LocationInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocationInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocationInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocationInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocationInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocationInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static LocationInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static LocationInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static LocationInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected LocationInfo.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-