Interface LocationOrBuilder (0.3.0)

public interface LocationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCity()

public abstract String getCity()

The city.

string city = 1;

Returns
Type Description
String

The city.

getCityBytes()

public abstract ByteString getCityBytes()

The city.

string city = 1;

Returns
Type Description
ByteString

The bytes for city.

getCountryOrRegion()

public abstract String getCountryOrRegion()

The country or region.

string country_or_region = 3;

Returns
Type Description
String

The countryOrRegion.

getCountryOrRegionBytes()

public abstract ByteString getCountryOrRegionBytes()

The country or region.

string country_or_region = 3;

Returns
Type Description
ByteString

The bytes for countryOrRegion.

getDeskName()

public abstract 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 abstract 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 abstract 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 abstract 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()

public abstract String 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 abstract 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.

getRegionCoordinates()

public abstract LatLng getRegionCoordinates()

Coordinates for the associated region. See https://cloud.google.com/vision/docs/reference/rest/v1/LatLng for a description of the fields.

.google.type.LatLng region_coordinates = 9;

Returns
Type Description
com.google.type.LatLng

The regionCoordinates.

getRegionCoordinatesOrBuilder()

public abstract LatLngOrBuilder getRegionCoordinatesOrBuilder()

Coordinates for the associated region. See https://cloud.google.com/vision/docs/reference/rest/v1/LatLng for a description of the fields.

.google.type.LatLng region_coordinates = 9;

Returns
Type Description
com.google.type.LatLngOrBuilder

getRegionLatitude() (deprecated)

public abstract 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 abstract 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.

getState()

public abstract String getState()

The state.

string state = 2;

Returns
Type Description
String

The state.

getStateBytes()

public abstract ByteString getStateBytes()

The state.

string state = 2;

Returns
Type Description
ByteString

The bytes for state.

hasRegionCoordinates()

public abstract boolean hasRegionCoordinates()

Coordinates for the associated region. See https://cloud.google.com/vision/docs/reference/rest/v1/LatLng for a description of the fields.

.google.type.LatLng region_coordinates = 9;

Returns
Type Description
boolean

Whether the regionCoordinates field is set.