Interface RouteLegStepOrBuilder

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

@Generated public interface RouteLegStepOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getDistanceMeters

      int getDistanceMeters()
       The travel distance of this step, in meters. In some circumstances, this
       field might not have a value.
       
      int32 distance_meters = 1;
      Returns:
      The distanceMeters.
    • hasStaticDuration

      boolean hasStaticDuration()
       The duration of travel through this step without taking traffic conditions
       into consideration. In some circumstances, this field might not have a
       value.
       
      .google.protobuf.Duration static_duration = 2;
      Returns:
      Whether the staticDuration field is set.
    • getStaticDuration

      com.google.protobuf.Duration getStaticDuration()
       The duration of travel through this step without taking traffic conditions
       into consideration. In some circumstances, this field might not have a
       value.
       
      .google.protobuf.Duration static_duration = 2;
      Returns:
      The staticDuration.
    • getStaticDurationOrBuilder

      com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder()
       The duration of travel through this step without taking traffic conditions
       into consideration. In some circumstances, this field might not have a
       value.
       
      .google.protobuf.Duration static_duration = 2;
    • hasPolyline

      boolean hasPolyline()
       The polyline associated with this step.
       
      .google.maps.routing.v2.Polyline polyline = 3;
      Returns:
      Whether the polyline field is set.
    • getPolyline

      Polyline getPolyline()
       The polyline associated with this step.
       
      .google.maps.routing.v2.Polyline polyline = 3;
      Returns:
      The polyline.
    • getPolylineOrBuilder

      PolylineOrBuilder getPolylineOrBuilder()
       The polyline associated with this step.
       
      .google.maps.routing.v2.Polyline polyline = 3;
    • hasStartLocation

      boolean hasStartLocation()
       The start location of this step.
       
      .google.maps.routing.v2.Location start_location = 4;
      Returns:
      Whether the startLocation field is set.
    • getStartLocation

      Location getStartLocation()
       The start location of this step.
       
      .google.maps.routing.v2.Location start_location = 4;
      Returns:
      The startLocation.
    • getStartLocationOrBuilder

      LocationOrBuilder getStartLocationOrBuilder()
       The start location of this step.
       
      .google.maps.routing.v2.Location start_location = 4;
    • hasEndLocation

      boolean hasEndLocation()
       The end location of this step.
       
      .google.maps.routing.v2.Location end_location = 5;
      Returns:
      Whether the endLocation field is set.
    • getEndLocation

      Location getEndLocation()
       The end location of this step.
       
      .google.maps.routing.v2.Location end_location = 5;
      Returns:
      The endLocation.
    • getEndLocationOrBuilder

      LocationOrBuilder getEndLocationOrBuilder()
       The end location of this step.
       
      .google.maps.routing.v2.Location end_location = 5;
    • hasNavigationInstruction

      boolean hasNavigationInstruction()
       Navigation instructions.
       
      .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6;
      Returns:
      Whether the navigationInstruction field is set.
    • getNavigationInstruction

      NavigationInstruction getNavigationInstruction()
       Navigation instructions.
       
      .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6;
      Returns:
      The navigationInstruction.
    • getNavigationInstructionOrBuilder

      NavigationInstructionOrBuilder getNavigationInstructionOrBuilder()
       Navigation instructions.
       
      .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6;
    • hasTravelAdvisory

      boolean hasTravelAdvisory()
       Contains the additional information that the user should be informed
       about, such as possible traffic zone restrictions, on a leg step.
       
      .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7;
      Returns:
      Whether the travelAdvisory field is set.
    • getTravelAdvisory

      RouteLegStepTravelAdvisory getTravelAdvisory()
       Contains the additional information that the user should be informed
       about, such as possible traffic zone restrictions, on a leg step.
       
      .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7;
      Returns:
      The travelAdvisory.
    • getTravelAdvisoryOrBuilder

      RouteLegStepTravelAdvisoryOrBuilder getTravelAdvisoryOrBuilder()
       Contains the additional information that the user should be informed
       about, such as possible traffic zone restrictions, on a leg step.
       
      .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7;
    • hasLocalizedValues

      boolean hasLocalizedValues()
       Text representations of properties of the `RouteLegStep`.
       
      .google.maps.routing.v2.RouteLegStep.RouteLegStepLocalizedValues localized_values = 8;
      Returns:
      Whether the localizedValues field is set.
    • getLocalizedValues

       Text representations of properties of the `RouteLegStep`.
       
      .google.maps.routing.v2.RouteLegStep.RouteLegStepLocalizedValues localized_values = 8;
      Returns:
      The localizedValues.
    • getLocalizedValuesOrBuilder

       Text representations of properties of the `RouteLegStep`.
       
      .google.maps.routing.v2.RouteLegStep.RouteLegStepLocalizedValues localized_values = 8;
    • hasTransitDetails

      boolean hasTransitDetails()
       Details pertaining to this step if the travel mode is `TRANSIT`.
       
      .google.maps.routing.v2.RouteLegStepTransitDetails transit_details = 9;
      Returns:
      Whether the transitDetails field is set.
    • getTransitDetails

      RouteLegStepTransitDetails getTransitDetails()
       Details pertaining to this step if the travel mode is `TRANSIT`.
       
      .google.maps.routing.v2.RouteLegStepTransitDetails transit_details = 9;
      Returns:
      The transitDetails.
    • getTransitDetailsOrBuilder

      RouteLegStepTransitDetailsOrBuilder getTransitDetailsOrBuilder()
       Details pertaining to this step if the travel mode is `TRANSIT`.
       
      .google.maps.routing.v2.RouteLegStepTransitDetails transit_details = 9;
    • getTravelModeValue

      int getTravelModeValue()
       The travel mode used for this step.
       
      .google.maps.routing.v2.RouteTravelMode travel_mode = 10;
      Returns:
      The enum numeric value on the wire for travelMode.
    • getTravelMode

      RouteTravelMode getTravelMode()
       The travel mode used for this step.
       
      .google.maps.routing.v2.RouteTravelMode travel_mode = 10;
      Returns:
      The travelMode.