Interface LocationOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Location, Location.Builder

    public interface LocationOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method 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.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasLatLng

        boolean hasLatLng()
         The waypoint's geographic coordinates.
         
        .google.type.LatLng lat_lng = 1;
        Returns:
        Whether the latLng field is set.
      • getLatLng

        com.google.type.LatLng getLatLng()
         The waypoint's geographic coordinates.
         
        .google.type.LatLng lat_lng = 1;
        Returns:
        The latLng.
      • getLatLngOrBuilder

        com.google.type.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;