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
      int getHeading()
      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 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:
        Whether the heading field is set.
      • getHeading

        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:
        The heading.