Package com.google.maps.routing.v2
Interface LocationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Location,Location.Builder
@Generated
public interface LocationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.Int32ValueThe compass heading associated with the direction of the flow of traffic.com.google.protobuf.Int32ValueOrBuilderThe compass heading associated with the direction of the flow of traffic.The waypoint's geographic coordinates.The waypoint's geographic coordinates.booleanThe compass heading associated with the direction of the flow of traffic.booleanThe waypoint's geographic coordinates.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasLatLng
boolean hasLatLng()The waypoint's geographic coordinates.
.google.type.LatLng lat_lng = 1;- Returns:
- Whether the latLng field is set.
-
getLatLng
LatLng getLatLng()The waypoint's geographic coordinates.
.google.type.LatLng lat_lng = 1;- Returns:
- The latLng.
-
getLatLngOrBuilder
LatLngOrBuilder getLatLngOrBuilder()The waypoint's geographic coordinates.
.google.type.LatLng lat_lng = 1; -
hasHeading
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;- Returns:
- Whether the heading field is set.
-
getHeading
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;- Returns:
- The heading.
-
getHeadingOrBuilder
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;
-