public final class Location extends GeneratedMessage implements LocationOrBuilder
Information about a location.
Protobuf type google.backstory.Location
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
CITY_FIELD_NUMBER
public static final int CITY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
COUNTRY_OR_REGION_FIELD_NUMBER
public static final int COUNTRY_OR_REGION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DESK_NAME_FIELD_NUMBER
public static final int DESK_NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
FLOOR_NAME_FIELD_NUMBER
public static final int FLOOR_NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
REGION_COORDINATES_FIELD_NUMBER
public static final int REGION_COORDINATES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
REGION_LATITUDE_FIELD_NUMBER
public static final int REGION_LATITUDE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
REGION_LONGITUDE_FIELD_NUMBER
public static final int REGION_LONGITUDE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Location getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Location.Builder newBuilder()
newBuilder(Location prototype)
public static Location.Builder newBuilder(Location prototype)
| Parameter |
| Name |
Description |
prototype |
Location
|
parseDelimitedFrom(InputStream input)
public static Location parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Location parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Location parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Location parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Location parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Location parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static Location parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Location parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static Location parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Location parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Location parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Location parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Location> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getCity()
The city.
string city = 1;
| Returns |
| Type |
Description |
String |
The city.
|
getCityBytes()
public ByteString getCityBytes()
The city.
string city = 1;
| Returns |
| Type |
Description |
ByteString |
The bytes for city.
|
getCountryOrRegion()
public String getCountryOrRegion()
The country or region.
string country_or_region = 3;
| Returns |
| Type |
Description |
String |
The countryOrRegion.
|
getCountryOrRegionBytes()
public ByteString getCountryOrRegionBytes()
The country or region.
string country_or_region = 3;
| Returns |
| Type |
Description |
ByteString |
The bytes for countryOrRegion.
|
getDefaultInstanceForType()
public Location getDefaultInstanceForType()
getDeskName()
public String getDeskName()
Desk name or individual location, typically for an employee in an
office.
(e.g. "IN-BLR-BCPC-11-1121D").
string desk_name = 5;
| Returns |
| Type |
Description |
String |
The deskName.
|
getDeskNameBytes()
public ByteString getDeskNameBytes()
Desk name or individual location, typically for an employee in an
office.
(e.g. "IN-BLR-BCPC-11-1121D").
string desk_name = 5;
| Returns |
| Type |
Description |
ByteString |
The bytes for deskName.
|
getFloorName()
public String getFloorName()
Floor name, number or a combination of the two for a building.
(e.g. "1-A").
string floor_name = 6;
| Returns |
| Type |
Description |
String |
The floorName.
|
getFloorNameBytes()
public ByteString getFloorNameBytes()
Floor name, number or a combination of the two for a building.
(e.g. "1-A").
string floor_name = 6;
| Returns |
| Type |
Description |
ByteString |
The bytes for floorName.
|
getName()
Custom location name (e.g. building or site name like "London Office").
For cloud environments, this is the region (e.g. "us-west2").
string name = 4;
| Returns |
| Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Custom location name (e.g. building or site name like "London Office").
For cloud environments, this is the region (e.g. "us-west2").
string name = 4;
| Returns |
| Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
public Parser<Location> getParserForType()
Overrides
getRegionCoordinates()
public LatLng getRegionCoordinates()
| Returns |
| Type |
Description |
com.google.type.LatLng |
The regionCoordinates.
|
getRegionCoordinatesOrBuilder()
public LatLngOrBuilder getRegionCoordinatesOrBuilder()
| Returns |
| Type |
Description |
com.google.type.LatLngOrBuilder |
|
getRegionLatitude() (deprecated)
public float getRegionLatitude()
Deprecated. google.backstory.Location.region_latitude is deprecated. See
backstory/udm.proto;l=5077
Deprecated: use region_coordinates.
float region_latitude = 7 [deprecated = true];
| Returns |
| Type |
Description |
float |
The regionLatitude.
|
getRegionLongitude() (deprecated)
public float getRegionLongitude()
Deprecated. google.backstory.Location.region_longitude is deprecated. See
backstory/udm.proto;l=5080
Deprecated: use region_coordinates.
float region_longitude = 8 [deprecated = true];
| Returns |
| Type |
Description |
float |
The regionLongitude.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getState()
The state.
string state = 2;
| Returns |
| Type |
Description |
String |
The state.
|
getStateBytes()
public ByteString getStateBytes()
The state.
string state = 2;
| Returns |
| Type |
Description |
ByteString |
The bytes for state.
|
hasRegionCoordinates()
public boolean hasRegionCoordinates()
| Returns |
| Type |
Description |
boolean |
Whether the regionCoordinates field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Location.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Location.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public Location.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides