Interface RouteModifiersOrBuilder (1.42.0)

public interface RouteModifiersOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAvoidFerries()

public abstract 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
Type Description
boolean

The avoidFerries.

getAvoidHighways()

public abstract 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
Type Description
boolean

The avoidHighways.

getAvoidIndoor()

public abstract 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
Type Description
boolean

The avoidIndoor.

getAvoidTolls()

public abstract 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
Type Description
boolean

The avoidTolls.