Interface LocationOrBuilder (1.4.0)

public interface LocationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getHeading()

public abstract int getHeading()

The compass heading associated with the direction of the flow of traffic. This value is used to specify the side of the road to use for pickup and drop-off. Heading values can be from 0 to 360, where 0 specifies a heading of due North, 90 specifies a heading of due East, etc.

optional int32 heading = 2;

Returns
TypeDescription
int

The heading.

getLatLng()

public abstract LatLng getLatLng()

The waypoint's geographic coordinates.

.google.type.LatLng lat_lng = 1;

Returns
TypeDescription
com.google.type.LatLng

The latLng.

getLatLngOrBuilder()

public abstract LatLngOrBuilder getLatLngOrBuilder()

The waypoint's geographic coordinates.

.google.type.LatLng lat_lng = 1;

Returns
TypeDescription
com.google.type.LatLngOrBuilder

hasHeading()

public abstract boolean hasHeading()

The compass heading associated with the direction of the flow of traffic. This value is used to specify the side of the road to use for pickup and drop-off. Heading values can be from 0 to 360, where 0 specifies a heading of due North, 90 specifies a heading of due East, etc.

optional int32 heading = 2;

Returns
TypeDescription
boolean

Whether the heading field is set.

hasLatLng()

public abstract boolean hasLatLng()

The waypoint's geographic coordinates.

.google.type.LatLng lat_lng = 1;

Returns
TypeDescription
boolean

Whether the latLng field is set.