public interface LocationOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
com.google.protobuf.Int32Value |
getHeading()
The compass heading associated with the direction of the flow of traffic.
|
com.google.protobuf.Int32ValueOrBuilder |
getHeadingOrBuilder()
The compass heading associated with the direction of the flow of traffic.
|
com.google.type.LatLng |
getLatLng()
The waypoint's geographic coordinates.
|
com.google.type.LatLngOrBuilder |
getLatLngOrBuilder()
The waypoint's geographic coordinates.
|
boolean |
hasHeading()
The compass heading associated with the direction of the flow of traffic.
|
boolean |
hasLatLng()
The waypoint's geographic coordinates.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasLatLng()
The waypoint's geographic coordinates.
.google.type.LatLng lat_lng = 1;com.google.type.LatLng getLatLng()
The waypoint's geographic coordinates.
.google.type.LatLng lat_lng = 1;com.google.type.LatLngOrBuilder getLatLngOrBuilder()
The waypoint's geographic coordinates.
.google.type.LatLng lat_lng = 1;boolean hasHeading()
The compass heading associated with the direction of the flow of traffic. This value specifies the side of the road 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, and so on. You can use this field only for `DRIVE` and `TWO_WHEELER` [`RouteTravelMode`][google.maps.routing.v2.RouteTravelMode].
.google.protobuf.Int32Value heading = 2;com.google.protobuf.Int32Value getHeading()
The compass heading associated with the direction of the flow of traffic. This value specifies the side of the road 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, and so on. You can use this field only for `DRIVE` and `TWO_WHEELER` [`RouteTravelMode`][google.maps.routing.v2.RouteTravelMode].
.google.protobuf.Int32Value heading = 2;com.google.protobuf.Int32ValueOrBuilder getHeadingOrBuilder()
The compass heading associated with the direction of the flow of traffic. This value specifies the side of the road 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, and so on. You can use this field only for `DRIVE` and `TWO_WHEELER` [`RouteTravelMode`][google.maps.routing.v2.RouteTravelMode].
.google.protobuf.Int32Value heading = 2;Copyright © 2025 Google LLC. All rights reserved.