Interface RouteModifiersOrBuilder

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

@Generated public interface RouteModifiersOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Specifies whether to avoid ferries where reasonable.
    boolean
    Specifies whether to avoid highways where reasonable.
    boolean
    Optional.
    boolean
    Specifies whether to avoid toll roads where reasonable.

    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 Details

    • getAvoidTolls

      boolean getAvoidTolls()
       Specifies whether to avoid toll roads where reasonable. Preference will be
       given to routes not containing toll roads. Applies only to motorized travel
       modes.
       
      bool avoid_tolls = 2;
      Returns:
      The avoidTolls.
    • getAvoidHighways

      boolean getAvoidHighways()
       Specifies whether to avoid highways where reasonable. Preference will be
       given to routes not containing highways. Applies only to motorized travel
       modes.
       
      bool avoid_highways = 3;
      Returns:
      The avoidHighways.
    • getAvoidFerries

      boolean getAvoidFerries()
       Specifies whether to avoid ferries where reasonable. Preference will be
       given to routes not containing travel by ferries. Applies only to motorized
       travel modes.
       
      bool avoid_ferries = 4;
      Returns:
      The avoidFerries.
    • getAvoidIndoor

      boolean getAvoidIndoor()
       Optional. Specifies whether to avoid navigating indoors where reasonable.
       Preference will be given to routes not containing indoor navigation.
       Applies only to the `WALKING` travel mode.
       
      bool avoid_indoor = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The avoidIndoor.